Getting Fibaro FGMS001 Lux with Lua
Posted: Thursday 14 January 2016 21:06
Hello,
I have two Fibaro FGMS001, each has a device for temperature, and another for Lux, with the same node name.
In Blockly there is a choice of devices: Temperature, and Utility/Actual (for Lux)
In Lua, if I use otherdevices_svalues['node-name'] one of the FGMS001 nodes returns its temperature, the other returns its Lux.
Any ideas how to get both nodes to reliably return Lux in Lua?
I have two Fibaro FGMS001, each has a device for temperature, and another for Lux, with the same node name.
In Blockly there is a choice of devices: Temperature, and Utility/Actual (for Lux)
In Lua, if I use otherdevices_svalues['node-name'] one of the FGMS001 nodes returns its temperature, the other returns its Lux.
Any ideas how to get both nodes to reliably return Lux in Lua?