* Adding Tasmota mecanism for Sensor
* Correct for BL0602
* Correct issue on value.
Adding SensorRetain.
* Adding dummy statestext and prefix for tasmoadmin
* Adding more dynamic parameter to tasmota.
AP, Uptime, Start time (rely on ntp), battery and vcc, prefix mqtt
* RSSI calculation for tasmota
* Correct compile for nonbeken chip
* correct W600 build
* correct lastreading call
* Trying to force battery_lastreading for other chip
* force to For Beken only
* correct declaration
* Update drv_battery.h
Correct comment
---------
Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
To provide Zero configuration for End User :
- 2 new pins BAT_ADC and BAT_Relay
- Autostart of driver if pins associated
- change vdivider default value to 2.29 Seems like default for 2AA battery sensor
* Adding Battery driver discovery
Adding Flag for sensor avaibility publish
* correct hass.h
* correct call for other platform than beken
* Change Typo availability and Battery for driver
* Forget the pin description
* Added Bridge Driver for polarized relays. Teardown: TONGOU TO-Q-SY1-JWT
* W600/W800 logging bug fix
* EnergyMetering
- negative values correction.
- Enenrgy metering must continue with high precission values can not be skipped.
In case of negative values zero value must be used for calculation
Energy is calculated as power/time. Timing calculation is measured between sampels.
If skipping samples, timing calculation it then incorrect as well as energy calculation
* Logical filterring and correction for peaks in measuremed values.
---------
Co-authored-by: valeklubomir <valeklubomir@gmail.com>
* Add a flagged option to apply channel type multiplier (if any) when publishing MQTT value
* Update new_mqtt.c
changed float to double for more accuracy
---------
Co-authored-by: Rémi Serriere <Remi.Serriere@getyooz.com>