[PROJECT] Driver for Ambient API/Local and Ecowitt

I will look into preventing it from showing. I even see I replied to you then about it... but I completely forgot about that and the checking I did then (from my response). In fact, I have no recollection at all about it...

Something will be done about it. Hopefully by this weekend (yes, I know it is only Monday... this week looks like a mess).

Thanks for bringing it back up so I can actually deal with it. Good to have the reminder.

1 Like

Updated Version(s):

  • AmbientEcowittWeather.groovy = 0.8.14

Change(s):

  • Check for CO2/pm2.5 related data when the CO2 battery data is received. If the other samples are not found within the data it will ignore the battery data, thus not creating a device if ONLY the CO2 battery data is provided. Thanks to @jlv for bringing this back to my attention.
  • Changes to how event and state processing are performed.
1 Like

I think I have misunderstood the requirements for local method. I got a couple WN31s. They don't connect directly to Hubitat? Do I have to get a base station like the 1200, set it up through a phone app, add the WN31s and THEN do this integration for local method?

Correct.

A phone app is not necessary. But the rest is accurate.

Also, FWIW, there's a cheaper alternative to ecowitt/Ambient sensors and base-stations, which still works with @snell's integration. It is branded "Misol", and described in this post:

1 Like

The basestation GW1200 equivalent on Aliexpress has the Misol version for $18 AND shipping. For a couple bucks more, I got the Ecowitt from Amazon in a couple of hours. Maybe the prices on AliExpress have gone up since 2023, or the prices on Amazon have gone down, but difference is not very significant. :man_shrugging:t4: I feel as though I'm missing something obvious.

A GW1200 and 2x WN31s later, and I'm able to monitor the freezers before they fail and spoil a lot of food. Last time wasn't fun.

2 Likes

@snell here are the screenshots you had requested from the other user.





In the 4th screenshot, "Enabled" button should actually should be labeled "Enable".

Thank you for this fantastic set of drivers!

Ecowitt just responded to my email saying that they will "correct this spelling error shortly." along with Disabled -> Disable on the Customized screen.

Actually, it was @sburke781 that asked that it be moved over to one of the other Ecowitt driver pages here.

From my perspective, those look like fairly typical screenshots if you want to direct the data to a Hubitat for my driver, which is this thread, or another driver (such as the one linked above).

1 Like

@snell, sorry. Got my threads mixed up.

Which does remind me. Could you please update the instructions for Ecowitt Local setup in your main driver? I spent an embarrassingly amount of time trying to find that Customize screen in the Ecowitt app. Hopefully will save another person some time.

Which app were you using to configure it? My instructions are based around the WSView Plus app, and after a quick double check they would basically be unchanged (the only difference since the last time I updated it is that step 4 where I say to select Next would now be swiping through the list of Weather Services).

From the screenshots you posted it LOOKS like the steps might be:

  1. Select your Ecowitt Gateway from the list of devices
  2. Select the menu "..." option
  3. Select "Others" from the dropdown
  4. Select the "DIY Upload Servers" button
  5. Select the "Customized" icon
  6. Select the "Enabled" or "Enable" button (varies by whether typo is corrected or not)
  7. On the customized page:
    a) Validate that the Protocol Type is set to Ecowitt
    b) Configure the Server IP / Host Name to match your Hubitat's IP / Hostname
    c) Configure the port for 39501
    d) Make sure the Path is data/report/
    e) Select an Upload Interval (Note: it is recommended to be 300 seconds or greater to minimize load on the Hubitat).
  8. Select the Save button

If you can confirm those steps, and what app they are for, I can add them into the directions.

  1. button will only appear if it's not already enabled
    7d) ... which is the default.

The app is the Ecowitt app which was in the device setup instructions.

Thank you.

Thanks. I only referenced Ecowitt Gateway app, which actually does not exist (oops). The "WSView Plus" app is the one I have, but it appears the same company also offers the "WS View" (I remember having that in the past at some point) and the "Ecowitt" app. So my guess is that these should be for the "Ecowitt" app. I have updated the driver instructions and published it, although it will not be flagged as new as I am not changing the version at the moment (no code change).

Thanks for the points on 6 and 7d, and for bringing this up in general.

1 Like

Should I be using the WSView Plus app?

If the other one works for you, use it. It might be newer than the WSView Plus, might be just a different one they have made... no idea. I have used it for some time just for setting up my system (I do not use it to look at the weather, only to change or reset things related to my gateway). One of those, "if it works for you, why change" type of scenarios.
:slight_smile:

1 Like

I believe with the introduction of the newer gateway(s) , e.g. the G2K, they introduced a new app / web interface. I'm also a WS View guy... using a GW1K gateway.... I haven't become a Wittboy just yet :slight_smile: From what I understand most of the data feed setup is essentially the same.

Makes sense that they would update it... creating a new app seems silly, although the WSView had a pretty bad rating (<3) so maybe they decided to make it a clean slate.

I have not upgraded my weather station in a long time, it is still an Ambient WS-2902 with the GW1000 gateway for the Ecowitt portion. But I ALSO have a Tempest... so two stations is enough (it used to be 3 with ANOTHER manufacturer, but that one broke when bringing it down for battery replacement and never directly integrated with Hubitat so I felt no need to replace it). Plus I have all my weather service driver stuff also... and I am not a "weather" guy. I barely even look at the temperature.
:slight_smile:

Just want to say! thank you for this integration!

1 Like