Use P1 data to control to 0 consumption with PWM controller
Posted: Friday 23 December 2022 20:58
Hi all,
I have domoticz running with quite a few sensor, switches and blockly sripts but am in need of some scripting blockly cannot di and I am not able to do lua or other programming sadly.
I would like to have a script that reads the P1 data and, with a PID controller, tries to keep the consumtion from the net at 0
so, setpoint for the PI controller is 0, process value is the net consumptrion and the output varies the PWM between 0 an 100%
this PWM needs to be send to an external esp8266 running espeasy or tasmota
i use this esp pwm output then to modulate a heater when there is enough solar power. Heater wil start using a wifi switch and once switched on can be controlled with the PWM signal that controls a kemo M240
would anyone be able to make such a script ?
Thanks !
I have domoticz running with quite a few sensor, switches and blockly sripts but am in need of some scripting blockly cannot di and I am not able to do lua or other programming sadly.
I would like to have a script that reads the P1 data and, with a PID controller, tries to keep the consumtion from the net at 0
so, setpoint for the PI controller is 0, process value is the net consumptrion and the output varies the PWM between 0 an 100%
this PWM needs to be send to an external esp8266 running espeasy or tasmota
i use this esp pwm output then to modulate a heater when there is enough solar power. Heater wil start using a wifi switch and once switched on can be controlled with the PWM signal that controls a kemo M240
would anyone be able to make such a script ?
Thanks !