-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Much delay with integration, none when adding camera manually #75
Comments
The component is workinh with h264 stream which BI has a delay of 3 seconds, when working with mjpeg delay is being reduced but you cannot stream it to TV or any other media player, |
Great. Needed feature... Thanks
…_______________________________________
*Rodrigo Sírio Coelho*
*Engenharia / Aimsun*
[email protected]
Tel: +55 31 4063.6787 - Ramal 234
Cel: +55 31 98489.0807
Em qui., 9 de jul. de 2020 às 11:10, elad-bar <[email protected]>
escreveu:
The component is workinh with h264 stream which BI has a delay of 3
seconds, when working with mjpeg delay is being reduced but you cannot
stream it to TV or any other media player,
Will add configuration to vhoose which stream type to work with
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUXTGQ7NKF2TIT2WNZEDZ3R2XFVLANCNFSM4OVTZDNA>
.
|
3 seconds would be okay, but it is 10. So I think I will just not stream and use mjpeg after you added it. Thanks for the fast reaction! One more thing: When I configure the integration in the UI, there are many checkboxes but no text next to them. Is that missing or do I have a problem with my theme or something? :D |
10 is if you are using also stream component (should be preload stream "heckbox if you are using it), removed that component and got it to 3 sec, Thanks |
After reinstalling the integration, all the labels are there. Delay remains 10sec with preload stream unchecked. But I noticed the motion sensor gets no input in HA. The Blue Iris camera is triggering as I also set an MQTT alert for it and the sensot I set up in HA recieves it. But the integrations motion sensor is quiet. Do I need special configuration in BI for that?I guss I have to set up fitting MQTT alerts? Sorry for messing up different issues here! |
Please make sure configuration of BI is according to the manual (readme) |
Okay I oversaw the BI manual link, thank you! But how do I disable the straem component? You set its the "preload stream" chckbox, but that doesn't change the delay for me. |
Stream component available in 2 cases:
|
Can't find that in my configuration.yaml and can't remember that I ever used it. But I got a default_config entry with nothing behind. Should I remove that? I think being able to switch to mjpeg in the integration would be the best way to overcome this :) |
Hi, sorry for pushing but just want to find out if it makes sense to wait or if I should add the cams manually :) Are you planning to insert a switch to use mjpeg instad of h264? |
Probably will get to it during the weekend |
Cool, thank you for your effort. |
Working on that now, will update after I will test it |
@HorizonKane, added the ability to set the intergation's stream type, thanks |
Hi, thats great, thank you! Will test it right away tomorrow in the morning :) |
Hi, as soon as I set it to mjpeg, the camera image is not shown anymore. I switched for and backbetween H264 and MJPEG two times: H264 is working, mjpeg not. I also removed my other mjpeg integration of the same camera from my configuration.yaml to see if they intefere, but still no change. |
Can you extract the url from the camera (using developer -> states) and try accessing the stream url from browser? Thanks |
In the states I find this:
When I try to access that URL in the browser it asks for authentication but will not accept my user. When I first go to http://192.168.xx.xx:yyyy and authenticate there it is working afterwards in the browser but not in HA. My working camera where I access the stream is configured like this:
and in states I find this URL:
*updated |
Postet wrong cam code, updated |
I have it working with mjpeg.
…On Mon, Jul 20, 2020, 4:52 AM HorizonKane ***@***.***> wrote:
Hi,
as soon as I set it to mjpeg, the camera image is not shown anymore. I
switched for and backbetween H264 and MJPEG two times: H264 is working,
mjpeg not. I also removed my other mjpeg integration of the same camera
from my configuration.yaml to see if they intefere, but still no change.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKNIEK6VAMUSQ7NZXZ3CJOTR4QATTANCNFSM4OVTZDNA>
.
|
I just see the loading circle forever on mjpeg though the integration. |
Loading circle it means that you work with stream: component, the problem with that component is that it overloads the BI server that cannot retrieve the stream Regarding the attributes, there ahould be full path to the bi server's stream can you check if it accessible from browser |
I checked that, see 4 posts above. The server can't be overloaded, it has plenty of resources and only one cam added. Also mjpeg stream from BI is running fine with the camera I manually configured. Can I check something else? |
Can you please post the attributes of the camera created by BI integration? Thanks |
I am confused a little bit, I think the exact information you are asking for is in the upper post. On the top you find the still image URL, stream URL and entity picture from the states like you asked for. In the second two code boxes you find the information from the working BI camera I configured manually including stream URL. Ich you are asking for the YAML created by the plugin for the BI cameras, I don't have that as config file creation is not working. |
Sorry, missed that part 😃 ... |
I'm using secure session key, and only for non internal network (but that all connections is not that problem), Thanks |
Okay I see. I am willing to change those options if necessary. I could also exclude LAN from the need to authenticate. Will wait for your findings, thank you. |
No change when I switch those options. |
Did you notice that when I integrate the camera manually, I dont define a stram_url at all, I just give the parameter mjpeg_picture. I also don't see a stream_source in my states there but it is working. |
Hi, any news? Is there anything else I can check to help figure this out? |
Would you mind to share your BI (webserver) settings? I tried elads and played aroud a lot but still no positive result with mjpeg. |
Will try to get to it later today |
Thank you. Let me know if I can deliver any helpful information. And just as a site note: Everything else is working (camera connection, motion detection, h264... it is only the stream not shown and only on mjpeg option). |
Thats like I tried it, too. I can also access the stream url from the state without problems and my manually configured mjpeg cam is working. When I switch your integration back to H264 its working (with 10sec delay) but as soon as I go back to mjpeg I get only the circle again. |
@HorizonKane so just to understand, 10 days ago you've mentioned the 2 links to get to the camera, while BI component is generating the following path: the second path is not being loaded by the did I get it correct? |
I will just post you what I actually see now. The camera from your integration, with mjpeg as format looks like this in states:
When I copy the stream_source URL to my browser I get the live picture right away. The (same) camera I configured myself looks like this in the states:
and like this in configuration.yaml:
The second one is loading, the one from the integration not: |
Ok, found the issue, component is using the basic camera with implementation of Generic IP Camera, I need to add the support for MJPEG camera implementation in case configuration is for MJPEG, otherwise, it will work with Generic IP Camera. Will update later this weekend about progress thanks |
Cool. Thank you for your continued effort!! Really appreciate the work you and others do to make such stuff available to others. |
Em sex, 10 de jul de 2020 01:31, elad-bar <[email protected]>
escreveu:
… Please make sure configuration of BI is according to the manual (readme)
In addition, please turn off the stream component to get less delay
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQGJXZIFDZN5P4PVFLPIALTR22KRJANCNFSM4OVTZDNA>
.
|
released new version, please let me know if now it works out of the box for you thanks Implemented enhancements:
|
Seems to be working like a charm now :) Thank you!!! |
Great! Thanks |
Hi,
I love your integration, it saved me a lot of work.
However, when watching the camera stream in HA, I have a very huge delay of 10 seconds.
Before using your integration, I added the camera like this:
and have near to zero delay.
I just tried it again: Removed the integration and added the camera as shown - no delay.
Is there any way to fix this?
The text was updated successfully, but these errors were encountered: