npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.yr

v5.3.0

Published

Fetches 10d weather forecast from yr.no

Downloads

307

Readme

Logo

ioBroker.yr

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

yr.no adapter for ioBroker

fetches 10d weather forecast from yr.no

yr.no is a joint service by the Norwegian Meteorological Institute and the Norwegian Broadcasting Corporation

https://api.met.no/weatherapi/locationforecast/2.0/documentation

Note - if "Send missing translations to iobroker.net" is activated (default) missing translations will be sent to iobroker.net server. No IPs or any additional info will be stored or analysed. Just missing translation.

Icons

Icons are taken from here https://api.met.no/weatherapi/weathericon/2.0/documentation and belongs to yr.no.

TODO

  • Add meteogram (png probably will discontinue with new API)
  • Add daily forecast based on hourly forecast
  • Add html table

Changelog

5.3.0 (2022-04-23)

  • (Apollon77) Use alternative URL provided by met.no to get the data
  • (Apollon77) Change icon of adapter

5.2.0 (2022-04-08)

  • (bluefox) Added units to states
  • (bluefox) Added missing translations

5.1.4 (2022-04-03)

  • (bluefox) Used package "axios" instead of "get"

5.1.3 (2022-03-20)

  • (Apollon77) Prevented crash when symbols are not provided for forecasts (seen on Sentry)

5.1.2 (2022-03-10)

  • (Apollon77) Fixed some invalid object default values

5.1.1 (2022-03-10)

  • (Apollon77) Added legend file to release also and fix usage

5.1.0 (2022-03-05)

  • (Apollon77) Moved schedule if default is used on request of met.no
  • (Apollon77) Do not query legend/icons dynamically, but deliver with the version
  • (Apollon77) made sure to not execute logic when adapter stopped already

5.0.0 (2021-11-08)

  • (klein0r) Fixed translations
  • (klein0r) Update dates data type

3.0.5 (2021-07-26)

  • (Apollon77) prevent calls and other errors to Yr when no location is defined

3.0.4 (2021-07-16)

  • (Apollon77) prevent last js-controller 3.3 warnings

3.0.3 (2021-07-12)

  • (Apollon77) prevent js-controller 3.3 warnings

3.0.2 (2021-07-07)

  • (Apollon77) Fix crash issue from Sentry

3.0.1 (2021-07-06)

  • (Apollon77) Optimizations and Fixes
  • (Apollon77) Add Sentry crash reporting

3.0.0 [2021-06-06]

  • (withstu) Switch to new JSON API and change data Structure (breaking)
  • (withstu) Update project dependencies
  • (arteck) Type of state was corrected

2.0.3 [2018-10-10]

  • (bluefox) added translations

2.0.2 [2018-08-01]

  • (bluefox) Warning! Breaking changes! States are renamed.
  • (bluefox) Refactoring of states and roles

1.0.6 [2017-05-27]

  • (Andre) Updated icon-set

1.0.5 [2016-10-10]

  • (bluefox) moved weather widgets to this adapter

1.0.3 [2016-05-17]

  • (bluefox) changed readme path

1.0.2 [2016-05-16]

  • (bluefox) added translations

1.0.1 [2016-04-25]

  • (bluefox) added translations

1.0.0 [2016-03-15]

  • (bluefox) changed parsing of cities

0.1.9 [2015-10-28]

  • (bluefox) fixed error with translations

0.1.8 [2015-10-27]

  • (bluefox) translations
  • (bluefox) automatically upload of missing translations to iobroker.net

0.1.7 [2015-07-10]

  • (bluefox) made yr works with metro widgets

0.1.6 [2015-06-12]

  • (bluefox) translations

0.1.5 [2015-03-26]

  • (bluefox) translations

0.1.4 [2015-03-24]

  • (bluefox) removed unit "%" for "wind direction"

0.1.3 [2015-03-22]

  • (bluefox) fixed error with tomorrow and day after tomorrow

0.1.2 [2015-03-08]

  • (bluefox) corrected links to yr.no web site

0.1.1

  • (bluefox) added translates for the weather states in other languages

0.1.0

  • (bluefox) updated yr on the new objects model

0.0.4

  • (hobbyquaker) prepend "forecast." to state IDs

0.0.3

  • (hobbyquaker) settings ui with autocomplete for location
  • (hobbyquaker) renamed yr_forecast to forecast
  • (hobbyquaker) added children attribute
  • (hobbyquaker) decreased log verbosity
  • (hobbyquaker) fixes

0.0.2

  • (hobbyquaker) fixes

0.0.1

  • (hobbyquaker) first release

Todo

  • setState forecast_object

License

The MIT License (MIT)

Copyright (c) 2014-2022 hobbyquaker [email protected], Bluefox [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.