NEWS
Test Adapter ice Road
-
Hi, danke für den Adapter! Find ich super!
Hab nur nen noch nen Änderungs / Verbesserungswunsch:
Ich würd gern die Location Koordinaten an den Adapter als Objekt übergeben.
Hintergrund: Ich nutze iobroker auf dem raspi auch im Wohnmobil für Alarmanlage und Beleuchtungssteuerung etc.
GPS Tracker der Koordinaten liefert ist auch in iobroker integriert.Würde hier auch gerne entsprechend ne Warnung aufs Handy bekommen abhängig von der jeweiligen location an der ich stehe.
Danke und Grüße,
xmace -
du könntest dieses script für dich umbauen - https://forum.iobroker.net/post/861930
-
Ich habe mir den Adapter jetzt auch nochmal aktiviert.
Habe auch eben nochmal von git installiert.
Doch leider startet der Adapter immer wieder neu und ruft die Daten immer wieder neu ab.
Fast sekündlich.iceroad.0 2022-10-03 17:57:53.007 warn Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason iceroad.0 2022-10-03 17:57:52.878 error adapter disabled iceroad.0 2022-10-03 17:57:47.740 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:47.739 info terminating iceroad.0 2022-10-03 17:57:47.625 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":40,"callsDailyLimit":50,"callsResetInSeconds":21733,"result":{"requestDate":"2022-10-03 17:57:47","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:47.623 info response.data.result: {"requestDate":"2022-10-03 17:57:47","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:46.991 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:57:41.254 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:41.253 info terminating iceroad.0 2022-10-03 17:57:41.148 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":41,"callsDailyLimit":50,"callsResetInSeconds":21739,"result":{"requestDate":"2022-10-03 17:57:41","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:41.147 info response.data.result: {"requestDate":"2022-10-03 17:57:41","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:40.503 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:57:33.095 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:33.093 info terminating iceroad.0 2022-10-03 17:57:33.015 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":42,"callsDailyLimit":50,"callsResetInSeconds":21748,"result":{"requestDate":"2022-10-03 17:57:32","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:33.014 info response.data.result: {"requestDate":"2022-10-03 17:57:32","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:32.369 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:57:26.390 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:26.388 info terminating iceroad.0 2022-10-03 17:57:26.314 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":43,"callsDailyLimit":50,"callsResetInSeconds":21754,"result":{"requestDate":"2022-10-03 17:57:26","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:26.313 info response.data.result: {"requestDate":"2022-10-03 17:57:26","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:25.640 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:57:20.224 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:20.222 info terminating iceroad.0 2022-10-03 17:57:20.122 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":44,"callsDailyLimit":50,"callsResetInSeconds":21760,"result":{"requestDate":"2022-10-03 17:57:20","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:20.121 info response.data.result: {"requestDate":"2022-10-03 17:57:20","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:19.514 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:57:13.729 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:13.727 info terminating iceroad.0 2022-10-03 17:57:13.654 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":45,"callsDailyLimit":50,"callsResetInSeconds":21767,"result":{"requestDate":"2022-10-03 17:57:13","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:13.653 info response.data.result: {"requestDate":"2022-10-03 17:57:13","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:13.094 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:57:07.768 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:57:07.766 info terminating iceroad.0 2022-10-03 17:57:07.662 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":46,"callsDailyLimit":50,"callsResetInSeconds":21773,"result":{"requestDate":"2022-10-03 17:57:07","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:57:07.661 info response.data.result: {"requestDate":"2022-10-03 17:57:07","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:57:06.976 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:56:57.664 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:56:57.661 info terminating iceroad.0 2022-10-03 17:56:57.540 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":47,"callsDailyLimit":50,"callsResetInSeconds":21783,"result":{"requestDate":"2022-10-03 17:56:57","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:56:57.539 info response.data.result: {"requestDate":"2022-10-03 17:56:57","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:56:56.972 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:56:51.547 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:56:51.544 info terminating iceroad.0 2022-10-03 17:56:51.420 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":48,"callsDailyLimit":50,"callsResetInSeconds":21789,"result":{"requestDate":"2022-10-03 17:56:51","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:56:51.419 info response.data.result: {"requestDate":"2022-10-03 17:56:51","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:56:50.879 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 iceroad.0 2022-10-03 17:56:45.168 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 17:56:45.167 info terminating iceroad.0 2022-10-03 17:56:45.022 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":49,"callsDailyLimit":50,"callsResetInSeconds":21796,"result":{"requestDate":"2022-10-03 17:56:44","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 17:56:45.020 info response.data.result: {"requestDate":"2022-10-03 17:56:44","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 17:56:44.106 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23
pi@pi:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.17.1 v16.17.1 8.15.0 pi /home/pi
-
Schedule verstellt? Der Adapter soll nur einmal in der Stunde gestartet werden.
-
Eigentlich nicht.
Deshalb hab ich zur Sicherheit extra des Screenshot angehangen. Sollte demnach ja nur nachts um 3 starten.Hab es zum testen auch mal auf alle 5min und dann wieder auf 3 Uhr gestellt.
Das Verhalten bleibt aber gleich.EDIT
-
Hier ist der Adapter ruhig und startet einmal in der Stunde.
-
hast du vorher die alte version gestartet ? dann würde ich mal den iob server neustarten
-
@david-g Bitte vollständiges Log senden sodass auch die meldungen vom "Host" drin sind, Da sollte man sehen was passiert
-
@xmace Oder ein kleines JavaScript was setObject machen darf und das instanz objekt aktualisieren.
-
@Thomas-Braun
Hab ich bisher noch nie gemacht.
Hab das System aber grad reboot, kein Unterschied.@liv-in-sky
Anbei ein ungefiltertes Log:2022-10-03 20:04:49.646 info instance system.adapter.iceroad.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.pi 2022-10-03 20:04:49.256 info stopInstance system.adapter.iceroad.0 send kill signal iceroad.0 2022-10-03 20:04:48.930 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":34,"callsDailyLimit":50,"callsResetInSeconds":14112,"result":{"requestDate":"2022-10-03 20:04:48","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 20:04:48.929 info response.data.result: {"requestDate":"2022-10-03 20:04:48","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 20:04:48.791 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason iceroad.0 2022-10-03 20:04:48.788 info terminating iceroad.0 2022-10-03 20:04:48.786 info Got terminate signal TERMINATE_YOURSELF host.pi 2022-10-03 20:04:48.776 info stopInstance system.adapter.iceroad.0 (force=false, process=true) host.pi 2022-10-03 20:04:48.774 info "system.adapter.iceroad.0" disabled iceroad.0 2022-10-03 20:04:48.204 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 host.pi 2022-10-03 20:04:44.514 info instance system.adapter.iceroad.0 started with pid 22006 host.pi 2022-10-03 20:04:43.208 info Restart adapter system.adapter.iceroad.0 because enabled host.pi 2022-10-03 20:04:43.208 info instance system.adapter.iceroad.0 terminated with code 0 (NO_ERROR) iceroad.0 2022-10-03 20:04:42.478 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 20:04:42.471 info terminating iceroad.0 2022-10-03 20:04:42.014 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":35,"callsDailyLimit":50,"callsResetInSeconds":14119,"result":{"requestDate":"2022-10-03 20:04:41","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 20:04:42.013 info response.data.result: {"requestDate":"2022-10-03 20:04:41","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 20:04:41.417 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 host.pi 2022-10-03 20:04:38.195 info instance system.adapter.iceroad.0 started with pid 21771 host.pi 2022-10-03 20:04:36.858 info Restart adapter system.adapter.iceroad.0 because enabled host.pi 2022-10-03 20:04:36.858 info instance system.adapter.iceroad.0 terminated with code 0 (NO_ERROR) iceroad.0 2022-10-03 20:04:36.127 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 20:04:36.125 info terminating iceroad.0 2022-10-03 20:04:36.020 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":36,"callsDailyLimit":50,"callsResetInSeconds":14125,"result":{"requestDate":"2022-10-03 20:04:35","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 20:04:36.019 info response.data.result: {"requestDate":"2022-10-03 20:04:35","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 20:04:35.293 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 host.pi 2022-10-03 20:04:31.761 info instance system.adapter.iceroad.0 started with pid 21752 host.pi 2022-10-03 20:04:30.492 info Restart adapter system.adapter.iceroad.0 because enabled host.pi 2022-10-03 20:04:30.491 info instance system.adapter.iceroad.0 terminated with code 0 (NO_ERROR) iceroad.0 2022-10-03 20:04:29.709 info Terminated (NO_ERROR): Without reason iceroad.0 2022-10-03 20:04:29.707 info terminating iceroad.0 2022-10-03 20:04:29.636 info response.data: {"success":true,"message":"Request successful!","code":200,"callsLeft":37,"callsDailyLimit":50,"callsResetInSeconds":14131,"result":{"requestDate":"2022-10-03 20:04:29","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"}} iceroad.0 2022-10-03 20:04:29.635 info response.data.result: {"requestDate":"2022-10-03 20:04:29","forecastId":0,"forecastText":"Kein Eis.","forecastCity":"Hilchenbach","forecastDate":"2022-10-04"} iceroad.0 2022-10-03 20:04:29.028 info starting. Version 0.1.1 (non-npm: iobroker-community-adapters/ioBroker.iceroad#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) in /opt/iobroker/node_modules/iobroker.iceroad, node: v16.17.1, js-controller: 4.0.23 host.pi 2022-10-03 20:04:25.531 info instance system.adapter.iceroad.0 started with pid 21732 host.pi 2022-10-03 20:04:24.570 info "system.adapter.iceroad.0" enabled
-
Ok, also bei dir denkt das System es ist ein normaler Adaper und kein Schedule Adapter was es ist.
Am besten:
- Adapter (nicht nur instanz) deinstallieren
- iobroker neu starten
- Adapter neu von GitHub installieren
-
Danke, jetzt klappt es.
Jetzt wo du es sagst, sehe ich es auch. Am Screenshot ist ist nicht die kleine gelbe Uhr sondern der farbige Punkt. -
@patrickwalther
Soweit läuft der Adapter eigentlich stabil. Allerdings klappt das mit der Benachrichtigung bei mir nicht. Egal ob Pushover oder Telegram, es kommt immer die MeldungError from Pushover: message cannot be blank Cannot send message [chatId - XXXXXXX]: Error: ETELEGRAM: 400 Bad Request: message text is empty
-
@bommel_030 mach bitte ein issue auf github auf.
@apollon77 kümmert sich jetzt um den Adapter. -
@siggi0904 sagte in Test Adapter ice Road:
@apollon77 kümmert sich jetzt um den Adapter.
Hhm ..., sagt wer? ;-)) Die Community Developer kümmern sich drum ... In einer idealen Welt sind das ein paar mehr als nur ich ber ja ohne Issue ist es für keinen sichtbar
-
@apollon77 Man sieht nur dich
-
-
@siggi0904
Soweit so klar, die Frage war eher ob es bei anderen funktioniert oder nicht. -
@bommel_030 Ich nutze den Adapter nicht. Ich nutze das Blockly-Script von hier und hab die Erinnerung in eine extra Abfrage gepackt.
-
@bommel_030 bin gerade dabei mich mit dem Adapter ein wenig auseinander zu setzen. Finde die Idee eigentlich ganz nett. Der Fehler mit der Benachrichtigung sollte nun behoben sein. Wenn nicht dann bitte im Issue #15 melden.