Announcement

Collapse
No announcement yet.

Davis WeatherLink (Local and Remote) - multiple improvements in ver 4.0.4.53

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Davis WeatherLink (Local and Remote) - multiple improvements in ver 4.0.4.53

    Ver 4.0.4.53 0 I refactored WeatherLink (Local and Remote) for more consistency between both, as both providers should display same data.

    WLL Remote can add more server calculated values, i.e. current weather description, Air Quality Index (AQI), etc.

    Also it consolidates multiple previous fixes, i.e.

    https://forums.homeseer.com/forum/hs...-wll-local-api
    https://forums.homeseer.com/forum/hs...link-local-api
    https://forums.homeseer.com/forum/hs...-data-elements

    Both providers now should support additional readings, i.e. arrays of additional temperature and humidity sensors, soil moisture / temperature, leaf moisture / temperature, also some missing readings are added.

    Please test the new version. I suggest enabling Log for both Locations (not Trace) and check HS log for messages like

    Code:
    humidity: 54.2 (change from 60.5)
    which means that different sensors report different values, but the plugin can display only one (i.e. one humidity).

    In this case please read https://forums.homeseer.com/forum/hs...nk#post1485674


    Click image for larger version  Name:	image.png Views:	0 Size:	229.9 KB ID:	1584132
    Click image for larger version  Name:	image.png Views:	0 Size:	87.9 KB ID:	1584133
    ​​

    #2
    Please keep an eye on the readings, especially Wind and Precipitation (refactored), as well as new added readings (new HS devices should be added at the bottom)

    Comment


      #3
      Originally posted by alexbk66 View Post
      Please keep an eye on the readings, especially Wind and Precipitation (refactored), as well as new added readings (new HS devices should be added at the bottom)
      The pressure trend still says "Raising" despite correcting the text in the status variables to "Rising." No biggie.

      Pressure Trend (5047)

      Raising (0.1) (0.058)

      Today 10:00:21 AM

      3126ba515f.pressure_trend

      Comment


        #4
        Hello Alex,

        Initial testing the Weatherlink Local API has identified a number of sensors are no longer displayed... i.e as it is now identifying the different sensors report different values and normalised to a single sensor as described in the first post. As captured in the logs, this affected the Leaf, Wetness and Soil Temp and therefore, their "features were not created.

        Code:
        2/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) temp_1: 26.28 [conv. from 79.3 't']
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) temp_2: -57.929 [conv. from -72.299 't']
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) temp_3: 18.22 [conv. from 64.8 't']
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) temp: 23.17 [conv. from 73.7 't'] (change from 23.28)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) dewpoint: 19.28 [conv. from 66.7 't'] (change from 19.83)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) feelslike: 24.22 [conv. from 75.6 't'] (change from 24.39)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) windchill: 23.17 [conv. from 73.7 't'] (change from 23.28)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) heatindex: 24.22 [conv. from 75.6 't'] (change from 24.39)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) precip_day: 2.2 (change from 2)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) precip_month: 2.4 (change from 2.2)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) precip_year: 2.4 (change from 2.2)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) humidity: 78.7 (change from 81)
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) 'tf_temps' already set: 26.28, -57.93, 18.22,
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) 'soil_moist' already set: 80.5, 14.7, , 200
        02/01/2023 02:55:23~!~Info~!~[2850] 'Davis WLL': (WeatherLinkLocal) 'wetness' already set: 0.2, , ,​
        Click image for larger version  Name:	Screenshot 2023-01-02 at 3.01.30 am.png Views:	0 Size:	192.9 KB ID:	1584157Click image for larger version  Name:	Screenshot 2023-01-02 at 3.09.28 am.png Views:	0 Size:	132.5 KB ID:	1584156


        Comment


          #5
          Hello Alex,

          Initial testing the Weatherlink Remote API. As displayed below, all features were created including the Leaf, Wetness and Soil Temp; however, the feature values need looking at.
          Code:
          02/01/2023 03:20:42~!~Info~!~[2882] 'Davis WL.com': (WeatherLink) 'tf_temps' already set: 26.1, -63.05, 17.56,
          02/01/2023 03:20:42~!~Info~!~[2882] 'Davis WL.com': (WeatherLink) 'soil_moist' already set: 78.8, 138.8, , 200
          02/01/2023 03:20:42~!~Info~!~[2882] 'Davis WL.com': (WeatherLink) 'wetness' already set: 0.1, , ,​
          Click image for larger version  Name:	Screenshot 2023-01-02 at 3.32.32 am.png Views:	0 Size:	186.8 KB ID:	1584164
          Click image for larger version  Name:	Screenshot 2023-01-02 at 3.32.45 am.png Views:	0 Size:	198.3 KB ID:	1584165

          Comment


            #6
            BETA 4.0.4.54 - WeatherLink fixes

            Comment


              #7
              Originally posted by alexbk66 View Post
              BETA 4.0.4.54 - WeatherLink fixes
              Weatherlink Local is looking correct.

              Click image for larger version

