tlskinneriv / awnet_local

Enables local support for Ambient Weather personal weather stations.
27 stars 5 forks source link

Awnet_local not showing additional temp/humidity sensors in Home Assistant #1

Closed Gthubln060920 closed 2 years ago

Gthubln060920 commented 2 years ago

I have multiple temperature sensors monitored by my weather station console They are logged correctly by the AWNET addon as temp2f, temp3f, temp4f etc.. but are not exposed as entities. I do see 20 other sensors Any ideas?

Here is the log of AWNET

[19/Jan/2022 13:42:06] "GET ?stationtype=AMBWeatherV4.3.2&PASSKEY=80:71:30:7D:51:86&dateutc=2022-01-19+19:42:06&tempinf=68.7&humidityin=30&baromrelin=28.984&baromabsin=28.984&tempf=18.0&humidity=74&winddir=299&windspeedmph=4.5&windgustmph=5.8&maxdailygust=20.6&hourlyrainin=0.000&eventrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=0.024&yearlyrainin=0.024&solarradiation=127.10&uv=1&temp2f=36.1&temp3f=36.7&humidity3=53&temp4f=59.2&humidity4=40&temp5f=66.6&humidity5=35&temp6f=66.4&humidity6=37&temp7f=67.6&humidity7=34&batt_co2=1 HTTP/1.1" 200 0

The sensors that I see: sensor.home_weather_daily_rain sensor.home_weather_event_rain sensor.home_weather_hourly_rain_rate sensor.home_weather_humidity sensor.home_weather_humidity_in sensor.home_weather_inside_temp sensor.home_weather_lifetime_rain sensor.home_weather_max_gust sensor.home_weather_monthly_rain sensor.home_weather_rel_pressure sensor.home_weather_solar_rad sensor.home_weather_temp sensor.home_weather_uv_index sensor.home_weather_weekly_rain sensor.home_weather_wind_dir sensor.home_weather_wind_gust sensor.home_weather_wind_speed

tlskinneriv commented 2 years ago

Hi! Right now the sensors are hardcoded at least until I or someone finds a way to the add-on to tell HA to add the specific sensors that are available (haven't had enough time to explore yet). They can be hardcoded in for now, and I should be able to get that in sometime this weekend or if you want to submit a PR, I'd be happy to ingest the changes.