Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions #1

Open
sunflowerABB opened this issue Sep 10, 2019 · 5 comments
Open

Some questions #1

sunflowerABB opened this issue Sep 10, 2019 · 5 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@sunflowerABB
Copy link

sunflowerABB commented Sep 10, 2019

Very interesting project, thanks for sharing your work!
A few questions:

  1. could I use your code with a home assistant instance running remotely on another server? What would have to be changed for the sensor values to be forwarded to the remote server? I noticed you defined the sensors in the ORP.yaml file:

- platform: atlas_scientific
port: /dev/ttyUSB0
offset: 78
scan_interval: 31536000

  1. Your custom home assistant sensor is using UART as a protocol. Could this be made to work via I2C as well (there is a dual BNC PCB available which supports only I2C but not UART)?

  2. Since the Raspi wouldn't be doing much besides forwarding sensor values, do you have any suggestion on how to adapt your code to run on an Arduino instead, e.g. using the ESPhome firmware which integrates very easily with home assistant ? Else I'll have to look into linking the pi-instance to my master server (https://github.com/lukas-hetzenecker/home-assistant-remote)

  3. Adding the Salt Water Chlorinator feature soon would be awesome, please! 👍 When do you estimate you will have a first version working?

@segalion
Copy link
Owner

segalion commented Sep 11, 2019

  1. Runnig HA remotely could be possible, but makes things more complicated, and less reliable. You allways need a RPI to connect sensors to GPIOs, and UARTs, (remote GPIO and/or something to extend UART over TCP...)
  2. I was thinking in use tentacle board too. Maybe in the future I could buy one and develope a version for I2C protocol for the custom component.
  3. Yes... thats one of the first thing I were been thinking a lot to decide where to build the project: arduino/ESP vs RPI, and finally I decided for a RPI for three main reasons:
  • Mobile notifications (mutch better with RPI+HA).
  • Better outside-integrations (i.e. weather, google calendar, etc.)
  • Further integrations (presence detections, cameras and microphones, speech-to-text for commands, music, ...)
    So then, its not easy to replicate HA yaml config on a ESP/arduino code...
  1. I don´t have SWC so is difictult for me know the requirements...
    At first aprox. you can connect the bleach injection relay to start/stop the SWC, and configure raspipool with "bleach concentration = 1.75%" and then aproximate the "gr of chlorine per hour" of your SWC with same "ml/min".

@segalion segalion added good first issue Good for newcomers question Further information is requested labels Sep 11, 2019
@MimbaMonkeyHouse
Copy link

@sunflowerABB, you could always have this running in one Home Assistant instance and use the mqqtt publish service to forward sensor data and even switches to another instance on a different computer...

@tobiasneumann42
Copy link

had the same issue, my home assistant is running on VMware and the Pi with the connected sensors located in a housing close to the pool. As suggested by @MimbaMonkeyHouse installed mosquitto mqtt broker on Pi. Python script on Pi sends sensor readings (have several temperature sensors, pH, ORP and pressure sensors) locally to the broker. Home assistant subscribes to these readings. Works pretty straight forward and stable.

@lucky79
Copy link

lucky79 commented Jan 15, 2021

@tobiasneumann42 Would you be willing to share more details please? I am trying to do the same, so it would help me a lot. Right now I only need it for pH and ORP, temps from 1wire sensors connected to UniPi Lite board and also relays are possible using the rest api. Thank you!

@V4l3n10
Copy link

V4l3n10 commented Feb 16, 2021

  1. Runnig HA remotely could be possible, but makes things more complicated, and less reliable. You allways need a RPI to connect sensors to GPIOs, and UARTs, (remote GPIO and/or something to extend UART over TCP...)
  2. I was thinking in use tentacle board too. Maybe in the future I could buy one and develope a version for I2C protocol for the custom component.
  3. Yes... thats one of the first thing I were been thinking a lot to decide where to build the project: arduino/ESP vs RPI, and finally I decided for a RPI for three main reasons:
  • Mobile notifications (mutch better with RPI+HA).
  • Better outside-integrations (i.e. weather, google calendar, etc.)
  • Further integrations (presence detections, cameras and microphones, speech-to-text for commands, music, ...)
    So then, its not easy to replicate HA yaml config on a ESP/arduino code...
  1. I don´t have SWC so is difictult for me know the requirements...
    At first aprox. you can connect the bleach injection relay to start/stop the SWC, and configure raspipool with "bleach concentration = 1.75%" and then aproximate the "gr of chlorine per hour" of your SWC with same "ml/min".

@segalion, Have you ever had the chance to develop a version for I2C protocol for the Tentacle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants