It’s been a while since my last project (Neato), but here is a new release from me.
Announcing the Sure PetCare (Connect) SmartApp and PetCare Hub, PetCare Pet/Car Flap and Pet presence sensor device handlers. This enables you to connect Smartthings with the Sure PetCare Connected range of cat flaps and pet doors.
#Installation Guide (Smartthings Classic)
To install the Sure PetCare (Connect) app:
Add the Sure PetCare (Connect) app from GitHub as a new ‘My SmartApps’, select create from code option and paste. Click the ‘Create’ button. Save and Publish.
Add the Sure PetCare Hub / Sure PetCare Pet / Sure PetCare Pet Door Connect device types from GitHub as a new ‘My Device Handlers’, select create from code option and paste. Save and Publish. Repeat for each device type.
Add the Sure PetCare (Connect) app within the Smartthings mobile app from the Marketplace, then selecting the ‘SmartApps’ tab and locating the Sure PetCare (Connect) app under the ‘My Apps’ section which should be at the bottom of the list.
Log into your Sure PetCare account (email and password) via the smart app when first opened.
You should be able to select your household.
You should then be able to select your Sure PetCare devices and pets in the device selection screen.
Once you have selected your devices, click Done on the top right.
Your selected devices should automatically be configured and appear under ‘Things’ with the label [Device Name] [Device Type] e.g ’ Kitchen Flap Dual Scan Cat Flap Connect’ (may require SmartThings app restart).
Excellent, many thanks, I’m really pleased to see this!
Our Sure catflap is the best piece of tech in the house as far as my wife is concerned yet is the only smart device not on SmartThings. I shall try this DTH on Sunday.
I had one bit of functionality I’d always wanted with the catalpa that the standard Petcare app didn’t support that this nearly addressed. I wanted curfew mode - but have the “lock” time based on sunset.
Using this, I disabled Curfew mode in the app, and set up two automations, one to unlock in the morning, and then one to lock at sunset. Unfortunately this locked it so that they couldn’t come in either!
However, a quick tweak to the “lock” routine in the Pet Door device handler to set it to “out” rather than “both” and it now works a treat. That works fine for me as there’s not usually a time I want to keep them out, and I can always override it in the app if needed.
just finished playing with the alexa skill from Durdle… it is easy to get working but there are a few tips and tricks to getting it up and running. DO play with the powershell code first and use chrome in dev mode to understand what is happening, what the packets look like and to get the info you need.
Building the alexa skill is also straight forward but you need to modify and add bits into the code.
This skill means you can do several things easily…
ask cat flap how old is (cat)
ask cat flap who is outside/inside (or other location names)
ask cat flap where is (cat)
ask cat flap is (cat) inside/outside
ask cat flap for device status (this is a battery check and there are other things to say to do this)
ask cat flap (cat) is now inside/outside (for when they dont go through the cat flap!)
so lots of fun can be had. Using the proximity with the alexa rules means you can set things to happen (why not just use webcore?) so the skills available serve different purposes.