Skip to content

Instantly share code, notes, and snippets.

@hubmartin
Created January 25, 2019 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hubmartin/1a26862c2b7d59c9495050010a1ac8c4 to your computer and use it in GitHub Desktop.
Save hubmartin/1a26862c2b7d59c9495050010a1ac8c4 to your computer and use it in GitHub Desktop.
[{"id":"2543c486.472a0c","type":"delay","z":"c0184559.340cf8","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":520,"y":820,"wires":[["ff052f65.924a5"]]},{"id":"1366f9e3.64fff6","type":"change","z":"c0184559.340cf8","name":"on","rules":[{"t":"set","p":"payload","pt":"msg","to":"on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":650,"y":760,"wires":[["9dab6caf.712ec"]]},{"id":"ff052f65.924a5","type":"change","z":"c0184559.340cf8","name":"off","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":650,"y":820,"wires":[["9dab6caf.712ec"]]},{"id":"9dab6caf.712ec","type":"tradfri-out","z":"c0184559.340cf8","name":"sklep (group)","dtype":"group","tradfri_id":"131075","hub":"347ffc6e.204d64","output":false,"x":830,"y":760,"wires":[]},{"id":"6f58376a.b90da8","type":"inject","z":"c0184559.340cf8","name":"Manual control","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":300,"y":820,"wires":[["2543c486.472a0c","1366f9e3.64fff6"]]},{"id":"ce2afc41.30e35","type":"mqtt in","z":"c0184559.340cf8","name":"","topic":"node/shock-sensor:0/accelerometer/-/event-count","qos":"2","broker":"efb90626.1e64b8","x":240,"y":760,"wires":[["2543c486.472a0c","1366f9e3.64fff6"]]},{"id":"347ffc6e.204d64","type":"tradfri-config","z":"","name":"Drátfí","hubip":"192.168.1.120","sid":"Yg05m0aD5gEsYIpb","coap":"/home/martin/.node-red/node_modules/node-tradfri-argon/lib/coap-client-debian","identity":"jePEO2LOyymse","preshared_key":"IyEJeDz4Z00cCdWe"},{"id":"efb90626.1e64b8","type":"mqtt-broker","z":"","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","willTopic":"","willQos":"0","willPayload":""}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment