Node-red and OH dimmer item, need some help

(Gad Ofir) #1

Hi i have Magic home leds , very cheap and effective

the bindings create some items as dimmer item, and when i try to send a value from NR,
i am not sure what to send … number? string? (tried both )
OH acts strange, and the dimmer value will change back after some time to some other value

the dimmer value is the speed/brightness and more
right now i am able to control from paper UI but i want NR so i can setup with some rules
thanks Gad

0 Likes

(Stuart Hanlon) #2

You can do some very funky things with NodeRed and openHAB2.

I would get your LEDs working from within PaperUI first, then look into doing things with NodeRed.

Take a peek at a NodeRed Sequencer, it’s easy to get it to loop.

0 Likes

(Johannes) #3

String should be fine to send from nodered. What does your openhab log say? Does the item receive the right command? Is their another command received by the item that makes it change back that you can see in the log? I ve never had problems sending commands to dimmer items from nodered so a log to see what’s happening would be very helpful.
Best regards Johannes

0 Likes

(Gad Ofir) #4

here is the log as you can see the item has is own life

i think its because of the binding and not NR

23:02:19.912 [INFO ] [smarthome.event.ItemStateChangedEvent] - systeminfo_computer_CT104_swap_usedPercent changed from 4.8 to 4.7
23:03:21.486 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'PCLed_ProgramSpeed' received command 92
23:03:21.487 [INFO ] [arthome.event.ItemStatePredictedEvent] - PCLed_ProgramSpeed predicted to become 92
23:03:21.487 [INFO ] [smarthome.event.ItemStateChangedEvent] - PCLed_ProgramSpeed changed from 100.00 to 92
23:03:23.088 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'PCLed_ProgramSpeed' received command 97
23:03:23.089 [INFO ] [arthome.event.ItemStatePredictedEvent] - PCLed_ProgramSpeed predicted to become 92
0 Likes

(Stuart Hanlon) #5

That looks okay to me.

I see a “set new level” command.

Then a few status updates, as the device gets to the new level.

Or do you mean the 97 command?

0 Likes

(Gad Ofir) #6

Should i use update or command?

0 Likes

(Stuart Hanlon) #7

I think…
(And I could be wrong)

Command if you want the Device / Item to react

Update if you just want to send a new status to openHAB2, for maybe other things to respond to. (Like a rule that is monitoring the item)

I tend to work with commands more than updates.

Unless, I’m setting states during a startup sequence.

For the Velbus kit I work with, the device itself will update the openHAB2 Item, whereas I want NodeRed / Rules to send a command to the Item so that the device obeys it.

Does that help?

Small note on DSL rules, a command will only trigger a rule that is looking for Changes

Whereas, update & command will trigger a rule that is looking for updates.

0 Likes

(Gad Ofir) #8

Hi thanks, i was able to get it working be sending a trigger node with the command twice
somehow it works :slight_smile:

but looks like a workaround…
i am also sending Command , i am still not clear why the magic home Binding\Controller the dimmer value has is own life , but i was able to get it to work

Code for NR

[{"id":"9a33bd66.ccbcd","type":"subflow","name":"Color to Number(LED)","info":"","category":"","in":[{"x":140,"y":280,"wires":[{"id":"a7caabeb.b06d98"}]}],"out":[{"x":635.3332901000977,"y":188.6666693687439,"wires":[{"id":"29f069a9.72dc36","port":0},{"id":"289fca31.d499b6","port":0},{"id":"58ac06d2.ed39f8","port":0},{"id":"9d2f1c21.0c204","port":0},{"id":"a5792872.bd9aa8","port":0},{"id":"6f462838.d07f48","port":0},{"id":"6e7ee828.f19d38","port":0}]},{"x":1120,"y":320,"wires":[{"id":"c28b5e7b.f3726","port":0}]}],"env":[]},{"id":"a7caabeb.b06d98","type":"switch","z":"9a33bd66.ccbcd","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Blue","vt":"str"},{"t":"cont","v":"Turkiz","vt":"str"},{"t":"cont","v":"Yeloow","vt":"str"},{"t":"cont","v":"Red","vt":"str"},{"t":"cont","v":"Green","vt":"str"},{"t":"cont","v":"White","vt":"str"},{"t":"cont","v":"Cops","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":290,"y":280,"wires":[["29f069a9.72dc36"],["289fca31.d499b6"],["58ac06d2.ed39f8"],["9d2f1c21.0c204"],["a5792872.bd9aa8"],["6e7ee828.f19d38"],["6f462838.d07f48"]]},{"id":"29f069a9.72dc36","type":"change","z":"9a33bd66.ccbcd","name":"blue","rules":[{"t":"set","p":"payload","pt":"msg","to":"40","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":80,"wires":[[]]},{"id":"289fca31.d499b6","type":"change","z":"9a33bd66.ccbcd","name":"turkiz","rules":[{"t":"set","p":"payload","pt":"msg","to":"42","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":120,"wires":[[]]},{"id":"58ac06d2.ed39f8","type":"change","z":"9a33bd66.ccbcd","name":"yeloow","rules":[{"t":"set","p":"payload","pt":"msg","to":"41","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":160,"wires":[[]]},{"id":"9d2f1c21.0c204","type":"change","z":"9a33bd66.ccbcd","name":"red","rules":[{"t":"set","p":"payload","pt":"msg","to":"37","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":200,"wires":[[]]},{"id":"a5792872.bd9aa8","type":"change","z":"9a33bd66.ccbcd","name":"Green","rules":[{"t":"set","p":"payload","pt":"msg","to":"39","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":240,"wires":[[]]},{"id":"6f462838.d07f48","type":"change","z":"9a33bd66.ccbcd","name":"Cops","rules":[{"t":"set","p":"payload","pt":"msg","to":"46","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":850,"y":320,"wires":[["c28b5e7b.f3726"]]},{"id":"c28b5e7b.f3726","type":"trigger","z":"9a33bd66.ccbcd","op1":"96","op2":"96","op1type":"str","op2type":"str","duration":"8","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":980,"y":320,"wires":[[]]},{"id":"6e7ee828.f19d38","type":"change","z":"9a33bd66.ccbcd","name":"White","rules":[{"t":"set","p":"payload","pt":"msg","to":"44","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":280,"wires":[[]]},{"id":"bb5be404.3bdd58","type":"mqtt in","z":"769a52c2.f1db8c","name":"","topic":"/ledStrip","qos":"2","datatype":"auto","broker":"b31d9a1b.fc5e78","x":180,"y":1400,"wires":[["2ba58c68.ae2174"]]},{"id":"8d8b7378.99d04","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip PC OFF","controller":"e7fc0463.749968","itemname":"PCLed_Power","topic":"ItemCommand","payload":"OFF","x":1124,"y":1514,"wires":[[]]},{"id":"bbab9f1b.3a7ab","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip PC ON","controller":"e7fc0463.749968","itemname":"PCLed_Power","topic":"ItemCommand","payload":"ON","x":1330,"y":1560,"wires":[[]]},{"id":"9a246d58.6f0f9","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1140,"y":1560,"wires":[["bbab9f1b.3a7ab"]]},{"id":"42020ec7.d9d6b","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1160,"y":1606,"wires":[["db9a259f.778758"]]},{"id":"4047bdf5.840394","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip PC Prog","controller":"e7fc0463.749968","itemname":"PCLed_Program","topic":"ItemCommand","payload":"","x":1610,"y":1600,"wires":[[]]},{"id":"4f89c331.21531c","type":"function","z":"769a52c2.f1db8c","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":850,"y":1600,"wires":[["5015bdb4.3d5294","8d8b7378.99d04","717694ca.80adec"]]},{"id":"db9a259f.778758","type":"subflow:9a33bd66.ccbcd","z":"769a52c2.f1db8c","name":"","env":[],"x":1360,"y":1606,"wires":[["4047bdf5.840394"],["e2b26ca.014da9"]]},{"id":"812440b.78b74c","type":"switch","z":"769a52c2.f1db8c","name":"PC Strip","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"PC","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":680,"y":1600,"wires":[["4f89c331.21531c"]]},{"id":"f94994ed.c6f848","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Saloon OFF","controller":"e7fc0463.749968","itemname":"SaloonLED_Power","topic":"ItemCommand","payload":"OFF","x":1144,"y":1660,"wires":[[]]},{"id":"df134b56.023398","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Saloon ON","controller":"e7fc0463.749968","itemname":"SaloonLED_Power","topic":"ItemCommand","payload":"ON","x":1340,"y":1706,"wires":[[]]},{"id":"53fd4eeb.fb074","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1146,"y":1706,"wires":[["df134b56.023398"]]},{"id":"bf71bc67.808db","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1160,"y":1747,"wires":[["81f9b0c7.948fa"]]},{"id":"1c1537e2.1750c8","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Saloon Prog","controller":"e7fc0463.749968","itemname":"SaloonLED_Program","topic":"ItemCommand","payload":"","x":1620,"y":1742,"wires":[[]]},{"id":"1567f9fd.ba2616","type":"function","z":"769a52c2.f1db8c","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":850,"y":1744,"wires":[["f94994ed.c6f848","7f7e6b76.bc84e4","9cc94d1c.24c94"]]},{"id":"81f9b0c7.948fa","type":"subflow:9a33bd66.ccbcd","z":"769a52c2.f1db8c","name":"","env":[],"x":1360,"y":1748,"wires":[["1c1537e2.1750c8"],["1acdec.2c596215"]]},{"id":"758a23c2.b2b6fc","type":"switch","z":"769a52c2.f1db8c","name":"Saloon Strip","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Saloon","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":690,"y":1744,"wires":[["1567f9fd.ba2616"]]},{"id":"c5082ad2.e91d08","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Bed OFF","controller":"e7fc0463.749968","itemname":"WiFiLED_Power","topic":"ItemCommand","payload":"OFF","x":1150,"y":1819,"wires":[[]]},{"id":"4bb26d8c.0d9df4","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Bed ON","controller":"e7fc0463.749968","itemname":"WiFiLED_Power","topic":"ItemCommand","payload":"ON","x":1341,"y":1861,"wires":[[]]},{"id":"c97b728f.b969c","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1140,"y":1861,"wires":[["4bb26d8c.0d9df4"]]},{"id":"917e7e27.dcc26","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1160,"y":1906,"wires":[["5323859a.bb0ccc"]]},{"id":"4f635e2f.7d99e","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Bed Prog","controller":"e7fc0463.749968","itemname":"WiFiLED_Program","topic":"ItemCommand","payload":"","x":1610,"y":1900,"wires":[[]]},{"id":"d9d26da2.b53f5","type":"function","z":"769a52c2.f1db8c","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":836,"y":1899,"wires":[["c5082ad2.e91d08","762b62ea.e388bc","b36e46.cefbe1b8"]]},{"id":"5323859a.bb0ccc","type":"subflow:9a33bd66.ccbcd","z":"769a52c2.f1db8c","name":"","env":[],"x":1380,"y":1906,"wires":[["4f635e2f.7d99e"],["ed197ff6.2b414"]]},{"id":"8f08580c.64e258","type":"switch","z":"769a52c2.f1db8c","name":"Bed Strip","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Bed","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":660,"y":1899,"wires":[["d9d26da2.b53f5"]]},{"id":"43e92fba.82edf","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Kitchen OFF","controller":"e7fc0463.749968","itemname":"KitchenLED_Power","topic":"ItemCommand","payload":"OFF","x":1172,"y":1980,"wires":[[]]},{"id":"97375814.36bdd8","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Kitchen ON","controller":"e7fc0463.749968","itemname":"KitchenLED_Power","topic":"ItemCommand","payload":"ON","x":1348,"y":2020,"wires":[[]]},{"id":"3b501fdf.e0b45","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1148,"y":2020,"wires":[["97375814.36bdd8"]]},{"id":"c80a56c9.128418","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1160,"y":2060,"wires":[["c2a94eb.22d46b"]]},{"id":"a456047.34400f8","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Kitchen Prog","controller":"e7fc0463.749968","itemname":"KitchenLED_Program","topic":"ItemCommand","payload":"","x":1638,"y":2053,"wires":[[]]},{"id":"850608e7.6c9318","type":"function","z":"769a52c2.f1db8c","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":836,"y":2054,"wires":[["ca9a3724.4e3938","43e92fba.82edf","79d03ed5.7389a"]]},{"id":"c2a94eb.22d46b","type":"subflow:9a33bd66.ccbcd","z":"769a52c2.f1db8c","name":"","env":[],"x":1360,"y":2060,"wires":[["a456047.34400f8"],["9550d9f9.79d458"]]},{"id":"35875f7a.21886","type":"switch","z":"769a52c2.f1db8c","name":"Kitchen Strip","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Kitchen","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":670,"y":2054,"wires":[["850608e7.6c9318"]]},{"id":"4488937c.7c7a9c","type":"switch","z":"769a52c2.f1db8c","name":"ALL","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"LEDS","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":490,"y":1400,"wires":[["11283bbc.ab7e24","4f89c331.21531c","9492385.3c43dc8","5b2c45e6.8d305c"]]},{"id":"2ba58c68.ae2174","type":"function","z":"769a52c2.f1db8c","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":310,"y":1400,"wires":[["4488937c.7c7a9c","812440b.78b74c","8f08580c.64e258","35875f7a.21886","758a23c2.b2b6fc"]]},{"id":"11283bbc.ab7e24","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"250","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":710,"y":1680,"wires":[["1567f9fd.ba2616"]]},{"id":"9492385.3c43dc8","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"500","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":710,"y":1820,"wires":[["d9d26da2.b53f5"]]},{"id":"5b2c45e6.8d305c","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"750","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":710,"y":1980,"wires":[["850608e7.6c9318"]]},{"id":"e2b26ca.014da9","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1580,"y":1674,"wires":[["d9158acc.ec3318"]]},{"id":"d9158acc.ec3318","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip PC Prog Speed","controller":"e7fc0463.749968","itemname":"PCLed_ProgramSpeed","topic":"ItemCommand","payload":"","x":1770,"y":1674,"wires":[[]]},{"id":"1acdec.2c596215","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1580,"y":1826,"wires":[["e4963c20.44cb5"]]},{"id":"e4963c20.44cb5","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Saloon Prog Speed","controller":"e7fc0463.749968","itemname":"SaloonLED_ProgramSpeed","topic":"ItemCommand","payload":"","x":1790,"y":1826,"wires":[[]]},{"id":"ed197ff6.2b414","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1580,"y":1980,"wires":[["dfef198e.503bb8"]]},{"id":"dfef198e.503bb8","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Bed Prog Speed","controller":"e7fc0463.749968","itemname":"WiFiLED_ProgramSpeed","topic":"ItemCommand","payload":"","x":1780,"y":1980,"wires":[[]]},{"id":"9550d9f9.79d458","type":"delay","z":"769a52c2.f1db8c","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1588,"y":2138,"wires":[["828da50c.3bba08"]]},{"id":"828da50c.3bba08","type":"openhab2-out","z":"769a52c2.f1db8c","name":"LED Strip Kitchen Prog Speed","controller":"e7fc0463.749968","itemname":"KitchenLED_ProgramSpeed","topic":"ItemCommand","payload":"","x":1798,"y":2138,"wires":[[]]},{"id":"5015bdb4.3d5294","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1009,"y":1554,"wires":[[],["9a246d58.6f0f9"]]},{"id":"7f7e6b76.bc84e4","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":1699,"wires":[[],["53fd4eeb.fb074"]]},{"id":"762b62ea.e388bc","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":1855,"wires":[[],["c97b728f.b969c"]]},{"id":"ca9a3724.4e3938","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1011,"y":2013,"wires":[[],["3b501fdf.e0b45"]]},{"id":"9cc94d1c.24c94","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":1740,"wires":[[],["bf71bc67.808db"]]},{"id":"79d03ed5.7389a","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":2053,"wires":[[],["c80a56c9.128418"]]},{"id":"b36e46.cefbe1b8","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":1899,"wires":[[],["917e7e27.dcc26"]]},{"id":"717694ca.80adec","type":"switch","z":"769a52c2.f1db8c","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"Off","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":1010,"y":1600,"wires":[[],["42020ec7.d9d6b"]]},{"id":"b31d9a1b.fc5e78","type":"mqtt-broker","z":"","name":"Node red","broker":"192.168.1.103","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"e7fc0463.749968","type":"openhab2-controller","z":"","name":"openhab","protocol":"http","host":"localhost","port":"8080","path":"","username":"","password":""}]

thanks for the help

2 Likes

(Gad Ofir) #9

Just want to say one more thing…

i have bought 4 Magic home controllers, two led strips, i had 12V transforms of my own
all have cost me something like 37$

and now i can make my home to be any color i want :slight_smile: very fun, a nice cheap addition to any smart home, i alwys thought that leds are only for fun, but very cool and useful, to know the status of the home , with no Sound or Notifaction

1 Like