GithubHelp home page GithubHelp logo

dala318 / python_ph803w Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 5.0 126 KB

Home Assistant integration for PH-803W

License: MIT License

Python 100.00%
home-assistant home-assistant-integration orp-probe ph-monitoring ph-probe pool ph-803w

python_ph803w's People

Contributors

dala318 avatar roobre avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

python_ph803w's Issues

Filter values for outliers

Likely a simple mean+-stddev check of values in list iterating backwards in list of measurements could be enough. No need to include external tools even if they likely will do it better

Integration does not reconnect to ph-803w after it goes offline

Hey there!

First of all, let me give you a huge thank you fork setting this up! My plan when I bought this was to use the node-mqtt adapter, but this solution looks substantially better to me :)

Now, I've been facing a problem in a situation where, due to some limitations of my electrical installation, I'm not able to have the ph-803w meter powered up all the time. It is roughly on for several hours per day, in one hour chunks.

This seems to be causing a problem with the integration. When the ph-803w is on, if I restart homeassistant, I very quickly start to get data from it. Then, the device turns off, and I stop receiving data (to be expected). Later on, the ph-803w will get turned on again, but no data is being received by the integration. Restarting HASS causes data to be picked up again.

The ph-803w has a static lease on my network, and I can ping the device every time it is on.

Do you know if this is expected behavior? Could it be a way for the integration to retry to connect every couple of minutes or so, simply forever until it succeeds?

I'm not a python expert but maybe I could lend a hand implementing this, provided some pointers on where to start :)

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.