NEWS
Test Adapter Meteoalarm v2.0.x
-
Hi,
vielen Dank fuer das Update, hab mal Synochat eingestellt und die Region auf Rumaenien gestellt, um den Alarm zu testen.
Angezeigt im html widget wird es korrekt, nur per Synochat kam nix.. ich nehm an, es liegt an Umlauten etc.. ?
Hat bei "kurze Benachrichtigung" nix angeklickt.Hier das log, der iobroker mit Meteoalarm Adapter laeuft als client in einem lxc mit Node16:
2022-08-24 06:25:34.596 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:25:34.598 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:25:38.920 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */15 * * * * 2022-08-24 06:28:35.121 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:28:35.121 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:28:39.557 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */15 * * * * 2022-08-24 06:29:35.344 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:29:35.345 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:29:39.200 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */5 * * * * 2022-08-24 06:30:00.043 - info: host.Broker3 instance system.adapter.meteoalarm.0 started with pid 533 2022-08-24 06:30:05.925 - info: meteoalarm.0 (533) starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.meteoalarm, node: v16.16.0, js-controller: 4.0.23 2022-08-24 06:30:10.276 - info: meteoalarm.0 (533) Updated Weather Alarms for ALBA -> 2 warning(s) found 2022-08-24 06:30:10.278 - info: meteoalarm.0 (533) Terminated (NO_ERROR): Without reason 2022-08-24 06:30:10.818 - info: host.Broker3 instance system.adapter.meteoalarm.0 terminated with code 0 (NO_ERROR) 2022-08-24 06:31:30.750 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:31:30.751 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:31:34.895 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */5 * * * * 2022-08-24 06:33:08.807 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:33:08.811 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:33:13.018 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */5 * * * * 2022-08-24 06:35:00.032 - info: host.Broker3 instance system.adapter.meteoalarm.0 started with pid 566 2022-08-24 06:35:01.254 - debug: meteoalarm.0 (566) Redis Objects: Use Redis connection: 192.168.3.41:6379 2022-08-24 06:35:01.291 - debug: meteoalarm.0 (566) Objects client ready ... initialize now 2022-08-24 06:35:01.295 - debug: meteoalarm.0 (566) Objects create System PubSub Client 2022-08-24 06:35:01.296 - debug: meteoalarm.0 (566) Objects create User PubSub Client 2022-08-24 06:35:03.012 - debug: meteoalarm.0 (566) Objects client initialize lua scripts 2022-08-24 06:35:03.033 - debug: meteoalarm.0 (566) Objects connected to redis: 192.168.3.41:6379 2022-08-24 06:35:03.997 - debug: meteoalarm.0 (566) Redis States: Use Redis connection: 192.168.3.41:6379 2022-08-24 06:35:04.004 - debug: meteoalarm.0 (566) States create System PubSub Client 2022-08-24 06:35:04.006 - debug: meteoalarm.0 (566) States create User PubSub Client 2022-08-24 06:35:04.016 - debug: meteoalarm.0 (566) States connected to redis: 192.168.3.41:6379 2022-08-24 06:35:04.099 - debug: meteoalarm.0 (566) Plugin sentry Initialize Plugin (enabled=true) 2022-08-24 06:35:04.614 - info: meteoalarm.0 (566) starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.meteoalarm, node: v16.16.0, js-controller: 4.0.23 2022-08-24 06:35:04.662 - debug: meteoalarm.0 (566) Language: de 2022-08-24 06:35:04.665 - debug: meteoalarm.0 (566) Starting round: 1 2022-08-24 06:35:04.668 - debug: meteoalarm.0 (566) Setup found: country RO and region RO001 - ALBA 2022-08-24 06:35:04.668 - debug: meteoalarm.0 (566) Sentry aktiv - Breadcrumb gesetzt 2022-08-24 06:35:04.670 - debug: meteoalarm.0 (566) XML Language: ro-RO 2022-08-24 06:35:04.671 - debug: meteoalarm.0 (566) 0: Delete Alarms 2022-08-24 06:35:05.889 - debug: meteoalarm.0 (566) 0.1: Deleted Alarms 2022-08-24 06:35:06.011 - debug: meteoalarm.0 (566) 1: Parsed CSV File 2022-08-24 06:35:06.012 - debug: meteoalarm.0 (566) 2: Request Atom from https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-atom-romania 2022-08-24 06:35:06.224 - debug: meteoalarm.0 (566) 3: Received Atom 2022-08-24 06:35:06.453 - debug: meteoalarm.0 (566) 4: Process Atom 2022-08-24 06:35:06.456 - debug: meteoalarm.0 (566) 4.1.1: Check Entries 2022-08-24 06:35:06.476 - debug: meteoalarm.0 (566) 4.2: Warning found: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/3eb33ff4-183a-495e-981d-2d6813fe764d of message type Alert 2022-08-24 06:35:06.503 - debug: meteoalarm.0 (566) 4.2: Warning found: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/2e4c7f9d-40b3-46ca-a328-80b60ef76a6b of message type Alert 2022-08-24 06:35:06.516 - debug: meteoalarm.0 (566) 4.2: Checked relevance, found 2 relevant alarms 2022-08-24 06:35:06.518 - debug: meteoalarm.0 (566) 5: Processed Atom 2022-08-24 06:35:06.518 - debug: meteoalarm.0 (566) 5.1 Found 2 URLs 2022-08-24 06:35:06.519 - debug: meteoalarm.0 (566) 6: Request Details from URL 1: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/3eb33ff4-183a-495e-981d-2d6813fe764d 2022-08-24 06:35:06.758 - debug: meteoalarm.0 (566) 7: Received Details for URL 1 2022-08-24 06:35:06.773 - debug: meteoalarm.0 (566) Alarm 1 with type 10 relevant: true 2022-08-24 06:35:06.804 - debug: meteoalarm.0 (566) 8: Processed Details for Alarm 1 2022-08-24 06:35:06.804 - debug: meteoalarm.0 (566) 6: Request Details from URL 2: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/2e4c7f9d-40b3-46ca-a328-80b60ef76a6b 2022-08-24 06:35:06.882 - debug: meteoalarm.0 (566) 7: Received Details for URL 2 2022-08-24 06:35:06.896 - debug: meteoalarm.0 (566) Alarm 2 with type 3 relevant: true 2022-08-24 06:35:06.896 - debug: meteoalarm.0 (566) 8: Processed Details for Alarm 2 2022-08-24 06:35:06.897 - debug: meteoalarm.0 (566) 9: Check for duplicate alarms 2022-08-24 06:35:06.897 - debug: meteoalarm.0 (566) 9.1 alarmAll Array: [{"Alarm_Type":"Alert","Alarm_Identifier":"2.49.0.0.642.0.RO.2208231005.2ba9dc1c755ed77b","Alarm_Reference":"","Alarm_Key":"Alert-3-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Event":"awareness_type=10, awareness_level=3","Headline":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Description":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":3,"Leveltext":"Das Wetter ist gefährlich","Type":10,"Typetext":"Regen","Icon":"/meteoalarm.admin/icons/white/t10.png","Color":"#c29c2f"},{"Alarm_Type":"Alert","Alarm_Identifier":"2.49.0.0.642.0.RO.2208231005.733e6bce7ee6882a","Alarm_Reference":"","Alarm_Key":"Alert-2-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Event":"awareness_type=3, awareness_level=2","Headline":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Description":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":2,"Leveltext":"Das Wetter ist möglicherweise gefährlich","Type":3,"Typetext":"Blitz und Donner","Icon":"/meteoalarm.admin/icons/white/t3.png","Color":"#abab4f"}] 2022-08-24 06:35:06.898 - debug: meteoalarm.0 (566) Finished checking alerts - 2 relevant alarms 2022-08-24 06:35:06.898 - debug: meteoalarm.0 (566) 10: Create alarm states 2022-08-24 06:35:06.913 - debug: meteoalarm.0 (566) 10.0.1: Created State 2022-08-24 06:35:06.914 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.event with value : awareness_type=10, awareness_level=3 2022-08-24 06:35:06.929 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.headline with value : În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp. 2022-08-24 06:35:06.945 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.description with value : În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp. 2022-08-24 06:35:06.963 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.link with value : undefined 2022-08-24 06:35:06.977 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.expires with value : 2022-08-24T10:00:00+03:00 2022-08-24 06:35:06.993 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.effective with value : 2022-08-23T10:00:00+03:00 2022-08-24 06:35:07.009 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.sender with value : Administrația Națională de Meteorologie 2022-08-24 06:35:07.031 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.level with value : 3 2022-08-24 06:35:07.057 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.levelText with value : Das Wetter ist gefährlich 2022-08-24 06:35:07.078 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.type with value : 10 2022-08-24 06:35:07.102 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.typeText with value : Regen 2022-08-24 06:35:07.115 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.icon with value : /meteoalarm.admin/icons/white/t10.png 2022-08-24 06:35:07.128 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_1.color with value : #c29c2f 2022-08-24 06:35:07.149 - debug: meteoalarm.0 (566) 10.0.1: Created State 2022-08-24 06:35:07.150 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.event with value : awareness_type=3, awareness_level=2 2022-08-24 06:35:07.160 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.headline with value : Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină. 2022-08-24 06:35:07.170 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.description with value : Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină. 2022-08-24 06:35:07.180 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.link with value : undefined 2022-08-24 06:35:07.190 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.expires with value : 2022-08-24T10:00:00+03:00 2022-08-24 06:35:07.200 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.effective with value : 2022-08-23T10:00:00+03:00 2022-08-24 06:35:07.212 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.sender with value : Administrația Națională de Meteorologie 2022-08-24 06:35:07.224 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.level with value : 2 2022-08-24 06:35:07.236 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.levelText with value : Das Wetter ist möglicherweise gefährlich 2022-08-24 06:35:07.245 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.type with value : 3 2022-08-24 06:35:07.261 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.typeText with value : Blitz und Donner 2022-08-24 06:35:07.272 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.icon with value : /meteoalarm.admin/icons/white/t3.png 2022-08-24 06:35:07.284 - debug: meteoalarm.0 (566) Create_state called for : alarms.Alarm_2.color with value : #abab4f 2022-08-24 06:35:07.302 - debug: meteoalarm.0 (566) 10.1: Created alarm states 2022-08-24 06:35:07.302 - debug: meteoalarm.0 (566) 11: Creating HTML Widget 2022-08-24 06:35:07.320 - debug: meteoalarm.0 (566) 11.1: Added Alarm to widget for În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp. 2022-08-24 06:35:07.383 - debug: meteoalarm.0 (566) 11.1: Added Alarm to widget for Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină. 2022-08-24 06:35:07.396 - debug: meteoalarm.0 (566) 12: Set State for Widget 2022-08-24 06:35:07.396 - debug: meteoalarm.0 (566) 13: All Done 2022-08-24 06:35:07.397 - info: meteoalarm.0 (566) Updated Weather Alarms for ALBA -> 2 warning(s) found 2022-08-24 06:35:07.398 - debug: meteoalarm.0 (566) Plugin sentry destroyed 2022-08-24 06:35:07.399 - info: meteoalarm.0 (566) Terminated (NO_ERROR): Without reason 2022-08-24 06:35:07.935 - info: host.Broker3 instance system.adapter.meteoalarm.0 terminated with code 0 (NO_ERROR) 2022-08-24 06:37:04.945 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:37:04.946 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:37:08.847 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */5 * * * * 2022-08-24 06:37:15.842 - info: host.Broker3 stopInstance system.adapter.meteoalarm.0 (force=false, process=false) 2022-08-24 06:37:15.843 - info: host.Broker3 stopInstance canceled schedule system.adapter.meteoalarm.0 2022-08-24 06:37:19.654 - info: host.Broker3 instance scheduled system.adapter.meteoalarm.0 */5 * * * * 2022-08-24 06:40:00.035 - info: host.Broker3 instance system.adapter.meteoalarm.0 started with pid 656 2022-08-24 06:40:01.287 - debug: meteoalarm.0 (656) Redis Objects: Use Redis connection: 192.168.3.41:6379 2022-08-24 06:40:01.322 - debug: meteoalarm.0 (656) Objects client ready ... initialize now 2022-08-24 06:40:01.326 - debug: meteoalarm.0 (656) Objects create System PubSub Client 2022-08-24 06:40:01.328 - debug: meteoalarm.0 (656) Objects create User PubSub Client 2022-08-24 06:40:03.551 - debug: meteoalarm.0 (656) Objects client initialize lua scripts 2022-08-24 06:40:03.564 - debug: meteoalarm.0 (656) Objects connected to redis: 192.168.3.41:6379 2022-08-24 06:40:04.683 - debug: meteoalarm.0 (656) Redis States: Use Redis connection: 192.168.3.41:6379 2022-08-24 06:40:04.693 - debug: meteoalarm.0 (656) States create System PubSub Client 2022-08-24 06:40:04.695 - debug: meteoalarm.0 (656) States create User PubSub Client 2022-08-24 06:40:04.707 - debug: meteoalarm.0 (656) States connected to redis: 192.168.3.41:6379 2022-08-24 06:40:04.811 - debug: meteoalarm.0 (656) Plugin sentry Initialize Plugin (enabled=true)
-
@ilovegym Was mich hier wundert an deinem Log ist, dass es so aussieht als wärs noch der alte Code. Könntest du bitte versuchen (wenn es ok ist für dich) den Adapter mal ganz zu löschen und neu über den Link zu installieren? Irgendwie hast du da einen schiefen Stand, weil die Gui scheine neu zu sein..
-
Gerade getestet mit Mail: OK
meteoalarm.0 2022-08-24 07:37:02.308 info Terminated (NO_ERROR): Without reason meteoalarm.0 2022-08-24 07:37:02.308 debug Plugin sentry destroyed meteoalarm.0 2022-08-24 07:37:02.307 info Updated Weather Alarms for ALBA -> 2 alarm(s) found meteoalarm.0 2022-08-24 07:37:02.307 debug 15: All Done meteoalarm.0 2022-08-24 07:37:02.307 debug 14: Process Notifications meteoalarm.0 2022-08-24 07:37:02.306 debug 13: Set State for Widget meteoalarm.0 2022-08-24 07:37:02.291 debug 12.1: Added Alarm to widget for Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină. meteoalarm.0 2022-08-24 07:37:02.249 debug 12.1: Added Alarm to widget for În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp. meteoalarm.0 2022-08-24 07:37:02.194 debug 12: Creating HTML Widget meteoalarm.0 2022-08-24 07:37:02.193 debug 11.1: Cleaned up obsolete alarms meteoalarm.0 2022-08-24 07:37:02.193 debug 11.0.1: checking alarm "249006420RO2208231005733e6bce7ee6882a meteoalarm.0 2022-08-24 07:37:02.193 debug 11.0.1: checking alarm "249006420RO22082310052ba9dc1c755ed77b meteoalarm.0 2022-08-24 07:37:02.153 debug 11: Clean up obsolete alarms meteoalarm.0 2022-08-24 07:37:02.153 debug 10.2: Created alarm states meteoalarm.0 2022-08-24 07:37:02.147 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.color with value : #FEFE04 meteoalarm.0 2022-08-24 07:37:02.141 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.icon with value : /meteoalarm.admin/icons/black/t3.png meteoalarm.0 2022-08-24 07:37:02.135 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.typeText with value : Blitz und Donner meteoalarm.0 2022-08-24 07:37:02.127 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.type with value : 3 meteoalarm.0 2022-08-24 07:37:02.120 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.levelText with value : Das Wetter ist möglicherweise gefährlich meteoalarm.0 2022-08-24 07:37:02.114 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.level with value : 2 meteoalarm.0 2022-08-24 07:37:02.107 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.sender with value : Administrația Națională de Meteorologie meteoalarm.0 2022-08-24 07:37:02.091 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.effective with value : 2022-08-23T10:00:00+03:00 meteoalarm.0 2022-08-24 07:37:02.084 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.expires with value : 2022-08-24T10:00:00+03:00 meteoalarm.0 2022-08-24 07:37:02.077 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.link with value : undefined meteoalarm.0 2022-08-24 07:37:02.070 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.description with value : Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină. meteoalarm.0 2022-08-24 07:37:02.063 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.headline with value : Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină. meteoalarm.0 2022-08-24 07:37:02.057 debug Create_state called for : alarms.249006420RO2208231005733e6bce7ee6882a.event with value : awareness_type=3, awareness_level=2 meteoalarm.0 2022-08-24 07:37:02.048 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.color with value : #FECA36 meteoalarm.0 2022-08-24 07:37:02.043 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.icon with value : /meteoalarm.admin/icons/black/t10.png meteoalarm.0 2022-08-24 07:37:02.036 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.typeText with value : Regen meteoalarm.0 2022-08-24 07:37:02.028 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.type with value : 10 meteoalarm.0 2022-08-24 07:37:02.021 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.levelText with value : Das Wetter ist gefährlich meteoalarm.0 2022-08-24 07:37:02.016 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.level with value : 3 meteoalarm.0 2022-08-24 07:37:02.007 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.sender with value : Administrația Națională de Meteorologie meteoalarm.0 2022-08-24 07:37:02.001 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.effective with value : 2022-08-23T10:00:00+03:00 meteoalarm.0 2022-08-24 07:37:01.996 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.expires with value : 2022-08-24T10:00:00+03:00 meteoalarm.0 2022-08-24 07:37:01.989 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.link with value : undefined meteoalarm.0 2022-08-24 07:37:01.982 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.description with value : În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp. meteoalarm.0 2022-08-24 07:37:01.975 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.headline with value : În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp. meteoalarm.0 2022-08-24 07:37:01.969 debug Create_state called for : alarms.249006420RO22082310052ba9dc1c755ed77b.event with value : awareness_type=10, awareness_level=3 meteoalarm.0 2022-08-24 07:37:01.962 debug 10: Create alarm states meteoalarm.0 2022-08-24 07:37:01.962 debug 9.3.1 alarmAll sorted by sent1 date:[{"Alarm_Type":"Alert","Alarm_Identifier":"249006420RO22082310052ba9dc1c755ed77b","Alarm_Reference":"","Alarm_Key":"Alert-3-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Alarm_Sent":"2022-08-23T10:19:00+03:00","Event":"awareness_type=10, awareness_level=3","Headline":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Description":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":3,"Leveltext":"Das Wetter ist gefährlich","Type":10,"Typetext":"Regen","Icon":"/meteoalarm.admin/icons/black/t10.png","Color":"#FECA36"},{"Alarm_Type":"Alert","Alarm_Identifier":"249006420RO2208231005733e6bce7ee6882a","Alarm_Reference":"","Alarm_Key":"Alert-2-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Alarm_Sent":"2022-08-23T10:18:58+03:00","Event":"awareness_type=3, awareness_level=2","Headline":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Description":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":2,"Leveltext":"Das Wetter ist möglicherweise gefährlich","Type":3,"Typetext":"Blitz und Donner","Icon":"/meteoalarm.admin/icons/black/t3.png","Color":"#FEFE04"}] meteoalarm.0 2022-08-24 07:37:01.962 debug 9.3 alarmAll Array after removing duplicates: [{"Alarm_Type":"Alert","Alarm_Identifier":"249006420RO22082310052ba9dc1c755ed77b","Alarm_Reference":"","Alarm_Key":"Alert-3-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Alarm_Sent":"2022-08-23T10:19:00+03:00","Event":"awareness_type=10, awareness_level=3","Headline":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Description":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":3,"Leveltext":"Das Wetter ist gefährlich","Type":10,"Typetext":"Regen","Icon":"/meteoalarm.admin/icons/black/t10.png","Color":"#FECA36"},{"Alarm_Type":"Alert","Alarm_Identifier":"249006420RO2208231005733e6bce7ee6882a","Alarm_Reference":"","Alarm_Key":"Alert-2-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Alarm_Sent":"2022-08-23T10:18:58+03:00","Event":"awareness_type=3, awareness_level=2","Headline":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Description":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":2,"Leveltext":"Das Wetter ist möglicherweise gefährlich","Type":3,"Typetext":"Blitz und Donner","Icon":"/meteoalarm.admin/icons/black/t3.png","Color":"#FEFE04"}] meteoalarm.0 2022-08-24 07:37:01.962 debug 9.2 Finished checking alerts - 2 relevant alarms meteoalarm.0 2022-08-24 07:37:01.961 debug 9.1 alarmAll Array before removing duplicates: [{"Alarm_Type":"Alert","Alarm_Identifier":"249006420RO22082310052ba9dc1c755ed77b","Alarm_Reference":"","Alarm_Key":"Alert-3-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Alarm_Sent":"2022-08-23T10:19:00+03:00","Event":"awareness_type=10, awareness_level=3","Headline":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Description":"În intervale scurte de timp, dar mai ales prin acumulare, se vor înregistra cantități de apă de 40...50 l/mp și pe arii restrânse de peste 60...80 l/mp.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":3,"Leveltext":"Das Wetter ist gefährlich","Type":10,"Typetext":"Regen","Icon":"/meteoalarm.admin/icons/black/t10.png","Color":"#FECA36"},{"Alarm_Type":"Alert","Alarm_Identifier":"249006420RO2208231005733e6bce7ee6882a","Alarm_Reference":"","Alarm_Key":"Alert-2-2022-08-23T10:00:00+03:00-2022-08-24T10:00:00+03:00","Alarm_Sent":"2022-08-23T10:18:58+03:00","Event":"awareness_type=3, awareness_level=2","Headline":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Description":"Vor fi averse torențiale, descărcări electrice, intensificări ale vântului și pe alocuri vijelii și grindină.","Link":"http://www.meteoromania.ro","Expires":"2022-08-24T10:00:00+03:00","Effective":"2022-08-23T10:00:00+03:00","Sender":"Administrația Națională de Meteorologie","Level":2,"Leveltext":"Das Wetter ist möglicherweise gefährlich","Type":3,"Typetext":"Blitz und Donner","Icon":"/meteoalarm.admin/icons/black/t3.png","Color":"#FEFE04"}] meteoalarm.0 2022-08-24 07:37:01.961 debug 9: Check for duplicate alarms meteoalarm.0 2022-08-24 07:37:01.961 debug 8: Processed Details for Alarm 2 meteoalarm.0 2022-08-24 07:37:01.961 debug Alarm 2 with type 3 relevant: true meteoalarm.0 2022-08-24 07:37:01.959 debug 7: Received Details for URL 2 meteoalarm.0 2022-08-24 07:37:01.899 debug 6: Request Details from URL 2: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/2e4c7f9d-40b3-46ca-a328-80b60ef76a6b meteoalarm.0 2022-08-24 07:37:01.898 debug 8: Processed Details for Alarm 1 meteoalarm.0 2022-08-24 07:37:01.895 debug Alarm 1 with type 10 relevant: true meteoalarm.0 2022-08-24 07:37:01.889 debug 7: Received Details for URL 1 meteoalarm.0 2022-08-24 07:37:01.821 debug 6: Request Details from URL 1: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/3eb33ff4-183a-495e-981d-2d6813fe764d meteoalarm.0 2022-08-24 07:37:01.821 debug 5.1 Found 2 URLs meteoalarm.0 2022-08-24 07:37:01.820 debug 5: Processed Atom meteoalarm.0 2022-08-24 07:37:01.819 debug 4.2: Checked relevance, found 2 relevant alarms meteoalarm.0 2022-08-24 07:37:01.814 debug 4.2: Warning found: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/2e4c7f9d-40b3-46ca-a328-80b60ef76a6b of message type Alert meteoalarm.0 2022-08-24 07:37:01.802 debug 4.2: Warning found: https://feeds.meteoalarm.org/api/v1/warnings/feeds-romania/3eb33ff4-183a-495e-981d-2d6813fe764d of message type Alert meteoalarm.0 2022-08-24 07:37:01.789 debug 4.1.1: Check Entries meteoalarm.0 2022-08-24 07:37:01.786 debug 4: Process Atom meteoalarm.0 2022-08-24 07:37:01.669 debug 3: Received Atom meteoalarm.0 2022-08-24 07:37:01.508 debug 2: Request Atom from https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-atom-romania meteoalarm.0 2022-08-24 07:37:01.507 debug 1: Parsed CSV File meteoalarm.0 2022-08-24 07:37:01.441 debug XML Language: ro-RO meteoalarm.0 2022-08-24 07:37:01.440 debug Sentry aktiv - Breadcrumb gesetzt meteoalarm.0 2022-08-24 07:37:01.439 debug Setup found: country RO and region RO001 - ALBA meteoalarm.0 2022-08-24 07:37:01.438 debug Starting round: 1 meteoalarm.0 2022-08-24 07:37:01.438 debug Language: de meteoalarm.0 2022-08-24 07:37:01.412 info starting. Version 2.3.0 (non-npm: jack-blackson/ioBroker.meteoalarm#500606ec2a1a4849b271c3932da88e530cda4b58) in C:/ioBroker/node_modules/iobroker.meteoalarm, node: v16.17.0, js-controller: 4.0.23 meteoalarm.0 2022-08-24 07:37:01.195 debug Plugin sentry Initialize Plugin (enabled=true) meteoalarm.0 2022-08-24 07:33:02.417 info Terminated (NO_ERROR): Without reason meteoalarm.0 2022-08-24 07:33:02.416 info Updated Weather Alarms for ALBA -> 2 alarm(s) found meteoalarm.0 2022-08-24 07:33:01.471 info starting. Version 2.3.0 (non-npm: jack-blackson/ioBroker.meteoalarm#500606ec2a1a4849b271c3932da88e530cda4b58) in C:/ioBroker/node_modules/iobroker.meteoalarm, node: v16.17.0, js-controller: 4.0.23
-
Wollte eine 2. Instanz hinzufügen: Error in GUI!
Plattform: Windows
RAM: 16 GB
NODE.JS: V16.17.0
NPM: 8.11.0
JS Controller: 4.0.23
Admin: 6.2.17 -
ja, stimmt, denke das lag daran, dass ich auf einem Client in der Multihost Umgebung installiert hatte.. hab den Adapter mal auf Master und Client geloescht, neu installiert, funktioniert einwandfrei.
Synochat funktioniert, kannste n Haken dran machenWenn du noch Alexa einbaust, dann sollte es moeglich sein, mehrere Benachrichtungen zu erstellen.. ?
Da man bei Alexa ja auch die Gruppe / Device auswaehlen moechte... so der Announcement hingeht.. oder der Speak. -
Error in Gui
ja, tritt hier genauso auch auf, musste die Instanz in der Console erzeugen..
-
-
danke für den Adapter, läuft soweit bei mir. Kann auch mehrer Instanzen Installieren.
Besteht die möglichkeit das man nur das aktuelle WarnIcon mit der enstprechende Farbe anzeigen kann? Das Icon kann ich ja über json bekommen, aber leider nicht die enstprechende Farbe. Grund dafür ist das ich auf meiner Startseite das Symbol blinken lassen möchte wenn eine Warnung aktiv ist. -
@chris76e Prinzipiell kann ich dir auch den Farbcode ins JSON einbinden. Was machst du aber, wenn hier mehrere Warnungen gleichzeitig aktiv sind?
-
hmm, da hatte ich garnicht auf dem Schirm. Ist mir aber auch nicht so wichtig, da das nur ein Hinweis in meiner VIS ist, das es eine (oder mehrer) Wetterwarnungen gibt. Wenn ich auf das Symbol dann drücke kommen die vollständigen Informationen.
Vieleicht geht da auch was über einen DP ähnlich von meteoalarm.0.htmlToday. Nur das da nur die Symbole dann drin sind.
-
@jackblackson dann bitte als issue in admin melden.
-
@chris76e Wie wäre es, wenn du dir selber ein Symbol raussuchst, und dieses dann angezeigt wird, wenn "NoOfAlarms" >0 ist?
-
-
hatte ich bis jetzt auch, fände es nur schöner wenn ich direkt sehen kann, was für eine Warnung anliegt. Wenn das nicht geht oder zuviel Arbeit ist, kein Problem.
-
@chris76e Aus dem JSON raus funktioniert nicht? könntest du es vielleicht mal gesten - den Adapter stoppen, den Wert im JSON manuell reinschreiben, einfach in einer anderen Spalte, und schauen, ob es geht? Wenn ja baue ich es gerne ein. Wäre wenig Aufwand und würde für mich so Sinn machen.
-
@jackblackson
Danke für das Update!Telegram funktioniert. Soeben erfolgreich mit DE getestet.
Ist das gewollt, dass der Level nicht mehr mit der entsprechenden Anzahl von großen Rufzeichen gezeigt wird?
Die Ordner bleiben so wie sie sind in den Objekten? Also nicht mehr aufsteigend nummeriert?
lg
-
@ilovegym Wegen Alexa: Du meinst, du hättest gerne die Benachrichtigungen auf Alexa und Synochat, oder? Ich hatte es am Anfang so, dass man mehrere Wege auswählen könnte, wurde aber schnell unübersichtlich, gerade auch weil es teils zusätzliche Felder gibt. Der einfachste Weg aktuell wäre, mehrere Instanzen.
Kennst du sonst einen Adapter, der es ermöglicht mit Alexa zu interagieren? ich hab leider keine, und hab daher keine Erfahrung, wie das genau läuft.
-
@neunteufels Die Rufezeichen passen sich an, nur nicht 1:1 so wie es bei dir war. Stufe 1 bedeutet ja, keine Warnung. Daher hab ich bei mir bei der niedrigsten Warnstufe (2) 1 Rufezeichen, bei Stufe 3 sind es 2, und bei Stufe 4 sind es 3. So macht es find ich mehr Sinn, grad wenn man sich den Level-Text nicht anzeigen lässt.
Nein, vorerst würde ich es so lassen, macht es viel eifacher, dann die Updates und alles richtig zu verarbeiten. Das JSON sollte dir aber helfen. Wenn dir da Spalten fehlen, bitte einfach sagen.
-
@jackblackson
Verstanden. Macht Sinn was du sagst.Bei Admin 5.3.8 keine Probleme mit der zweiten Instanz.
-
Was passiert wenn man "keine Details" anhakt?