Code Monkey home page Code Monkey logo

iobroker.meteoalarm's Introduction

iobroker.meteoalarm's People

Contributors

apollon77 avatar dependabot[bot] avatar jack-blackson avatar johnnybyzhang avatar snyk-bot avatar unclesamswiss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

iobroker.meteoalarm's Issues

Terminated (UNCAUGHT_EXCEPTION): Without reason

Neuinstallation des Adapters hat nichts bewirkt.
Bekomme den Fehler seit ca 2 Tagen. Hatte ein Node Update von 12 auf 14 durchgeführt.
Alle anderen Adapter haben das aber problemlos verkraftet. Ob der Fehler tatsächlich daher kommt mag ich nicht zu beurteilen

Installierte Version: 2.1.1

pio4gb Plattform linux Betriebssystem linux Architektur arm CPUs 4 Geschwindigkeit 1500 MHz Modell ARMv7 Processor rev 3 (v7l) RAM 3.75 GB System-Betriebszeit 3 T. 00:36:35 Node.js v14.19.2 time 1652608634970 timeOffset -120 Anzahl der Adapter 490 NPM 6.14.17 Datenträgergröße 58.29 GB freier Festplattenspeicher 51.26 GB Betriebszeit 3 T. 00:36:28 Aktive Instanzen 19 Weg /opt/iobroker/ Hostname pio4gb

`

host.pio4gb 2022-05-15 11:40:04.302 error instance system.adapter.meteoalarm.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
meteoalarm.0 2022-05-15 11:40:03.765 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
meteoalarm.0 2022-05-15 11:40:03.763 info terminating
meteoalarm.0 2022-05-15 11:40:03.713 error Cannot read property 'valueName' of undefined
meteoalarm.0 2022-05-15 11:40:03.712 error TypeError: Cannot read property 'valueName' of undefined at /opt/iobroker/node_modules/iobroker.meteoalarm/main.js:429:69 at Array.forEach () at checkRelevante (/opt/iobroker/node_modules/iobroker.meteoalarm/main.js:411:11) at /opt/iobroker/node_modules/iobroker.meteoalarm/main.js:176:33 at Parser. (/opt/iobroker/node_modules/xml2js/lib/parser.js:304:18) at Parser.emit (events.js:400:28) at Parser.emit (domain.js:475:12) at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:262:26) at emit (/opt/iobroker/node_modules/sax/lib/sax.js:624:35) at emitNode (/opt/iobroker/node_modules/sax/lib/sax.js:629:5)
meteoalarm.0 2022-05-15 11:40:03.696 error unhandled promise rejection: Cannot read property 'valueName' of undefined
meteoalarm.0 2022-05-15 11:40:03.695 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
`

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

no updates from meteoalarm any more since february

Hi, my last entry from the adapter was on 21.2.2021, this was the last update from the meteosat-page, what the adapter get.
In the debug mode, the adapter show absolut no error messages, the page is reachable and in the log it looks like fine.
The config show ( and in the logfile ) that the rss is used, but with this there are in the last days warnings ( storm, etc.)

Can you check the requests, please?
What I have changed was only Node 14.16.0 and js-controller up to 3.2.16

adapter stop itself

With Admin 3.6.5, js-controller 1.5.14, and Meteoalarm 1.05 ( and older versions, too) the adapter stop itself:
`

host.iobroker 2019-09-25 11:02:18.842 error instance system.adapter.meteoalarm.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
`

Please check ioBroker.meteoalarm with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Switzerland is missing

Hey there, it would be nice to have Switzerland added to the list of available countries...
Thanks!

An in-range update of mocha is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The devDependency mocha was updated from 7.1.1 to 7.1.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details

Release Notes for v7.1.2

7.1.2 / 2020-04-26

🔩 Other

📖 Documentation

Commits

