Commit Graph

7 Commits

Author SHA1 Message Date
stefanbode 39abde2583
Worked on ESP32 dimmer with Zero cross (#18481)
* Worked on ESP32 dimmer with Zero cross

Until now the ESP32 does not support zero-cross dimmer. I take a sneak how they did in in ESPhome and adapted the approach to TASMOTA. At the end it works that smooth that likely i will change ESP8266 either so we have a common code. Currently ESP8266 is not touched.
There is a minor issue with savedata == default. When changing the dimmer value the interrupts get stopped during write of the config data to flash.

* ESP8266 Dimmer added

Worked all so well and the code is much smaller. There is no need for reconfiguration on existing users. But there are settings not needed anymore. Will work on the documentation. Anyhow existing installations can upgrade without hickup

* Optimized endpoints at dimmer 0 and 100

* Removed debug stuff

* Fix Issue at dimmer = 0

* Small bugfix

* Final checked Version

* Update xsns_01_counter.ino

* Add missing func

* Update xsns_01_counter.ino

* Moved out of the house of counter and build my own one

* New ZeroCross Driver

* Update xdrv_91_zerocrossDimmer.ino

* evolving

* Delete xdrv_91_zerocrossDimmer.ino

* Add files via upload

* Changed drv number from 1 to 68

* Commit to merge
2023-04-25 13:46:19 +02:00
stefanbode 3569927403
Update ZeroCross Dimmer calibration on physical measurement
Alligned with physical measurement of 1KW heating
2022-11-30 09:15:34 +01:00
stefanbode 3446b0b78c
bugfix 2022-11-27 17:14:51 +01:00
stefanbode e3f0445a5d
fix duplicate line 2022-11-24 13:56:34 +01:00
stefanbode b5448535b2
Update dimmer loockup table 2022-11-24 10:51:58 +01:00
stefanbode 7dd0003617
Update AC-Dimmer power calculation
Power on AC-Dimmer is based on integral over the sinus. Implement mapping table to get a more linear power behavior.
2022-11-24 09:37:07 +01:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00