Comments (6)
Hi, can you pls attach logs (debug level) for the disappearance issue?
Delay is due to streaming configuration in Shinobi and HA,
Shinobi UI delay is much lower because it's an internal protocol which allows it to work faster, when using the stream itself it becomes with more delay (pls compare to VLC), on to of that, you need to add the delay caused by HA which proxies the stream as well,
The component by itself doesn't manipulate nor proxies the stream, it just provide the URL to the HA camera component
from ha-shinobi.
Hi, can you pls attach logs (debug level) for the disappearance issue? Delay is due to streaming configuration in Shinobi and HA, Shinobi UI delay is much lower because it's an internal protocol which allows it to work faster, when using the stream itself it becomes with more delay (pls compare to VLC), on to of that, you need to add the delay caused by HA which proxies the stream as well, The component by itself doesn't manipulate nor proxies the stream, it just provide the URL to the HA camera component
If I filter logs by "Shinobi" I don't see much, just that its "Unavailable" or "Idle" or something..
How can I get more verbose logs?
I did try the stream with mpv
it works fine.
from ha-shinobi.
@elad-bar While looking in the logs today I found this error message for ha-shinobi
plugin,
Error from stream worker: Error demuxing stream: [Errno 1414092869] Immediate exit requested: 'http://CAMERA_LINK/s.m3u8'
also shows this error message,
ERROR (MainThread) [custom_components.shinobi.component.api.shinobi_api] Failed to get data from [AUTH_TOKEN]/monitor/[GROUP_ID], Error: Cannot connect to host CAMERA_IP ssl:False [Try again], Line: 191
I have redacted the camera link (IP address and all) to just CAMERA_LINK
and/or CAMERA_IP
. Does this helps in diagnosing the error for why camera shows in Home Assistant for few seconds then goes to unavailable state again?
from ha-shinobi.
@apoorv569 , can you please let me know if it still happens with version v1.3.2?
thanks
from ha-shinobi.
@apoorv569 , can you please let me know if it still happens with version v1.3.2?
thanks
I tried the new version, it is definitely a lot stable now than before, but it does still occasionally becomes unavailable.
For the time being I was and still am using the Generic Camera
integration and directly stream the rtsp
stream from the camera as it seems to be stable.
BTW I also moved both Shinobi
and HomeAssistant
to their own VM
instead of running them in docker.
from ha-shinobi.
not sure I understand, as I run Shinobi and HA on docker without any issues as you described, so most probably we need to understand the term disappearing
you have used :)
did you mean that the status of the camera entity goes offline (disconnected / stopped) or the camera entity is not available anymore?
if the camera entity's status goes offline, it most probably realted (same goes for the lag) by the NVR software which in this case - Shinobi Video server.
if the entity is not available anymore, do you see errors in log related to the component? if not - please set the component's logging to debug, run it for a while, and once it happens post the log (as zipped file) without sensitive data.
thanks
from ha-shinobi.
Related Issues (20)
- Shinobi integration stops working after some time HOT 10
- Invalid Server Details (debug enabled) HOT 16
- Motion detection not working when using Tensorflow and event filter HOT 14
- HomeAssistant log is showing errors HOT 3
- Unable to play live stream HOT 8
- Media browser using camera identifier. Possible to use camera name instead? HOT 4
- Timezone ignoreg HOT 7
- Motion detection stopped working since 3.x HOT 3
- Latest home assistant update (2023.08.1) seems broken shinobi integration HOT 8
- Integrations should cancel non-critical tasks when receiving the stop event HOT 11
- Invalid server details HOT 4
- Integration doesn't create camera entity
- Non-thread-safe operation invoked on an event loop other than the current one HOT 1
- Media brower "Unknown Error" HOT 2
- Startup throws this - Failed to load monitor data: {'ok': False, 'msg': 'Not Authorized'}, Error: the JSON object must be str, bytes or bytearray, not NoneType, Line: 464 HOT 3
- Motion binary_sensor not working if Shinobi primary engine is not Pixel Array HOT 8
- Unexpected exception importing component on HA ver. 2024.1.0b0 HOT 8
- Failed to load monitor data HOT 4
- Proposal: Collaborate to port integration to core HOT 2
- Failed to load monitor data HOT 13
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 ha-shinobi.