[PROJECT] Driver for Ambient API/Local and Ecowitt

Using the awnet app (Android, I do not know if it is the same with an iPhone app):

  1. Select you Ambient Weather station from the device list (it should open the "AmbientWeather . net" screen. Perform any firmware updates if it says there is one.
  2. Select the Next button in the top right, keep selecting it until you get to the "Customized" screen.
  3. Enter the IP/Hostname of your Hubitat as the Server IP/Hostname, leave the Path as "/data/report", set the Port to be 39501, and set the Upload Interval (the default 60 seconds is usually good) then select the Save button.
  4. Select the Finsh button in the top right.
  5. Keep the app open, you will need the MAC address of the station shortly...

At this point your Ambient Weather station is sending data to the Hubitat. The rest of this is performed on your Hubitat, you need to select your driver of preference, and since you are posting in my project thread, we will use mine as the example.

  1. Load both the parent driver (AmbientEcowittWeather.groovy) and child driver (WeatherSensorChild.groovy) onto your Hubitat.
  2. Add a new Virtual Device for your Hubitat.
  3. Set the Virtual Device's type to be AmbientEcowittWeather (bottom of the driver list most likely), enter a Device Name, and set the Device Network Id to be the MAC address of the station, but without any ":" in it. Ex: DC4F22590101. Then select the Save Device button.
  4. Once the page refreshes you should see a number of Preferences listed for the device. The REQUIRED one is to set the Weather Method to "Ambient Local" in this case. I also recommend enabling the "Enable Child Devices" so it splits up the data between various sensors. Then select the "Save Preferences" button.

At this point it should be done and working. Once it receives data from the weather station (~1 minute or so) it should start populating the data for the device(s).

3 Likes