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%
PWM read with Pi and Domoticz
Moderator: leecollings
-
njlammerts
- Posts: 153
- Joined: Wednesday 12 August 2020 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Fryslan
- Contact:
- waltervl
- Posts: 6677
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: PWM read with Pi and Domoticz
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.
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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
njlammerts
- Posts: 153
- Joined: Wednesday 12 August 2020 17:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Fryslan
- Contact:
Re: PWM read with Pi and Domoticz
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
- FireWizard
- Posts: 1967
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: PWM read with Pi and Domoticz
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
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
Who is online
Users browsing this forum: No registered users and 1 guest