TECH7Fox / asterisk-hass-integration

Asterisk integration for Home Assistant
60 stars 14 forks source link

Can I use the integration to detect when someone pressed the doorbell button? #69

Closed felipecrs closed 1 year ago

felipecrs commented 1 year ago

I was thinking about using the State entity, but it also goes to INUSE when I call the extension from my side.

felipecrs commented 1 year ago

Actually yes. I think I can use the Callee entity. When the doorbell calls the conference room it is set to <unknown>, that should be enough.

felipecrs commented 1 year ago

@TECH7Fox the only issue I noticed is that after some hours, the entity stopped being updated. I had to manually reload the integration. Is this a known issue?

TECH7Fox commented 1 year ago

the only issue I noticed is that after some hours, the entity stopped being updated.

Shouldn't happen anymore with v1.0.0.

And you can now use the "connected line" sensor to see with who the doorbell is calling.