RC37: userModule device selector takes wrong device types
Posted: 23 Jun 2015 17:15
I do have a problem with setup of my userModule Arithmetic (see github for full sources). Arthmetic does ADD, SUB, MULT, DIV operations with two multilevelSensors
It does work fine on my RasberryPi 2, which I only use for testing a small number of devices and test modules.
However when installed on my production server, I can only select devices of type toggleButton. In module.json I have defined the sensor selector as:
One off the sensors I use
Full configuration:
So I don't understand why I only do get the toggleButton devices in the drop down list on installation of the module.
It does work fine on my RasberryPi 2, which I only use for testing a small number of devices and test modules.
However when installed on my production server, I can only select devices of type toggleButton. In module.json I have defined the sensor selector as:
Code: Select all
"sensor1": {
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_sensorMultilevel:deviceId",
"required": true
},