# Node red reading domoticz

**URL:** <https://discourse.nodered.org/t/node-red-reading-domoticz/12360>\
**Category:** Dashboard\
**Created:** [18 June 2019 14:10 UTC](https://discourse.nodered.org/t/node-red-reading-domoticz/12360 "2019-06-18T14:10:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben1](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@ben1](https://discourse.nodered.org/u/ben1)\
**Post date:** [18 June 2019 14:10 UTC](https://discourse.nodered.org/t/node-red-reading-domoticz/12360/1 "2019-06-18T14:10:41Z")

</div>

hi all  
i have a domoticz with a MQTT setup.  
I checked with this cmd that i can write to domoticz, it is working  
mosquitto\_pub -h localhost -m '{ "idx" : 48, "nvalue" : 0, "svalue" : "2.0" }' -t 'domoticz/in'

Now, I would like to make a node red workflow to read an object in domoticz.  
How can i do this ?  
do you have an example ?

thanks

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [18 June 2019 14:17 UTC](https://discourse.nodered.org/t/node-red-reading-domoticz/12360/2 "2019-06-18T14:17:40Z")

</div>

There are a series of MQTT flows in the cookbook. [http://cookbook.nodered.org](http://cookbook.nodered.org)

---

<div class="post-metadata">

**Author:** ![gwgorman](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gwgorman/32/9662_2.png) [@gwgorman](https://discourse.nodered.org/u/gwgorman)\
**Post date:** [26 June 2019 13:48 UTC](https://discourse.nodered.org/t/node-red-reading-domoticz/12360/3 "2019-06-26T13:48:09Z")

</div>

hi - it's just an MQTT feed, here's a snapshot of a flow that displays a bunch of data. If you've enabled MQTT output (in setup-\>hardware) it publishes on domoticz/out by default. I'm running Mosquitto locally on the same Pi as Domoticz.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/5a0e2f0a03aaec593191d0f56ce47a77244788ed.png)

here's the Domoticz setup

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/04dd95e1cc93dee03cb35728d17d3d518b103607.png)

Hope this isn't bad form, the flow JSON is posted here --\> [https://github.com/gwgorman/Flows](https://github.com/gwgorman/Flows)
