Giter VIP home page Giter VIP logo

Comments (24)

petretiandrea avatar petretiandrea commented on June 15, 2024 1

If s220 is stateful, I can integrate It

from home-assistant-tapo-p100.

miumer avatar miumer commented on June 15, 2024 1

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.

wavemop avatar wavemop commented on June 15, 2024

Same here - the S210 has no listed entities in the Integration.

from home-assistant-tapo-p100.

miumer avatar miumer commented on June 15, 2024

This would be great!

from home-assistant-tapo-p100.

petretiandrea avatar petretiandrea commented on June 15, 2024

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.

T8DAGR8 avatar T8DAGR8 commented on June 15, 2024

Same here the S220 switch has no entities.

from home-assistant-tapo-p100.

wavemop avatar wavemop commented on June 15, 2024

"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.

Mandrake1967 avatar Mandrake1967 commented on June 15, 2024

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.

wavemop avatar wavemop commented on June 15, 2024

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.

petretiandrea avatar petretiandrea commented on June 15, 2024

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.

miumer avatar miumer commented on June 15, 2024

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.

petretiandrea avatar petretiandrea commented on June 15, 2024

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.

wavemop avatar wavemop commented on June 15, 2024

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.

petretiandrea avatar petretiandrea commented on June 15, 2024

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.

DimiTerz avatar DimiTerz commented on June 15, 2024

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.

Mandrake1967 avatar Mandrake1967 commented on June 15, 2024

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.

T8DAGR8 avatar T8DAGR8 commented on June 15, 2024

Agreed still no entities for a s220 switch

from home-assistant-tapo-p100.

DimiTerz avatar DimiTerz commented on June 15, 2024

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.

Mandrake1967 avatar Mandrake1967 commented on June 15, 2024

Working , much appreciated!

from home-assistant-tapo-p100.

T8DAGR8 avatar T8DAGR8 commented on June 15, 2024

I can’t find the update 2.10.1 in HACS.
Does anyone know where I can find it?

from home-assistant-tapo-p100.

T8DAGR8 avatar T8DAGR8 commented on June 15, 2024

I've found it now.
And it works with all entities and the battery level sensors.
Thanks

from home-assistant-tapo-p100.

wavemop avatar wavemop commented on June 15, 2024

perfectly working on s210, much appreciated!πŸŽ‰

from home-assistant-tapo-p100.

T8DAGR8 avatar T8DAGR8 commented on June 15, 2024

Also the siren feature on the h100 hub is back.

from home-assistant-tapo-p100.

ashwinikalantri avatar ashwinikalantri commented on June 15, 2024

These devices should be added to the supported devices list.

from home-assistant-tapo-p100.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.