The death of a thousand cuts
-
@akbooer said in The death of a thousand cuts:
Have you tried HomeWave? The developer @intveltr uses openLuup. Actually, we should invite him to this forum.
Yes, you can get camera images in openLuup (and email triggers.)
+1 on Homewave and inviting @inveltr over. It is basically what eZLO is trying to sell with their mobile app and their dashboard and is already ages old. It much better than the vera app in terms of configurability and can be run completely locally, bypassing the cloud servers.
-
No, my mistake, that's not the action you should use (that's supposed to change the camera password, I suppose, but it's not implemented here.) It's been a while.
The device files don't specify a default value for URL or DirectStreamingURL, so those don't exist. You can simply create them manually, either from Luup Test code or the +Create button on the camera's device variable page in openLuup.luup.variable_set ("urn:micasaverde-com:serviceId:Camera1", "URL", "whatever goes here", dev_no)
luup.variable_set ("urn:micasaverde-com:serviceId:Camera1", "DirectStreamingURL", "whatever goes here", dev_no)The contents are obviously camera-dependent. Username/password can, IIRC, be put either in the device's attribute fields
(which aren't created by default, either)or, as I do, directly in the URLs:- URL:
/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USR&pwd=PWD
- DirectStreamingURL:
/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=USRr&pwd=PWD
Sorry, this is more manual than desirable.
I'll change the implementation file to create blank attributes and variables for the camera.
__
Edit: the latest development version of openLuup v20.5.6 does create these attributes and variables!
- URL:
-
-
Just a follow up on the CPU impact of this type of camera implementation. Here's the last 12 hours of CPU/memory usage on my RPi. I installed the camera device at around 10:45, about halfway through the graph.
You can see there's barely any difference, and, that which there is, it's simply due to running AltUI which requests the usual status updates from the engine (I don't usually run AltUI on this system.)
The video simply streams from the camera to the browser, and openLuup doesn't see the video stream. The only time it gets involved is in downloading an archive snapshot from the camera (or receiving email triggers with attached images.)
-
While you’re at it can you make set attribute category_num to 6 so it’s recognized as a camera
TIA -
@akbooer said in The death of a thousand cuts:
The category system is rather flawed, so I tend to ignore it!
By way of example...
The category is traditionally defined by the device file. It turns out that
D_DigitalSecurityCamera1.xml
does not set it.D_DigitalSecurityCamera2.xml
, OTOH, does! -
@DesT said in The death of a thousand cuts:
@therealdb said in The death of a thousand cuts:
my own bot
Can you elaborate?
I wrote a bot for telegram. I already posted some pictures on the Vera forum:
Commands are in italian, but you'll get the point. First 3 are related to OpenSprinkler, then there’s a sensor connected to Vera for the entryway door, plus a short video (as GIF) from the camera. All the notifications are sent via Telegram, to me/my wife using position (since I used to work 50% of my time in a different part of the country before this COVID-19 mess, now I'm full remote for a couple of months).
The idea is to add frequently used manual actions here, and then get rid of the app
I'm now into forcing my wife to use it more, in order to add more features. For me, manual control of blinds in case of need is more than enough.