Comments (24)
If s220 is stateful, I can integrate It
from home-assistant-tapo-p100.
The s220 devices seem to have no controls related to them in the devices menus in HASS. Can't add any automations, no info on the device, no entities etc. It
from home-assistant-tapo-p100.
Same here - the S210 has no listed entities in the Integration.
from home-assistant-tapo-p100.
This would be great!
from home-assistant-tapo-p100.
As reported here buttons in general doesn't allow getting a "live click event". This is especially true for S200B button which doesn't report "is_on", but if S220 support "is_on" and report it, I will add suport for this
from home-assistant-tapo-p100.
Same here the S220 switch has no entities.
from home-assistant-tapo-p100.
"As reported here ..."
Wow, thanks man - that's explaining so much. Couldn't believe it's truly a full non-local device in the moment of purchase.
Damn wrong hardware ... AGAIN!
from home-assistant-tapo-p100.
The Tapo s200b is simply a low power button and completely different. I can understand that this will simply act as a trigger and no more and is not stateful. The hub cannot know a state since its just a 'pulse' of 'on-off'.
The s220 is a stateful power switch, which certainly should support entities in home assistant via the hub since it has defined on and off states and also battery level.
from home-assistant-tapo-p100.
If s220 is stateful, I can integrate It
s210 is also stateful (has single switch instead of twin switch S220)
from home-assistant-tapo-p100.
I need your support to integrate them. You must run a python snippet and report here the state of your connected devices to hub
Install pip install plugp100==3.11.0
and then use the following script but after initialize
use these lines
# - hub example
hub = HubDevice(client)
print(await hub.get_children())
print(await hub.get_state_as_json())
from home-assistant-tapo-p100.
Im only posting the s220 part of the response and hidding all the IDs and region stuff here, but getting a response something like this. Is this response enough:
{'parent_device_id': '...', 'hw_ver': '1.0', 'fw_ver': '1.7.0 Build 220620 Rel.170201', 'device_id': '...', 'original_device_id': '...', 'mac': '...', 'type': 'SMART.TAPOSWITCH', 'model': 'S220', 'hw_id': '...', 'oem_id': '...', 'specs': 'EU', 'category': 'subg.plugswitch.switch', 'bind_count': 2, 'slot_number': 2, 'position': 1, 'status_follow_edge': False, 'status': 'online', 'is_low': False, 'lastOnboardingTimestamp': 1687434540, 'rssi': -70, 'signal_level': 2, 'jamming_rssi': -118, 'jamming_signal_level': 1, 'nickname': '...', 'avatar': 'switch', 'device_on': False, 'led_off': 0, 'region': '...', 'latitude':..., 'longitude': ..., 'has_set_location_info': True}
from home-assistant-tapo-p100.
Im only posting the s220 part of the response and hidding all the IDs and region stuff here, but getting a response something like this. Is this response enough:
{'parent_device_id': '...', 'hw_ver': '1.0', 'fw_ver': '1.7.0 Build 220620 Rel.170201', 'device_id': '...', 'original_device_id': '...', 'mac': '...', 'type': 'SMART.TAPOSWITCH', 'model': 'S220', 'hw_id': '...', 'oem_id': '...', 'specs': 'EU', 'category': 'subg.plugswitch.switch', 'bind_count': 2, 'slot_number': 2, 'position': 1, 'status_follow_edge': False, 'status': 'online', 'is_low': False, 'lastOnboardingTimestamp': 1687434540, 'rssi': -70, 'signal_level': 2, 'jamming_rssi': -118, 'jamming_signal_level': 1, 'nickname': '...', 'avatar': 'switch', 'device_on': False, 'led_off': 0, 'region': '...', 'latitude':..., 'longitude': ..., 'has_set_location_info': True}
Thanks, I can integrate it
from home-assistant-tapo-p100.
You also need that script on the s210 or can you take data from s220 log ?
Thanks for all your efforts!
from home-assistant-tapo-p100.
You also need that script on the s210 or can you take data from s220 log ?
Thanks for all your efforts!
Having both is better ;)
from home-assistant-tapo-p100.
To help out I also include my result here.
I have one S210 and one S220 for comparison and also in both ON and OFF stage. Here are my results:
S220-1 ON
"parent_device_id":"", "hw_ver":"1.0", "fw_ver":"1.7.0 Build 220620 Rel.170201", "device_id":"", "original_device_id":"", "mac":"...617", "type":"SMART.TAPOSWITCH", "model":"S220", "hw_id":"", "oem_id":"", "specs":"EU", "category":"subg.plugswitch.switch", "bind_count":4, "slot_number":2, "position":2, "status_follow_edge":false, "status":"online", "is_low":false, "lastOnboardingTimestamp":1697104677, "rssi":-54, "signal_level":3, "jamming_rssi":-118, "jamming_signal_level":1, "nickname":"bWlycm9yIGxpZ2h0", "avatar":"switch", "device_on":true, "led_off":0, "region":"Europe/Athens", "latitude":, "longitude":, "has_set_location_info":true },
S220-1 OFF
{ "parent_device_id":"", "hw_ver":"1.0", "fw_ver":"1.7.0 Build 220620 Rel.170201", "device_id":"", "original_device_id":"", "mac":"...617", "type":"SMART.TAPOSWITCH", "model":"S220", "hw_id":"", "oem_id":"", "specs":"EU", "category":"subg.plugswitch.switch", "bind_count":4, "slot_number":2, "position":2, "status_follow_edge":false, "status":"online", "is_low":false, "lastOnboardingTimestamp":1697104677, "rssi":-55, "signal_level":3, "jamming_rssi":-118, "jamming_signal_level":1, "nickname":"bWlycm9yIGxpZ2h0", "avatar":"switch", "device_on":false, "led_off":0, "region":"Europe/Athens", "latitude":, "longitude":, "has_set_location_info":true }
S220-2 ON
{ "parent_device_id":"", "hw_ver":"1.0", "fw_ver":"1.7.0 Build 220620 Rel.170201", "device_id":"", "original_device_id":"", "mac":"...617", "type":"SMART.TAPOSWITCH", "model":"S220", "hw_id":"", "oem_id":"", "specs":"EU", "category":"subg.plugswitch.switch", "bind_count":4, "slot_number":2, "position":1, "status_follow_edge":false, "status":"online", "is_low":false, "lastOnboardingTimestamp":1697104677, "rssi":-54, "signal_level":3, "jamming_rssi":-118, "jamming_signal_level":1, "nickname":"YmF0aHJvb20gbGlnaHQ=", "avatar":"switch", "device_on":true, "led_off":0, "region":"Europe/Athens", "latitude":, "longitude":, "has_set_location_info":true }
S220-2 OFF
{ "parent_device_id":"", "hw_ver":"1.0", "fw_ver":"1.7.0 Build 220620 Rel.170201", "device_id":"", "original_device_id":"", "mac":"...617", "type":"SMART.TAPOSWITCH", "model":"S220", "hw_id":"", "oem_id":"", "specs":"EU", "category":"subg.plugswitch.switch", "bind_count":4, "slot_number":2, "position":1, "status_follow_edge":false, "status":"online", "is_low":false, "lastOnboardingTimestamp":1697104677, "rssi":-55, "signal_level":3, "jamming_rssi":-118, "jamming_signal_level":1, "nickname":"YmF0aHJvb20gbGlnaHQ=", "avatar":"switch", "device_on":false, "led_off":0, "region":"Europe/Athens", "latitude":, "longitude":, "has_set_location_info":true },
S210 ON
{ "parent_device_id":"", "hw_ver":"1.0", "fw_ver":"1.7.0 Build 220620 Rel.170603", "device_id":"", "original_device_id":"", "mac":"...155", "type":"SMART.TAPOSWITCH", "model":"S210", "hw_id":"", "oem_id":"", "specs":"EU", "category":"subg.plugswitch.switch", "bind_count":5, "slot_number":1, "position":1, "status_follow_edge":false, "status":"online", "is_low":false, "lastOnboardingTimestamp":1697104572, "rssi":-60, "signal_level":3, "jamming_rssi":-114, "jamming_signal_level":1, "nickname":"b2ZmaWNlIGxpZ2h0", "avatar":"switch_s210", "device_on":true, "led_off":0, "region":"Europe/Athens", "latitude":, "longitude":, "has_set_location_info":true }
S210 OFF
{ "parent_device_id":"", "hw_ver":"1.0", "fw_ver":"1.7.0 Build 220620 Rel.170603", "device_id":"", "original_device_id":"", "mac":"...155", "type":"SMART.TAPOSWITCH", "model":"S210", "hw_id":"", "oem_id":"", "specs":"EU", "category":"subg.plugswitch.switch", "bind_count":5, "slot_number":1, "position":1, "status_follow_edge":false, "status":"online", "is_low":false, "lastOnboardingTimestamp":1697104572, "rssi":-62, "signal_level":2, "jamming_rssi":-114, "jamming_signal_level":1, "nickname":"b2ZmaWNlIGxpZ2h0", "avatar":"switch_s210", "device_on":false, "led_off":0, "region":"Europe/Athens", "latitude":, "longitude":, "has_set_location_info":true }
from home-assistant-tapo-p100.
Agree, that this is not closed.
S220 is not showing any entities at all still
Also I note that the H100 hub has now also lost the siren function.
from home-assistant-tapo-p100.
Agreed still no entities for a s220 switch
from home-assistant-tapo-p100.
Only S210 switches are working for me also. And I noticed another limitation as explained in issue #570.
I am not sure since I can not debug it at the moment but they issye regarding S220 might be in tapo_hub.py
elif any(supported in model for supported in ["s200", "s210"]): return SwitchChildDevice(hub, device_id)
Maybe it should be
elif any(supported in model for supported in ["s220", "s210"]): return SwitchChildDevice(hub, device_id)
from home-assistant-tapo-p100.
Working , much appreciated!
from home-assistant-tapo-p100.
I canβt find the update 2.10.1 in HACS.
Does anyone know where I can find it?
from home-assistant-tapo-p100.
I've found it now.
And it works with all entities and the battery level sensors.
Thanks
from home-assistant-tapo-p100.
perfectly working on s210, much appreciated!π
from home-assistant-tapo-p100.
Also the siren feature on the h100 hub is back.
from home-assistant-tapo-p100.
These devices should be added to the supported devices list.
from home-assistant-tapo-p100.
Related Issues (20)
- No "hue" attribute for L530 bulb HOT 5
- Error reported when Turning TAPO L920 - reopening #736, as still ongoing with v3.1.0, 3.1.1 and 3.1.2 HOT 2
- H100 Hub not connecting to Integration if T110 Sensor is connected to the Hub HOT 32
- Adding X50 failed HOT 3
- Invalid authentication: Server response doesn't match our challenge on ip HOT 2
- user and password HOT 6
- P300 Powerstrip only operates once and locks up after firmware upgrade HOT 7
- P115 switch and support Fuse HOT 2
- KE100 not adding HOT 5
- TAPO P100 stuck in installation limbo HOT 2
- S505D "no longer supported by the tapo integration" HOT 1
- S200B Smart Switch has no Trigger for button press! HOT 3
- P110 Month and Daily Energy Unavailable
- H100 not connecting to HA HOT 8
- [3.1.2] KE100 no longer recognized, integration crashes HOT 1
- Getting error: Failed to setup cannot connect HOT 3
- Can't install integration
- "Failed to connect" or "Unknown error occurred" when trying to connect to device HOT 2
- Error if a t110 sensor is connected. HOT 2
- Crashes on startup with SyntaxError: source code string cannot contain null bytes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-tapo-p100.