ptz0n / homebridge-verisure

 Platform plugin for Homebridge allowing to manage and control Verisure devices.
https://www.npmjs.com/package/homebridge-verisure
MIT License
66 stars 15 forks source link

Image request support from motion detector/cam (v2) #129

Closed spectrazureus closed 2 years ago

spectrazureus commented 2 years ago

This is a feature request. The Homebridge Verisure plugin cannot request images from the motion detector with built-in camera. However, another project pretends to be able to request images on demand but only with version 1 of the motion detector/cam. https://github.com/Xav-74/verisure/commit/848f761f104df271ba9f7a081b5f1818205a9d28 $path = "plugins/verisure/data/".date("Ymd_His")."smartplugID".init('device').".jpg"; $img = verisure::GetPhotosRequest(init('numinstall'),init('username'),init('pwd'),init('country'),init('device')); $image = base64_decode($img); file_put_contents($path,$image); Maybe this code extract is probably outdated (no MFA support), but @Xav-74 had the v2 support of these motion detectors/camera in roadmap.

spectrazureus commented 2 years ago

@Xav-74 published extensive documentation (sorry in French) here: [https://xav-74.github.io/Documentation/verisure/fr_FR]

spectrazureus commented 2 years ago

https://github.com/Cebeerre/SecuritasDirectAPI#photo-requests

ptz0n commented 2 years ago

Are you currently using this plugin?

It seems to me that you have a Securitas Direct installation. This plugin is for Vbox installations. Sorry for the confusion. If that's the case, please create an issue here instead:

https://github.com/ptz0n/homebridge-securitas-direct

spectrazureus commented 2 years ago

Yes I am using a Verisure alarm system Will do

On Thu 2 Dec 2021 at 10:08, Erik Eng @.***> wrote:

Are you currently using this plugin?

It seems to me that you have a Securitas Direct installation. This plugin is for Vbox installations. Sorry for the confusion. If that's the case, please create an issue here instead:

https://github.com/ptz0n/homebridge-securitas-direct

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ptz0n/homebridge-verisure/issues/129#issuecomment-984430834, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36LFKQWLEV62WPCAI3DUO4ZQVANCNFSM5JC43UKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

spectrazureus commented 2 years ago

in the wrong project. deleting

spectrazureus commented 2 years ago

not the right project for this enhancement