[PROJECT] Driver for Ambient API/Local and Ecowitt

@snell Everything looks good except I see where WindChill is Null. Otherwise all is working.

WindChill probably would be null at this time.

It is only calculated when it is cold... so <50 degrees AND when wind speed is > 3. Similarly, HeatIndex is only calculated when it is >=80 degrees

I have not found any way to clear the "Current States" of Hubitat besides replacing the values. So if you send a value but then never send a new event it will always remain that old value. In the case of WindChill and HeatIndex, those would stick around even when they are not being calculated anymore. So rather than leave bad values there that might be confusing I chose to send them as null.

Got it. Sounds good. It is working great BTW. It is too bad the 2902 doesn't give the battery attribute. It would be nice to monitor that as well. Really not a problem for this unit because the display has it.

Perhaps a firmware upgrade? I didn't have battery values either until the firmware upgrade that was necessary for the Observer IP bridge to add support for the add-on sensors. I realize your unit doesn't use the Observer IP bridge, but maybe there's still an upgrade to the display (which is taking on the role of an Observer IP bridge in your case).

Thanks, I will look into seeing if there is an upgrade.

1 Like

Hey, it works! :smiley: This is the exact same sensor that Ambient Weather uses. And even though they sell it on Amazon as an ECOWHITT WH32 vs Ambient Weather's WH32E, it actually says WH32E on the back of it. Nice!

So if anyone is looking for replacement sensors for their Ambient Weather station, I can confirm this particular one is an exact replacement for the outdoor WH32E sensor and you should try Ecowitt first. Was less expensive too. $12.99 vs $18.79 for the Ambient Weather WH31B add-on outdoor sensor.

https://www.amazon.com/gp/product/B07MZ4RWY1/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&amp;psc=1

1 Like

Is it reporting as a tempf or temp1f?

1 Like

tempf ! :grin:

1 Like

Nice!

I'm thinking of purchasing one of these ambient weather stations for my home. Can someone tell me what I will need to purchase to make this work successfully? I see several different options?

I use this one Ambient Weather WS-2902A Smart Weather Station with WiFi Remote Monitoring and Alerts

2 Likes

You may also consider Ecowitt. It’s the same Fine Offset equipment, and there should be a driver for it soon too.

1 Like

FYI - The lastest firmware for the GW1000 has been released and it supports custom endpoint for URL posting. Now the GW1000 can be integrated with any system that can accept a POST and parse the input.

1 Like

Can you give an example of how you would parse the input in HE?

No sorry. I haven't done any HE development in a long time. The data is in the body in standard form format though.

param=value&param1=value1&param2=value2& and so on...

1 Like
def data = "session=234567893egshdjchasd&userId=12345673456&timeOut=1800000"
def map = [:]

data.split("&").each {param ->
    def nameAndValue = param.split("=")
    map[nameAndValue[0]] = nameAndValue[1]
}
log.debug "$map.userId, $map.timeOut"
1 Like

Have I missed a release of the driver for the Ecowitt below? I see it mentioned so I was wondering. Thanks

No, but the prerequisites for one are here

Off topic but I thought you @SmartHomePrimer might be of interest as you use Insteon as well. I'm finishing up the Nodeserver for ISY and it should be released later this week.

1 Like

:sunglasses: I’m not an ISY user, but I always like seeing options for Insteon. Unless you use it, you’ll never know just how good their quality devices are when locally integrated with HE.