Announcement

Collapse
No announcement yet.

AKWeather NOAA, Metoffice UK, YR.no, BOM, Openwethr, Weatherbit, W.Undergrnd, Ambient

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    AKWeather NOAA, Metoffice UK, YR.no, BOM, Openwethr, Weatherbit, W.Undergrnd, Ambient

    My plugins: Click image for larger version  Name:	ikea_64.png Views:	0 Size:	2.1 KB ID:	1421180​​ Click image for larger version  Name:	Square64.jpg Views:	0 Size:	2.8 KB ID:	1421181​​ Click image for larger version  Name:	Bond64.png Views:	0 Size:	5.1 KB ID:	1421176​​ Click image for larger version  Name:	Sonoff64.png Views:	0 Size:	5.6 KB ID:	1421182​​ Click image for larger version  Name:	Shelly128.png Views:	0 Size:	21.5 KB ID:	1459596​​ Click image for larger version  Name:	gates  - 3.jpg Views:	0 Size:	93.7 KB ID:	1423325​​
    ​​​AK IKEA AKSquare AKBond AKSonoff AKShelly AKRemootio
    Click image for larger version  Name:	icon2.jpg Views:	0 Size:	88.2 KB ID:	1473112 Click image for larger version  Name:	AKEnphaseEnvoy64.png Views:	0 Size:	8.7 KB ID:	1421179​​ Click image for larger version  Name:	AKGoogleCast64.png Views:	0 Size:	1.5 KB ID:	1421178​​ Click image for larger version  Name:	HS4500 - Copy.png Views:	0 Size:	32.0 KB ID:	1473113 ​​ Click image for larger version  Name:	Quantum128.jpg Views:	36 Size:	11.3 KB ID:	1471327 Click image for larger version  Name:	AKHeatmiserNeo64.jpg Views:	0 Size:	2.1 KB ID:	1421185​​ Click image for larger version  Name:	AKTracdown500 - New.png Views:	0 Size:	300.3 KB ID:	1423326​​
    AKWeather AKEnphaseEnvoy AKGoogleCast AKGoogleCalendar AKSmartDevice AKHeatmiserNeo AKTraccar
    AKWeather plugin

    Introducing AKWeather plugin for HS4. Developed for usability, flexibility and extensibility.

    Support Alerts - provider specific.

    Minimal user configuration - after plugin is installed it creates new location, user just needs to select provider and enter provider API key.

    Supports multiple locations, multiple languages and multiple providers. Currently implemented providers listed below. Can add any new provider on request.
    Countries:
    • Yr.no (met.no)
    • NOOA (USA)
    • Metoffice (UK)
    • BOM (AU)
    • Koninklijk Nederlands Meteorologisch Instituut
    • Environment Canada
    Other providers:
    • Aqicn (Air Quality Open Data Platform)
    • DarkSky
    • Openweathermap
    • Weatherbit
    • WeatherApi.com
    • Accuweather (Including Daily Health Indices)
    PWS:
    • WeatherUnderground (supporting PWS)
    • AmbientWeather
    • Netatmo
    • Ecowitt - Local WiFi API
    Considering:
    • AWEKAS (PWS)
    • WeatherLink (Davis Instruments)
    • Aerisweather (pwsweather.com)
    • Tomorrow.io
    Any requests:
    https://forums.homeseer.com/forum/hs...tures-requests
    Click image for larger version  Name:	Flag-United-States-of-America.jpg Views:	0 Size:	71.1 KB ID:	1480576 Click image for larger version  Name:	au flag.png Views:	0 Size:	2.0 KB ID:	1480578
    Click image for larger version  Name:	Flag-Norway.jpg Views:	0 Size:	32.0 KB ID:	1480577 Click image for larger version  Name:	UK Flag.png Views:	0 Size:	3.0 KB ID:	1480579
    Click image for larger version  Name:	Flag_of_Canada_(Pantone).png Views:	0 Size:	20.2 KB ID:	1480574 Click image for larger version  Name:	netherlands-flag.jpg Views:	0 Size:	8.1 KB ID:	1480580
    Click image for larger version  Name:	GW1002-1.png Views:	0 Size:	467.1 KB ID:	1480569
    AK Weather creates the HS devices only for data available from provider, please note that for example rain / snow devices will be created only when provider reports rain / snow.

    By default the plugin creates only essential devices, if more details are required - switch OFF "Minimal details level" in location settings.

    I try to display details common for all providers, but if anything is missing - please let me know.
    Click image for larger version  Name:	GridView3.png Views:	0 Size:	140.7 KB ID:	1470571
    Click image for larger version  Name:	main2.jpg Views:	1 Size:	169.2 KB ID:	1471325
    Click image for larger version  Name:	ScreenshotAQI.jpg Views:	1 Size:	171.4 KB ID:	1472078
    Click image for larger version  Name:	LocationConfig.jpg Views:	12 Size:	52.1 KB ID:	1472409 Click image for larger version  Name:	Screenshot AQI website.jpg Views:	0 Size:	63.0 KB ID:	1472089

    #2
    Configuration

    When plugin starts - it creates first location device. If necessary, more locations can be added on the main Settings page.

    1. By default the location is named based on the current coordinates (from HS settings). But you can always rename the location (i.e. Home)

    2. By default the coordinates are used from HS settings, but you can change them.

    3. You need to go to device settings and select the provider from the list

    4. If required by provider, enter the API key. The provider specific request "Link for API key" is shown below.

    5. See below for "Minimal details level" switch

    6. If required, enable Air Quality index. The AQICN API key should be configured on main Settings page (see next post)

    7. Maximum number of forecast days (default 2) depends on the provider and location, so it will become available after the settings are saved and data is successfully received from the provider.
    Click image for larger version  Name:	new locat.png Views:	0 Size:	58.7 KB ID:	1473759 Click image for larger version  Name:	settings.png Views:	0 Size:	47.6 KB ID:	1473760
    Notes

    Note 1. Provider API keys are stored per-provider, so if you select different provider - its key will be also restored.

    Note 2. Units are automatically selected based on HS setting. Units may work differently per provider. Imperial units I didn't test, please let me know of any issues.

    Note 3. Renaming/Deleting Location Root device (either via HS GUI, or Location settings) will also Rename/Delete all Forecast Day devices (roots and children)

    Note 4. For some providers additional config options may appear, i.e Language selection, or for NOAA, Weather Underground or Ambient Weather you can select a weather station from the list. The list is automatically populated based on the location, and closest station is automatically selected.


    "Minimal details level" switch

    I also added "Minimal details level" switch (default - ON) so when location is created only 8 essential devices are added.

    When switched "OFF" - more devices are added, depending on what data is available from the provider. I.e. Openweathermap reports rain or snow only when it's raining (snowing) - so the corresponding device will be only created then.

    When the "Minimal details level" is switched back ON - I don't delete the extra devices, they should be deleted manually.


    PWS Support

    Personal weather stations are supported by Weather Underground, Ambient Weather, Netatmo providers.
    When the provider is selected - it will find a list of nearby weather stations - then you can select from the list, or enter desired Station ID manually.

    Comment


      #3
      World Air Quality Index

      To enable World Air Quality Index data request token aqicn.org/data-platform/token/ and enter in the plugin Settings page.

      Note 1: Also "Show Air Quality Index (AQI)" should be enabled for each location separately.

      Note 2: Number of AQI HS devices is affected by "Minimal details level" toggle (per location) and the data available.

      Note 3: Since there's no info about the measurement units, please verify the readings - there's HS Air Quality Link device which provides link to the EPA station webpage. Let me know of any readings mismatch.
      Click image for larger version  Name:	Settings.jpg Views:	0 Size:	40.0 KB ID:	1472086
      Click image for larger version  Name:	ScreenshotAQI.jpg Views:	8 Size:	171.4 KB ID:	1472091

      Comment


        #4
        alexbk66 On your pic of the AK Weather above it shows 2 lines I am not seeing in mine.

        1. Link for API Key
        2. Forecast Days

        Are these available?

        Comment


          #5
          It's in ver 4.0.0.2

          Comment


            #6
            NOAA seems to be a pain as is BOM, why government services are so user un-friendly?

            Comment


              #7
              Originally posted by alexbk66 View Post
              It's in ver 4.0.0.2
              Thanks, looks good. Do you just put in 0 for Forecast Days if you don't want day0 and day1?

              Comment


                #8
                alexbk66 Got this error popping up in the device page inside the device box in grid view.

                Click image for larger version  Name:	pic1.png Views:	0 Size:	82.5 KB ID:	1470282

                Here is the log.

                Comment


                  #9
                  Originally posted by cowinger View Post

                  Thanks, looks good. Do you just put in 0 for Forecast Days if you don't want day0 and day1?
                  That was the idea, but didn't test it

                  Comment


                    #10
                    Ver 4.0.0.18 - Weather Underground and Ambient Weather improved

                    Comment


                      #11
                      alexbk66 I just went to 4.0.0.22. I acquired the Air Quality key. Getting a number for Air Quality. Not sure what it means.

                      Separately, I am getting no data on temperature, precipitation, feelslike, dewpoint, humidity_out, uv, windspeed and winddir. Just a ?. I am using Ambient as source.

                      Nothing in the log.

                      EDIT: the display was blank ----- in the fields I just mentioned above but the values have returned and are showing again. It does that every once in a while. The values of the child devices (above) in the PI have not changed. They are still a ?.

                      Comment


                        #12
                        Originally posted by cowinger View Post
                        alexbk66 I just went to 4.0.0.22. I acquired the Air Quality key. Getting a number for Air Quality. Not sure what it means.

                        Separately, I am getting no data on temperature, precipitation, feelslike, dewpoint, humidity_out, uv, windspeed and winddir. Just a ?. I am using Ambient as source.

                        Nothing in the log.

                        EDIT: the display was blank ----- in the fields I just mentioned above but the values have returned and are showing again. It does that every once in a while. The values of the child devices (above) in the PI have not changed. They are still a ?.
                        Regarding AirQuality - as I said, it's not finished yet, most important (and challenging) thing is to be able to obtain the data from the provider, implementing it in the plugin is just a matter of time.

                        There's much more AirQuality data I will display, for explanation have a look here https://aqicn.org/city/australia/melbourne/brighton/

                        For now I must sort out other issues first. Can you please post the screenshot of your issue above.

                        Click image for larger version

Name:	AQ1.jpg
Views:	205
Size:	52.4 KB
ID:	1471777

                        Comment


                          #13
                          Can you please post the screenshot of your issue above.
                          alexbk66 I looked again at those just now in list view and they appear to have corrected themselves and they are showing values.

                          I don't mean to harp on Ecowitt but they have air quality devices, one for inside and one you can use outside. Just saying. 😁

                          Comment


                            #14
                            Ver 4.0.0.22 - I removed the Default Provider, had to do a bit of refactoring, anything broken - let me know.

                            Now I'll work on AQI, really interesting, also they provide temp/humidity/pressure/wind info

                            Comment


                              #15
                              Originally posted by cowinger View Post
                              I don't mean to harp on Ecowitt but they have air quality devices, one for inside and one you can use outside. Just saying. 😁
                              What are you trying to say? Do you have Ecowitt PWS which I can use for testing? And I don't remember if they have API, need to check.

                              Working on so many providers simultaneously (6 already, plus 2 more) really overloading my brain

                              Comment

                              Working...
                              X