-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding some instructions #2
Comments
Is there anything suspicious in the logs? I haven't tested this integration outside of my own environment and Davis' documentation is rather sparse so it's quite likely that there are still some issues to work out. |
This is what the log shows: Traceback (most recent call last): |
Ah right, that's what I expected... You see, the documentation doesn't specify whether certain values are optional or not so I just had to guess. |
If you would, could you please send me the JSON payload from
That way I can compare it against my current knowledge and hopefully fix other issues like this pre-emptively. |
Sure, here it is. In case it's not clear, I have the main ISS on channel 1 and a separate anemometer reporting on channel 2. I'm in the UK, so using metric raincup size, and working in degrees C. But some of the returned values look odd - for example the temperature appears to be in degrees F. {"data":{"did":"001D0A71472B","ts":1621686244,"conditions":[{"lsid":418773,"data_structure_type":1,"txid":1,"temp": 52.1,"hum":59.1,"dew_point": 38.2,"wet_bulb": 43.9,"heat_index": 51.1,"wind_chill":null,"thw_index":null,"thsw_index":null,"wind_speed_last":null,"wind_dir_last":null,"wind_speed_avg_last_1_min":null,"wind_dir_scalar_avg_last_1_min":null,"wind_speed_avg_last_2_min":null,"wind_dir_scalar_avg_last_2_min":null,"wind_speed_hi_last_2_min":null,"wind_dir_at_hi_speed_last_2_min":null,"wind_speed_avg_last_10_min":null,"wind_dir_scalar_avg_last_10_min":null,"wind_speed_hi_last_10_min":null,"wind_dir_at_hi_speed_last_10_min":null,"rain_size":2,"rain_rate_last":0,"rain_rate_hi":0,"rainfall_last_15_min":0,"rain_rate_hi_last_15_min":0,"rainfall_last_60_min":0,"rainfall_last_24_hr":54,"rain_storm":213,"rain_storm_start_at":1621054081,"solar_rad":283,"uv_index":null,"rx_state":0,"trans_battery_flag":0,"rainfall_daily":30,"rainfall_monthly":251,"rainfall_year":251,"rain_storm_last":38,"rain_storm_last_start_at":1620901021,"rain_storm_last_end_at":1621044061},{"lsid":418774,"data_structure_type":1,"txid":2,"temp":null,"hum":null,"dew_point":null,"wet_bulb":null,"heat_index":null,"wind_chill":null,"thw_index":null,"thsw_index":null,"wind_speed_last":3.00,"wind_dir_last":252,"wind_speed_avg_last_1_min":1.18,"wind_dir_scalar_avg_last_1_min":251,"wind_speed_avg_last_2_min":1.00,"wind_dir_scalar_avg_last_2_min":251,"wind_speed_hi_last_2_min":4.00,"wind_dir_at_hi_speed_last_2_min":250,"wind_speed_avg_last_10_min":2.56,"wind_dir_scalar_avg_last_10_min":254,"wind_speed_hi_last_10_min":10.00,"wind_dir_at_hi_speed_last_10_min":266,"rain_size":1,"rain_rate_last":0,"rain_rate_hi":0,"rainfall_last_15_min":0,"rain_rate_hi_last_15_min":0,"rainfall_last_60_min":0,"rainfall_last_24_hr":0,"rain_storm":null,"rain_storm_start_at":null,"solar_rad":null,"uv_index":null,"rx_state":0,"trans_battery_flag":0,"rainfall_daily":0,"rainfall_monthly":0,"rainfall_year":0,"rain_storm_last":null,"rain_storm_last_start_at":null,"rain_storm_last_end_at":null},{"lsid":418764,"data_structure_type":4,"temp_in": 74.4,"hum_in":41.0,"dew_point_in": 49.2,"heat_index_in": 73.5},{"lsid":418763,"data_structure_type":3,"bar_sea_level":29.660,"bar_trend": 0.054,"bar_absolute":29.259}]},"error":null} |
Yeah, the weatherlink live station always uses its own units regardless of what you set (the only exception is the rain stuff which is reported in cup counts) Anyway, thanks a lot for this! I learned some new things about the API from looking at this. Turns out it's is even more janky than I expected. |
Many thanks! Can I try that, and report back any issues? Probably tomorrow now |
Yeah, I just released it as v0.2.7. |
Ok, I quickly reloaded the integration, restarted HA, and got this - 2021-05-22 15:35:27 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform weatherlink |
That doesn't look like you're running the new version. Are you sure you're running 0.2.7? |
Great! |
It's all working perfectly. Thanks so much for working on this, it makes things so much easier! Happy to check out the unit options once you've done them. Any chance of wind in miles per hour? |
The link to the documenation page (via the three dots on the integration card) isn't right: it points to http://homeassistant.local:8123/config/undefined |
Just released version 0.3 which contains the unit configuration among other things. |
Hi, just across this repo when it was mentioned yesterday in this thread: https://community.home-assistant.io/t/davis-weatherlink-integration/134737/25. It looks very good, and I'd like to try it out, but I'm not very experienced and am struggling without instructions. Have managed to add the integration and can see the device plus lots of entities, but they are all 'unavailable'. Can you help me complete the setup, please?
I and I'm sure others would appreciate it if you had time to add some setup instructions and perhaps an option or two for sample frequency, units, rain cup size etc
The text was updated successfully, but these errors were encountered: