Plugin app for Tasker and MacroDroid to integrate with Meari battery cameras So far tested with cameras sold under the following brands:
License: freely shared but still uncertain, see LICENSE for details
V 1.9.0 - Take Picture action now produces full-resolution snapshots
- FIXED: crash (NPE) in Take Picture action that caused the Tasker plugin service to die
- IMPROVED: Take Picture now uses the camera's main stream (stream 0) instead of the sub-stream, producing full-resolution images (e.g. 3MP instead of 640×360)
- IMPROVED: Fire Siren on single camera now uses adaptive wake-up polling instead of a fixed 10s delay, resulting in faster response when the camera comes online early
V 1.8.1 - Tasker/MacroDroid actions now support camera groups and have a camera selector dropdown
- Actions:
- ADDED: camera selector dropdown in all action configuration screens
- ADDED: Enable PIR, Disable PIR, Fire Siren and Turn On Light actions now support camera groups (name patterns with wildcards, e.g. "Garden*") and "*" to target all cameras
- NOTE: Download Last Image and Take Picture still require a single camera ID
V 1.8.0 - Per-camera siren control and ADDED camera grouping (e.g. by zone, by house etc...)
-
GUI:
- ADDED: can trigger siren alarm on single cameras directly from the main screen (with confirmation dialog)
- ADDED: settings menu to allow grouping cameras by the first word of their name (tab-based filtering)
- IMPROVED: per-camera visual feedback on all-camera actions (enable/disable PIR, enable/disable siren)
- IMPROVED: toolbar readability
- FIXED: taskbar icon size for "scream"
-
ADDED: support to "group" the cameras in "rooms" or "homes"
-
ADDED: buttons to trigger siren alarm on one or multiple cameras
-
ADDED: settings screen to allow enabling groups
How to use groups:
- go to settings and enable them
- go the official CloudEdge app and rename the cameras so that the first word is the zone and the the name. E.g. "entrance patio", "entrance doorway", "entrance door", "garage door", "garage internal" => will create two zones "entrance" and "garage"
- select the zone on the tab: now the top buttons will operate only on the visible cameras
NOTE: since v1.8.1, groups are also supported via Tasker/MacroDroid actions (where applicable)
V 1.7.0 - Improved GUI to quickly enable/disable a single camera
- GUI:
- ADDED: clicking on the PIR status or Alarm status of a camera will change it directly from the main screen
- FIXED: top bar buttons are enabled only after the login process is completed, thus avoiding being clicked too early
V 1.6.0 - Improved features to simplify usage in automation scenario (Tasker/MacroDroid)
- Actions:
- ADDED: download last alarm image: download the picture associated with the last alarm on a camera. Useful to process it later with AI to confirm alarm or not
- ADDED: start siren alarm sound (experimental): tells to a single camera to start "screaming", useful if you want to coordinate multiple cameras to generate a sort of distributed siren (harder to take down)
- IMPROVED: movement detection enable/disable can now target a single camera (or all the cameras, as before)
Note on the "start siren" feature:
- this is still experimental: I've not yet found a reliable way to make this always happen
- siren activation has a 10 secs delay to enable camera wake-up: which is just a polite guestimate and sometimes may simply be not enough to allow camera to come online
V 1.5.0 - Initial public release
Features:
- Actions:
- enable all cameras: they will send notifications and do any action you configured on them
- disable all cameras: they will not be triggered by movement and won't send notifications
- enable alarm on all cameras: enable the alarm feature on all the cameras. Depending on how you configured each camera this might mean a siren or just some lights
- disable alarm on all cameras
- Events/Triggers
- Camera detection: will trigger the event when one of the enabled cameras has seen movement
The detection settings for each camera must/may still be configured individually, so that some cameras will have high detection thresholds and detect only humans, whereas others might trigger on any movement detected from the PIR sensor
Ideas for future improvements:
- remove all the unused example code from Meari SDK
- allow taking an high-res picture from a camera
- allow forcing the alarm sound to trigger on all the camera (e.g. distributed Alarm Siren)
- allow enabling/disabling selectively a single camera
Security Caveat:
- This plugin stores your credentials to CloudEdge, even if encrypted: this is a known limitation
IMPORTANT:
- you MUST setup a SECONDARY CouldEdge account to use this plugin
- create a new account in the CloudEdge cloud
- share with that account the cameras you want to control via this plugin
- otherwise it WILL NOT WORK
- this plugin works only CloudEdge app
- reset any camera from other compatible-brands and register them within the CloudEdge App
Why?: because CloudEdge does not allow you to have the same user logged in from multiple device, so you need a dedicated user for this plugin, otherwise the first time you open the app this plugin will stop working
HOW-TO use it:
- register your cameras within the CloudEdge app (even if from other compatible brands)
- share the cameras with your SECONDARY account (see above)
- install the APK (you can download it from the GitHub releases)
- start it: so that it's registered and available to Tasker/Macrodroid
- login with your SECONDAY (see above) CloudEdge account, you need to enter
- Your contry code: e.g. US
- Your country prefix: e.g. 1 (e.g. the initial part after the +)
- your username/mail: e.g. example.user@whatevermail.you.use.com
- your password
- within Tasker/Macrodroid
- go to the task you want to use
- add action > external app > CloudEdge4Tasker > Enable all cameras: this will enable movement detection on all cameras
Example use cases for me:
- Disable movement detection when at home: I don't want alarms and this spares battery
- Enable movement detection when leaving home or during bedtime: so that each camera will apply it's detection settings and will raise alarms
- Receive alarms, pass them thru HumanDetaction4Tasker and if there's a person play an alarm in the "Alarm" audio channel (which will play even if the phone is muted during bedtime)