Hi – Amazing plugin!! I’ve just started playing around with it.
The “readme” mentions video streaming capabilities. How would I set that up for my Foscams? Currently, when try to observe a camera via AltUI, I get an initial image, then it goes blank. The standard UI (I’m on UI5) seems to work (via updating jpg stills). I am using the Foscam Plugin.
[quote=“tedp, post:1, topic:189338”]Hi – Amazing plugin!! I’ve just started playing around with it.
The “readme” mentions video streaming capabilities. How would I set that up for my Foscams? Currently, when try to observe a camera via AltUI, I get an initial image, then it goes blank. The standard UI (I’m on UI5) seems to work (via updating jpg stills). I am using the Foscam Plugin.
Thanks!
-Ted[/quote]
This depends on your device variable DirectStreamingUrl to have something like this in it:
/videostream.cgi?user=Xxxx&pwd=pppp
Also in Misc Option screen , the option show video thumbnail in local mode must be checked.
Note , in remote mode, it will fall back to image snapshot mode like on ui7
Thank you for the reply. I looked at my camera settings, and there is a “URL” variable, not a “DirectStreamURL” variable. I could just add one with the URL that points to the RTSP stream of my camera. I just don’t want to break anything – it took forever to get this thing working, but the AltUI seems to offer a more compelling solution if I can get it to work.
[quote=“tedp, post:3, topic:189338”]Thank you for the reply. I looked at my camera settings, and there is a “URL” variable, not a “DirectStreamURL” variable. I could just add one with the URL that points to the RTSP stream of my camera. I just don’t want to break anything – it took forever to get this thing working, but the AltUI seems to offer a more compelling solution if I can get it to work.
I’m attaching the screengrab for reference.
Thx[/quote]
I see, thats the problem with camera. no two are alike.
However I have focsam too ( old ones ) and I did not use any specific plugin with UI5 or UI7. I also have a Url variable that includes a url that only gives a one image snapshot.
you could try to do this ( of course, I cannot guarantee no harm will be done but I honestly do not see why it would )
a) close all browser
b) to open this url in a browser
http://:/videostream.cgi?user=&pwd=
c) if ok open UI5 or UI7
d) do a full backup including zWave
e) go to camera device
f) add variable ‘DirectStreamingURL’ service ‘urn:micasaverde-com:serviceId:Camera1’ value ‘/videostream.cgi?user=&pwd=’
g) save
h) make sure ALTUI video thumbnail option is checked on , then reload Luup
i) try again in ALTUI
if it does not break or breaks anything you could restore your backup
OK – I will try it. Your suggestion makes sense. I presume I should leave the URL variable inact (not delete it). Right? Would you recommend removing the FOSCAM plugin? I’m pretty sure the plugin is only meant for PTZ operations and the camera I have is fixed (it’s also an old Foscam --FI8908
yes, I would keep the Url variable intact
Mine is a 8910 but I do not use PTZ commands. at best I memorized presets using the native Foscam UI and I use a lua function to go to a preset. in my scene I choose positions
you can keep the plugin, normally it should not change anything as this DirectStreamingUrl points directly to the cam, VERA UI does nothing about it
I gave it a shot, and I don’t think it worked. I confirmed the videostreaming.cgi URL worked in VLC.
I wasn’t sure which serviceID to use so I tried both
luup.variable_set(“urn:schemas-upnp-org:device:DigitalSecurityCamera1”, “DirectStreamingUrl”, “http:///videostream.cgi?user=&pwd=”, )
and
luup.variable_set(“urn:schemas-upnp-org:device:DigitalSecurityCamera:2”, “DirectStreamingUrl”, “http:///videostream.cgi?user=&pwd=”, ) – since that’s what my camera’s device type shows up as.
I ensured that the thumbnail option is checked (does that mean I should be seeing video without actually opening the camera?)
I’m attaching the resulting variable list.
I am saying I don’t think it worked because the resulting image looks to be updating as before (as repetitive stills). Perhaps there would be a way to notify the user of the source URL of the displayed image.
I’ll keep hacking away, and perhaps I can make it work. I’ll post my findings if I do. The 8908 is the exact same camera as yours (8910) but without the PTZ. Since you have yours working, it’s most likely a setup issue on my side.
[quote=“tedp, post:7, topic:189338”]I gave it a shot, and I don’t think it worked. I confirmed the videostreaming.cgi URL worked in VLC.
I wasn’t sure which serviceID to use so I tried both
luup.variable_set(“urn:schemas-upnp-org:device:DigitalSecurityCamera1”, “DirectStreamingUrl”, “http:///videostream.cgi?user=&pwd=”, )
and
luup.variable_set(“urn:schemas-upnp-org:device:DigitalSecurityCamera:2”, “DirectStreamingUrl”, “http:///videostream.cgi?user=&pwd=”, ) – since that’s what my camera’s device type shows up as.
I ensured that the thumbnail option is checked (does that mean I should be seeing video without actually opening the camera?)
I’m attaching the resulting variable list.
I am saying I don’t think it worked because the resulting image looks to be updating as before (as repetitive stills). Perhaps there would be a way to notify the user of the source URL of the displayed image.
I’ll keep hacking away, and perhaps I can make it work. I’ll post my findings if I do. The 8908 is the exact same camera as yours (8910) but without the PTZ. Since you have yours working, it’s most likely a setup issue on my side.
Thx!
-Ted[/quote]
as explained
f) add variable ‘DirectStreamingURL’ service ‘urn:micasaverde-com:serviceId:Camera1’ value ‘/videostream.cgi?user=&pwd=’
Don’t you just wish people would follow instructions – Thanks. It seems to work now! I’ll play with it some more, to confirm, but the thumbnails shows up on the main screen, and it feels more like video rather than repeated stills.
My next task (I haven’t researched this through the forum yet): is it possible to create a customized panel that would have all my cameras show up together already opened?
[quote=“tedp, post:9, topic:189338”]Don’t you just wish people would follow instructions – Thanks. It seems to work now! I’ll play with it some more, to confirm, but the thumbnails shows up on the main screen, and it feels more like video rather than repeated stills.
My next task (I haven’t researched this through the forum yet): is it possible to create a customized panel that would have all my cameras show up together already opened?
Cheers
-Ted[/quote]
yes: custom pages , you can put your cameras in it, the home= parameter on the url should open ALTUI on the page you want.
[quote=“amg0, post:10, topic:189338”]yes: custom pages , you can put your cameras in it, the home= parameter on the url should open ALTUI on the page you want.
:)[/quote]
Wow… the custom panels are beyond easy to configure!! Very nice work. How exactly does the home=parameter work? I named my custom tab “cameras”.
Based on the “tips” page, I should be able to do something like this if my custom tab is called "cams:
http:///port_3480/data_request?id=lr_ALTUI_Handler&command=home&home=cams#
That didn’t work for me – but I’m probably not following instructions again
This would be very cool![/quote]
seems too complicated. ALTUI supports camera that have a video stream based on http
it seems that VLC player can play a direct RTSP url if you want
Thanks for your answer, amg0. That’s unfortunate. I and others are not able to get the http stream working in AltUI for Amcrest cameras. So there is no way to show a stream in AltUI at this moment.
Best Home Automation shopping experience. Shop at Ezlo!