Closed benderl closed 4 years ago
Just one modification to my script: As 40°C divided in 255 steps results in an accurancy of 0,16 degrees, I changed the rounding of the temperature to 0,2 degrees:
var temperature = Math.round( ( MIN_TEMPERATURE + ( rawTemperature - MIN_INPUT ) * SCALE_FACTOR ) * 5 ) / 5;
Hi @benderl thanks a lot for your work. I have added this EEP to the smoke detector PR in the official binding.
Hello @fruggy83 , I maybe noticed a bug regarding the genericThing of the binding. If I add a smoke detector with the device discovery in paper ui, I get a generic thing in my inbox, can configure it, link items to the channels and everything is running fine. But if openhab get restarted, the thing remains in the state "UNINITIALIZED - HANDLER_CONFIGURATION_PENDING". The log does not show anything else regarding the thing or any other enocean related errors. I tested with the latest 2.5.2-alpha release after I found this with 2.5.1.0. Log is set to trace.
Implemented in upstream.
I recently got some other devices, I would like to use with openhab. They use EEP A5-30-03 which is more a general profile for digital inputs but eltako makes use of this for heat and smoke detectors.
I managed to get it running with a general thing and the following JS transformation: