home-assistant-libs / aioecowitt

Simple python library for the EcoWitt Protocol
Apache License 2.0
18 stars 14 forks source link

Add support for Ambient Weather variant #174

Open PhracturedBlue opened 6 months ago

PhracturedBlue commented 6 months ago

AmbientWeather and Ecowitt use nearly identical protocols. Ecowitt uses a POST form, whereas AmbientWeather sends all data as params with a GET request.

The only other differences I found with my WS2902 was it sends 'batt_co2' instead of 'co2_batt' (even though it doesn't have any co2 sensor)

This plus a small home-asistant patch enabling 'GET' in the webhook were the only changes I needed to get my weather station working with HASS.