-
Notifications
You must be signed in to change notification settings - Fork 14
Description
HI,
The integration was working perfectly until I rebooted to upgrade to 2024.11.1. Now all the blind entities show up, but when clicking on the up/down buttons, blinds do not respond.
Looking at the logs I see:
2024-11-30 07:37:58.885 ERROR (MainThread) [custom_components.neosmartblinds.neo_smart_blind] Parameters: {'id': '', 'command': '', 'hash': ''}
2024-11-30 07:37:58.885 ERROR (MainThread) [custom_components.neosmartblinds.neo_smart_blind] URL: http://192.168.5.15:8838/neo/v1/transmit
2024-11-30 07:37:58.886 ERROR (MainThread) [custom_components.neosmartblinds.neo_smart_blind] Server disconnected
2024-11-30 07:40:00.691 ERROR (MainThread) [custom_components.neosmartblinds.neo_smart_blind] Parameters: {'id': '', 'command': '', 'hash': ''}
2024-11-30 07:40:00.691 ERROR (MainThread) [custom_components.neosmartblinds.neo_smart_blind] URL: http://192.168.5.15:8838/neo/v1/transmit
2024-11-30 07:40:00.691 ERROR (MainThread) [custom_components.neosmartblinds.neo_smart_blind] [Errno 104] Connection reset by peer
When I ssh into home assistant, it appears the curl can not connect to the hub:
[core-ssh ~]$ curl http://192.168.5.15:8838/neo/v1/transmit
curl: (56) Recv failure: Connection reset by peer
The hub is definitely up and connected to wifi:
[core-ssh ~]$ ping 192.168.5.15
PING 192.168.5.15 (192.168.5.15): 56 data bytes
64 bytes from 192.168.5.15: seq=0 ttl=254 time=44.554 ms
Most curiously, logging into the neoblind app, I am able to control all the blinds, perfectly.
The last time this occurred (few weeks ago), I finally got it working after rebooting home assistant and the hub multiple times. Both the hub and the home assistant have static ips set and the wifi signal strength is strong according to unifi.
My random thoughts:
- Does the neoblind app use the same http api? If it doesn't perhaps something is happening to the endpoint on the hub. Either a general firmware bug or because the integration might not prior close connections (or something like that)
- I notice there is a hash included in the api request, is this api time dependant? Could there be clock drift between the hub/home assistant. The time in home assistant looks correct when compared to my macbook.
Thanks in advance,
Mark