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

Fix Status for multiplug devices #3

Closed
jimboca opened this issue Jan 18, 2022 · 1 comment
Closed

Fix Status for multiplug devices #3

jimboca opened this issue Jan 18, 2022 · 1 comment
Assignees

Comments

@jimboca
Copy link
Collaborator

jimboca commented Jan 18, 2022

2022-01-17 22:57:57,300 Thread-6   udi_interface      DEBUG    SmartDeviceNode:shortPoll: enter: SmartStrip xxxx
2022-01-17 22:57:57,302 Thread-6   udi_interface      DEBUG    SmartDeviceNode:connect_a: enter: SmartStrip xxxxdev=<DeviceType.Strip model HS107(US) at 192.168.1.98 (TP-LINK_Smart Plug_9A56), is_on: True - dev specific: {'LED state': True, 'Childs count': 2, 'On since': datetime.datetime(2022, 1, 17, 22, 54, 47, 302421)}>
2022-01-17 22:57:57,304 Thread-6   udi_interface      DEBUG    SmartDeviceNode:connect_a: exit:True SmartStrip 68:FF:7B:72:9A:56 dev=<DeviceType.Strip model HS107(US) at 192.168.1.98 (TP-LINK_Smart Plug_9A56), is_on: True - dev specific: {'LED state': True, 'Childs count': 2, 'On since': datetime.datetime(2022, 1, 17, 22, 54, 47, 304018)}>
2022-01-17 22:57:57,305 Thread-6   udi_interface      DEBUG    SmartDeviceNode:set_state_a: enter: dev=<DeviceType.Strip model HS107(US) at 192.168.1.98 (TP-LINK_Smart Plug_9A56), is_on: True - dev specific: {'LED state': True, 'Childs count': 2, 'On since': datetime.datetime(2022, 1, 17, 22, 54, 47, 305584)}>
2022-01-17 22:57:57,307 Thread-6   udi_interface      DEBUG    SmartDeviceNode:update_a: enter: SmartStrip 68:FF:7B:72:9A:56 dev=<DeviceType.Strip model HS107(US) at 192.168.1.98 (TP-LINK_Smart Plug_9A56), is_on: True - dev specific: {'LED state': True, 'Childs count': 2, 'On since': datetime.datetime(2022, 1, 17, 22, 54, 47, 307131)}>
2022-01-17 22:57:57,309 Thread-6   kasa.protocol      DEBUG    protocol:_execute_query: 192.168.1.98 >> {"system": {"get_sysinfo": null}}
2022-01-17 22:57:57,326 Thread-6   kasa.protocol      DEBUG    protocol:_execute_query: 192.168.1.98 << {'system': {'get_sysinfo': {'alias': 'TP-LINK_Smart Plug_9A56',
                            'child_num': 2,
                            'children': [{'alias': 'Testplug1',
                                          'id': 'xxx',
                                          'next_action': {'type': -1},
                                          'on_time': 207,
                                          'state': 1},
                                         {'alias': 'Test plug 2',
                                          'id': 'xxx',
                                          'next_action': {'type': -1},
                                          'on_time': 207,
                                          'state': 1}],
                            'deviceId': 'xxx',
                            'err_code': 0,
                            'feature': 'TIM',
                            'hwId': '8C8082B06EE364901CE7C4C7CA101EB2',
                            'hw_ver': '1.0',
                            'latitude_i': 419626,
                            'led_off': 0,
                            'longitude_i': -876810,
                            'mac': '68:FF:7B:72:9A:56',
                            'mic_type': 'IOT.SMARTPLUGSWITCH',
                            'model': 'HS107(US)',
                            'oemId': '356F7E02C3AAA2D64FDAD8B0639D363E',
                            'rssi': -49,
                            'status': 'new',
                            'sw_ver': '1.0.10 Build 200622 Rel.142540',
                            'updating': 0}}}

@jimboca jimboca self-assigned this Jan 21, 2022
@jimboca
Copy link
Collaborator Author

jimboca commented Jan 21, 2022

Also issues with EP40 device:
EP40 outdoor dual outlet remote switch kind of works
Log available in my email from oztronix

@jimboca jimboca changed the title Add support for 2 plug devices like HS107 Fix Status for multiplug devices. Feb 18, 2022
@jimboca jimboca changed the title Fix Status for multiplug devices. Fix Status for multiplug devices Feb 18, 2022
@jimboca jimboca closed this as completed Feb 18, 2022
jimboca added a commit that referenced this issue Feb 18, 2022
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy