Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cat lefts the house without recognition #32

Open
Pr0mises opened this issue Aug 10, 2022 · 3 comments
Open

Cat lefts the house without recognition #32

Pr0mises opened this issue Aug 10, 2022 · 3 comments

Comments

@Pr0mises
Copy link

Pr0mises commented Aug 10, 2022

Hey all,
I've only one cat that's leaving the house pretty fast, the sensor can't keep up and doesn't recognize the cat name.
In the official app I get a notification with "An animal has left the house through the device <flap_name>"..

Is it possible to add an entity with that information as well, so I can change its position according to the log?

@xbmcnut
Copy link

xbmcnut commented Aug 11, 2022

If you use the Home Assistant mobile app you might be able to pull that info like this as I did once.

  - alias: "Announce when Kobi comes in"
    id: 14c30678-8aa5-4a3a-a112-7c72879a71e0
    trigger:
      platform: state
      entity_id: sensor.pete_s_pixel_3_last_notification
      to: 'Kobi has entered through Laundry Door... Hi Kobi!'
    action:
      - service: media_player.play_media
        data_template:
           entity_id:
             - media_player.lounge_home

@Pr0mises
Copy link
Author

If you use the Home Assistant mobile app you might be able to pull that info like this as I did once.

  - alias: "Announce when Kobi comes in"
    id: 14c30678-8aa5-4a3a-a112-7c72879a71e0
    trigger:
      platform: state
      entity_id: sensor.pete_s_pixel_3_last_notification
      to: 'Kobi has entered through Laundry Door... Hi Kobi!'
    action:
      - service: media_player.play_media
        data_template:
           entity_id:
             - media_player.lounge_home

That would be a workaround

@ChristophCaina
Copy link
Contributor

if the app / cloud service has recognized that your pet has left or entered the house through the catflap, it should be reflected in the binary state / device tracker of this integration.

I have recognized, that it sometimes take some time until the information 'arrives' in HA...

Since the communication will be done by the SurePy Library, this would be more an issue there (since it is also happening for the Surepetcare integration of homeassistant, which is using the same library)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants