Coder Social home page Coder Social logo

raspipool's People

Contributors

segalion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspipool's Issues

Specifics on Plumbing fittings

Hi
I am uncertain on some of the plumbing parts to be used.

One is solved for Tee pieces, they are called Hough Section Connectors. (some countries may not use these)
https://www.aliexpress.com/item/4000540605421.html?spm=a2g0o.cart.0.0.2bc938da0YTkZV&mp=1

Can anyone help with what to mount the sensors in please as the plumbing downstream of the pump comes under rather high pressures. This will require a good seal between pipe and sensor. Another consideration is that these sensors will eventually fail so should be relatively easily replaced. Appreciate being pointed to any fittings suitable that will achieve this..
Thanks ahead

Questions

Hi, I have a few questions.

  1. How do I connect the paristaltic pumps and
  2. which specifications should these pumps have.
  3. Does this project also work with Raspberry Pi Zero W?

Thank you for this nice project.
Justin

Variable speed

Let me tell you, this project is absolutely awesome looking. I see that support for variable speed pumps is on the Todo list. Have you made any headway with that? I just installed a Hayward variable speed pump and I use a salt cell system.

Those are the only 2 things holding me back. Huge congrats on this project though, fantastic.

UART's and using more than one

I have had a little luck working on this project considering it is four years old. I've been able to get it up and going for the most part, but I am not able to get two uarts going at one time. Ive swapped both back and forth and know both the pH and ORP work. But simultaneously they do not. What could I be missing?

I am on a pi4

Here is my current config:

RaspiPool

force_turbo=1
dtoverlay=disable-bt
enable_uart=1
dtoverlay=uart0,txd0_pin=8,rxd0_pin=10
dtoverlay=uart5,txd5_pin=32,rxd5_pin=33
dtoverlay=w1-gpio

My uart on ttyAMA0 is working great on pins 8 and 10, but the 2nd uart isnt working on pins 32&33. I have tried dtoverlay=uartx (x being 2-5) as well.

I know my yaml is okay, like i said, I can swap ports on the two sensors and swap hardware and it will work. I must be missing something in my pi4 setup.

Thanks!

Mean

Ph and ORP are defined as

    name: ph
    entity_id: sensor.ezo_ph
    max_age:
      minutes: 10
    # precision: 3

But the there is a sensor.ph_mean : Shouldn't be name: ph_mean?

install issues

Installed on HA 3.23 and getting multiple errors for configuration and followed all instructions given. please help

Question about the bypass for sensors

Why have you placed the bypass for the sensors between de pump-input and the filter output ?
Is there a specific reason for that ?

In my case i would like to place the bypass sensors after the filter output.
Could it be a problem ?

some issues

I am trying to use the raspipool application, but running into issues with getting it going. Also I don't see the customize.yaml file which the configuration.yaml calls for. Any assistance would be greatly appreciated.

Regards,

issues with pH and ORP probes

good day,

having some strange problems with pH and ORP probe, when running each of them standalone readings are correct. the moment I connect them both the readings on both sensors go all over the place (pH claims readings like 1,2 something or 9,7 something, same for ORP level going down to 40 - 50 range from 400 something). Used the non-isolated versions and have them connected as specified in the wiring diagram to raspberry Pi 4 using UARTs.

checked the sensors with the basic python code provided by Atlas Scientific, no joy... (sensors are calibrated).

any ideas highly welcome, not sure what I am missing ...

injection regulation

