Comments (11)
I will check it.
from yi-hack_ha_integration.
The generic camera integration (https://www.home-assistant.io/integrations/camera/) has a service turn_off
that I suppose internally will do it. But I don't know if it is implemented in some of the real camera implementations.
Thanks for looking at it!!
from yi-hack_ha_integration.
I can't see errors in the logs.
What is the event causing the error?
When you use a lovelace card?
from yi-hack_ha_integration.
Yes, I have one standard lovelace image card (hidden when privacy is on), but I don't need to go to the UI to produce the errors. They appear in the log each few seconds. Maybe it loads the camera in the background? I don't know.
I have too a very basic face recognition added on top of the camera: https://www.home-assistant.io/integrations/dlib_face_detect/ I don't know if it can hurt...
from yi-hack_ha_integration.
What's your debug configuration?
Could you try to disable temporarily the face detection feature?
from yi-hack_ha_integration.
I don't have any debug configuration, so I have it default.
I tried to disable the face detection and the error continues.
This is what I get just enabling the privacy switch:
2021-09-30 16:46:56 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream:
2021-09-30 16:47:06 ERROR (stream_worker) [libav.tcp] Connection to tcp://192.168.100.20:554?timeout=5000000 failed: Connection refused
2021-09-30 16:47:06 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsp://****:****@192.168.100.20/ch0_0.h264
It's weird that you can't reproduce it :( maybe if others have the same problem can point to something more...
from yi-hack_ha_integration.
I think you shouldn't see the error, if you are not "consuming" the stream.
Because ha shouldn't open a connection.
Is there another client application connected to ha?
from yi-hack_ha_integration.
No that I'm aware off. It happened to me too when I was using the ONVIF integration and deactivate the camera using the web service.
Do you have enabled the Preload stream
? Maybe if enabled the stream is accessed always...
from yi-hack_ha_integration.
Enabling preload the error appears.
But I don't know ho to fix it. turn_on, turn_off, is_on and is_off are already implemented.
Do you know a cam that doesn't show errors, I could take it as an example.
from yi-hack_ha_integration.
No, I don't know of other cameras... Maybe it's a bug on the Home Assistant side?
from yi-hack_ha_integration.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from yi-hack_ha_integration.
Related Issues (20)
- ip change HOT 10
- binary sensor for sound detection have at intervals of 10' HOT 3
- Error getting status HOT 4
- Cam device and entities disabled in Home Assistant HOT 7
- "Can't get mac address or serial number" when add camera HOT 2
- Cant take snapshot from ha HOT 14
- "Save video when a motion is detected" does not update properly HOT 10
- Stream no longer available after Update to 0.4.5 HOT 12
- Required Camera Configuration? HOT 4
- MQTT Name changes in 2023.8 HOT 3
- Cacagoo camera HOT 2
- Damaged SD Card-Problem with Home Assistant HOT 2
- `SUPPORT_ON_OFF` and `SUPPORT_STREAM` depreciated
- Integration is using deprecated supported features values HOT 4
- using native unit of measurement '%' which is not a valid HOT 2
- MQTT entity name starts with the device name in your config HOT 12
- Don't record temporarily HOT 6
- yi-hack-Allwinner-v2 -> PT202 HOT 1
- Similar camera type? HOT 2
- OSD Visibility during daylight
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 yi-hack_ha_integration.