gazoodle / centuryvspump Goto Github PK
View Code? Open in Web Editor NEWESPHome custom component to drive Century (and other) variable speed pump motors
License: GNU General Public License v3.0
ESPHome custom component to drive Century (and other) variable speed pump motors
License: GNU General Public License v3.0
Gazoodle, since I don’t have good enough Wi-Fi near my pool pump, I bought a modbus capable Wi-Fi & Ethernet interface (below) so I can do a wired connection. How can I use this with your code? I’m very new to Home Assistant, thanks in advance!
Hi,
I'm trying to use your module to control a Jandy pump. I'm using a NodeMCU (ESP8266) and was trying to use its UART tx/rx pins, connected to my pump. However, I now think I need an RS485 interface module between the ESP8266 and the pump, converting from serial tx/rx to RS485 A/B pins - can you confirm?
Sorry for opening an issue for this as its not an issue with your module.
Getting build error:
In file included from src/esphome/components/centuryvspump/sensor/CenturyVSPumpSensor.cpp:1:
src/esphome/components/centuryvspump/sensor/CenturyVSPumpSensor.h: In constructor 'esphome::century_vs_pump::CenturyVSPumpSensor::CenturyVSPumpSensor(esphome::century_vs_pump::CenturyVSPump*, uint8_t, uint8_t, uint16_t, const string&, const string&)':
src/esphome/components/centuryvspump/sensor/CenturyVSPumpSensor.h:23:60: error: no matching function for call to 'esphome::century_vs_pump::CenturyVSPumpSensor::set_unit_of_measurement(const string&)'
set_unit_of_measurement(unit_of_measurement);
^
In file included from src/esphome/components/sensor/sensor.h:5,
from src/esphome/components/centuryvspump/CenturyVSPump.h:7,
from src/esphome/components/centuryvspump/sensor/CenturyVSPumpSensor.h:3,
from src/esphome/components/centuryvspump/sensor/CenturyVSPumpSensor.cpp:1:
src/esphome/core/entity_base.h:82:8: note: candidate: 'void esphome::EntityBase_UnitOfMeasurement::set_unit_of_measurement(const char*)'
void set_unit_of_measurement(const char *unit_of_measurement);
^~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/entity_base.h:82:8: note: no known conversion for argument 1 from 'const string' {aka 'const std::__cxx11::basic_string<char>'} to 'const char*'
Compiling /data/spa/.pioenvs/spa/src/esphome/components/text_sensor/text_sensor.cpp.o
*** [/data/spa/.pioenvs/spa/src/esphome/components/centuryvspump/sensor/CenturyVSPumpSensor.cpp.o] Error 1
Hello,
I'd love to implement your project to control my Century V-Green 2.7 HP VS pump. It looks like the device mentioned here is EOL. For the ESP side of it, it looks like the Atom by itself is still available:
and they also have this:
For the RS485 side, they have this, which looks like it has the same chip as the one you used:
Just wanted to see what you thought might work. Thanks in advance!!!!
I attempting to use this code to control my Pentair Wisperflo VST. I purchase the RS485 cable and attempted to communicate with it using an ESP32 connected to a MAX485 adapter however I get following logs. I have put the pump in External Control Only and swapped the Green and Yellow wires.
[15:34:05][D][century_vs_pump:140]: Pump command 45 no response received - removed from send queue
[15:34:06][D][century_vs_pump:140]: Pump command 45 no response received - removed from send queue
[15:34:12][D][century_vs_pump:140]: Pump command 43 no response received - removed from send queue
[15:34:13][D][century_vs_pump:140]: Pump command 45 no response received - removed from send queue
I need to confirm that data is being sent from the pump to the 485 adapter, which I try and confirm later tonight.
Is this pump compatible with this code? Here is the info on the pump.
Would love to see the Century motor pause function added.
There are times I need to pause the motor during a run and my understanding is if you turn it off it will start the schedule new again vs using pause..
Hello,
Do you know if it's possible to add the Power Consomption of the motor. In the documentation of regal Modbus I see in the sensor mapping page (Peak current in AMP) Have you try to get that ?
That would be really interesting information to have.
Hello,
Code seems to stop working after ESPHome update.
Looks like ESPHome did incompatible update, modbus_controller was introduced.
Any chance you can reveiw changes?
Thank you!
Hi.
Thank a lot for the development of that.
I have a problem.
I cannot see the rpm value. The button and the number selector work. I can set my rpm by pressing the button, or sliding with the slider. But the slider not showing the right number in the value, and I have a Unknow value to rpm sensor.
My pump is a Pentair VS Superflow. I try with the dipswitch 1 or 5 at ON. And both have the same result.
Can you help me ?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.