Hi,
I'm building your project but I have some questions:
My configuration is ESP8266 to manage all system with ( PH + ORP ) sensors + 2 relays for injections ( motor control+temperature I've already contected it before ), I use Home assistant to manage whole house and for the swimming pool I do it as well.

I don't really understand how do you manage the injection, As I can see is it possible you do it manually from user panel?
If it is automatic, I don't really understand how to mesure injection time depending on ml/min peristaltic pump , concentration of bleach or muriatic and measures you take form probes... but maybe I'm wrong. I will thank you if you can explain it a little bit, in my case I should increase PH so I should inject PH+.
Thanks

EZO USB not working

Hello,

i hope someone could help me.
I have bought some ezo usb for ph and orp.

I can see in dmesg the USB0 and USB1 with serial number. But in HASSIO i can't find anything. The sensors not working.
What can i do?

THX a lot
Klaus

Explanation please

Can you please compile a short doc on the reasons how could this be useful, for someone not quite in clear how a pool automation works? Many people just have a small/medium pool with a pump running 24/7 and they measure chlorine and acid level by paper samples and just throw some chemicals in manually.

For them to understand why it's practical to use a system like yours, a short description of the working principle and the reasons why it works like it does, could make it more understandable. Also with included recommendations on ideal values, pump running times etc.

Thanks.

Free Chlorine Sensor

I already have sensor that that are calculating the Temp, pH and ORP.

I'm trying to understand your FC sensor and struggling to understand how the template. What does the ('input_number.e_fc_adjust')

I dont know what the FC is, hence i was hoping this template would give me that? What am i missing?

        value_template: "{{ ( 0.23 * (1 + states('input_number.e_fc_adjust')|float / 100 ) * ( 14 - states('sensor.ph_mean')|float) ** ( 1 / (400 - states('sensor.orp_mean')|float) ) * ( states('sensor.ph_mean')|float -4.1) ** ( ( states('sensor.orp_mean')|float - 516)/145) + 10.0 ** ( (states('sensor.orp_mean')|float + states('sensor.ph_mean')|float * 70 -1282) / 40 ) ) |round(1) }}"

Fluids dynamics

How did you design the bypass Tube dimensions? I suppose you need to guarantee some pressure between the main pumping system and the bypass, is that right?

Thank you

Help for Install

Hi, i try to install your Software on an Rpi and this is what i get
grafik
could you help me pls ?

Probe placement question

I’m not sure if anyone’s monitoring this project anymore, but here goes. Why are the sensors recommended to be installed in a “bypass” pipe? Can’t they just be installed in the existing pool plumbing?

Using node-RED for the automation?

This is a fantastic project. I have most of the parts on order and can't wait to start the implementation myself.

Not to criticize at all, but looking over, or modifying, all the various YAML scripts for the automation is not my strength. I have written YAML, but it is hard for me to fully understand the flows. I much prefer to use node-RED for automation.

Has anyone looked into moving some, if not all, of the automation over to Node-RED flows. I would probably want to still have the same/similar HA based dashboard, but just scripted in node-RED, as I like all the power of the other HA integrations. I guess an added bonus might be that you could build a node-RED dashboard and not require any HA if you are so inclined.

Anyway, just wondering if anyone else would be interested in this, or better yet, if anyone has a head start on this.

'AtlasSensor' object has no attribute 'ser'

Installed on a fresh hass.io image on Raspi3:

core-ssh:~# hassio ha logs

Exception ignored in: <function AtlasSensor.del at 0x71ae9d20>
Traceback (most recent call last):
File "/config/custom_components/atlas_scientific/sensor.py", line 118, in del
self.ser.close()
AttributeError: 'AtlasSensor' object has no attribute 'ser'`

EDIT: works after manually restarting hass.io via the command line. Not sure why it doesn’t after normal booting.

  • I believe you made a small mistake in the sensor wiring diagram, the PH-EZO carrier board also needs to be connected to Ground I assume (in parallel/on the same pin as the ORP-EZO carrier, same as 3.3V pin)

Entities...

I feel I have the gist of the setup done... With the code added, at which point will entities become available in the overview? Currently HA is telling me all of my entities do not exist/arent available.

Thanks in advance for the help!

Control of heating valve

Hi, I found your project very interesting.
I have experiance with domoticz but not with HA so it will be a HA learning proces.
I have a small question. Can you also control a 3 way valve for EPMD salor panels?

Kind regards
Koen

ec probe not working

using an ezo usb board for ph, and another ezo usb board for ec, my rpi3 running hassio shows both sensors in hardware but only “unknown” for ezo_conductivity. not sure how to troubleshoot this but the usb ezo and ec probe work fine with windows.

Some questions

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?

EZO Carrier board : isolated version or not ?

Your work is awesome. Thank you so much for sharing it here.
I wonder about the EZO carrier bord...
Your link is about the non-isolated version. Even if you have more than one sensor (PH and ORP)?
Does the electrically isolated board worth the cost (40$ vs 19$!!) ?
Thank you for your possible feedback

Injector

Hi,

appreciate your project! Started almost the same on ESP8266, running MQTT and NodeRed on a central Synology Docker Instance. Currently in the process of rewiring the prototype and mounting everything on DIN rails.
Your bypass looks nice and i will most probably use it in my installation. Now that i have pH, ORP and pump parts i was wondering how i would be able to inject the liquids (like PH -). Have you found a part to connect the silicone hoses safely to the 50mm pipes?

Thanks for sharing your project!

Patrick

adding calibration options via service

in an attempt to extend your original service, i have failed to figure out how to use the service to modify temperature, which is crucial to my setup.

I have posted on the homeassistant forums here:
https://community.home-assistant.io/t/adding-input-parameters-to-a-custom-component-that-is-only-a-sensor/227281

and have found a significant improvement of your original atlasscienetific custom component here:
https://github.com/virgilm/raspipool/blob/master/custom_components/atlas_scientific/sensor.py

I hope this can get some light shed on it. thanks again for your work.

Bypass probe

Hi,
Very interesting project. I was wondering why do you have to have a bypass for the probe.
can’t they be installed in line on the existing pipes ?
Thanks

SWC- Salt Water

Hey has anyone done any work with this? I'm interesting in building and testing this was just trying to see what was needed to add this to the project?

FC from ORP and PH calculation

First of all thanks for a great project which I used for my own fork!
I use it with a Tentacle HAT from whiteboxes.ch, and modified your code to enable I2C (I can send you a pull req is you are interested; it should work for both serial and I2C sensors).

My question: what formula do you use for the estimated FC calculation from the ORP and pH values?
Of course I see it in your yaml but I'm having a hard time matching that to the logarithmic chart you have in the wiki, and what I can find online (I know all about FC != f(ORP+PH) now... ;-)).
Can you tell me the source of the info you used?

I know To little

Hello!
Last year I went into this project. I bought all the BUM. Yesterday I did some progress and now I am stuck.
So I know to little on the programming side of RPI HA.
What I did...
SOlder the EZO circuits on carrier board, connected the thing per your scheme.
Installed HA operating system 64bit via this tutorial https://www.home-assistant.io/installation/raspberrypi
Copied all the project files as the instructions were.
1. Now the first problem is that when I check configuration it says

Invalid COnfig

2. Then the lovelace looks like this

lovelace

3. I dont know coding but somehow it doesn't read the sensor data from the atlas_scientific custom components folder...
Should I do something with this since it look like this? (example.yaml filename is ok??)

folder

4. This is how the connection looks like:

Connection

I sure am missing something basic but I just dont know. Can someone please help me, since I bought all this materials and now I dont know how to make them work.
Thank you
Boris

Compra material

Hola,

No sabía como contactar así que abro una "issue" si te parece bien.

Podrías poner enlaces de dónde se puede comprar el material de "Atlas Scientific" (EZO pH/ORP circuit y carrier boards)?
Para que sirven los "carrier boards"?
Llegaste a probar algún sensor de este tipo para Arduino?
https://es.aliexpress.com/item/4000562124706.html?spm=a2g0o.productlist.0.0.1534440cHu1SQc&algo_pvid=c2495c4f-08f2-41a6-9b50-70d68aac2631&algo_expid=c2495c4f-08f2-41a6-9b50-70d68aac2631-1&btsid=2100bddd16152434635406944e1c72&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_

Y también podrías poner enlaces del mateerial de "fontaneria"? Solo me queda claro el tema de los collarines de 50mm a 1/2", pero los portasondas? Que se necesita exactamente? Las sondas que pones de ejemplo de aliexpress son de 12mm de ancho? Y que se necesita para que la sonda quede en el collarin y no hay retorno de agua?

En el gráfico veo que mencionas 2xM20/1xM16 pero no lo entiendo.

Gracias!

Understanding operations

Hello, I have worked hard and have this working (what seems like well) my only issue, is I don’t understand the settings of it. Can anyone explain to me better how the cycles and pump runs/stops works?

Would it have been more simple to set it up to have an option to have X pump starts per day, and pump run for Y hours each start, starting at a specified time?

Question: Is ORP measurement reliable outdoors with CYA present?

I'm considering building a raspipool system, but I've read that ORP measurement is difficult in outdoor pools with cyanuric acid buffering the chlorine levels.

Can anyone confirm how difficult / problematic ORP measurement is? (I don't need commercial quality results, just looking to save time at home.) If the measurement is very dependent on sunlight, has anyone tried only measuring ORP at night time?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.