virgilm / sparkly

Swimming Pool Automation Systen with Raspberry Pi + Home Assistant
MIT License
14 stars 7 forks source link

Really excellent - a couple of questions #29

Open cperricos opened 1 year ago

cperricos commented 1 year ago

hello, I have recently embarked on my raspipool adventure as a way to learn more about HA, python etc. What you have done is really fantastic and am looking forward to seeing it work in my spa. I have a couple of questions:

1) I modified the switches code to work with a simple four relay hat for the pi using GPIo commands. it seems to work BUT... on the main page, when I switch con the main pump it works fine, but when I switch on acid or chlorine, the relay toggles on/off. I havent connected the sensors yet (waiting for my whitebox T3 to arrive), so is this related to some logic that takes ph/ORP readings and then switches pump back off? It is not the relay connection as when I change the main pump to a different relay that works fine.

2) would it be possible to change the readings to metric units? if so would I need to change any signficiant formulas?

thank yuo so much for your efforts Costi

virgilm commented 1 year ago
  1. The acid/chlorine pumps need the main pump to work (as a safeguard). So, you have to turn the main pump on to be able to turn on other pumps.
  2. There is a lot of code dealing with that (mostly untested). There is a global setting (called imperial) - when set to false it should use metric units.
cperricos commented 1 year ago

thank you so much for your quick response!!

Will look for that setting.

Also, I already have an HA instance running in the main house. Have you come across any ways to communicate between the raspipool instance and another instance?

virgilm commented 1 year ago

I'm not aware of a way to connect to an existing HA instance.

cperricos commented 1 year ago

Hello, I have made significant progress since my last post. thanks so much for you excellent work. I have the Atlas IOT sensors running remotely and communicating to raspipool via Mqtt. I can display actual orp, temp and ph on the main dashboard, and have gor the gauge for temperature working too. I cannot seem to get the gauge for orp or ph working though. My question is, do I need to have node red activated and running for the dashboards to work? I haven't managed to install it properly (get 505 gateway error) so didnt know if that was related.