Skip to content

Netatmo adapter does not show all received event data (subevents) from netatmo outdoor cameras #178

Description

@The2Earthlings

Describe the bug
When checking the logs of the event handler you can see that Netatmo delivers subevent data. Here the logs in iobroker from the iobroker.netatmo adapter:

Handle Event: {"id":"63c1481xxxx","type":"outdoor","time":1673611290,"module_id":"70:ee:50:xx:xx:xx","subevents":[{"id":"f497f0e9-1cb2-4194-97a4-1b84af591ca2","type":"human","time":1673611290,"verified":true,"offset":0,"snapshot":{"url":"https://netatmocameraimage.blob.core.windows.net/production/63c1481cb7642afdea02axxxx"},"vignette":{"url":"https://netatmocameraimage.blob.core.windows.net/production/63c1481cb7642afdea02a7fe9a0902a5494e42700xxxx"},"message":"Person erfasst"},{"id":"fa4cae9c-xxxx","type":"human","time":1673611305,"verified":true,"offset":23,"snapshot":{"filename":"vod/29aebfc9-009d-43ac-xxxx/events/fa4cae9c-6bcd-xxxx.jpg"},"vignette":{"filename":"vod/29aebfc9-xxxx/events/fa4cae9c-6bcd-xxxx/vignette_fa4cae9c-xxxx.jpg"},"message":"Person erfasst"}],"video_id":"29aebfc9-xxxx","video_status":"available"}

But the object structure in iobroker for the netatmo adapter does not show up these information. At least this information is in my eyes relevant for events:

  • module_id -> to get the right camera
  • type -> to identify the event type
  • snapshot.url -> image url
  • snapshot.filename -> image filename
  • vignette.url -> vignette url
  • message -> message which describes the event
  • vignette.filename -> vignette filename

netatmo1

Versions:

  • Adapter version: 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions