- Posted on
Thu Oct 11, 2018 4:44 pm
-
kw123
offline
-
- Posts: 8366
- Joined: May 12, 2013
- Location: Dallas, TX
-
I have > 50 different devices types defined. and all the logic uses devicetypeid to id the different devices .. every device has its specialties.
temp, temp+hum, temp+hum+press, on/off/, distance, speed, resistor measurement, ADC value, range 0-255, 0-1024, 0-4096, rain amounts ... etc etc , update frequency, last value, min/max today yesterday .... light uva, uvb, red, green blue ir ..
many of these sensors have > 20 states defined
if i change that, all devices have to be deleted and recreated, changing a devices type for an existing devices does not work properly with existing props etc and you need to have old and new devtypeid defined, otherwise indigo can not handle any of the plugin devices selections anymore ...(if an existing devitypid is not defined it shows empty devtypes for all devices -- tried that before)
...
I really don't want to do that
Karl