Sureflap Connect - Pet Door

Hi all.

Started with HA a few weeks ago, and had no issues so far, and everything in the sureflap integration works for me. So great work on this! :smile:

What I’m wondering about (I’ve read down to post 200ish looking for what I’m looking for, and gave up, so asking instead), the two ears on the hub, is it possible to “hack” into the leds?

I’m working on a flow in Node-Red to warn me if my garage-gate have been open for more than x time, and suddenly figured I would see if it was possible to get the ears on the hub to turn/flash red if so. :smiley:

If possible, I might use those led’s for more like a status of my home later on (if I have to check HA if something would be wrong and so on).

I found this in HA, binary_sensor.flaphub;

State attributes (YAML, optional)

led_mode: 4
pairing_mode: false
friendly_name: Flaphub
device_class: connectivity

So it is the “led_mode: 4”, that get me to believe this might be possible.

I have done no yaml configuration so far, 99% gui setting it all up, so I’m hoping someone already have a similarly setup, and can post it here, or explain it thoroughly here. :smiley:

Regards

Sven

Hi Sven,

you can set the brightness off your hub, which is transmitted in this sensor.
the Value 0 is off and 1 is on, 4 is dim.
Here you can see how to set it with a put request.

I did use the sureflapbeta for several months via HACS. I look to me that this integration has far more features (ex amounts of food left in the feeder).
Will this become available in the official app?

Danielhiversen advised the feeder information was to be included with the following pull request Add Sure Petcare Felaqua device by benleb · Pull Request #56823 · home-assistant/core · GitHub. This is showing as merged, and the update information for 2021.11 shows this was included, but I do not see the feeder information (I just have battery and connectivity, as before). Am I missing something?

1 Like

Any errors in the log?
Can you open an issue here? Issues · home-assistant/core · GitHub

Couldn’t see anything in the logs - seems to have loaded without issue. I just have the following entities listed for the feeders (same as before):
image

Should I be seeing the feeder information as is in the SureHA HACS addon, or not?
image

If you think it should be there, then I’ll raise a new issue … if not, then I’ll wait for a later release! I’m just a bit confused, as your comment to my previous raised issues suggested it should be available now.

Yes, I see the same thing, not other feeder sensors.

I’ve not had the HACS version installed, just the current integration.

Feel like I’m missing something here. I’ve removed the HACS version and installed the HA one. All fine there. But how can I change the status of Home/Not_home to display Inside/Outside for the sensor or the device tracker?

Looks like the issue was closed as it was taken to be a feature request.
I’m not sure what the best path is to get the missing feeder info into the official integration - I’m currently staying put with the HACs version pending resolution of this.

I am on the integration which comes with HA Core for a while now, in the beginning everything worked fine, I am not sure when it happened but at least longer than a month ago lock entities stopped working, after that I did couple HA Core updates (I try to be on latest version always) but the lock entities are still unavailable. I did remove the integration and added back but problem still exists.

Is this familiair for people using integration coming with the HA itself? Or am I only one having this issue?

EDIT:
I think I found the issue and it is not integration related, but it is weird, I should check this before but my cat flap appears to be offline, like I said it is weird since everything works except locking the flap, cats activities are working, you can see which cat is in or out and put them in or out from the website but the flap is offline :face_with_raised_eyebrow:

Like this:
sureflap_offline
It says not connected just before the battery indicator.
Power cycled the flap and the hub and same problem exist, so I am going to head over SurePet support I think.

EDIT 2: I got it working again, but you need to do in a correct order, first take the batteries out of the flap (I use adapter) and power cycle the hub, wait a minute or two and reconnect the flap, after couple minutes the flap comes online.

1 Like

Nice adapter i read somewhere in the internet that it is not recommend too use adapter because it interferes with the chip reader. My bigger petflap has sadly c1 batteries i see your brand doesn’t sell that

Hi Sven, I have been looking for this functionality as well. Did you manage to get dschido’s suggestion to work for you? (I’m not sure yet how to set it up)

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?