KurtSanders / STAmbientWeather

Hubitat Integration for Ambient Weather Station
Apache License 2.0
40 stars 77 forks source link

No reporting of SOIL sensors (main console) #26

Closed pgitta closed 2 years ago

pgitta commented 2 years ago

Didn't see any listing of soil moisture percentage. Did notice something called "water" but not sure if that is referring to soil sensor, and only displays "dry" no %

Great app. Thanks

KurtSanders commented 2 years ago

Are you using the Hubitat version?

pgitta commented 2 years ago

Oh, yes. Sorry. I was also wondering what "energy", and "power," referred to? And "motion"? I had been using a different driver and didn't notice those parameters.

On Feb 12, 2022 at 3:20 AM, Kurt Sanders @.***> wrote:

Are you using the Hubitat version?

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1037060898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ7RV6AGZVR2GGRRBG3U2YJ6LANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

KurtSanders commented 2 years ago

The optional power and motion virtual device attributes are explained in the Help Page at https://github.com/KurtSanders/STAmbientWeather

Ambient Weather Station ➡️ ActionTiles™

ActionTiles™ Thing ☑️ Ambient Weather® Attribute Show Decimals Recommended Custom Label
Energy Max Daily Gust, mph ☑️ Wind Gust Daily Max
Power Wind Speed, mph ☑️ Wind Speed
Illuminance Measurement Solar Radiation, lux, fc or w/m²   Light
Motion Sensor¹ windspeedmph > 1 = active   Wind State
Relative Humidity Measurement Outside Relative Humidity, %   Humidity
Temperature Measurement Outside Temperature, °F ☑️ Temperature
Ultraviolet Index Ultraviolet Index, uv   UVI
Water Sensor¹ hourlyrainin > 0 = wet   Rain Detected

If you can reply and provide your Ambient API key, I can look at your devices and see if they are producing expected results. After I confirm what might be the issue and make any needed device driver changes, you can generate a new Ambient Weather key for privacy to your weather station data.

pgitta commented 2 years ago

Ha! Yeah, I'm not too worried about my secret weather information 😄

So I have two soil moisture sensors but just one operation currently. They report as soil1 and soil2 on Ambient's dashboard

On Feb 12, 2022 at 8:14 AM, Kurt Sanders @.***> wrote:

The optional power and motion virtual device attributes are explained in the Help Page https://github.com/KurtSanders/STAmbientWeather at https://github.com/KurtSanders/STAmbientWeather

If you can reply and provide your Ambient API key, I can look at your devices and see if they are producing expected results. After I confirm what might be the issue and make any needed device driver changes, you can generate a new Ambient Weather key for privacy to your weather station data.

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1037222759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ5F6E7A3MY7M5GHK4TU2ZMLXANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

pgitta commented 2 years ago

One other item I noticed. "Illuminance" is showing a relatively low three digit number. My console is set to display LUX. Currently reads around 28000 but the report in your app shows around "188" not sure if I'm missing something there

On Feb 12, 2022 at 8:14 AM, Kurt Sanders @.***> wrote:

The optional power and motion virtual device attributes are explained in the Help Page https://github.com/KurtSanders/STAmbientWeather at https://github.com/KurtSanders/STAmbientWeather

If you can reply and provide your Ambient API key, I can look at your devices and see if they are producing expected results. After I confirm what might be the issue and make any needed device driver changes, you can generate a new Ambient Weather key for privacy to your weather station data.

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1037222759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ5F6E7A3MY7M5GHK4TU2ZMLXANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

KurtSanders commented 2 years ago

We might need to discuss some your Ambient system setup via a phone call this afternoon. Is that possible? If so, can you suggest a time and number to contact you. I'm seeing only one soil temp reading and the data is different than what I expect for some of the weather station models from Ambient. Perhaps they have added something new and I can work with you to incorporate the data updates.

pgitta commented 2 years ago

Sorry I missed your email. Doing concrete work in my yard and not checking my phone. Be glad to assist after this project is finished in a few days. Otherwise I am done after 6 usually

On Feb 12, 2022 at 11:42 AM, Kurt Sanders @.***> wrote:

