Page 1 of 1
PWM read with Pi and Domoticz
Posted: Tuesday 04 July 2023 12:04
by njlammerts
Is it possible to "read" the PWM signal with Pi/Domoticz?
I have a Solar Boiler solution with a PWM Pump wich is controlled by a Sorel controller, where the controller sends a PWM signal (10V) to the pump to control the speed.
I would like to read the "speed" of the pump based on the PWM signal wich is between 2-99%
Re: PWM read with Pi and Domoticz
Posted: Tuesday 04 July 2023 13:12
by waltervl
I searched a little bit and it seems not possible with current integrations (RPi GPIO or I2C).
The RPi is able to read the PWM with its GPIO so you will have to write an external python or bash script that reads the PWM pin and sends the date to a virtual Domoticz device. I hope I gave you enough keywords to find the solutions.
Re: PWM read with Pi and Domoticz
Posted: Tuesday 04 July 2023 13:24
by njlammerts
I also searched, and found there is no "out of the box" solution, therefore i posted this question. maybe some other user found a way to read the PWM with a custom made solution or maybe a hack of some other device, eventually with some python or other script
Re: PWM read with Pi and Domoticz
Posted: Tuesday 04 July 2023 14:30
by FireWizard
Hi,
You can try something with Node-RED.
See:
https://nodered.org/docs/faq/interacting-with-pi-gpio
If you Google with node red pwm you might find more options.
Regards