[DEPRECIATED] Network Connected Ambient Weather Station V6

Dear @cordump

Thanks. I have this same Ambient Weather station and did not even know that inside ‘feelsLike’ value existed. But I verified on my Ambient.net dashboard, and determined that Ambient calculates this value on the server side, not in the API.

It’s weird, as Ambient has a tech article that says, " The Outdoor Temperature And Feels Like Temperature Are The Same". The actual calculation is complex for Heat Index and when the temperature is below 80F, the feelsLike value is very close to actual temperature.

If you are using a WebCore Piston, you can create a formula to calculate the feelsLike value from the inside temperature and humidity and take some device action.

Use the following heat index formula:

HI = -42.379 + 2.04901523*T + 10.14333127*RH - .22475541*T*RH - .00683783*T*T - .05481717*RH*RH + .00122874*T*T*RH + .00085282*T*RH*RH - .00000199*T*T*RH*RH

For example, if you had a temperature of 96 degrees and a relative humidity of 0.7, you would get a heat index of about 126 degrees Fahrenheit.

I have successfully added a second SmartApp for a second station but I am confused about naming the remote sensors. The SmartApp reads as if I should be able to give them names in the app but there are no fields to do so. Also, even though both sensors have unique “channels” and show up correctly in the Ambient Weather dashboard I am seeing two sensors that appear to be duplicated in the SmartThings Classic app. They have unique names but identical measurements.

1 Like

@dbowles1975, I will PM you to discuss and get this problem solved!

Hello. The notifications of moisture/rain detection are making me crazy. Well, crazier than normal. I deleted my device and built if from scratch again making sure I never set the “Notify when rain detected” switch on, but yet, I still get the notices. I wouldn’t mind but for a rainy day, they stop, start, stop, etc. I’ve contemplated moving to a dryer climate but there must be a simpler solution. Any ideas? Thanks!!

That’s not good for you! There is a preference setting to notify one every 24 hours, does that suppress the repeated messages?

How are you being notified by Ambient Weather App, through SMS in which you would had to submit your phone number, or through the SmartThings notifications mobile App?

I can re-look at the code after this weekend, as I suspect some bug in my logic. :nauseated_face:

Hi Kurt. Thanks, I’ll try the 24 hour option and wait a few days for rain.
I get the “active notice” from Smartthings mobile app. I set my phone number to a land line at my office that isn’t in use, so I no longer get those.
It doesn’t let me remove my number…I had to put something in.
Thanks for the help, much appreciated.

1 Like

Thanks Mike,

I will check why the notifications are being sent as soon as the holiday week is over! I’m glad you reported the bug.

The phone number is required, so entering a land line is perfect. I will also look at that and see if I can make it optional!

There’s no hurry, have a nice holiday weekend!!

1 Like

By the way, the 24 hour option does not help. I was pretty sure I had already tried that but couldn’t swear to it, so I waited and watched again. Sure enough, I get a few notices with an hour during the last storm.

1 Like

Thanks Mike for finding this unexpected bug…I will into a fix as soon I return from extended travel…

Hi @kurtsanders! Thanks again for this.

I have 5 remote temp sensors added through your app and all are working great. Just recently I tried to add a 6th… all 6 appear in the aw.net console and your app detects that there are 6, but there’s no options to rename them in app setup and so the 6th one never gets added as an ST device.

Nothing appears when I try and scroll down on the attached screenshot. On the latest app/dth. Any ideas?

edit: grabbed the following from the log but not sure it helps:
Missing ST Device 72c24338-10be-XXXX-b85d-25f8b858d945:MyAmbientRemoteSensor6 for humidity6

edit2: tried manually created a device with 72c24338-XXXX-40fc-b85d-25f8b858d945:MyAmbientRemoteSensor6 as the device ID but it didn’t seem to work

I will be happy to investigate this when l return next week from vacation…

1 Like

Cheers :beers:, enjoy the rest of your vacation.

1 Like

This issue reported by @johnny2678 was resolved with Ambient Weather Station Version 4.10 which is now merged into the ‘master’ branch repository.

1 Like

Hi Kurt,

Just came across this integration that make both ST and my Weather Station more interesting. Appreciated your great work.

I use US version of ST in Thailand and I found that when setting up the integration, I have to enter a 5 Digit US Zip code. The only valid US Zip I can think of at that time was 90210 but I actually didn’t want to know how the weather like in Beverly Hills. Is it possible to enter the location where I live or if no other choice, it that feature be turned off?

Thanks.

1 Like

**V4.11 ** Support for International Weather Conditions in Ambient Weather App

Dear @Kenny_C,

Thanks for pointing my USA centric coding in Ambient Weather App. I have been adding more features for the non USA clients, like metric results and now weather conditions.

After some digging on the TWC API and additional coding, I have just added support in Ambient Weather App v4.11 for latitude and longitude coordinates in addition to 5 digit USA zipcodes. See below for Bangkok in my ST weather tile! Please enter latitude,longitude coordinates as decimal. For example, Bangkok, Thailand would be entered as 13.736717,100.523186

Please try this new 4.11 Ambient Weather APP release and let me know if it works for you overseas!

Ambient Weather Station

**V4.11 **

Feature Request:

  1. Added the ability to either a 5 digit USA zipCode or a latitude,longitude for geo location Weather conditions, forecasts, etc in support of International user base. If the numeric format entered does not match a valid zipCode NNNNN or latitude,longitude ±NNN.NNN,±NNN.NNN string, the ST hub’s default geo location coordinate will be used.
  2. Validation of geo location is a Regex string test of ^(-?\d+(.\d+)?),\s*(-?\d+(.\d+)?)$|[1]{5}$)

ST GitHub Settings for 4.11

Name Value
Owner kurtsanders
Name: STAmbientWeather
Branch master

Required Files MUST be installed and published to your SmartThings IDE Repositories (Use ‘:arrow_down:Update from Repo’)

IDE Repository Filename Status
My SmartApps kurtsanders : Ambient Weather Station Updated
My Device Handler kurtsanders : Ambient Weather Station UnChanged
My Device Handler kurtsanders : SmartWeather Tile Station UnChanged
My Device Handler kurtsanders : Ambient Weather Station Remote Sensor UnChanged

Required: Please run Ambient Weather Station SmartThings SmartApp setup after installing these updated files.


  1. 0-9 ↩︎

1 Like

Hi Kurt,

The 4.11 with coordinate does work now. Many thanks for quick response.

Kanok

1 Like

Have you or anyone on this thread ever tried or ported this on Hubitat Elevation? @kurtsanders

I have not since I do not own a Hubitat.

I would like to try and would attempt to not bug you with questions. I would give you all credits for your work on the Hubitat community forum. Any concerns?

LJ

1 Like