Name:	Screenshot 2023-01-03 at 10.57.22 am.png
Views:	133
Size:	123.0 KB
ID:	1584430

              Comment


                #8
                Originally posted by alexbk66 View Post
                BETA 4.0.4.54 - WeatherLink fixes
                Weatherlink Remote a few minor issues that are incorrectly represented.
                Temperature Soil is unknown and displayed as temp_1
                Temperature Leaf 1 is incorrect
                Wet Leaf 1 is incorrect

                "lsid": 227177,
                "data": [
                {
                "rx_state": 0,
                "moist_soil_2": 200,
                "moist_soil_1": 75.9,
                "moist_soil_4": null,
                "moist_soil_3": null,
                "wet_leaf_2": null,
                "wet_leaf_1": 0.1,
                "tx_id": 4,
                "temp_1": 71.1,
                "temp_2": null,
                "trans_battery_flag": 0,
                "temp_3": null,
                "temp_4": null,
                "ts": 1672705811​


                Click image for larger version  Name:	Screenshot 2023-01-03 at 11.40.17 am.png Views:	0 Size:	143.6 KB ID:	1584460
                Click image for larger version

Name:	Screenshot 2023-01-03 at 11.40.29 am.png
Views:	121
Size:	143.5 KB
ID:	1584462

                Comment


                  #9
                  Tim, also it looks like you don't have the Description device (forecast_desc: Mostly cloudy and cooler. Precipitation possible within 12 hours, possibly heavy at times. Windy.)?

                  [EDIT]

                  (1) wet_leaf_1: 0.1 - looks correct?

                  (2) temp_leaf_1, temp_soil_1 and temp_1 have same values, so it's hard to tell. But it looks like both Local and Remote are missing temp_leaf_1 and temp_soil_1?

                  temp_leaf_1: 71
                  temp_soil_1: 71
                  temp_1: 70.9


                  (3) Basically the following HS devices should be created from the WLL readings:

                  Note: in next ver 4.0.4.55 I swap temperature​ and temperature_extra​ for consistency (currently they are opposite).

                  temperature.x

                  temp_1
                  temp_2
                  temp_3
                  temp_4

                  temperature_extra.x

                  temp_extra_1
                  temp_extra_2
                  temp_extra_3
                  temp_extra_4
                  temp_extra_5
                  temp_extra_6
                  temp_extra_7

                  humidity.x

                  hum_extra_1
                  hum_extra_2
                  hum_extra_3
                  hum_extra_4
                  hum_extra_5
                  hum_extra_6
                  hum_extra_7

                  temperature_soil.x

                  temp_soil_1
                  temp_soil_2
                  temp_soil_3
                  temp_soil_4

                  soil_moist.x

                  moist_soil_1
                  moist_soil_2
                  moist_soil_3
                  moist_soil_4

                  temperature_leaf.x

                  temp_leaf_1
                  temp_leaf_2
                  temp_leaf_3
                  temp_leaf_4

                  wet_leaf.x

                  wet_leaf_1
                  wet_leaf_2
                  wet_leaf_3
                  wet_leaf_4

                  Comment


                    #10
                    Ver 4.0.4.55 - WeatherLink (both) - Swap temperature​ and temperature_extra​ for consistency (currently they are opposite).

                    Tim, I tested everything with the simulated json, so if you have any issues, please post your json (from Trace)

                    Click image for larger version

Name:	image.png
Views:	121
Size:	75.2 KB
ID:	1584475

                    Comment

                    Working...
                    X