Skip to content
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

Getting all characteristics sent in one request #401

Open
mohanisch opened this issue Mar 1, 2022 · 0 comments
Open

Getting all characteristics sent in one request #401

mohanisch opened this issue Mar 1, 2022 · 0 comments

Comments

@mohanisch
Copy link

mohanisch commented Mar 1, 2022

Hi,

is it possible to get all characteristics sent in one event done by a scene from iOS device?
I want to queue all events to send less requests and bundle them.

I see this in the logs after a calling a scene within two lightbulbs:
2022-03-01 06:09:55,570 pyhap.hap_handler.handle_set_characteristics : DEBUG [61998] ('10.11.12.133', 59955): Set characteristics content: {'characteristics': [{'aid': 2863159884, 'iid': 9, 'value': 1}, {'aid': 3277573387, 'iid': 9, 'value': 1}, {'aid': 3277573387, 'iid': 10, 'value': 100}, {'aid': 2863159884, 'iid': 10, 'value': 100}]} 2022-03-01 06:09:55,570 pyhap.characteristic.client_update_value : DEBUG [61998] client_update_value: On to True (original: 1) from client: ('10.11.12.133', 59955) 2022-03-01 06:09:55,570 pyhap.characteristic.set_value : DEBUG [61998] set_value: Brightness to 0 2022-03-01 06:09:55,571 pyhap.characteristic.client_update_value : DEBUG [61998] client_update_value: Brightness to 100 (original: 100) from client: ('10.11.12.133', 59955) 2022-03-01 06:09:55,571 pyhap.characteristic.set_value : DEBUG [61998] set_value: Brightness to 100 2022-03-01 06:09:55,571 root._set_chars : INFO [61998] Light _set_chars: {'On': 1, 'Brightness': 100} 2022-03-01 06:09:55,571 pyhap.characteristic.client_update_value : DEBUG [61998] client_update_value: On to True (original: 1) from client: ('10.11.12.133', 59955) 2022-03-01 06:09:55,571 pyhap.characteristic.set_value : DEBUG [61998] set_value: Brightness to 0 2022-03-01 06:09:55,571 pyhap.characteristic.client_update_value : DEBUG [61998] client_update_value: Brightness to 100 (original: 100) from client: ('10.11.12.133', 59955) 2022-03-01 06:09:55,571 pyhap.characteristic.set_value : DEBUG [61998] set_value: Brightness to 100 2022-03-01 06:09:55,572 root._set_chars : INFO [61998] Light _set_chars: {'On': 1, 'Brightness': 100}

How can I get these characteristics?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant