Since migrating from version 3.2 to 3.3, I have various problems with the Netatmo cameras. In the meantime, I have deleted and reinstalled all Netatmo components (Items, Things, Binding) several times.
Now I am so far that the Presence camera works almost correctly. Except for the last-event-snapshot, all items are correctly updated. The last-event snapshot item only has a picture rarely and only for a short time.
The welcome camera gives me more problems: some items like Event Sub Type, Message, Last Event Snapshot are never updated. Moreover, when I want to switch off the monitoring with the switch, there is a timeout error.
executeUri POST http://external-ip/xxx/command/changestatus?status=off
After 3 attempts, theNetatmo account goes offline.
COMMUNICATION_ERROR - Request timed out - will attempt reconnection later
I have the following environment:
- Openhabian on Raspberry 4
- Openhab version 3.4.1
- All UI based
- No webhook
The Netatmo-API seems to respond correctly:
executeUri GET https://api.netatmo.com/api/getevents?home_id=xxx
executeUri returned : code [200 OK] body {"body":{"home":{"id": "xxx", "events":[{"id":"zzz","type":"person","time":1673424446,"module_id":"zzz","video_status":"deleted","message":"<b>zzz<\/b> gesehen","person_id":"zzz","out_of_sight":false},{"id":"zzz","type":"outdoor","time":1673424397,"module_id":"bbb","subevents":[{"id":"zzz","type":"human","time":1673424397,"verified":true,"offset":0,"snapshot":{"url":"https:\/\/netatmocameraimage.blob.core.windows.net\/production\/zzz"},"vignette":{"url":"https:\/\/netatmocameraimage.blob.core.windows.net\/production\/zzz"},"message":"Person erfasst"}],"video_id":"zzz","video_status":"available"},{"id":"zzz","type":"outdoor","time":1673424346,"module_id":"zzz","subevents":[{"id":"zzz","type":"human","time":1673424346,"verified":true,"offset":0,"snapshot":{"url":"https:\/\/netatmocameraimage.blob.core.windows.net\/production\/zzz"},"vignette":{"url":"https:\/\/netatmocameraimage.blob.core.windows.net\/production\/zzz"},"message":"Person erfasst"},{"id":"lll","type":"human","time":1673424361,"verified":true,"offset":22,"snapshot":{"filename":"vod\/zzz\/events\/zzz\/snapshot_zzz.jpg"},"vignette":{"filename":"vod\/zzz\/events\/zzz\/vignette_zzz.jpg"},"message":"Person erfasst"}],"video_id":"zzz","video_status":"available"},{"id":"zzz","type":"movement","time":1673423926,"module_id":"70:ee:50:5d:36:14","video_id":"zzz","video_status":"available","snapshot":{"url":"https:\/\/netatmocameraimage.blob.core.windows.net\/production\/zzz"},"vignette":{"url":"https:\/\/netatmocameraimage.blob.core.windows.net\/production\/zzz"},"message":"<b>Bewegung<\/b> erkannt"},...
It’s probably a wrong configuration, resp. lack of understanding of the home cameraEvent trigger.
Can someone please explain thow to configure this trigger correctly in the UI?
I have tried to create a rule with “a trigger channel fires” and the channel “security#home-event (Home Event)”. But it is never triggered (neither with nor without “HUMAN” in the event). And even if it were triggered, how do i get the last-event snapshot, datetime, message, etc. in the camera channel?
Thanks in advance for your help.