Giter Site home page Giter Site logo

iobroker.iceroad's Introduction

Logo

ioBroker.iceroad

Number of Installations Current version in stable repository NPM version

Test and Release CodeQL Downloads

Documentation

Vorhersage zur vereisten Frontscheibe
Bitte die API hier beantragen: https://www.eiswarnung.de/rest-api/

Iced windshield forecast
Please request the API here: https://www.eiswarnung.de/rest-api/

🇩🇪 Dokumentation
🇬🇧 Documentation

Discussion and Questions

ioBroker Forum

Ice-Road adapter for ioBroker

This is a shedule adapter that polls the current ice situation via https://eiswarnung.de e.g. every hour. Based on climate and weather data for your location, they calculate the night before whether icy windows are expected in your area the next morning. The optimal time for the query is 8-10 hours in advance. If you want to leave the house at 8am, it is best to use a forecast from 10-24pm the night before.

If the adapter displays the status "Ice" or "Maybe ice", it is possible to be notified. Currently, there are several built-in notification services (Telegram, Pushover, WhatsApp, Email, Jarvis, Lovelace, SynoChat). If the status is changed to "No ice", you also get a notification. In addition, it is possible to be reminded when the status "Ice" and "Maybe ice" is pending for more than X hours. (Can be set in the configuration). Otherwise, various data points are available for further processing.

Changelog

1.2.1 (2023-05-26)

  • (ciddi89) Updated dependecies
  • (ciddi89) increased timeout for axios to ten seconds

1.2.0 (2023-02-22)

  • (ciddi89) Updated dependencies

1.1.3 (2023-01-20)

  • (ciddi89) Bugfix: reminder doesn't work correctly
  • (ciddi89) Added: name and type for channel folders
  • (ciddi89) Other: Small code improvements

1.1.2 (2022-12-23)

  • (ciddi89) handling if no data was received added

1.1.1 (2022-12-18)

  • (ciddi89) changed order in table of longitude and latitude

1.1.0 (2022-12-18)

  • (ciddi89) added handling for wrong location data (comma to fullstop)
  • (ciddi89) added functionality for reminder notification
  • (ciddi89) updated readme

1.0.0 (2022-12-17)

  • (ciddi89) fixed issue messages wasn't sent
  • (ciddi89) increased timeout
  • (ciddi89) BREAKING CHANGE -> rebuild adapter complete. Please save your data and delete the instance before update
  • (ciddi89) drop support for admin 5

0.1.1 (2022-10-01)

  • (Apollon77) Make sure adapter stops when he is done

0.1.0

  • (Patrick Walther) add locations, add pushover/telegram/mail

0.0.1

  • (Patrick Walther) initial release

License

The MIT License (MIT)

Copyright (c) 2023 Patrick Walther [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.iceroad's People

Contributors

apollon77 avatar ciddi89 avatar dependabot[bot] avatar mcm1957 avatar patrick-walther avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iobroker.iceroad's Issues

Move to Stable

Please move the adapter to stable.
Then it should be usable for everyone.

Thanks.

Instance already running

Hi,
ich habe scheinbar ein Problem mit dem beenden des Dienstes, bekomme regelmäßig die Meldung
instance system.adapter.iceroad.0 already running with pid 66387
Adapter auch schon komplett de- und neuistalliert.

Benachrichtigung -> leere Message

Egal ob ich Pushover oder Telegram in den Benachrichtigungen auswähle bekomme ich nur:

Error from Pushover: message cannot be blank <br>
Cannot send message [chatId - XXXXXXX]: Error: ETELEGRAM: 400 Bad Request: message text is empty

Zu dem Zeitpunkt müsste die Meldung "Eis!" kommen.
Edit: Auch bei "kein Eis." ist die Message leer.

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Fehlermeldung Axios

Ich bekomme manchmal den Fehler:
`

iceroad.0 2022-11-27 12:00:17.132 error 0.error:AxiosError: timeout of 5000ms exceeded
`

Feature-Request

Hallo,

Habe einige Wünsche:

Abfrageintervall zum selbst einstellen in Adapter Config integrieren

E-Mail Versand

2.Standort (für Familienmitglied)

Alle Datenpunkte

Grüße
Sigi

Add missung Values

Hi,
refer to API, please add missing Values and make them configurable:
See: https://www.eiswarnung.de/rest-api/

URL: https://api.eiswarnung.de?key=&lat=<GPS_LAT>&lng=<GPS_LNG>

GPS-Data could be used from IOBroker values

code zahl -> Statuscode (200=Aufruf erfolgreich; 300=Geokoordinaten fehlen; 400=API Key fehlt; 401=API Key ungültig; 402=Tägliches Call-Limit erreicht)

success boolean -> War die Anfrage erfolgreich?
message string -> Fehler- oder Erfolgsmeldung
callsLeft zahl -> Für heute übrige Abfragen
callsDailyLimit zahl -> Tägliches Kontingent an API Abfragen
callsResetInSeconds zahl -> Sekunden bis zum nächsten Tag und Auffrischung des Kontingents

requestDate string (YYYY-mm-dd HH:ii:ss) -> Zeitpunkt der Anfrage
forecastId zahl -> Vorhersage 0 = kein Eis, 1 = Eis, 2 = evtl. Eis
forecastText string -> Vorhersage in Worten
forecastCity string -> Erkannter Ort zu den Geokoordinaten
forecastDate string -> Tag, für welchen die Vorhersage gültig ist

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Patrick-Walther/ioBroker.iceroad

I have also found warnings that may be fixed if possible.

  • [W400] Cannot find "iceroad" in latest repository
  • [W801] .npmignore not found

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

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.