We might need to discuss some your Ambient system setup via a phone call this afternoon. Is that possible? If so, can you suggest a time and number to contact you. I'm seeing only one soil temp reading and the data is different than what I expect for some of the weather station models from Ambient. Perhaps they have added something new and I can work with you to incorporate the data updates.

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1037297003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ2LSGAP5BWDYDT64GTU22EYTANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

KurtSanders commented 2 years ago

@pgitta

No problem, just trying to wrap my head around your weather station. We can connect realtime when we both have some free time.

Can you describe what weather station model and sensor models you have attached? This is what I see for the relevant data being returned from the Ambient cloud for your setup: I have questions below as soil sensors usually have only ONE temp ("temp1f") and ONE humidity reading ("humidity1"). The "soilhum1" value is new for my hubitat application and supposed to be a temp reading according to Ambient API developers documentation. Why are there 2 for soil, what am I missing? Perhaps the values can help you tell me what data belongs to which sensors?

Main Console:

"tempinf": 64.2, "humidityin": 41, "tempf": 31.8, "humidity": 66, "solarradiation": 0, "uv": 0,

Sensor #1: (Soil Sensor? Why are there 2 temp readings?)

"soilhum1": 48, (This is Temp?) "temp1f": 32.5, (This is Temp?) "humidity1": 73,

Sensor #2: (What type of sensor is this?)

"temp2f": 61.9, "humidity2": 43,

pgitta commented 2 years ago

Still on my concrete project but "soilhum1" refers to percentage of moisture in the soil.

For instance soilhum1: 33 is 33% water (dry)

soilhum1: 100 100% (saturated)

I am not aware of more than one reading for from the soil sensor, although I don't know, maybe it reports soil temperature as well? but I doubt it

On Feb 13, 2022 at 4:11 AM, Kurt Sanders @.***> wrote:

@pgitta https://github.com/pgitta

No problem, just trying to wrap my head around your weather station. We can connect realtime when we both have some free time.

Can you describe what weather station model and sensor models you have attached? This is what I see for the relevant data being returned from the Ambient cloud for your setup: I have questions below as soil sensors usually have only ONE temp ("temp1f") and ONE humidity reading ("humidity1"). The "soilhum1" value is new for my hubitat application and supposed to be a temp reading according to Ambient API developers documentation. Why are there 2 for soil, what am I missing? Perhaps the values can help you tell me what data belongs to which sensors? Main Console:

"tempinf": 64.2, "humidityin": 41, "tempf": 31.8, "humidity": 66, "solarradiation": 0, "uv": 0, Sensor #1 https://github.com/KurtSanders/STAmbientWeather/issues/1: (Soil Sensor? Why are there 2 temp readings?)

"soilhum1": 48, (This is Temp?) "temp1f": 32.5, (This is Temp?) "humidity1": 73, Sensor #2 https://github.com/KurtSanders/STAmbientWeather/issues/2: (What type of sensor is this?)

"temp2f": 61.9, "humidity2": 43,

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1037949297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ6GQRMQB7C2WT5EUETU25YSJANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

KurtSanders commented 2 years ago

Interesting! The Ambient Weather API Device Data Specs might be inaccurate as they state temperature for "solihum1" but designate a percentage for the unit???. So I guessing that that your soil sensor only reports humidity and your system layout is as follows, as of 5am.

Definitions of Ambient API weather/soil values:

Can you confirm:

  1. Your Weather Station and other sensors setup & data are these below?
  2. You have 3 extra sensors, one which is a soil sensor and other 2 are atmosphere sensors?
  3. Are the extra sensors dip switches settings set to be unique?

Weather Station Console

Sensor 1

Sensor 2

Soil Sensor

pgitta commented 2 years ago

I don't know if this helps, but the driver written by SNELL that I had been using and stopped working is now working again. Except now the soil sensor data isn't even listed! I wonder if Ambient is screwing something up on their end or working on something the last couple weeks. Maybe would be worth just waiting a while to see if it settles down.

See below:

Also note "illuminance" is accurately displayed as LUX. On your app for some reason it shows a three digit value that I don't quite understand what it is.

It seems like his app displays things yours doesn't and yours things his doesn't.

Current States WindChill : 45.93 WindDirectionString : E baromabs : 29.584 battery : 0 dailyRain : 0.0 dewPoint : 39.15 eventRain : 0.0 feelsLike : 53.09 hourlyRain : 0.0 humidity : 59.0 illuminance : 23537 lastRain : 2022-02-04T10:20:00.000Z maxdailygust : 31.8 monthlyRain : 3.016 pressure : 30.455 temperature : 53.09 ultravioletIndex : 1.0 weeklyRain : 0.0 windDirection : 82 windGust : 20.4 windSpeed : 1.8 winddir_avg10m : 160 winddir_avg10mString : S windspd_avg10m : 4.9 yearlyRain : 7.398

State Variables windGust : 20.4 lastRain : 2022-02-04T10:20:00.000Z Driver : WeatherSensorChild monthlyRain : 3.016 battery : 0 WindChill : WindDirectionString : E eventRain : 0.0 Version : 0.8.1 yearlyRain : 7.398 temperature : 53.09 humidity : 59.0 windDirection : 82 winddir_avg10mString : S dailyRain : 0.0 windSpeed : 1.8 maxdailygust : 31.8 weeklyRain : 0.0 baromabs : 29.584 hourlyRain : 0.0 pressure : 30.455 dewPoint : 39.15 ultravioletIndex : 1.0 feelsLike : 53.09 illuminance : 23537 windspd_avg10m : 4.9 winddir_avg10m : 160

On Feb 16, 2022 at 4:55 AM, Kurt Sanders @.***> wrote:

Interesting! The Ambient Weather API Device Data Specs https://github.com/ambient-weather/api-docs/wiki/Device-Data-Specs might be inaccurate as they state temperature for "solihum1" but designate a percentage for the unit???. So I guessing that that your soil sensor only reports humidity and your system layout is as follows, as of 5am.

Definitions of Ambient API weather/soil values:

Your Weather Station Data is this?

Weather Station Console

Sensor #1 https://github.com/KurtSanders/STAmbientWeather/issues/1

Sensor #2 https://github.com/KurtSanders/STAmbientWeather/issues/2

Soil Sensor

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1041309787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ4DGYDLWFEG2MU2FSLU3NYATANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

KurtSanders commented 2 years ago

Solar Radiation values can be set in my Hubitat Ambient Weather App preference options: ['W/m²':'Imperial Units (W/m²)','lux':'Metric Units (lux)', 'fc':'Foot Candles (fc)']. The default unit value is : "W/m²".

Your Solar Radiation value of 416 W/m^2 is being reported by the weather station as of 12:43pm EST, and the following alternative units are calculated as follows:

Integer wm2lux(value) { return (value 126.7).toInteger() } or 52707 lux Integer wm2fc(value) { return (wm2lux(value) 0.0929).toInteger() } or 4,896 fc

Looks like the SNELL driver might be your best option for your configuration, as I am out of time with this issue. I have other projects that are demanding my time and I realize that this is more than what I can diagnose.

pgitta commented 2 years ago

My station is set to KLux but no biggie. I understand. I have much more to worry about too :)

Thanks for looking. Still a great app. I tried to go with yours because it's an actual app that could be updated by the package manager rather than just driver code. (and the fact that it had stopped updating for a week)

Pete

On Wed, Feb 16, 2022 at 12:45 PM Kurt Sanders @.***> wrote:

Solar Radiation values can be set in my Hubitat Ambient Weather App preference options: ['W/m²':'Imperial Units (W/m²)','lux':'Metric Units (lux)', 'fc':'Foot Candles (fc)']. The default unit value is : "W/m²".

Your Solar Radiation value of 416 W/m^2 is being reported by the weather station as of 12:43pm EST, and the following alternative units are calculated as follows:

Integer wm2lux(value) { return (value 126.7).toInteger() } or 52707 lux Integer wm2fc(value) { return (wm2lux(value) 0.0929).toInteger() } or 4,896 fc

Looks like the SNELL driver might be your best option for your configuration, as I am out of time with this issue. I have other projects that are demanding my time and I realize that this is more than what I can diagnose.

— Reply to this email directly, view it on GitHub https://github.com/KurtSanders/STAmbientWeather/issues/26#issuecomment-1041926224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXJYZ37ZSAA2KQPJM6BZUTU3PPEHANCNFSM5OGFXFZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>