Page 1 of 2
node-red-contrib-indigo
Posted:
Sun May 17, 2020 11:33 am
by koburg
Hi All
IM NOT sure this is right area to place this sorry if im wrong.
i have a pi running node-red and installed node-red-contrib-indigo
https://flows.nodered.org/node/node-red-contrib-indigohave anybody had any succes installing this and make it work I really don't know why it is not working
i have put in the right ip user and pw but it is not working.
If someone made it work please show some setup examples eg from screenshots.
as I can read when I have put in the ip-adress for indigodomo and pw/user then I should be able to read all the items and select them
from drop down list in the node red flows.
koburg
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 9:30 am
by whmoorejr
Here is a thread where some folks have been using Node-Red to communicate between Indigo and Alexa. It's not a perfect match for what you are doing, but it might be a helpful read. I'm not a programmer, but I was able to get my set up going relatively quickly.
https://forums.indigodomo.com/viewtopic.php?f=133&t=23486#p187209
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 9:49 am
by koburg
Thank you!
what my issue is what I do wrong about the node-red-contrib-indigo
see this screen shot
this should be the local ip for my indigo server and the user and pw right?
- Skærmbillede 2020-06-06 kl. 17.45.31.png (49.29 KiB) Viewed 4358 times
Then this should be where I select the device I want to user from drop down ?
but no device appear
- Skærmbillede 2020-06-06 kl. 17.45.51.png (29.31 KiB) Viewed 4358 times
then I should be able to se som debug about the device
- Skærmbillede 2020-06-06 kl. 17.44.28.png (66.8 KiB) Viewed 4358 times
but can not get it up running.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 10:27 am
by siclark
Hi.
The drop down of indigo devices can be slow to populate if you have a lot but it dies work eventually.
I use it a lot to control indigo devices and action groups but never got the get device to work.
Recently I used the indigo restful api to sweet indigo devices, which could be used to read as well.
or you could use mqtt plugin in indigo to publish the device states to read in node red.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 11:10 am
by FlyingDiver
FWIW, I use MQTT to bridge my node-red flows to Indigo.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:19 pm
by siclark
That helps my decision to use mqtt. Just need to work out how to send mqtt from indigo...
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:28 pm
by FlyingDiver
siclark wrote:That helps my decision to use mqtt. Just need to work out how to send mqtt from indigo...
There's a plugin for that.
http://www.indigodomo.com/pluginstore/211/
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:34 pm
by koburg
FlyingDiver wrote:
i have installed you plugin need som little guide for get it work with node red first time with MQTT
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:35 pm
by FlyingDiver
koburg wrote:
i have installed you plugin need som little guide for get it work with node red first time with MQTT
https://github.com/FlyingDiver/Indigo-M ... uick-Start
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:36 pm
by siclark
Thanks. I use it already to receive incoming messages a lot, just need to work out the outgoing.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:41 pm
by FlyingDiver
siclark wrote:Thanks. I use it already to receive incoming messages a lot, just need to work out the outgoing.
For Indigo-> Node-Red, I'm only using it for control type messages, so I just create an Action Group with the specific messages I need to send. Going the other way, I'm mostly reporting sensor and status data, so I'm using MQTT Shims to make them look like Indigo devices.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 3:48 pm
by siclark
I use shims a lot.
Looking for a way to send a dummy rgb device state, ie colour and brightness over mqtt to control a zigbee bulb.
Use the hue plugin for now but the signal is patchy from the hub. Looking to use the usb stocks as mains boosters to control the hue bulbs but also so I can then also use zigbee sensors all over the house.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 4:07 pm
by FlyingDiver
siclark wrote:I use shims a lot.
Looking for a way to send a dummy rgb device state, ie colour and brightness over mqtt to control a zigbee bulb.
If you know the topic and payload formats, you could create a connector device specifically for those devices, with a customized publishing payload format.
Re: node-red-contrib-indigo
Posted:
Sat Jun 06, 2020 4:13 pm
by siclark
Thanks. I’ve got some landscaping and construction to do outside for the kids before summer but as soon as that’s done I’ll be able to be back on indigo and will be in touch to get this working. Cheers.
Re: node-red-contrib-indigo
Posted:
Tue Jun 09, 2020 4:58 am
by siclark
Actually, I have had some time stuck at the Mac and having a play. I first tried the action group, but then realised I was a few versions behind, and found the latest version with the Published Devices, which is just what I want.
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?
Thanks