tlskinneriv / awnet_local

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

Can't get device working #5

Closed sfatula closed 2 years ago

sfatula commented 2 years ago

I have a WS-2902B. I go to the awnet app on IOS, to the custom server screen and set protocol to Ambient Weather, enter ip 192.168.3.20 (IP of HASS machine), path ?, port 7080, and upload interval 60 and save it. There is no complete or finish screen on IOS.

I installed the awnet_local code into config direction, custom_components/awnet_local. I entered a name and the mac address of the display unit (with colons) to the mac address field (I copy and pasted the mac so no error). The device and numerous entities show up. All sensors are unavailable.

I then install the addon AWNET to HASS using your hassio-addons link. I do not change the port in it's configuration. I start it, it's running. Log just shows startup messages. Left it running for a long time, hours, nothing changes or is updated.

Curiously to me, if I go to the settings -> integration screen and click on the integrations "1 device", the screen briefly says "Device / service not found" but then brings up the device. Everything unavailable.

If I go to developer tools -> services, I do see there is a Ambient Weather Local service. So, the service is there.

I set logs to debug level, didn't find any errors anywhere. So, no idea where to look or what to do. This is on a Raspberry PI supervised version, supported under Debian 11. Home Assistant version 2022.6.5. Python is 3.9.12.

sfatula commented 2 years ago

I was able to find a routing issue from the weather station to the Home Assistant machine. Works now, I am sorry for opening the issue. Took so many hours, and all my fault!