# Node Red: A widget based dashboard working with Homey trough MQTT

**URL:** <https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798>\
**Category:** Apps\
**Created:** [October 3, 2019, 10:05am UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798 "2019-10-03T10:05:10Z")\
**Posts on this page:** 20\
**Page:** 40

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [February 21, 2023, 4:07pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/805 "2023-02-21T16:07:52Z")

</div>

What happens when you press the broadcast button in the MQTT hub settings?

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/e/6ee5f8bb547011378879cdf491df2c78948410da.jpeg)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Zillig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_zillig/32/35224_2.png) [@Jeroen\_Zillig](https://community.homey.app/u/Jeroen_Zillig)\
**Post date:** [March 12, 2023, 2:04pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/806 "2023-03-12T14:04:57Z")

</div>

Sorry for the late reply. Been a bit busy.  
Just pushing broadcast in the mqtt hub does exactly what is expected, it triggers a broadcast and updates all selected devices. Nothing strange here.  
As it seems it only happens when homey is rebooted or when my NAS is rebooted.  
Will do some further testing when I have the time to see which exact app and/or docker container causes the strange behavior.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 12, 2023, 3:55pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/807 "2023-03-12T15:55:04Z")

</div>

This solved those kind of problems here:

> [@\[TUTORIAL\] Setting up MQTT on Homey for configuring Home Assistant for dashboard purposes](https://community.homey.app/t/tutorial-setting-up-mqtt-on-homey-for-configuring-home-assistant-for-dashboard-purposes/10880/112):
>
> What solved it for me is:  
> 1.Go to MQTT Hub  
> 2. Set COMMUNICATION PROTOCOL to Custom  
> 3. Enable Include class  
> 4. Disable Include zone  
> 5. Normalize
> 
> I think the last part is the giving the problem. I’ve noticed that the device.id gets screwed-up and is like switch.on whilst it only should be switch. Or simplified, the status of the device must not be in the device ID.
> 
> Perhaps this helps someone, I’ve just started setting it up.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Zillig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_zillig/32/35224_2.png) [@Jeroen\_Zillig](https://community.homey.app/u/Jeroen_Zillig)\
**Post date:** [March 18, 2023, 1:33pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/808 "2023-03-18T13:33:54Z")

</div>

After implementing the above settings (and changing all topics in the dashboard) my problem still exists.  
Yesterday is was able to narrow it down to the application giving the error.  
After restarting the Mosquitto MQTT docker container, all my lights flicker, thermostat is turned off and alarm is activated.  
Creating a debug in Node-red didn’t give any result, because the Mosquitto server is restarting, no topics are received in nodered during the restart.

This conclusion exludes nodered from causing the problem, so i will have to investigate what happens within Homey after a restart of Mosquitto.  
Anyone knows if there any way to create a debug log in Homey?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 18, 2023, 1:57pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/809 "2023-03-18T13:57:41Z")

</div>

> [@Jeroen\_Zillig](#):
>
> Anyone knows if there any way to create a debug log in Homey?

You can install the app by CLI, and then run  
`homey app run`  
Then you can see the debug output in the cmd screen.

 ![Screenshot from 2023-03-18 14-58-39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/75260a6a8f615548f19ade1746dccc10a08fb32f.png)

How to CLI:  
[https://community.homey.app/t/how-to-cli-install-method/198](https://community.homey.app/t/how-to-cli-install-method/198)

Source:  
[https://github.com/harriedegroot/nl.hdg.mqtt](https://github.com/harriedegroot/nl.hdg.mqtt)

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [March 18, 2023, 1:59pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/810 "2023-03-18T13:59:37Z")

</div>

You can add a debug node in Node -red to see all messages coming in. That might be helpful narrowing down the problem:

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d220a7e715c42ab069f49a37421da525071a356f.png)

The Homey MQTT Hub has also a log, but I don’t think it could solve your problem:

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c6145f0ea0053a160ff08860e047cbccfc47afa5.png)

The Homey MQTT Client has also a log:

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0eed31485a8cfd53cdda8ed227f2811755b0b910.png)

(All in the app settings)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Zillig](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_zillig/32/35224_2.png) [@Jeroen\_Zillig](https://community.homey.app/u/Jeroen_Zillig)\
**Post date:** [March 18, 2023, 2:05pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/811 "2023-03-18T14:05:18Z")

</div>

@Peter_Kawa @Satoer Thank you Peter and Michel,  
Already found the log in the mqtt client.  
Will try to narrow down the issue with teh loggings in Homey when i get back from work.

Thanks in advance for the support!

---

<div class="post-metadata">

**Author:** ![Dave\_Bosman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dave_bosman/32/71075_2.png) [@Dave\_Bosman](https://community.homey.app/u/Dave_Bosman)\
**Post date:** [March 19, 2023, 8:56am UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/812 "2023-03-19T08:56:48Z")

</div>

Controlling the color of philips hue lights: It seems like a pain in the ass.  
I have no idea if someone already solved it. I searched through the replies but i was unable to find it so i sat down and tried to come up with a solution.  
I wanted to control 4 color spots that i have. Meaning, turning them on and off but also changing the color. And i found a solution 😀  
This is what i came up with.

```auto
[{"id":"9a46ebd1.1b884","type":"debug","z":"6c14bc3e8b976abe","name":"abracadabra","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":950,"y":740,"wires":[]},{"id":"3905076c1d531c67","type":"ui_colour_picker","z":"6c14bc3e8b976abe","name":"Eetkamer","label":"","group":"2b0d2624.525502","format":"hsv","outformat":"string","showSwatch":true,"showPicker":true,"showValue":true,"showHue":true,"showAlpha":true,"showLightness":true,"square":"false","dynOutput":"false","order":3,"width":"2","height":"1","passthru":true,"topic":"homie/homey/hue-color-spot-7/color/hsv/set","topicType":"msg","className":"","x":760,"y":820,"wires":[["2b9c8a67b0edc6c4","9a46ebd1.1b884"]]},{"id":"8c7e874185b78b0b","type":"mqtt in","z":"6c14bc3e8b976abe","name":"mqtt spot 7","topic":"homie/homey/hue-color-spot-7/color","qos":"2","datatype":"auto-detect","broker":"3327dd14625028dc","nl":false,"rap":false,"inputs":0,"x":440,"y":820,"wires":[["0615e923196c70f7"]]},{"id":"1d187528.c409e3","type":"ui_switch","z":"6c14bc3e8b976abe","name":"Light Switch","label":"Eetkamer","tooltip":"","group":"2b0d2624.525502","order":9,"width":"2","height":"1","passthru":false,"decouple":"true","topic":"homie/homey/hue-color-spot-7/onoff/set","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":true,"className":"","x":970,"y":500,"wires":[["0212fea4c7f5e76c","8a53cae18582f582","22522521974dc5b5","f0575ce5.e23a58"]]},{"id":"de41fdc2.8f4218","type":"mqtt in","z":"6c14bc3e8b976abe","name":"MQTT receiver light","topic":"homie/homey/hue-color-spot-7/onoff","qos":"2","datatype":"auto","broker":"3327dd14625028dc","nl":false,"rap":false,"inputs":0,"x":490,"y":500,"wires":[["80c8f8f1.e28b9"]]},{"id":"80c8f8f1.e28b9","type":"function","z":"6c14bc3e8b976abe","name":"Convert String to Boolean","func":"if(msg.payload === \"true\"){\n msg.payload = true; \n}else{\n msg.payload = false;\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":745.1667022705078,"y":500.60003662109375,"wires":[["1d187528.c409e3"]]},{"id":"2b9c8a67b0edc6c4","type":"function","z":"6c14bc3e8b976abe","name":"function 1","func":"// Get the input text\nvar inputText = msg.payload;\n\n// Remove \"hsv(\" and \")\" from the input text\nvar cleanedText = inputText.replace(\"hsv(\", \"\").replace(\")\", \"\");\n\n// Split the cleaned text into an array of values\nvar values = cleanedText.split(\", \");\n\n// Get the hue value (first value in the array) and convert it to a number\nvar hue = Number(values[0]);\n\n// Get the saturation value (second value in the array) and remove \"%\" character, then convert it to a number\nvar saturation = Number(values[1].replace(\"%\", \"\"));\n\n// Get the value (third value in the array) and remove \"%\" character, then convert it to a number\nvar value = Number(values[2].replace(\"%\", \"\"));\n\n// Create a new string in the format \"hue,saturation,value\"\nvar outputText = hue + \",\" + saturation + \",\" + value;\n\n// Set the modified text as the output of the function node\nmsg.payload = outputText;\n\n// Return the modified message object\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":940,"y":820,"wires":[["10c4df957690bb4b","6b3223c4638ec862","452983a8919ce860","1148472cb9e0f7c8"]]},{"id":"10c4df957690bb4b","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT transmit","topic":"homie/homey/hue-color-spot-7/color/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1180,"y":740,"wires":[]},{"id":"6b3223c4638ec862","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT transmit","topic":"homie/homey/hue-color-spot-6/color/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1180,"y":780,"wires":[]},{"id":"452983a8919ce860","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT transmit","topic":"homie/homey/hue-color-spot-4/color/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1180,"y":820,"wires":[]},{"id":"1148472cb9e0f7c8","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT transmit","topic":"homie/homey/hue-color-spot-5/color/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1180,"y":860,"wires":[]},{"id":"0615e923196c70f7","type":"function","z":"6c14bc3e8b976abe","name":"function 2","func":"// Get the input text\nvar inputText = msg.payload;\n\n// Split the input text into an array of values\nvar values = inputText.split(\",\");\n\n// Get the hue value (first value in the array) and convert it to a number\nvar hue = Number(values[0]);\n\n// Get the saturation value (second value in the array) and convert it to a number\nvar saturation = Number(values[1]);\n\n// Get the value (third value in the array) and convert it to a number\nvar value = Number(values[2]);\n\n// Create a new string in the format \"hsv(hue,saturation%,value%)\"\nvar outputText = \"hsv(\" + hue + \", \" + saturation + \"%, \" + value + \"%)\";\n\n// Set the modified text as the output of the function node\nmsg.payload = outputText;\n\n// Return the modified message object\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":600,"y":820,"wires":[["3905076c1d531c67","9a46ebd1.1b884"]]},{"id":"0212fea4c7f5e76c","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT Transmitter","topic":"homie/homey/hue-color-spot-4/onoff/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1190,"y":540,"wires":[]},{"id":"8a53cae18582f582","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT Transmitter","topic":"homie/homey/hue-color-spot-5/onoff/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1190,"y":580,"wires":[]},{"id":"22522521974dc5b5","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT Transmitter","topic":"homie/homey/hue-color-spot-6/onoff/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1190,"y":620,"wires":[]},{"id":"9b5d7e1c6f7b4d1e","type":"mqtt in","z":"6c14bc3e8b976abe","name":"MQTT receiver light","topic":"homie/homey/hue-color-spot-4/onoff","qos":"2","datatype":"auto","broker":"3327dd14625028dc","nl":false,"rap":false,"inputs":0,"x":490,"y":540,"wires":[["80c8f8f1.e28b9"]]},{"id":"e7213c978459e7de","type":"mqtt in","z":"6c14bc3e8b976abe","name":"MQTT receiver light","topic":"homie/homey/hue-color-spot-5/onoff","qos":"2","datatype":"auto","broker":"3327dd14625028dc","nl":false,"rap":false,"inputs":0,"x":490,"y":580,"wires":[["80c8f8f1.e28b9"]]},{"id":"40d35767cf21b43a","type":"mqtt in","z":"6c14bc3e8b976abe","name":"MQTT receiver light","topic":"homie/homey/hue-color-spot-6/onoff","qos":"2","datatype":"auto","broker":"3327dd14625028dc","nl":false,"rap":false,"inputs":0,"x":490,"y":620,"wires":[["80c8f8f1.e28b9"]]},{"id":"f0575ce5.e23a58","type":"mqtt out","z":"6c14bc3e8b976abe","name":"MQTT Transmitter","topic":"homie/homey/hue-color-spot-7/onoff/set","qos":"","retain":"","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"3327dd14625028dc","x":1190,"y":500,"wires":[]},{"id":"2b0d2624.525502","type":"ui_group","name":"Lampen","tab":"2f1cda12.393b96","order":1,"disp":true,"width":"6","collapse":false},{"id":"3327dd14625028dc","type":"mqtt-broker","name":"","broker":"192.168.1.1","port":"1883","clientid":"","autoConnect":true,"usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""},{"id":"2f1cda12.393b96","type":"ui_tab","name":"Homey Dashboard","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![Emile\_F1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/emile_f1/32/71619_2.png) [@Emile\_F1](https://community.homey.app/u/Emile_F1)\
**Post date:** [March 29, 2023, 12:29pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/813 "2023-03-29T12:29:36Z")

</div>

Can you share how you got the time and date to display like that on your dashboard please?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 29, 2023, 1:19pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/814 "2023-03-29T13:19:00Z")

</div>

Please tag the person you reply to @Emile_F1 . Tags appear with typing an @

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [March 29, 2023, 1:20pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/815 "2023-03-29T13:20:41Z")

</div>

> [@Node Red: A widget based dashboard working with Homey trough MQTT](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/3):
>
> Sure, I don’t know if I did it the most efficient, but it works. You need the folowing nodes installed: node-red-contrib-simpletime (this generates a date/time) node-red-contrib-moment (this changes the timezone) First I use a “inject” node that executes every second. This activates a simple time node that generates time / date then I connected that to a “Moment” node that adjusted the timezone, finally it’s coupled to a text UI output. For the date I did the same, but instead of e…

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 12, 2023, 7:06am UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/816 "2023-04-12T07:06:07Z")

</div>

Good morning. I haven’t been here for a long time, I gave up continuing with the node-red panel for professional reasons, but I’ve decided to come back.

I have installed node-red on raspberry pi but have run into the following problem.

I manage to connect correctly with MQTT. Through the MQTT Explorer I see all the sensors and devices that I have running on Homey.

I put the test node to transmit the ignition of a philips light. I see in the MQTT explore that the state of the light changes. But the light…does nothing.

I have also tried with a Fibaro actuator. It does exactly the same. In the MQTT explorer you see the state change, but the trigger…does nothing.

Has anyone been through this?

Any idea where the error or failure could be?

Thanks to everyone beforehand.

---

<div class="post-metadata">

**Author:** ![Davy\_Janssen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davy_janssen/32/78880_2.png) [@Davy\_Janssen](https://community.homey.app/u/Davy_Janssen)\
**Post date:** [June 10, 2023, 5:14am UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/817 "2023-06-10T05:14:28Z")

</div>

hello, i have a mac computer at home, and i can’t connect to the rasberry pi. This makes it impossible to install node red. I want to try this now using a windows computer. Only my question if this is successful can I log in and program via the Mac computer? Or does this have to be done every time via the windows computer

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [June 10, 2023, 12:26pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/818 "2023-06-10T12:26:43Z")

</div>

Also with a Mac you can connect to a RaspberryPI. Maybe this can help you [https://www.instructables.com/Connect-Raspberry-pi-to-MacOS-or-Linux-using-SSH/](https://www.instructables.com/Connect-Raspberry-pi-to-MacOS-or-Linux-using-SSH/)

---

<div class="post-metadata">

**Author:** ![Davy\_Janssen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davy_janssen/32/78880_2.png) [@Davy\_Janssen](https://community.homey.app/u/Davy_Janssen)\
**Post date:** [June 13, 2023, 4:20am UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/819 "2023-06-13T04:20:47Z")

</div>

thank you, it helped. node red is now running on the raspberry pi

---

<div class="post-metadata">

**Author:** ![pkkrusty](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pkkrusty/32/79007_2.png) [@pkkrusty](https://community.homey.app/u/pkkrusty)\
**Post date:** [August 19, 2023, 9:30pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/820 "2023-08-19T21:30:23Z")

</div>

Hello @DeepBlueNine, I had a question about your message from Sept 2020 about the glowing ‘on’ button. I understand the function necessary to pass the classportail, but not the “code for the UI Template” and the CSS code. Both those things go in the UI Template node? Or does the button get its own UI Template node? In your previous examples, the CSS code in the UI Template node doesn’t have anywhere written` <div class.... </div>`, only `<style>` and `<script>`.

Basic question is where exactly does `<div class="{msg.cportail}}">{{msg.topic}}</div>` go? And is it a typo to have only one opening bracket on {msg.cportail}}?

Thank you for your CSS code hints for improving the node-red dashboard. Helps me use an old iPad 2 for a display.

---

<div class="post-metadata">

**Author:** ![Barry\_Van\_tunen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/barry_van_tunen/32/16432_2.png) [@Barry\_Van\_tunen](https://community.homey.app/u/Barry_Van_tunen)\
**Post date:** [March 16, 2024, 7:03pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/821 "2024-03-16T19:03:42Z")

</div>

hello, maybe I have read over it, but I am working on Node red and Mqtt. turning the lights on and off works hard.  
only with a slider to dim it doesn’t work, from homey when I change something it happens but when I do something from the dashboard nothing happens,

can anyone help me with this

---

<div class="post-metadata">

**Author:** ![RogerSt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogerst/32/12432_2.png) [@RogerSt](https://community.homey.app/u/RogerSt)\
**Post date:** [May 27, 2024, 6:29am UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/822 "2024-05-27T06:29:18Z")

</div>

It has been a while since I changed anything like this, but did you configure the appropriate return topic?

- onoff READ is this topic (on my homey, with my light): homie/homey-pro-23/light-living-room-design-stand/onoff
- dim READ is this topic: homie/homey-pro-23/light-living-room-design-stand/dim

Please remember to add /set to any update topic.

So for updating the dim level, the topic would be: homie/homey-pro-23/light-living-room-design-stand/dim/set

Maybe it it related to this.

---

<div class="post-metadata">

**Author:** ![Erwin\_Vervondel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erwin_vervondel/32/34255_2.png) [@Erwin\_Vervondel](https://community.homey.app/u/Erwin_Vervondel)\
**Post date:** [August 24, 2024, 4:35pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/823 "2024-08-24T16:35:34Z")

</div>

just created one 🙂

---

<div class="post-metadata">

**Author:** ![DiEe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/diee/32/16434_2.png) [@DiEe](https://community.homey.app/u/DiEe)\
**Post date:** [October 4, 2024, 12:51pm UTC](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798/824 "2024-10-04T12:51:53Z")

</div>

hoe doe jij wie wel/niet aanwezig is? lukt bij mij enkel met een iphone, niet android gsm

[Previous page](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798.md?page=39)

[Next page](https://community.homey.app/t/node-red-a-widget-based-dashboard-working-with-homey-trough-mqtt/18798.md?page=41)
