-
Notifications
You must be signed in to change notification settings - Fork 14
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
Version 2.2 & groups #32
Comments
I planned to add an example to the readme, hadn't got to it yet. Based on my setup, I think your config could be something like this:
Using the group should automatically use the parent_group code. |
Great thanks - will give it a go. |
I used the code above and by gee-jay-bee - and it 'works' but sometimes 2 shades go up, sometimes 3, sometimes 4 (I only have 4 in this room) - I've tried just parent group and the code above - same results. Am I missing something? |
Do the blinds that go up all start moving at the same time or is there a delay between them? |
It appears that the ones that are going up are all going at the same time. If there's any logs I can look for (either on the neo hub or in HASS) - let me know and I'll try to find them. I was planning on trying to ratchet up the logs for the neosmartblinds integration to see if I could see anything more today. I appreciate the help! |
The integration emits some (hopefully) useful logs at debug level so worth setting that and repeating the test. The hub logs are not something we can access but their support team can look if we can't find anything in the integration logs (one of them is on discord). If the group blinds are all starting and stopping to move at the exact same time then it sounds like the group code is being used and that might suggest some of the blinds aren't always "hearing" the command perhaps? If they start moving one after another then the group behaviour is failing ... hopefully logs will help figure this out |
agreed - I 'feel' like some of the blinds are not getting the code or
hearing the command, although the hub is literally right below the blinds.
I can hit the remote and all other blinds that did/not go up/down will do
so all at once with the remote on the 'all' channel. (14 channel remote).
I'll crank up the logs and see what I can find. Thanks for the response -
I'll see what else I can find out.
…On Thu, Aug 11, 2022 at 9:50 AM gee-jay-bee ***@***.***> wrote:
The integration emits some (hopefully) useful logs at debug level so worth
setting that and repeating the test.
The hub logs are not something we can access but their support team can
look if we can't find anything in the integration logs (one of them is on
discord).
If the group blinds are all starting and stopping to move at the exact
same time then it sounds like the group code is being used and that might
suggest some of the blinds aren't always "hearing" the command perhaps? If
they start moving one after another then the group behaviour is failing ...
hopefully logs will help figure this out
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFSDSQA6FWMQSFQAG5HYAXLVYUHKRANCNFSM55UW56MQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
so I cranked up logging - saw this when I opened them, it knows that all 4
should be opened - but did not open the top-left blind.
this line caught my attention - why did it treat the top-left blind differently? You can see around that log time that it was checking each blind and then did something different with this one.:
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-02, issuing to
group command instead 131.146-15
2022-08-11 15:12:25.972 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245008351584]
Received {'type': 'call_service', 'domain': 'cover', 'service':
'close_cover', 'service_data': {'entity_id': 'cover.living_room_blinds_2'},
'id': 119}
2022-08-11 15:12:25.974 DEBUG (MainThread) [homeassistant.core]
Bus:Handling <Event call_service[L]: domain=cover, service=close_cover,
service_data=entity_id=cover.living_room_blinds_2>
2022-08-11 15:12:25.975 DEBUG (MainThread) [homeassistant.core]
Bus:Handling <Event call_service[L]: domain=cover, service=close_cover,
service_data=entity_id={'cover.bottom_left', 'cover.top_left',
'cover.bottom_center', 'cover.top_center'}>
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-02, checking for
aggregation 131.146-15
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] dn, observing blind
commands for 0.250s
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-05, checking for
aggregation 131.146-15
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] dn, observing blind
commands for 0.250s
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-03, checking for
aggregation 131.146-15
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] dn, observing blind
commands for 0.250s
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-04, checking for
aggregation 131.146-15
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] dn, observing blind
commands for 0.250s
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-02, issuing to
group command instead 131.146-15
2022-08-11 15:12:25.977 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-05, aggregated
to group command
2022-08-11 15:12:25.977 INFO (MainThread)
[custom_components.neosmartblinds.cover] Bottom - Left closing to 0
2022-08-11 15:12:25.977 DEBUG (MainThread) [homeassistant.core]
Bus:Handling <Event state_changed[L]: entity_id=cover.bottom_left,
old_state=<state cover.bottom_left=open; current_position=100,
current_tilt_position=50, device_class=blind, friendly_name=Bottom - Left,
supported_features=191 @ 2022-08-11T10:11:59.502618-05:00>,
new_state=<state cover.bottom_left=closing; current_position=0,
current_tilt_position=50, device_class=blind, friendly_name=Bottom - Left,
supported_features=191 @ 2022-08-11T10:12:25.977864-05:00>>
2022-08-11 15:12:25.978 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-03, aggregated
to group command
2022-08-11 15:12:25.978 INFO (MainThread)
[custom_components.neosmartblinds.cover] Top - Center closing to 0
2022-08-11 15:12:25.978 DEBUG (MainThread) [homeassistant.core]
Bus:Handling <Event state_changed[L]: entity_id=cover.top_center,
old_state=<state cover.top_center=open; current_position=100,
current_tilt_position=50, device_class=blind, friendly_name=Top - Center,
supported_features=191 @ 2022-08-11T10:11:59.502838-05:00>,
new_state=<state cover.top_center=closing; current_position=0,
current_tilt_position=50, device_class=blind, friendly_name=Top - Center,
supported_features=191 @ 2022-08-11T10:12:25.978176-05:00>>
2022-08-11 15:12:25.978 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-04, aggregated
to group command
2022-08-11 15:12:25.978 INFO (MainThread)
[custom_components.neosmartblinds.cover] Bottom - Center closing to 0
2022-08-11 15:12:25.978 DEBUG (MainThread) [homeassistant.core]
Bus:Handling <Event state_changed[L]: entity_id=cover.bottom_center,
old_state=<state cover.bottom_center=open; current_position=100,
current_tilt_position=50, device_class=blind, friendly_name=Bottom -
Center, supported_features=191 @ 2022-08-11T10:11:59.503024-05:00>,
new_state=<state cover.bottom_center=closing; current_position=0,
current_tilt_position=50, device_class=blind, friendly_name=Bottom -
Center, supported_features=191 @ 2022-08-11T10:12:25.978438-05:00>>
2022-08-11 15:12:25.978 DEBUG (Recorder)
[homeassistant.components.recorder.core] Processing task:
EventTask(event=<Event call_service[L]: domain=cover, service=close_cover,
service_data=entity_id=cover.living_room_blinds_2>)
2022-08-11 15:12:25.979 DEBUG (Recorder)
[homeassistant.components.recorder.pool.RecorderPool] Connection
<sqlite3.Connection object at 0x7f8d578c4e40> checked out from pool
2022-08-11 15:12:25.979 INFO (MainThread)
[custom_components.neosmartblinds.cover] Bottom - Left sleeping for 20.0 to
allow for close to 0, elapsed=0
2022-08-11 15:12:25.980 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":7,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.bottom_left","old_state":{"entity_id":"cover.bottom_left","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Left","supported_features":191},"last_changed":"2022-08-11T15:11:59.502618+00:00","last_updated":"2022-08-11T15:11:59.502618+00:00","context":{"id":"01GA6QCP0EZJEBA1AS0W9RYYE7","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.bottom_left","state":"closing","attributes":{"current_position":0,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Left","supported_features":191},"last_changed":"2022-08-11T15:12:25.977864+00:00","last_updated":"2022-08-11T15:12:25.977864+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.977864+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.980 DEBUG (Recorder)
[homeassistant.components.recorder.core] Processing task:
EventTask(event=<Event call_service[L]: domain=cover, service=close_cover,
service_data=entity_id={'cover.bottom_left', 'cover.top_left',
'cover.bottom_center', 'cover.top_center'}>)
2022-08-11 15:12:25.981 DEBUG (Recorder)
[homeassistant.components.recorder.core] Processing task:
EventTask(event=<Event state_changed[L]: entity_id=cover.bottom_left,
old_state=<state cover.bottom_left=open; current_position=100,
current_tilt_position=50, device_class=blind, friendly_name=Bottom - Left,
supported_features=191 @ 2022-08-11T10:11:59.502618-05:00>,
new_state=<state cover.bottom_left=closing; current_position=0,
current_tilt_position=50, device_class=blind, friendly_name=Bottom - Left,
supported_features=191 @ 2022-08-11T10:12:25.977864-05:00>>)
2022-08-11 15:12:25.981 DEBUG (Recorder)
[homeassistant.components.recorder.core] Processing task:
EventTask(event=<Event state_changed[L]: entity_id=cover.top_center,
old_state=<state cover.top_center=open; current_position=100,
current_tilt_position=50, device_class=blind, friendly_name=Top - Center,
supported_features=191 @ 2022-08-11T10:11:59.502838-05:00>,
new_state=<state cover.top_center=closing; current_position=0,
current_tilt_position=50, device_class=blind, friendly_name=Top - Center,
supported_features=191 @ 2022-08-11T10:12:25.978176-05:00>>)
2022-08-11 15:12:25.982 DEBUG (Recorder)
[homeassistant.components.recorder.core] Processing task:
EventTask(event=<Event state_changed[L]: entity_id=cover.bottom_center,
old_state=<state cover.bottom_center=open; current_position=100,
current_tilt_position=50, device_class=blind, friendly_name=Bottom -
Center, supported_features=191 @ 2022-08-11T10:11:59.503024-05:00>,
new_state=<state cover.bottom_center=closing; current_position=0,
current_tilt_position=50, device_class=blind, friendly_name=Bottom -
Center, supported_features=191 @ 2022-08-11T10:12:25.978438-05:00>>)
2022-08-11 15:12:25.984 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":13,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.bottom_left","old_state":{"entity_id":"cover.bottom_left","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Left","supported_features":191},"last_changed":"2022-08-11T15:11:59.502618+00:00","last_updated":"2022-08-11T15:11:59.502618+00:00","context":{"id":"01GA6QCP0EZJEBA1AS0W9RYYE7","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.bottom_left","state":"closing","attributes":{"current_position":0,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Left","supported_features":191},"last_changed":"2022-08-11T15:12:25.977864+00:00","last_updated":"2022-08-11T15:12:25.977864+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.977864+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.984 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":7,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.top_center","old_state":{"entity_id":"cover.top_center","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"device_class":"blind","friendly_name":"Top
-
Center","supported_features":191},"last_changed":"2022-08-11T15:11:59.502838+00:00","last_updated":"2022-08-11T15:11:59.502838+00:00","context":{"id":"01GA6QCP0E649ZSAQV7YTDNJEM","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.top_center","state":"closing","attributes":{"current_position":0,"current_tilt_position":50,"device_class":"blind","friendly_name":"Top
-
Center","supported_features":191},"last_changed":"2022-08-11T15:12:25.978176+00:00","last_updated":"2022-08-11T15:12:25.978176+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.978176+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.985 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":13,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.top_center","old_state":{"entity_id":"cover.top_center","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"device_class":"blind","friendly_name":"Top
-
Center","supported_features":191},"last_changed":"2022-08-11T15:11:59.502838+00:00","last_updated":"2022-08-11T15:11:59.502838+00:00","context":{"id":"01GA6QCP0E649ZSAQV7YTDNJEM","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.top_center","state":"closing","attributes":{"current_position":0,"current_tilt_position":50,"device_class":"blind","friendly_name":"Top
-
Center","supported_features":191},"last_changed":"2022-08-11T15:12:25.978176+00:00","last_updated":"2022-08-11T15:12:25.978176+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.978176+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.985 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":7,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.bottom_center","old_state":{"entity_id":"cover.bottom_center","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Center","supported_features":191},"last_changed":"2022-08-11T15:11:59.503024+00:00","last_updated":"2022-08-11T15:11:59.503024+00:00","context":{"id":"01GA6QCP0FAW3HXX5A01MHDQP6","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.bottom_center","state":"closing","attributes":{"current_position":0,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Center","supported_features":191},"last_changed":"2022-08-11T15:12:25.978438+00:00","last_updated":"2022-08-11T15:12:25.978438+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.978438+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.985 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":13,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.bottom_center","old_state":{"entity_id":"cover.bottom_center","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Center","supported_features":191},"last_changed":"2022-08-11T15:11:59.503024+00:00","last_updated":"2022-08-11T15:11:59.503024+00:00","context":{"id":"01GA6QCP0FAW3HXX5A01MHDQP6","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.bottom_center","state":"closing","attributes":{"current_position":0,"current_tilt_position":50,"device_class":"blind","friendly_name":"Bottom
-
Center","supported_features":191},"last_changed":"2022-08-11T15:12:25.978438+00:00","last_updated":"2022-08-11T15:12:25.978438+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.978438+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.985 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245008351584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.bottom_left":{"+":{"s":"closing","lc":1660230745.977864,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":0}}}}}}
2022-08-11 15:12:25.986 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245008351584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.top_center":{"+":{"s":"closing","lc":1660230745.978176,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":0}}}}}}
2022-08-11 15:12:25.986 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245008351584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.bottom_center":{"+":{"s":"closing","lc":1660230745.978438,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":0}}}}}}
2022-08-11 15:12:25.986 DEBUG (MainThread) [homeassistant.core]
Bus:Handling <Event state_changed[L]: entity_id=cover.living_room_blinds_2,
old_state=<state cover.living_room_blinds_2=open; current_position=100,
current_tilt_position=50, entity_id=['cover.top_center',
'cover.bottom_center', 'cover.top_left', 'cover.bottom_left'],
friendly_name=Living Room Blinds, supported_features=191 @
2022-08-11T10:12:03.810194-05:00>, new_state=<state
cover.living_room_blinds_2=closing; current_position=25,
current_tilt_position=50, entity_id=['cover.top_center',
'cover.bottom_center', 'cover.top_left', 'cover.bottom_left'],
assumed_state=True, friendly_name=Living Room Blinds,
supported_features=191 @ 2022-08-11T10:12:25.986964-05:00>>
2022-08-11 15:12:25.987 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140244992209584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.bottom_left":{"+":{"s":"closing","lc":1660230745.977864,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":0}}}}}}
2022-08-11 15:12:25.987 DEBUG (Recorder)
[homeassistant.components.recorder.core] Processing task:
EventTask(event=<Event state_changed[L]:
entity_id=cover.living_room_blinds_2, old_state=<state
cover.living_room_blinds_2=open; current_position=100,
current_tilt_position=50, entity_id=['cover.top_center',
'cover.bottom_center', 'cover.top_left', 'cover.bottom_left'],
friendly_name=Living Room Blinds, supported_features=191 @
2022-08-11T10:12:03.810194-05:00>, new_state=<state
cover.living_room_blinds_2=closing; current_position=25,
current_tilt_position=50, entity_id=['cover.top_center',
'cover.bottom_center', 'cover.top_left', 'cover.bottom_left'],
assumed_state=True, friendly_name=Living Room Blinds,
supported_features=191 @ 2022-08-11T10:12:25.986964-05:00>>)
2022-08-11 15:12:25.988 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140244992209584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.top_center":{"+":{"s":"closing","lc":1660230745.978176,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":0}}}}}}
2022-08-11 15:12:25.989 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140244992209584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.bottom_center":{"+":{"s":"closing","lc":1660230745.978438,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":0}}}}}}
2022-08-11 15:12:25.989 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140244992209584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.living_room_blinds_2":{"+":{"s":"closing","lc":1660230745.986964,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":25,"assumed_state":true}}}}}}
2022-08-11 15:12:25.989 INFO (MainThread)
[custom_components.neosmartblinds.cover] Top - Center sleeping for 20.0 to
allow for close to 0, elapsed=0
2022-08-11 15:12:25.990 INFO (MainThread)
[custom_components.neosmartblinds.cover] Bottom - Center sleeping for 20.0
to allow for close to 0, elapsed=0
2022-08-11 15:12:25.990 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":7,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.living_room_blinds_2","old_state":{"entity_id":"cover.living_room_blinds_2","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"entity_id":["cover.top_center","cover.bottom_center","cover.top_left","cover.bottom_left"],"friendly_name":"Living
Room
Blinds","supported_features":191},"last_changed":"2022-08-11T15:12:03.810194+00:00","last_updated":"2022-08-11T15:12:03.810194+00:00","context":{"id":"01GA6QCT7211G06QVEXE8Q5DQA","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.living_room_blinds_2","state":"closing","attributes":{"current_position":25,"current_tilt_position":50,"entity_id":["cover.top_center","cover.bottom_center","cover.top_left","cover.bottom_left"],"assumed_state":true,"friendly_name":"Living
Room
Blinds","supported_features":191},"last_changed":"2022-08-11T15:12:25.986964+00:00","last_updated":"2022-08-11T15:12:25.986964+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.986964+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.990 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245028705936]
Sending
{"id":13,"type":"event","event":{"event_type":"state_changed","data":{"entity_id":"cover.living_room_blinds_2","old_state":{"entity_id":"cover.living_room_blinds_2","state":"open","attributes":{"current_position":100,"current_tilt_position":50,"entity_id":["cover.top_center","cover.bottom_center","cover.top_left","cover.bottom_left"],"friendly_name":"Living
Room
Blinds","supported_features":191},"last_changed":"2022-08-11T15:12:03.810194+00:00","last_updated":"2022-08-11T15:12:03.810194+00:00","context":{"id":"01GA6QCT7211G06QVEXE8Q5DQA","parent_id":null,"user_id":null}},"new_state":{"entity_id":"cover.living_room_blinds_2","state":"closing","attributes":{"current_position":25,"current_tilt_position":50,"entity_id":["cover.top_center","cover.bottom_center","cover.top_left","cover.bottom_left"],"assumed_state":true,"friendly_name":"Living
Room
Blinds","supported_features":191},"last_changed":"2022-08-11T15:12:25.986964+00:00","last_updated":"2022-08-11T15:12:25.986964+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}},"origin":"LOCAL","time_fired":"2022-08-11T15:12:25.986964+00:00","context":{"id":"01GA6QDFVN2CN2S1RG4F8K6NHH","parent_id":null,"user_id":"79b30d63578d4a7fadfa367786f37442"}}}
2022-08-11 15:12:25.991 DEBUG (MainThread)
[homeassistant.components.websocket_api.http.connection] [140245008351584]
Sending
{"id":2,"type":"event","event":{"c":{"cover.living_room_blinds_2":{"+":{"s":"closing","lc":1660230745.986964,"c":{"user_id":"79b30d63578d4a7fadfa367786f37442","id":"01GA6QDFVN2CN2S1RG4F8K6NHH"},"a":{"current_position":25,"assumed_state":true}}}}}}
2022-08-11 15:12:26.052 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-15, Tx:
131.146-15-dn!bf
2022-08-11 15:12:26.069 DEBUG (MainThread)
[custom_components.neosmartblinds.neo_smart_blind] 131.146-15, Rx:
131.146-15-dn!bf
configuration.yaml for clarity.
cover:
- platform: neosmartblinds
name: Top - Left
host: <redacted>
hub_id: <redacted>
protocol: tcp
port: 8839
blind_code: 131.146-02
rail: 1
percent_support: 2
motor_code: bf
parent_group: 131.146-15
- platform: neosmartblinds
name: Bottom - Left
host: <redacted>
hub_id: <redacted>
protocol: tcp
port: 8839
blind_code: 131.146-05
rail: 1
percent_support: 2
motor_code: bf
parent_group: 131.146-15
- platform: neosmartblinds
name: Top - Center
host: <redacted>
hub_id: <redacted>
protocol: tcp
port: 8839
blind_code: 131.146-03
rail: 1
percent_support: 2
motor_code: bf
parent_group: 131.146-15
- platform: neosmartblinds
name: Bottom - Center
host: <redacted>
hub_id: <redacted>
protocol: tcp
port: 8839
blind_code: 131.146-04
rail: 1
percent_support: 2
motor_code: bf
parent_group: 131.146-15
- platform: group
name: Living Room Blinds
entities:
- cover.top_center
- cover.bottom_center
- cover.top_left
- cover.bottom_left
…On Thu, Aug 11, 2022 at 9:50 AM gee-jay-bee ***@***.***> wrote:
The integration emits some (hopefully) useful logs at debug level so worth
setting that and repeating the test.
The hub logs are not something we can access but their support team can
look if we can't find anything in the integration logs (one of them is on
discord).
If the group blinds are all starting and stopping to move at the exact
same time then it sounds like the group code is being used and that might
suggest some of the blinds aren't always "hearing" the command perhaps? If
they start moving one after another then the group behaviour is failing ...
hopefully logs will help figure this out
—
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFSDSQA6FWMQSFQAG5HYAXLVYUHKRANCNFSM55UW56MQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm struggling to read the log on my phone but I would expect one of the blinds to be nominated to take care of sending the command to the group whilst the others only track the state and don't send a command to the hub. This is the "aggregation" into one command. For a thinner log, you could try something like this:
|
better logs: 2022-08-12 20:15:49.691 DEBUG (MainThread) [custom_components.neosmartblinds.neo_smart_blind] 131.146-02, checking for aggregation 131.146-15 2022-08-12 20:15:49.821 DEBUG (MainThread) [custom_components.neosmartblinds.neo_smart_blind] 131.146-15, Rx: 131.146-15-dn!bf 2022-08-12 20:15:49.823 INFO (MainThread) [custom_components.neosmartblinds.neo_smart_blind] 131.146-02, connected to hub |
I'm thinking I need to stopwatch these and get that setting in there? Looks like it's sleeping for 0.0 waiting on it to close.. |
That log looks like it has correctly aggregated the request to close the covers into a single group command. I agree the sleep durations look weird ... I'd guess that the starting positions of all the blinds were different? Ultimately, when you simply ask for the blinds to close (or open) with no target position then the sleeping is decorative -- it simply updates the state to reflect the position based on time. For a sleep of zero, you wouldn't see the intermediate "closing" state and it would jump to "closed". If you see different numbers of blinds move each time the group command is sent then I do suspect it's a radio related problem. I previously faced a similar issue with my own grouped covers when using the app with the hub (no HA). One or two of the covers would not move reliably and would require a second command. I also had problems with the intermediate position, sometimes the cover would move all the way and some times it would stop at the intermediate position. In the end, I deleted the intermediate positions to solve that problem. The intermittent failure for the blind to move was trial and error, both fiddling with the antenna on the blind itself and moving the hub around the house for best coverage. It seems solid now. |
quick update - 2 times I've tested after adding the timing settings in for each blind - all 4 have open and closed together. I'll continue to test - but so far so good. If it changes, I'll report back - otherwise, assume this was the fix. |
If you hadn't set a value previously then I think it gets a default of 20s. I guess that if you did testing that started and stopped the blinds mid motion then the integration would calculate the stop position wrongly and everything would be out of sync. At that point, the group commands may not include some of the covers. With the config change, the integration would reset and hopefully all would go back in sync. I can't think of another reason why the close time could make a difference but happy if it's working ok! |
I wanted to respond back and let everyone know at least, this was not the solution. I still have random blinds not going up/down. I've removed the parent group and tried that - no luck. I've sent an email to the smart hub manufacture to see if there are any logs I can get etc to help troubleshoot this more. |
Hi @mtgeekman thanks for all your work on this one.
I just had some clarification questions regarding your v2.2 comments.
Until now I've created three blinds for one room which has two blinds in it - Lounge Left Blind, Lounge Right Blind and Lounge Blind which uses the room code. Mostly use this room code based one.
In your comments, were you saying I should stop doing it this way, and instead use HA groups configuration for that room code based one? Please see my config below.
Thx
James
The text was updated successfully, but these errors were encountered: