For compiling this code, you need thes version of Asksin Lib:
https://github.com/kc-GitHub/AskSin/archive/c7c2910944212bea6dd199e9c3ace6c02ce29347.zip
There is a bug in the CCU addon in this release.
Please use this link for download the fixed version:
https://github.com/kc-GitHub/Wettersensor/raw/master/Contrib/CCU/HB-UW-Sen-THPL_CCU-addon.tgz
Changes:
- Add new register:
- transmitTryMax: How often should the sensor try to send data without ack.
- lowBatLimit: Defined the battery voltage used for low battery detection.
- ledMode: Switch the device LED on or off while sent out data.
- altitude: Define the sensor-altitude for calculating the air pressure at sea level.
- Bugfixes:
- Fix millis() overflow bug. Now, the sensor stays in sleep mode after 49 days, so battery should not drained anymore
- Small changes
- Battery voltage now measured with 1 digit only.