Posted on
Tue Jun 09, 2020 5:42 am
FlyingDiver offline
User avatar
Posts: 5411
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: node-red-contrib-indigo

siclark wrote:
However I cant seem to get node-red to parse the format that the mqtt is sent in. MQTT fx complains its not proper json and I get the states array in node-red, but with numbers not the names populated.
I was wondering how you parse the message in node-red to view? Or have you changed the publishing template?

I don't go that direction. I only send commands from Indigo to node-red, not device updates. If you put a debug node on the incoming MQTT node and post what it's showing, I can probably help you figure it out.

joe (aka FlyingDiver)
my plugins:

Posted on
Tue Jun 09, 2020 9:18 am
siclark offline
Posts: 1578
Joined: Jun 13, 2017
Location: UK

Re: node-red-contrib-indigo

Cheers... I now have a working flow that takes the published device MQTT message from indigo for a meta device dimmer device and transforms it to the right format to send as MQTT out to zigbee2mqtt to control a Hue bulb via my zigbee USB stick.

Next step is to create a dummy RGB device and see if I can get the RGB values published.

Who is online

Users browsing this forum: No registered users and 1 guest