The new version differs by 7 commits.

  • 27aeb80 Release v7.1.2
  • e3df026 update CHANGELOG for v7.1.2 [ci skip]
  • 7f75489 add test case: type check before calling retriedTest()
  • e659027 type check before calling retriedTest()
  • eba6ec7 Remove Runnable#inspect() and utils.ngettext() (#4230)
  • a4a4d50 add wallaby logo to bottom of site
  • c600547 update mkdirp to v0.5.5 (#4222)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

New Country

Hi
First of all, thanks for your effort on ioBroker.meteoalarm.
Can you add Switzerland (CH) do the supportet countrys?

best regards
Urs

Kein Problem aber eine Frage

Hallo, erst mal Dank für Deinen Adapter!

wie stelle ich es an das diese Warnungen mit sayit und sonos ausgegeben werden?

Lieben Dank für Deine Hilfe!

Error: Unexpected close tag

meteoalarm 2.0.10
In meinem Logfile finde ich nach jedem Aufruf des Adapters die Meldung "Fehler: Error: Unexpected close tagLine: 0Column: 595Char: >".
Liegt das daran, dass für meine Region gerade 'keine aktuelle Wetterwarnung' vorliegt oder ein genereller Fehler (Änderung bei meteoalarm.org)?

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

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

Please take the 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 log there from these checks please adjust the adapter and fix the relevant cases.

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

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

An in-range update of @iobroker/testing is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency @iobroker/testing was updated from 2.1.0 to 2.2.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@iobroker/testing is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details

Commits

The new version differs by 55 commits.

  • f5882be chore: release v2.2.0
  • 948b5c2 upgrade to @types/iobroker and add stubs for new methods
  • acfb9ae chore(deps-dev): bump prettier from 2.0.3 to 2.0.4 (#262)
  • 08d5a5d chore(deps-dev): bump @types/node from 13.11.0 to 13.11.1 (#258)
  • b9ad384 chore(deps-dev): bump @typescript-eslint/parser from 2.26.0 to 2.27.0 (#257)
  • 76f1c19 chore(deps-dev): bump @typescript-eslint/eslint-plugin (#259)
  • 5138498 chore(deps-dev): bump eslint-plugin-prettier from 3.1.2 to 3.1.3 (#261)
  • c582323 chore(deps-dev): bump prettier from 2.0.2 to 2.0.3 (#251)
  • 18086d8 Merge pull request #256 from ioBroker/dependabot/npm_and_yarn/typescript-eslint/parser-2.26.0
  • f88aeab Merge pull request #255 from ioBroker/dependabot/npm_and_yarn/ts-node-8.8.2
  • a5eec6d Merge pull request #250 from ioBroker/dependabot/npm_and_yarn/types/sinon-chai-3.2.4
  • 69dc7ef chore(deps-dev): bump @typescript-eslint/parser from 2.25.0 to 2.26.0
  • 3b3fe24 Merge pull request #254 from ioBroker/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-2.26.0
  • c88eab2 Merge pull request #252 from ioBroker/dependabot/npm_and_yarn/types/node-13.11.0
  • 2451056 chore(deps-dev): bump ts-node from 8.8.1 to 8.8.2

There are 55 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

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/jack-blackson/ioBroker.meteoalarm

  • [E154] common.dependencies must contain{"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2019-2022 jack_blackson [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2019-2022 jack_blackson [email protected]" at the start of LICENSE

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

An in-range update of mocha is breaking the build 🚨

The devDependency mocha was updated from 6.2.1 to 6.2.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details

Release Notes for v6.2.2

6.2.2 / 2019-10-18

🐛 Fixes

📖 Documentation

Commits

The new version differs by 12 commits.

  • 843a322 6.2.2
  • aec8b02 update CHANGELOG for v6.2.2 [ci skip]
  • 7a8b95a npm audit fixes
  • cebddf2 Improve reporter documentation for mocha in browser. (#4026)
  • 3f7b987 uncaughtException: report more than one exception per test (#4033)
  • ee82d38 modify alt text of image from Backers to Sponsors inside Sponsors section in Readme (#4046)
  • e9c036c special-case parsing of "require" in unparseNodeArgs(); closes #4035 (#4063)
  • 954cf0b Fix HTMLCollection iteration to make unhide function work as expected (#4051)
  • 816dc27 uncaughtException: fix double EVENT_RUN_END events (#4025)
  • 9650d3f add OpenJS Foundation logo to website (#4008)
  • f04b81d Adopt the OpenJSF Code of Conduct (#3971)
  • aca8895 Add link checking to docs build step (#3972)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Please add your adapter to ioBroker.discovery

I am an automatic service from ioBroker that searches adapters and makes suggestions.

I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.

Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.

Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.

Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.

On questions, the other developers will support in the forum or via GitHub issues too.

If no detection is possible, simply close this issue and I won't bother you again. ;-)

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

Update js-controllers V 3.3.1 Warnmeldungen

Hallo,

nach einen Update des js-controllers auf V 3.3.1 kommen folgende Warnmeldungen:

`

meteoalarm.0 2021-04-30 06:36:01.585 warn (14308) State value to set for "meteoalarm.0.tomorrow.type" has wrong type "number" but has to be "string"
meteoalarm.0 2021-04-30 06:36:01.584 warn (14308) State value to set for "meteoalarm.0.tomorrow.level" has wrong type "number" but has to be "string"
meteoalarm.0 2021-04-30 06:36:01.583 warn (14308) State value to set for "meteoalarm.0.today.type" has wrong type "number" but has to be "string"
meteoalarm.0 2021-04-30 06:36:01.583 warn (14308) State value to set for "meteoalarm.0.today.level" has wrong type "number" but has to be "string"

`

Release script: Action required

Hi, it looks like you are using @alcalzone/release-script to manage your releases.
When updating to the latest version, you need to remove the following line from your .github/workflows/test-and-release.yml if you want the releases to keep working:

  deploy:
    # Trigger this step only when a commit on master is tagged with a version number
    if: |
      contains(github.event.head_commit.message, '[skip ci]') == false &&
      github.event_name == 'push' &&
-     github.event.base_ref == 'refs/heads/master' &&
      startsWith(github.ref, 'refs/tags/v')

It may also look like this one:

  deploy:
    # Trigger this step only when a commit on master is tagged with a version number
    if: |
      contains(github.event.head_commit.message, '[skip ci]') == false &&
      github.event_name == 'push' &&
-     github.event.base_ref == 'refs/heads/main' &&
      startsWith(github.ref, 'refs/tags/v')

Fehler: Error: Unexpected close tagLine: 0Column: 469Char: >

Hi
Getting following error on meteoalarm adapter (2.1.1) when there is an alert.

meteoalarm.0 2022-05-15 21:50:05.061 info Updated Weather Alarms for Emmen-Hochdorf -> 0 warning(s) found
meteoalarm.0 2022-05-15 21:50:05.060 debug 12: All Done
meteoalarm.0 2022-05-15 21:50:05.059 debug 11: Set State for Widget
meteoalarm.0 2022-05-15 21:50:04.948 debug 10: Creating HTML Widget
meteoalarm.0 2022-05-15 21:50:04.947 info Terminated (NO_ERROR): Without reason
meteoalarm.0 2022-05-15 21:50:04.946 debug Plugin sentry destroyed
meteoalarm.0 2022-05-15 21:50:04.945 error Fehler: Error: Unexpected close tag Line: 0 Column: 469 Char: >
meteoalarm.0 2022-05-15 21:50:04.941 debug 7: Received Details for URL 1
meteoalarm.0 2022-05-15 21:50:04.766 debug 6: Request Details from URL 1: https://meteoalarm.org?geocode=EMMA_ID:CH134
meteoalarm.0 2022-05-15 21:50:04.764 debug 5.1 Found 1 URLs
meteoalarm.0 2022-05-15 21:50:04.763 debug 5: Processed Atom
meteoalarm.0 2022-05-15 21:50:04.756 debug 4.2: Checked relevance, found 1 relevant alarms
meteoalarm.0 2022-05-15 21:50:04.752 debug 4.1: Warning found: https://meteoalarm.org?geocode=EMMA_ID:CH134 of message type Alert
meteoalarm.0 2022-05-15 21:50:04.740 debug 4.1.1: Check Entries
meteoalarm.0 2022-05-15 21:50:04.734 debug 4: Process Atom
meteoalarm.0 2022-05-15 21:50:04.606 debug 3: Received Atom
meteoalarm.0 2022-05-15 21:50:04.245 debug 2: Request Atom from https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-atom-switzerland
meteoalarm.0 2022-05-15 21:50:04.244 debug 1: Parsed CSV File
meteoalarm.0 2022-05-15 21:50:03.957 debug 0: Delete Alarms
meteoalarm.0 2022-05-15 21:50:03.956 debug XML Language: en-GB
meteoalarm.0 2022-05-15 21:50:03.955 debug Setup found: country CH and region CH134 - Emmen-Hochdorf
meteoalarm.0 2022-05-15 21:50:03.953 debug Language: en
meteoalarm.0 2022-05-15 21:50:03.847 info starting. Version 2.1.1 (non-npm: jack-blackson/ioBroker.meteoalarm#v2.1.1) in /opt/iobroker/node_modules/iobroker.meteoalarm, node: v12.22.12, js-controller: 4.0.23
meteoalarm.0 2022-05-15 21:50:03.772 warn This object will not be created in future versions. Please report this to the developer.
meteoalarm.0 2022-05-15 21:50:03.771 warn Object meteoalarm.0.level is invalid: Default value has to be type "number" but received type "string"
meteoalarm.0 2022-05-15 21:50:03.736 warn This object will not be created in future versions. Please report this to the developer.
meteoalarm.0 2022-05-15 21:50:03.734 warn Object meteoalarm.0.noOfAlarms is invalid: Default value has to be type "number" but received type "string"
meteoalarm.0 2022-05-15 21:50:03.150 debug Plugin sentry Initialize Plugin (enabled=true)

Several errors occuring

PLATTFORM: LINUX RAM: 3.7 GB NODE.JS: V14.19.3 NPM: 6.14.17

`host.pio4gb-Server
2022-06-04 06:30:07.264 warn Objects 127.0.0.1:36492 Error from InMemDB: Error: Not exists

meteoalarm.2
2022-06-04 06:30:07.143 info starting. Version 2.1.4 (non-npm: jack-blackson/ioBroker.meteoalarm) in /opt/iobroker/node_modules/iobroker.meteoalarm, node: v14.19.3, js-controller: 4.0.23
host.pio4gb
2022-06-04 06:30:06.690 info iobroker exit 0

meteoalarm.2
2022-06-04 19:30:08.267 error Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.typeText": Connection is closed.

meteoalarm.2
2022-06-04 19:30:08.265 error [localCreateState] error: Could not check object existence of meteoalarm.2.alarms.Alarm_2.type: Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.type": Connection is closed., stack: Error: Could not check object existence of meteoalarm.2.alarms.Alarm_2.type: Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.type": Connection is closed. at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:3518:30)

meteoalarm.2
2022-06-04 19:30:08.263 error Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.type": Connection is closed.

meteoalarm.2
2022-06-04 19:30:08.260 error [localCreateState] error: Could not check object existence of meteoalarm.2.alarms.Alarm_2.levelText: Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.levelText": Connection is closed., stack: Error: Could not check object existence of meteoalarm.2.alarms.Alarm_2.levelText: Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.levelText": Connection is closed. at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:3518:30)

meteoalarm.2
2022-06-04 19:30:07.939 error Cannot check object existence of "meteoalarm.2.alarms.Alarm_2.levelText": Connection is closed.

meteoalarm.2
2022-06-04 19:30:07.938 error [localCreateState] error: DB closed, stack: Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (events.js:520:26) at Socket.emit (events.js:400:28) at Socket.emit (domain.js:475:12) at TCP. (net.js:686:12)`

`

host.pio4gb-Server 2022-06-04 19:30:03.008 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
host.pio4gb-Server 2022-06-04 19:30:02.997 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
host.pio4gb-Server 2022-06-04 19:30:02.986 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
host.pio4gb-Server 2022-06-04 19:30:02.976 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
host.pio4gb-Server 2022-06-04 19:30:02.966 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
host.pio4gb-Server 2022-06-04 19:30:02.956 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
host.pio4gb-Server 2022-06-04 19:30:02.946 warn Objects 127.0.0.1:50694 Error from InMemDB: Error: Not exists
`

disable english: in Textfield...

Hi, since some days meteoalarm results are in german and! in english! Its not possible to disable the english text at the webpage.

We need a split text object for german and english in the Adapter, because with Alexa it's really crazy the english text to hear.. :-)

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!

An in-range update of @iobroker/adapter-core is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency @iobroker/adapter-core was updated from 2.2.1 to 2.3.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@iobroker/adapter-core is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details

Commits

The new version differs by 67 commits.

  • 2fdeeaa Release v2.3.0
  • 3836d11 Merge pull request #211 from ioBroker/dependabot/npm_and_yarn/types/node-13.11.1
  • 5128f3a Merge pull request #209 from ioBroker/dependabot/npm_and_yarn/eslint-plugin-prettier-3.1.3
  • 187669d chore(deps-dev): bump @types/node from 13.11.0 to 13.11.1
  • a7b17c2 chore(deps-dev): bump eslint-plugin-prettier from 3.1.2 to 3.1.3
  • 4cff9e6 Merge pull request #207 from ioBroker/dependabot/npm_and_yarn/types/sinon-chai-3.2.4
  • 65d5a63 Merge pull request #208 from ioBroker/dependabot/npm_and_yarn/types/node-13.11.0
  • d7a13fc Merge pull request #205 from ioBroker/dependabot/npm_and_yarn/ts-node-8.8.2
  • 4a0373b chore(deps-dev): bump @types/node from 13.9.5 to 13.11.0
  • 46b8a9d chore(deps-dev): bump @types/sinon-chai from 3.2.3 to 3.2.4
  • 67bcb28 chore(deps-dev): bump ts-node from 8.8.1 to 8.8.2
  • 5f95ad5 Merge pull request #203 from ioBroker/dependabot/npm_and_yarn/types/node-13.9.5
  • cade7f4 chore(deps-dev): bump @types/node from 13.9.3 to 13.9.5
  • 799b881 Merge pull request #199 from ioBroker/dependabot/npm_and_yarn/types/node-13.9.3
  • c728713 Merge pull request #200 from ioBroker/dependabot/npm_and_yarn/mocha-7.1.1

There are 67 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

ETIMEDOUT

Hallo, es kommt immer dieser Fehler:
`

meteoalarm.0 2019-07-19 12:13:55.092 info Typename: Hohe Temperaturen
meteoalarm.0 2019-07-19 12:13:55.092 info Type: 5
meteoalarm.0 2019-07-19 12:13:50.794 debug system.adapter.admin.0: logging true
meteoalarm.0 2019-07-19 12:13:50.087 info Received data for "Oberösterreich"
meteoalarm.0 2019-07-19 12:13:50.025 info Requesting data from http://meteoalarm.eu/documents/rss/at/AT007.rss
meteoalarm.0 2019-07-19 12:13:50.017 info starting. Version 0.3.0 in C:/ioBroker/node_modules/iobroker.meteoalarm, node: v10.16.0
meteoalarm.0 2019-07-19 12:13:50.009 debug statesDB connected
meteoalarm.0 2019-07-19 12:13:50.000 debug objectDB connected
meteoalarm.0 2019-07-19 12:13:17.472 error Error: connect ETIMEDOUT 81.31.132.86:80
meteoalarm.0 2019-07-19 12:12:56.465 info Requesting data from http://meteoalarm.eu/documents/rss/at/AT007.rss

`

Changed Alarm Object ID

Hi,

I always used the following alarm object IDs to show i.e. just the headline of an alarm in my VIS dashboard:
meteoalarm.0.alarms.Alarm_1.headline
meteoalarm.0.alarms.Alarm_2.headline

Something has changed now, so that the alarms have individual IDs like this:
meteoalarm.0.alarms.249002760DWDPVW1668956100000d9643b09-4cc4-4bbf-90ef-83ea00be2b20MUL.headline

As every new alarm get a new ID, I´m no longer able to just display the first 3 alarms, for example.
I´m currently running version 2.3.1, but honestly I´m not sure, when this behavior changed...
Is there a trick, which I did not see, how to resolve this?

Thanks and regards

Warn Js Controller Version 4.0.0 Alpha

Hallo, habe den neuen Js Controller Version 4.0.0 Alpha installiert, seit dem kommt das:

`

host.MedionHome) 2022-02-02 09:15:12.469 info host.Medion(Home) instance system.adapter.meteoalarm.0 terminated with code 0 (NO_ERROR)
meteoalarm.0 2022-02-02 09:15:11.920 info Terminated (NO_ERROR): Without reason
meteoalarm.0 2022-02-02 09:15:11.919 info Updated Weather Alarms for Oberösterreich -> 2 warning(s) found
meteoalarm.0 2022-02-02 09:15:03.403 info starting. Version 2.0.10 (non-npm: jack-blackson/ioBroker.meteoalarm#9a9d202fc1b30f20f0b6121bae0a5b8a9afb83ee) in C:/Program Files/iobroker/Home/node_modules/iobroker.meteoalarm, node: v14.18.3, js-controller: 4.0.0-alpha.67-20220131-6621d47f
meteoalarm.0 2022-02-02 09:15:01.967 warn This object will not be created in future versions. Please report this to the developer.
meteoalarm.0 2022-02-02 09:15:01.967 warn Object meteoalarm.0.level is invalid: Default value has to be type "number" but received type "string"
meteoalarm.0 2022-02-02 09:15:01.960 warn This object will not be created in future versions. Please report this to the developer.
meteoalarm.0 2022-02-02 09:15:01.959 warn Object meteoalarm.0.noOfAlarms is invalid: Default value has to be type "number" but received type "string"
`

Plattform: Windows
RAM: 16 GB
NODE.JS: V14.18.3
NPM: 6.14.15
JS Controller: 4.0.0
Admin: 5.2.3
Web: 4.1.1
Socket.io: 4.1.0

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

TypeError: result.feed.entry.forEach is not a function

Sentry Issue: IOBROKER-METEOALARM-1W

TypeError: result.feed.entry.forEach is not a function
  File "/opt/iobroker/node_modules/iobroker.meteoalarm/main.js", line 179, in null.<anonymous>
    result.feed.entry.forEach(function (element){
  File "/opt/iobroker/node_modules/xml2js/lib/parser.js", line 304, in Parser.<anonymous>
    return cb(null, result);
  File "events.js", line 314, in Parser.emit
  File "domain.js", line 483, in Parser.EventEmitter.emit
  File "/opt/iobroker/node_modules/xml2js/lib/parser.js", line 262, in SAXParser.onclosetag
    return _this.emit("end", _this.resultObject);
...
(5 additional frame(s) were not displayed)

Wrong types used

there are some wrong types, maybe this is interessting for changes

`

meteoalarm.0 2022-02-07 10:00:20.746 warn This object will not be created in future versions. Please report this to the developer.
meteoalarm.0 2022-02-07 10:00:20.745 warn Object meteoalarm.0.level is invalid: Default value has to be type "number" but received type "string"
meteoalarm.0 2022-02-07 10:00:20.589 warn This object will not be created in future versions. Please report this to the developer.
meteoalarm.0 2022-02-07 10:00:20.585 warn Object meteoalarm.0.noOfAlarms is invalid: Default value has to be type "number" but received type "string"

`

Supported countries

Hello, can you please add Luxembourg to the supported countries ?
Thanks
MBL

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/jack-blackson/ioBroker.meteoalarm

  • [E154] common.dependencies must contain{"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2019-2022 jack_blackson [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2019-2022 jack_blackson [email protected]" at the start of LICENSE

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

already running .... with mobile hotspot

"instance system.adapter.meteoalarm.0 already running with pid xxxxxxx"

Das passiert, wenn die Internetverbindung nicht vorhanden ist und dann wieder kommt. Mobiler Hotspot ;)

New Country

Hi, first of all, thank you very much for this nice adapter.

Can you please add Switzerland to meteoalarm?

thank you and best regards:
ColossusCH

terminated by request of the instance itself and will not be restarted, before user restarts it

Hallo,
habe seit dem Upgrade von der Version 0.5 auf auf die Version 1.0.4 immer diese Fehlermeldung im Log.
2019-09-16 09:50:01.762 - info: host.ioBroker object change system.adapter.meteoalarm.0 2019-09-16 09:50:01.763 - info: host.ioBroker "system.adapter.meteoalarm.0" enabled 2019-09-16 09:50:01.797 - info: host.ioBroker instance system.adapter.meteoalarm.0 started with pid 28552 2019-09-16 09:50:13.117 - error: host.ioBroker instance system.adapter.meteoalarm.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2019-09-16 09:50:13.118 - info: host.ioBroker Do not restart adapter system.adapter.meteoalarm.0 because desired by instance

Es werden zwar die Objekte erzeugt aber der Adapter bleibt deaktiviert.

Northmacedonia

Halo,

I hop you can add my country to dies adapter.

thank You

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.