Announcement

Collapse
No announcement yet.

AmbientWeather and Ecowitt - Local protocol (no Cloud)

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

    AmbientWeather and Ecowitt - Local protocol (no Cloud)

    Ver 4.0.0.66 - Added support for Local (no Cloud) protocol for Ecowitt and AmbientWeather PWS

    Note: Ecowitt also has another Local protocol (official)

    Click image for larger version

Name:	AW Local 3.png
Views:	362
Size:	269.0 KB
ID:	1507912

    Configuration
    Note 1: You must add HSPI_AKWeather.exe to Windows Firewall "Allowed" list.

    Note 2: If you are getting error "Only one usage of each socket address (protocol/network address/port) is normally permitted" - means that you have already something listening on the same port (i.e. 7777) on this computer. Try selecting different port (in both PWS app and plugin settings)
    - Ecowitt
    In WS View app need to configure "Customized" server - HomeSeer IP Address and Port.
    Default port is 7777, but can be changed (i.e. for multiple weather stations).
    Minimum "Upload Interval" is 16 sec.
    Click image for larger version  Name:	AW Local Cfg.png Views:	0 Size:	263.3 KB ID:	1507898 Click image for larger version  Name:	EcowittLocal3.jpg Views:	0 Size:	46.6 KB ID:	1495258
    - Ambient Weather
    Thanks to jim@beersman.com

    You have to configure your WS-2000 console to communicate with the PI. If you have not done so already, install AmbientWeather awnet app on your smartphone. Your phone and the WS-2000 need to be on the same network for this configuration. Launch the application and your WS-2000 Console should be listed in the Device List. Something like "AMBWeather-WIFIXXXX". XXXX = the last 4 characters of the mac address.

    Select that device
    In upper right corner press [next] 3 times or until you see the Customized screen
    In the Server IP/Hostname enter the IP of the PC running the plugin
    In the Port option enter the port that you defined in the PI
    Set the upload interval, I found 20 - 30 seconds works well
    Press Save...Don't forget this step
    Press Finish in the upper right Corner

    That's all there is to it
    Note: Thanks begunfx : Change the Protocol to be "Ambient Weather". The default is Wunderground.
    I also had to update the wifi firmware, otherwise I wasn't getting the custom server option on the console. After reading through your instructions I tried the Android version of the awnet app, but it doesn't have the option to setup a custom server. Instead I installed the WS View app and was able to set the IP address and Port # as expected.

    #2
    Can anybody please verify 'lightning_distance' value - documentation says that units is 'km' which is strange because all other units are imperial.

    Comment


      #3
      'lightning_distance' value does display in KM

      Click image for larger version  Name:	image_102817.png Views:	513 Size:	527.7 KB ID:	1481227

      Comment


        #4
        Originally posted by brientim View Post
        'lightning_distance' value does display in KM
        Thank you, but you are using metric units. My question was for US (imperial) users.

        Comment


          #5
          I see you have added the local access for Ambient Weather so I installed your plugin to help test for you.

          Maybe it's me but the plugin itself does not appear to work v4.0.0.68.
          It shows it's running and when I go to settings all I get is a screen that shows settings for World Air Quality Index Project. There is a slider for Add new location but it does not appear to do anything.

          Comment


            #6
            Originally posted by alexbk66 View Post
            Can anybody please verify 'lightning_distance' value - documentation says that units is 'km' which is strange because all other units are imperial.
            Here is mine.

            Click image for larger version

Name:	pic1.png
Views:	595
Size:	95.8 KB
ID:	1481259

            Comment


              #7
              Originally posted by jim@beersman.com View Post
              I see you have added the local access for Ambient Weather so I installed your plugin to help test for you.

              Maybe it's me but the plugin itself does not appear to work v4.0.0.68.
              It shows it's running and when I go to settings all I get is a screen that shows settings for World Air Quality Index Project. There is a slider for Add new location but it does not appear to do anything.
              You need to click "Save" - then new location will be created. Then you can rename the location and select the provider. And "Save" again.

              That's difference between HS3 and HS4 - in HS3 the config was updating on every click, HS4 - "Save"

              Comment


                #8
                Originally posted by cowinger View Post

                Here is mine.

                Click image for larger version

Name:	pic1.png
Views:	595
Size:	95.8 KB
ID:	1481259
                How does it match the value in the App?

                Comment


                  #9
                  Originally posted by alexbk66 View Post

                  How does it match the value in the App?
                  App shows 7.9, so very close.

                  Comment


                    #10
                    Originally posted by cowinger View Post

                    App shows 7.9, so very close.
                    Still strange why it's different.. Please keep an eye. Unit conversion is always a pain...

                    Comment


                      #11
                      alexbk66 Local settings have been done in the app and w10. Ambient Weather, Ecowitt and NOAA2, as far as what I am using, are all working correctly. Great job!

                      Comment


                        #12
                        Originally posted by alexbk66 View Post

                        Still strange why it's different.. Please keep an eye. Unit conversion is always a pain...
                        I will watch and let you know. Might get a chance today.

                        Comment


                          #13
                          Okay, I added my Ambient Weather Console WS-2000 to send the data to your PI with the AW Local option. It did not create the following devices
                          • Wind Direction Avg 10min
                          • Wind Speed Avg 10min
                          • Maximum Daily Gust
                          • Hourly Rain
                          • Monthly Rain
                          • Yearly Rain
                          • Solar Radiation
                          • pm25 in
                          • pm25 24h in
                          • aqi pm25 in
                          • aqi pm25 in txt
                          • aqi pm25 24h in
                          • aqi pm25 24h txt
                          • dewpoint
                          • feelslike
                          • Illuminance
                          And yes I do have the Show Air Quality Index (AQI) Slider enable.

                          have not had any Lightning with the rain today so I can't say one way or the other on those options.

                          It did create a pressure device but did not state if it was Relative or Absolute

                          Comment


                            #14
                            Originally posted by jim@beersman.com View Post
                            Okay, I added my Ambient Weather Console WS-2000 to send the data to your PI with the AW Local option. It did not create the following devices

                            It did create a pressure device but did not state if it was Relative or Absolute
                            "Wind Direction Avg 10min" is called Winddir
                            "Wind Speed Avg 10min" - Wind Speed
                            "Maximum Daily Gust" - Wind Gust
                            "Hourly Rain" - Precipitation
                            "Monthly Rain" and "Yearly Rain" - I don't think is useful, especially if GW1000 doesn't keep the values after reboot. Daily and Weekly should be sufficient
                            "Solar Radiation" - I need to add
                            "pm25", etc. - I have the external sensor, so there's "Air Quality PM25", I need to add internal as well

                            "dewpoint", "feelslike", "Illuminance" - are not present in the data stream, wold be created if were present. I have function for "feelslike" calculation, but prefer to rely on what's available
                            ​​​​​​​
                            "Pressure" is relative
                            ​​​​​​​

                            Comment


                              #15
                              Originally posted by alexbk66 View Post

                              "Wind Direction Avg 10min" is called Winddir
                              "Wind Speed Avg 10min" - Wind Speed
                              "Maximum Daily Gust" - Wind Gust
                              "Hourly Rain" - Precipitation
                              "Monthly Rain" and "Yearly Rain" - I don't think is useful, especially if GW1000 doesn't keep the values after reboot. Daily and Weekly should be sufficient
                              "Solar Radiation" - I need to add
                              "pm25", etc. - I have the external sensor, so there's "Air Quality PM25", I need to add internal as well

                              "dewpoint", "feelslike", "Illuminance" - are not present in the data stream, wold be created if were present. I have function for "feelslike" calculation, but prefer to rely on what's available

                              "Pressure" is relative
                              ​​​​​​​
                              Alex, I beg to differ with your evaluation of the missing fields.

                              I had a Precipitation Event, Precipitation Day and Precipitation Week created but no Precipitation Hour and no just plan Precipitation

                              The AmbientWeather WS-2000 console sends both

                              winddir and windwinddir_avg10m
                              windspeedmph and windspdmph_avg10m
                              windgustmph and maxdailygustmph
                              dailyrainin and hourlyrainin
                              Monthly Rain and Yearly Rain are kept by the GW1000 after reboot but we are talking about the AmbientWeather Consoles which also keep the data. It is Lightning that is not stored

                              You are correct about dewpoint, feelslike, Illuminace I was looking at the wrong data stream when I added those to the list

                              Below are the devices in the data stream from my console. I removed some of the formatting and put each on it's on line for clarity.

                              tempinf=75.6
                              battin=1
                              humidityin=40
                              baromrelin=28.736
                              baromabsin=28.736
                              tempf=78.4
                              battout=1
                              humidity=78
                              winddir=148
                              winddir_avg10m=140
                              windspeedmph=0.0
                              windspdmph_avg10m=0.2
                              windgustmph=1.1
                              maxdailygust=12.5
                              hourlyrainin=0.000
                              eventrainin=0.110
                              dailyrainin=0.449
                              weeklyrainin=0.839
                              monthlyrainin=2.630
                              yearlyrainin=31.177
                              lightning_day=0
                              batt_lightning=0
                              solarradiation=0.85
                              uv=0
                              temp2f=88.2
                              humidity2=55
                              temp3f=85.5
                              humidity3=60
                              temp4f=73.4
                              humidity4=48
                              temp5f=92.3
                              humidity5=37
                              batt2=1
                              batt3=1
                              batt4=1
                              batt5=1
                              pm25_in=5.0
                              pm25_in_24h=4.5
                              aqi_pm25_in=21
                              aqi_pm25_in_24h=19
                              batt_25in=1



                              Comment

                              Working...
                              X