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:	31
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
    I need advice from users - I'm thinking, what if instead of creating HS devices for each sensor battery state - just create a trigger when any battery value goes low?

    Comment


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

      Comment


        #4
        'lightning_distance' value does display in KM

        Click image for larger version

Name:	image_102817.png
Views:	239
Size:	527.7 KB
ID:	1481227

        Comment


          #5
          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


            #6
            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


              #7
              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:	241
Size:	95.8 KB
ID:	1481259

              Comment


                #8
                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


                  #9
                  Originally posted by cowinger View Post

                  Here is mine.

                  Click image for larger version

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

                  Comment


                    #10
                    Originally posted by alexbk66 View Post

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

                    Comment


                      #11
                      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


                        #12
                        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


                          #13
                          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


                            #14
                            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


                              #15
                              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

                              Working...
                              X