Comments (20)
I "fixed" my issue. So I removed all my sensors from TP-Link Tapo integration and managed to get them into the Matter (beta) integration. Basically in Tapo App (due to a recent update) I am able to add H100 hub in HomeKit (as i bridge i think, natively supported by Tapo). Now in iOS Home app I have the H100 as a bridge.
I then tried Matter (Beta) HASS integration and using the iOS companion app I was able to add the H100 in HASS as well. Now the response is instant (like truly instant) and since I am not using this integration I am not polling the H100 continuously, all the timeouts and sensors being unavailable is no longer a problem.
However, i still use this integration to be able to have the hub.siren entity (and trigger in case of alarm) since it's not supported in Matter (Beta) integration.
from home-assistant-tapo-p100.
Same here.
I also receive a lot of "became unavailable" status for all T110 and T100. When I check the HA logs I find this API error:
This error originated from a custom integration.
Logger: custom_components.tapo.coordinators
Source: helpers/update_coordinator.py:332
Integration: TP-Link Tapo (documentation, issues)
First occurred: 9:26:17 AM (30 occurrences)
Last logged: 10:06:39 AMError fetching tapo data: Error communication with API: [Errno 104] Connection reset by peer
Error fetching tapo data: Unexpected exception:
Error fetching tapo data: Error communication with API: Cannot connect to host 192.168.13.191:80 ssl:default [Connect call failed ('192.168.13.191', 80)]
from home-assistant-tapo-p100.
@ninosnicolaou how did you change the interval?
from home-assistant-tapo-p100.
@doenau
You can chance occupancy with motion and vice versa
from home-assistant-tapo-p100.
I'm not sure this is the right place to comment ,I am experiencing the exact same issue, I'm using the T110 sensor to activate a seen when my door opens and I also need a 2 second reaction time.
Thank you for the effort you put into this product.
from home-assistant-tapo-p100.
Same here - any workaround?
from home-assistant-tapo-p100.
Same here - any workaround?
I described my workaround (using a Tapo Lamp colour change) in my original post. You can use that if you can.
from home-assistant-tapo-p100.
My problem is that I am using the Tapo sensor to activate a light from another system :(
from home-assistant-tapo-p100.
@petretiandrea any idea where it would be in the code? I can try to fix.
from home-assistant-tapo-p100.
My problem is that I am using the Tapo sensor to activate a light from another system :(
I understand. Sorry for assuming your light manufacturer. π
That is unfortunate then. I just wish the Tapo Hub Events would trigger as reliable as with the stock Tapo App. But I know about the technical issues with this.
from home-assistant-tapo-p100.
The problem is the same of buttons #556. There is no event stream for sensor, but only polling. Polling too frequently means making DOS to your hub. Actually I don't have an alternative way of polling.
from home-assistant-tapo-p100.
Gotcha
I haven't check the other issue as I am not in front of my computer, but where can we change the default settings? I think it is set to 16s right? I tried to change through console and it didn't work
Happy to test with a sort time as I don't have many devices anyway, so it should not impact the performance or DDoS the device
from home-assistant-tapo-p100.
@petretiandrea I get what you are saying! In my case is kind of critical since I am using motion and contact sensors for alarm system.
If i set a high refresh interval (say >5 seconds) It could be the case of the door opening and quickly closing before the 5 seconds elapsed and the HA won't know that the door was opened, hence alarm will not be triggered.
If i set the refresh interval too low (say <3 seconds) I frequently get sensor states "unavailable" possibly because i am "DoS" the hub.
Since there is no solution yet, do you have anything to propose? I found that around 4 seconds is pretty reliable for me, but i still think it's kind of high for alarm purposes.
from home-assistant-tapo-p100.
@ninosnicolaou how did you change the interval?
from home-assistant-tapo-p100.
oh!
I actually was trying to change the sensor settings, which is limited to 16s, let me try, thanks!
from home-assistant-tapo-p100.
@ninosnicolaou do the smart buttons work in the Matter Beta integration (single tap/double tap/rotate cw/rotate ccw)? And if the do, do they work in HomeKit and HA?
from home-assistant-tapo-p100.
@ninosnicolaou do the smart buttons work in the Matter Beta integration (single tap/double tap/rotate cw/rotate ccw)? And if the do, do they work in HomeKit and HA?
Homekit: Doesn't work (not supported by Tapo yet)
Homeassistant: No controls/entities available, so no, they don't work
from home-assistant-tapo-p100.
I then tried Matter (Beta) HASS integration and using the iOS companion app I was able to add the H100 in HASS as well. Now the response is instant (like truly instant) and since I am not using this integration I am not polling the H100 continuously, all the timeouts and sensors being unavailable is no longer a problem.
Agreed - I've now done this as well and the response is instant with a T100 motion sensor changing stated to 'Detected'
What's frustrating me though, is that it doesn't seem to Clear the occupancy until 1 minute later.
Looking at the Tapo IOS app, it is constantly maintains the 'detected' state as detected every 4 seconds (update interval) but there doesn't appear to be an update anywhere to change it to Clear. Nothing I do reduces this to less than a minute. I tried changing the refresh time in the tapo integraton, but that doesn't change anything either.
So it appears that the Tapo T100 or the Hub only update/report the Clear status 1 minute after the last Detected event.
@ninosnicolaou does it update your contact sensors to both Open and Closed instantly? Or do you think my problem just motion sensor specific?
from home-assistant-tapo-p100.
Mine as well keeps the same state for 1 minute. But this was the case with Tapo integration as well. I think it's a hassio thing to be honest. Also I think you misunderstood the concept of motion sensors, they are not like contact sensors (no instant on/off state)
Homeassistant has 2 types of "motion sensors" in my understanding.
- Motion entity
- Occupancy entity
Take a look at these.
I am also new to hassio so take everything with a grain of salt!
from home-assistant-tapo-p100.
Mine as well keeps the same state for 1 minute. But this was the case with Tapo integration as well. I think it's a hassio thing to be honest. Also I think you misunderstood the concept of motion sensors, they are not like contact sensors (no instant on/off state)
Homeassistant has 2 types of "motion sensors" in my understanding.
- Motion entity
- Occupancy entity
Take a look at these. I am also new to hassio so take everything with a grain of salt!
No problem. Yes I realise they may not work exactly the same as contact sensors. I would have thought though, seeing as the Tapo app shows a 'Detected' log every 4 seconds, that it also knows when it is not in the 'Detected' state and so that info should be available to users.
FYI using the Tapo integration they are seen as a Motion entity (with the battery and report interval entities), but using Matter they are an Occupancy entity only. Aside from that they appear to operate essentially the same, but with Matter I get the 'Detected' state faster.
from home-assistant-tapo-p100.
Related Issues (20)
- HA doesn't see the device H100 HOT 6
- Failed to Connect - TP link M9 & XE75pro HOT 2
- Doesnβt log in to the account anymore HOT 3
- RV10 Lite(UN) (192.168.1.112 - AC15A) failed to login HOT 2
- Unable to install package plugp100==5.1.3 after HA update HOT 1
- 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
- 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
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.