dbuezas / icsee-ptz

61 stars 10 forks source link

Motion Alarm Unknown #32

Open ilhavo opened 10 months ago

ilhavo commented 10 months ago

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

dbuezas commented 10 months ago

Enable alarms first in the original app

ilhavo commented 10 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 10 months ago

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

ilhavo commented 10 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 10 months ago

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

The entity is the same you mentioned above.