Sureflap Connect - Pet Door

Hi Hans.

Have not had time to try this out yet.
So “many balls in the air” with HA at the moment. :joy::see_no_evil:
Not done any yaml yet, so it have been put aside for now. :smirk:

Can you maybe explain how I would be able to use this in HA or NodeRed? Cause the little knowledge I have with coding tells me there are some variables to be filled in here?

Quite a puzzle in the end to get see how the API works, thanks for the link above, it helped a lot.
I ended up with this setup, which seems to do the job.

(5sec delay is added since the ears automatically blink when a status changes, so I wait for that to be finished before changing the lights)

Anyone got issues with the battery level showing as unknown?

Mine works

1 Like

Any updates on this? I have tried raising an issue in GitHub, but it got closed. Haven’t seen any updates regarding the surepetcare integration … will this been added to the UI integrated version?

2 Likes

Hi, I can’t get my head around how the integration (SureHA) is still working, when SurePet forced me to change my password last time I logged in to their website.

I changed it by a single character, but the HA integration seemingly continues to work without me updating it there.

Further, I can’t for the life of me work out where I actually input my password into the integration, when I go to its UI, the only 2 fields are battery level inputs?

First of all, thank you for this great integration. I use it for my connected catflap.

For my cats I made two person entities, any easy to way to trigger zones on them? I want to set them “home” inside obviously, and zone “garden” when they leave. Has anyone done this?

When I first started to play with HA, I am sure I created a Person for both my cats. I gave both their person accounts a picture of them both.

I am sure I was able to get the picture to dim when they were out and be active when home. I cant for the life of me remember how I did it now.

This is exactly what i am looking for. Sorry I am a new to HA. how do I set this up?

got it working.

I see i needed to install the component from the link below. This is now working for me. Thanks for idea.

Anyone want to take up the charge to add the ability to see which pet door the pet came though? Mine have to go through two doors to get outside, but once the go through the first it shows them as outside.

I see they record this data in the app, so I’m hoping it can be ported to this integration.

1 Like

Updating the integration probably would have been easier, but I don’t know how to do that. So I put together some Node-Red code that goes out to the site to query which pet door the cat came through. So I trigger this anytime a cat’s status changes in HA.

:laughing:

1 Like

If anyone was interested I have just finished refactoring the PetHubLocal “Local Cloud” version I was working on last year and had quite a few months off for personal reasons. Works for me now.

2 Likes

So, is the proprietary hub actually needed in addition to Sureflap Connect Door. Or, is just the door enough for integration in Home Assistant?

Read the documentation and still unsure.

Yes you need the hub. The devices talk a modified Zigbee protocol they only Mark has built a basic client using the MRF radio.
I had my ESP32 code I build with the MRF as well but it never got to the state it was robust enough.
It’s my experience it is just far easier using the hub than trying to build something to replace it.

Alright, thanks much! Honestly, it isn’t worth the $300 for me. I’ll buy a basic pet door for $30 and forget about Home Assistant integration. Thanks for the confirmation. Much appreciated.

Hello! Is there a way to create sensors for each pet to track (and store) how much have they drinked daily, weekly and monthly? Like how the APP does so I can have some statistics via HA.

This are the Felaqua attributes:

id: 742764
parent_device_id: 413464
product_id: 8
household_id: 106052
name: Bebedero
serial_number: XXXXXXXXXXX
mac_address: XXXXXXXXXXX
index: 1
version: MzAzNA==
created_at: 2021-04-12T14:55:59+00:00
updated_at: 2022-09-24T12:31:22+00:00
pairing_at: 2022-01-07T10:57:11+00:00
control: 
fast_polling: true
learn_mode: false
tare: 0

parent: 
id: 413464
product_id: 1
product_firmware_id: 188
household_id: 106052
serial_number: XXXXXXXXXXX
mac_address: XXXXXXXXXXX
version: NTc4OQ==
created_at: '2019-09-20T11:00:48+00:00'
updated_at: '2022-09-27T15:24:08+00:00'

status: 
version:
  device:
    hardware: 1
    firmware: 213
battery: 5.702
learn_mode: null
online: false
signal:
  device_rssi: -90
  hub_rssi: -90

tags: 
- id: 241429
  index: 3
  profile: 2
  version: MQ==
  created_at: '2022-01-07T11:08:19+00:00'
  updated_at: '2022-01-07T11:08:27+00:00'
- id: 243613
  index: 1
  profile: 2
  version: MA==
  created_at: '2022-01-07T11:02:42+00:00'
  updated_at: '2022-01-07T11:02:42+00:00'
- id: 244300
  index: 0
  profile: 2
  version: MA==
  created_at: '2022-01-07T10:58:05+00:00'
  updated_at: '2022-01-07T10:58:05+00:00'
- id: 246928
  index: 2
  profile: 2
  version: MA==
  created_at: '2022-01-07T11:05:22+00:00'
  updated_at: '2022-01-07T11:05:22+00:00'

drink: 
from: '2022-09-20T13:22:28+00:00'
to: '2022-09-20T13:24:22+00:00'
duration: 114
context: 1
device_id: 742764
weights:
  - index: 0
    weight: 434.89
    change: -25.45
    multi: false
actual_weight: -1044.12

entity_picture: https://surehub.io/assets/images/poseidon-left-menu.png
friendly_name: Felaqua Bebedero

By default, HA only keeps data for 10 days. What you could do is send the Felaqua data to something like InfluxDB for long term storage. Then you use Grafana to make some pretty graphs.

That’s about all I know at a high level. I think all that should work and give you a place to start.

1 Like

Thanks for the advice, I will try this!