Announcement

Collapse
No announcement yet.

AmbientWeather Missing Sensors

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

    AmbientWeather Missing Sensors

    I've just updated to AKWeather and include my PWS provider as Cloud AmbientWeather which works relatively well, however I seem to be missing a few sensor devices for 1) Lightning Detector, and 2) Moisture Sensors. which are included within and are being updated in AWN, am I missing something and if this was already addressed, please point me to the fix, thanxs in advance.

    Also I've noticed that I have three battery devices showing up as 0% and four with some names associated including "batt_Lightning"..
    Attached Files
    Computer: CUK Intel NUC7i7BNH
    Op System: Windows10 Pro - Work Station
    HS Version: HS4 Pro Edition 4.2.19.0

    Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

    #2
    I need log, please enable Log for the Location, filter HS log by plugin (FROM FILTER) and EXPORT to file.

    And I'm not sure what you mean about battery devices - is it a question?

    Comment


      #3
      I'll check the log, thank you.

      Batteries are total mess for Ecowitt and AW (all made by Fine Offset FOSHK). Especially the ghost "batt_co2". I'm in contact with FOSHK now about this.

      Are you saying that the three batteries showing 0% should be 100%? Some battery devices don't really provide the %, just 1 or 0 for good/bad, but sometimes 1 and 0 are inverted​

      Comment


        #4
        BTW, I noticed in the log some NOAA exceptions - was it some temporary issue, or it's a problem still? If yes, please open another thread for this.

        Comment


          #5
          Hmm, the log you provided is full of unrelated messages, difficult to follow., i.e. lots of NOAA errors and "Deleted device" messages.

          Can you please disable other Locations (i.e. NOAA), clear the HS log and restart the plugin.

          Comment


            #6
            Thank you MNB for the second log. It doesn't have the replies, you may set Log to Trace level. But I will try to reproduce your problem using your API key from the log.

            Comment


              #7
              I can reproduce the problem, will try fixing

              Comment


                #8
                Please try BETA 4.0.5.22

                Click image for larger version

Name:	image.png
Views:	103
Size:	235.1 KB
ID:	1592176

                Comment


                  #9
                  BETA 4.0.5.23 - AmbientWeather and Ecowitt - workaround don't show "batt_co2" if no CO2 reading.

                  You can delete the mystery "batt_co2" device.

                  Also, inverted some "batt%" devices.

                  Comment


                    #10
                    Alex, Many thanks for making this modification. My soil sensors are showing up now, something very useful for my spouse, the master gardener. I appreciate your work in making that happen. Other authors (other systems) have not been responsive to making the changes needed in their code.

                    Comment


                      #11
                      Originally posted by MNB
                      OMG, alexbk66 you've been a busy beaver! I now have the missing PWS sensors and batteries, but I seem to have a duplicate of batt1-3 see attached.

                      UPDATE: Looking closer at PWS Sensors I notice that the Lightning sensor seems to be at large, I can see the battery monitoring for it but no sensor device.
                      Click image for larger version

Name:	Screenshot 2023-02-12 125841.png
Views:	106
Size:	110.6 KB
ID:	1592417
                      Click image for larger version

Name:	Screenshot 2023-02-12 130132.png
Views:	90
Size:	151.8 KB
ID:	1592418
                      ​I made changes to some battery devices (inverted), which caused creating new devices. The old devices can be deleted, or delete all questionable devices and restart the plugin - it will create only new devices.

                      Regarding missing or extra devices - I need the Log (since I have no idea what sensors you have). See post # 2 above. Set Log to Trace level to provide more info.

                      Comment


                        #12
                        Originally posted by MNB

                        Still NADA, I even disabled/enable the plugin in the hopes of new sensor type showing up. More clues please

                        Looking at my AK Weather Trace I believe I'm seeing the Lightning devices.

                        Code:
                        2/14/2023 2:17:19 PM
                        AK Weather
                        Trace
                        [8614] 'Home, Binghamton, Broome County, New York, 13905, USA': /v1/devices:[{"macAddress":"XXXXXX","lastData":"dateutc":1676402160000,"tempinf":75,"battin":1,"humidityin":30,"baromrelin":28.477,"baromabsin":28.477,"tempf":46.4,"battout":1,"battrain":"1","humidity":32,"winddir":106,"winddir_avg10m":109,"windspeedmph":4,"windspdmph_avg10m":3.4,"windgustmph":9.2,"maxdailygust":17,"hourlyrainin":0,"eventrainin":0,"dailyrainin":0,"weeklyrainin":0,"monthlyrainin":0.091,"yearlyrainin":2.335,[COLOR=#e74c3c]"lightning_day":0[/COLOR],"batt_lightning":0,"solarradiation":121.7,"uv":1,"soilhum1":11,"soilhum 2":32,"battsm1":1,"battsm2":1,"temp1f":57,"humidity1":44,"temp2f":58.8,"humidity2":46,"temp3f":71.4,"humidity3":24,"batt1":1,"batt2":1,"batt3":1,"batt_co2":1,"feelsLike":44.71,"dewPoint":18.16,"feelsLike1":57,"dewPoint1":35.3,"feelsLike2":58.8,"dewPoint2":38.1,"feelsLike3":69.4,"dewPoint3":32.7,"feelsLikein":73.6,"dewPointin":41.4,"lastRain":"2023-02-09T22:57:00.000Z",[COLOR=#e74c3c]"lightning_hour":0[/COLOR],"tz":"America/New_York","date":"2023-02-14T19:16:00.000Z"},"info":{"name":"LMB Farm","coords":{"coords":"lat":42.23006799999999,"lon":-75.984088},"address":"175 Knapp Rd, Binghamton, NY 13905, USA","location":"Binghamton","elevation":455.1553344726562, " geo":{"type":"Point","coordinates":[-75.984088,42.23006799999999]}}}}]
                        ​Possibly because there's no data for the lightning​ - so I don't create the devices. I might need to change not to ignore 0.

                        Comment


                          #13
                          VER 4.0.5.26 - create Lightning Cnt device without lightning

                          Since in the log you do have "lightning_hour":0 - I can create Lightning Cnt device without lightning (even if it's 0).

                          Other Lightning data is not present (i.e. distance) - so I can't create the device until the data is available.

                          Comment


                            #14
                            Can you please verify - when do have the "lightning_distance" (Distance of last strike km) the correct units.

                            Docs look inconsistent - all other values are imperial, but lightning_distance is km? But it's possible....

                            Comment


                              #15
                              Alex, downloaded the latest v.26 (Beta), got only one of the Lightning devices "Lightning Cnt" with a zero count but am still missing the other two devices "Lightning Dst" and Time which I would expect them to be 0 or blank also as there hasn't been any Lightning incident of late.

                              In general, I noticed that some devices don't seem to appear until an event like weather warning spawns one, personally I would like all devices available when we establish a location, so I can attach event triggers to them rather than having to wait them to arrive at a later date, they would simply contain "Ok" or "0" which would signify nothing to report.
                              Attached Files
                              Computer: CUK Intel NUC7i7BNH
                              Op System: Windows10 Pro - Work Station
                              HS Version: HS4 Pro Edition 4.2.19.0

                              Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

                              Comment

                              Working...
                              X