GithubHelp home page GithubHelp logo

stephan192 / hochwasserportal Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 6.0 299 KB

Home Assistant integration for Länderübergreifendes Hochwasser Portal

License: MIT License

Python 100.00%
hacs hochwasserportal homeassistant integration

hochwasserportal's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar mgumz avatar nohn avatar stephan192 avatar wfroemgen avatar

Stargazers

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

Watchers

 avatar  avatar

hochwasserportal's Issues

Warnstufe nicht verfügbar

Hallo,

ich wohne in Gera und in der Liste gibt es Gera 2.

  • ST_576520 - Gera-Langenberg / Weiße Elster
  • TH_57652.0 - Gera-Langenberg / Weiße Elster

Nur über ST_576520 wird die Warnstufe mit ausgegeben. Über TH_57652.0 nicht.

No data from Swiss rivers

I added the Hochwasserportal Integration and data from German rivers are shown but not for Swiss rivers.

German rivers I configured and data are correctly shown are: BY_16003003, BY_16003502, BY_16005701
Swiss rivers I configured and NO data are shown are: CH_2087, CH_2152, CH_2110, CH_2018

Any idea why the Swiss river do not work? The only difference in the configuration is the pegel-id.

sensor naming

Hello,
I have installed it and added 2 sensors for the platform:

  • platform: hochwasserportal
    pegel: BY_24238501

After restarting I see no sensor with "hochwasserportal". What do I have to expect?

Water levels can no longer be called up

The following water levels cannot currently be called up:

RP_25800506 Diez / Lahn
RP_25800608 Kalkhofen / Lahn

If you called it with the following code, it worked without any problems until 8 weeks ago:

#Level Diez Lahn
sensor:

  • platform: hochwasserportal
    level: RP_25800506
    level: True
    stage: True
    flow: True

#Level Kalkhofen Lahn

  • platform: hochwasserportal
    level: RP_25800608
    level: True
    stage: True
    flow: True

Definition of Level, Stage etc?

Hi Stephan,

thank you for this nice sensor, this is great when livining next to the Rhine.
How are level and stage defined? -- Would you mind adding this to the README.md for clarification.
My assumption would be:
Level: depth of the shipping channel
Stage: flood warning stage?

But this is just from the icons and units, and I could not find the definition in the API.

Thank you.

yaml config

I've got a warning, that the yaml config is beeing to removed, but I don't have a yaml config for this integration anymore. I also can't delete the integration, because there is still the repair to be solved.

Source: custom_components/hochwasserportal/sensor.py:53

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.hochwasserportal.sensor
Source: custom_components/hochwasserportal/sensor.py:53
Integration: hochwasserportal (documentation, issues)
First occurred: 13:28:11 (33 occurrences)
Last logged: 13:28:12

Init API - RP_27100700 - Failed!
Init API - RP_26560103 - Failed!
Init API - RP_25100300 - Failed!
Init API - RP_23900200 - Failed!
Init API - RP_26200505 - Failed!

since today: All Entities are stale, unavailable after HA Restart

HA 2023.6.3

image

Following Errors in the Logfile:

2023-07-03 17:00:14.678 ERROR (SyncWorker_0) [custom_components.hochwasserportal.sensor] Init API - SH_9610010 - Failed!
2023-07-03 17:00:14.708 ERROR (SyncWorker_24) [custom_components.hochwasserportal.sensor] Init API - BW_215 - Failed!
2023-07-03 17:00:14.717 ERROR (SyncWorker_11) [custom_components.hochwasserportal.sensor] Init API - SH_9510070 - Failed!
2023-07-03 17:00:14.789 ERROR (SyncWorker_4) [custom_components.hochwasserportal.sensor] Init API - BW_115 - Failed!
2023-07-03 17:00:14.795 ERROR (SyncWorker_3) [custom_components.hochwasserportal.sensor] Init API - SH_9530020 - Failed!
2023-07-03 17:00:14.840 ERROR (SyncWorker_14) [custom_components.hochwasserportal.sensor] Init API - MV_9650043 - Failed!
2023-07-03 17:00:14.840 ERROR (SyncWorker_19) [custom_components.hochwasserportal.sensor] Init API - SH_110006 - Failed!
2023-07-03 17:00:14.845 ERROR (SyncWorker_10) [custom_components.hochwasserportal.sensor] Init API - BW_7 - Failed!
2023-07-03 17:00:14.882 ERROR (SyncWorker_6) [custom_components.hochwasserportal.sensor] Init API - BW_116 - Failed!
2023-07-03 17:00:14.888 ERROR (SyncWorker_5) [custom_components.hochwasserportal.sensor] Init API - SH_9510095 - Failed!
2023-07-03 17:00:14.896 ERROR (SyncWorker_9) [custom_components.hochwasserportal.sensor] Init API - BW_147 - Failed!
2023-07-03 17:00:14.924 ERROR (SyncWorker_23) [custom_components.hochwasserportal.sensor] Init API - BW_9016 - Failed!
2023-07-03 17:00:14.932 ERROR (SyncWorker_20) [custom_components.hochwasserportal.sensor] Init API - BW_40 - Failed!
2023-07-03 17:00:14.938 ERROR (SyncWorker_12) [custom_components.hochwasserportal.sensor] Init API - BW_38 - Failed!
2023-07-03 17:00:14.960 ERROR (SyncWorker_13) [custom_components.hochwasserportal.sensor] Init API - BW_70 - Failed!

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.