-
Notifications
You must be signed in to change notification settings - Fork 0
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
No data on Home Assistant (green) 2024.11.1 #34
Comments
Did you setup the forward to HA with the access token? You can't simply push use the HA URL from the integration without authentication, HA does not allow that.
I will have to improve the documentaiton for that by a lot I think. Go to your user profile in the bottom left. Then at the top Security and there at the bottom create a Long-lived Access Token. Then add it as Header in your nginx-proxy-manager that is send to the backend. Similar to the line here: https://github.com/lhw/cloudweatherproxy/blob/main/examples/Caddyfile#L13 |
Thanks for the answer. I set it up as in the screenshots and I get this info in the proxy logs: /weatherstation/updateweatherstation.php /wunderground/weatherstation/updateweatherstation.php No data appears in any option. |
I did curl directly to HomeAssistant and got an OK response and data appear in the sensor. C:\Users\pkruszewski>curl -G "http://10.0.3.185:8123/wunderground/weatherstation/updateweatherstation.php" --data-urlencode "ID=IMIECI2" --data-urlencode "PASSWORD=xxxxx" --data-urlencode "dateutc=2024-11-18 18:31:25" --data-urlencode "baromin=29.53" --data-urlencode "tempf=38.2" --data-urlencode "humidity=88" --data-urlencode "dewptf=35.0" --data-urlencode "rainin=0" --data-urlencode "dailyrainin=0.01" --data-urlencode "winddir=270" --data-urlencode "windspeedmph=6.1" --data-urlencode "windgustmph=9.8" --data-urlencode "UV=0" --data-urlencode "solarRadiation=0" -H "Authorization: Bearer xxxxx" |
I have never used nginx proxy manager. But the second screenshot mentions at the bottom that the header functions do not work in that block. So likely something you have to investigate. |
This configuration works well:
The only problem is that data not appear in the cloud (both). |
I compared the sensors that appeared (11) with the data sent in the queries and there is a difference. Queries sometimes have 11 values and sometimes 12. There is not always a “chill” parameter. In HomeAssistant it does not appear at all. [18/Nov/2024:23:39:42 +0100] - 200 200 - GET http api.weathercloud.net "/v01/set/wid/80f7a4ec8e7bbc8b/key/xxx/bar/10022/temp/21/hum/87/wdir/220/wspd/6/dew/1/heat/21/rainrate/0/rain/6/uvi/0/solarrad/0" [Client 10.0.3.92] [Length 2] [Gzip -] [Sent-to 10.0.3.185] "lwIP/2.1.2" "-" |
I analyzed the code and the missing of this sensor was due to its lack in the [aiocloudweather] library . I added it and asked it to be included. |
System Health details
Home Assistant (green) 2024.11.1
Checklist
Describe the issue
Does the integration work with the latest version of Home Assistant (green) 2024.11.1?
I installed the integration via HACS and added it.
A screen appeared with the option to select
I checked Weathercloud once, Weather Underground once and both once.
None of the settings make the data appear.
On the router I redirected DNS queries and also set on Nginx Proxy Manager to redirect the port from 80 to 8123:
Nginx logs show traffic:
10.0.3.92 - - [15/Nov/2024:18:01:43 +0100] "GET /v01/set/wid/xxx/key/xxx/bar/10130 HTTP/1.1" 301 162 "-" "lwIP/2.1.2"
10.0.3.92 - - [15/Nov/2024:18:02:47 +0100] "GET /weatherstation/updateweatherstation.php?ID=xxx&PASSWORD=xxx&dateutc=2024-11-15+17%3A2%3A43&baromin=29.92 HTTP/1.1" 301 162 "-" "lwIP/2.1.2"
Anything else I should set?
Reproduction steps
I installed the integration via HACS and added it.
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: