virgilm / sparkly

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

GREAT WORK #28

Open bbombek opened 2 years ago

bbombek commented 2 years ago

So I have struggled with this build for one year. It seems to be very hard.... And HA is constantly changing. Now the new version doesnt support UART?? Is that a problem? Anyway i am again stuck. I see that image

Also the readme i got stuck at

image

I dont know how how to do no. 6 and 7. and also i got now two red nodes??

image

And I still dont get any readings from EZo circuits. I Dont know how to enable i2C mode.... and also what is this? image

what is sparkly local i dont understans?? PLEASE HELP

virgilm commented 2 years ago

To set EZO sensors to I2C mode, you can follow this tutorial. My version does not support UART mode, you would have to make it work if you really wanted to (the code is there, but commented out). I highly recommend using I2C mode though, it is easier to use and more reliable.

HA is indeed constantly changing (and not for the better IMO). I assume you installed the supervised version of HA, seeing the screenshots - and that is OK. Steps 6 & 7 are irrelevant to you, NR is running and connected to HA apparently, and the second NR entry is useless - just ignore it or remove it from your configuration file.

As I mentioned in the readme, the installation is very much a work in progress and I use HA Core, where some if this stuff is more complicated - but it runs much better on my RPi Zero W 2. I'm actually happy you made it that far, if you can contribute back with Install steps for HA Supervised, that would be nice.

Finally, my installation is called sparkly.local instead of homeassistant.local, so you already have that last point (Start HA and access) working :)

bbombek commented 2 years ago

OK KUULL Getting there! So I enabled I2C mode manually on the EZO circuits now there is the Blue Light! But still no communication with raspberry pi. I know how to do it in raspbian OS https://files.atlas-scientific.com/pi_sample_code.pdf But how to do that in HA OS?? I found this should i do it? https://www.home-assistant.io/common-tasks/os/#enable-i2c I will gladly make a tutorial if I am Successful!

bbombek commented 2 years ago

So I did this also.. https://www.home-assistant.io/common-tasks/os/#enable-i2c-via-home-assistant-operating-system-terminal And nothing from the pH sensor... image

Should sensors still be connected as segalion did?? image

virgilm commented 2 years ago

Yeah, that won't work with I2C. So I guess you have a choice to make:

askewdread commented 2 years ago

awesome updates to the code,

Should sensors still be connected as segalion did?? image

have finally got this working after much trial and error, the sensor boards need to be connected as per the pi_sample.pdf file not as per the image in the repo, so RX on both boards need connecting to the SCL pin on the PI and the TX on both boards need to be connected to the SDA pin on the PI

then HA correctly finds them and reads :)

bbombek commented 2 years ago

Hello I am Back! Now i finally got the Whitebox T3 carrier board for RPI. Now still nothing in HA no readings from sensors... What to do. Can someone write a quick tutorial.?? THANK YOU

STELTZ-MANIA commented 2 years ago

Hi @bbombek, how did you get on or have you quit?

I received my Tentacle T3 today and have hooked up the EZO pH and ORP circuits and it appears to be working. image

Although there is a weird difference between the 2 pH values being presented which I couldn't be bothered thinking about right now and I haven't added any temperature sensors as yet.

I'm happy for us to compare notes if you are still having issues.