Re: MQTT Gateway Plugin
Posted: Sun Nov 05, 2017 9:03 am
Sorry, I was tied up with sports stuff for the kids. Downloading now!
- Eric
- Eric
Software Support and Home Automation Forum
https://forums.indigodomo.com/
FlyingDiver wrote:BonfireVA wrote:That would be great!
Basically a device type that can support a float or even a string value from the MQTT topic would be extremely useful and a way to tell Indigo what it is (ie temp, humidity, ambient light etc). If you are able to make some progress on adding support I could certainly help test.
-Eric
Try https://github.com/FlyingDiver/Indigo-M ... /0.1.1.zip
BonfireVA wrote:FlyingDiver wrote:BonfireVA wrote:That would be great!
Basically a device type that can support a float or even a string value from the MQTT topic would be extremely useful and a way to tell Indigo what it is (ie temp, humidity, ambient light etc). If you are able to make some progress on adding support I could certainly help test.
-Eric
Try https://github.com/FlyingDiver/Indigo-M ... /0.1.1.zip
Works perfect, thanks!!!
-Eric
BonfireVA wrote:Ok, so now that FlyingDiver updated his Masquerade plugin I can create a device and set its value to the contents of the MQTT message, perfect! Now, is there a way to tell Indigo to treat this device like a specific type of sensor (ie temp, humidity, LUX etc)?
BonfireVA wrote:For my purposes right now I am just trying to define temp, humidity, ambient light and motion device types. I also think door/window sensors types would also be useful assuming Indigo has them. I have never installed a zwave door sensor so I'm not sure how they show up in Indigo. Just as an FYI, here is the link to the video I am using as a guide for my sensor nodes https://www.youtube.com/watch?v=jpjfVc-9IrQ&t=822s
-Eric
FlyingDiver wrote:BonfireVA wrote:For my purposes right now I am just trying to define temp, humidity, ambient light and motion device types. I also think door/window sensors types would also be useful assuming Indigo has them. I have never installed a zwave door sensor so I'm not sure how they show up in Indigo. Just as an FYI, here is the link to the video I am using as a guide for my sensor nodes https://www.youtube.com/watch?v=jpjfVc-9IrQ&t=822s
-Eric
The problem is that Indigo doesn't have "native" types for most of those. Indigo's native types include relay, dimmer, thermostat, sensor, speedcontrol (fan). Temp, humidity, ambient light are all going to be generic sensors that return a value (usually float). Motion and door/window sensors are just on/off sensors.
16. nov. 2017, 08:36:07
mqttGateway Debug validating configUi
mqttGateway Error Error in plugin execution UiValidate:
Traceback (most recent call last):
File "plugin.py", line 368, in validateDeviceConfigUi
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
OSError: [Errno 2] No such file or directory
FlyingDiver wrote:Actually, I can set the sensor icon and format the value.
I'll work on that when I'm done with my project for the day, which is reconfiguring my AV rack before the installers show up tomorrow to install the glass door....
BonfireVA wrote:Let me know when you have a chance to add the formatting options for the devices and I will test it out.
Thanks!
-Eric
FlyingDiver wrote:BonfireVA wrote:Let me know when you have a chance to add the formatting options for the devices and I will test it out.
Thanks!
-Eric
FlyingDiver wrote:Can you post these in the Masquerade plugin thread? viewtopic.php?f=216&t=17402
MortenB wrote:Ok...
Trying to get the hang of this MQTT stuff
I have a MQTT broker set up running on a ubuntu server and it is working fine.
When I try to configure an item in Indigo I get the following error:
- Code: Select all
16. nov. 2017, 08:36:07
mqttGateway Debug validating configUi
mqttGateway Error Error in plugin execution UiValidate:
Traceback (most recent call last):
File "plugin.py", line 368, in validateDeviceConfigUi
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
OSError: [Errno 2] No such file or directory
I'm running Indigo 7 by the way.