dbuezas / icsee-ptz

44 stars 7 forks source link

Motion Alarm Unknown #32

Open ilhavo opened 5 months ago

ilhavo commented 5 months ago

Add my "Bresder 4k Camera" to integration and all good, but motion alarm appear "unknown".. How fix it? Thank you

dbuezas commented 5 months ago

Enable alarms first in the original app

ilhavo commented 5 months ago

Its activated... Camera need see moviment first for detect sensor in HA... All good now, but ptz wont work.. :( When press right or left, nothing... Only have One entity "motion alarm" os normal?

dbuezas commented 5 months ago

Yes that's normal, take a thorough look at the readme and it should be clear

ilhavo commented 5 months ago

when call service...

icsee_ptz.move. must contain at least one of entity_id, device_id, area_id.. Got {'type': 'execute_script', 'sequence': [{'service': 'icsee_ptz.move', 'target': {}, 'data': {'cmd': 'DirectionUp', 'step': 2, 'preset': 0}}], 'id': 96}

Entity is binary.motionalarm?

dbuezas commented 5 months ago

See https://github.com/dbuezas/icsee-ptz?tab=readme-ov-file#example-automation

The entity is the same you mentioned above.