Add username and password from your Sure Petcare® account on the adapter configuration page.
Also battery full and empty thresholds can be adapted here when using accus. This affects the battery percentage values.
The adapter provides information about the settings and status of your pet flap, cat flap, feeder or water dispenser.
It also shows the location of your pets and their food and water consumption (with feeder and/or water dispenser).
It lets you control the lockmode and curfew of your flap and set the location of your pets.
The adapter requires Node 18 or newer.
The following states can be changed and will take effect on your device respectively will be reflected in your Sure Petcare® app.
state | description | allowed values |
---|---|---|
household_name.hub_name.control.led_mode | sets the brightness of the hub leds | 0 - off 1 - high 4 - dimmed |
household_name.hub_name.flap_name.control.curfew_enabled | enables or disables the configured curfew | true or false |
household_name.hub_name.flap_name.control.current_curfew | sets the current_curfew, supports 1 (pet flap) or up to 4 (cat flap) curfew times |
[{"enabled":true|false, "lock_time":"xx:xx", "unlock_time":"xx:xx"}, ...] |
household_name.hub_name.flap_name.control.lockmode | sets the lockmode | 0 - open 1 - lock in 2 - lock out 3 - closed (lock in and out) |
household_name.hub_name.flap_name.assigned_pets.pet_name.control.type | sets the pet type for the assigned pet and flap | 2 - outdoor pet 3 - indoor pet |
household_name.hub_name.feeder_name.control.close_delay | sets the close delay of the feeder lid | 0 - fast 4 - normal 20 - slow |
household_name.pets.pet_name.inside | sets whether your pet is inside | true or false |
The adapter creates the following hierarchical structure:
adapter
├ household_name
│ ├ hub_name
│ │ ├ online
│ │ ├ serial_number
│ │ ├ signal
│ │ │ ├ device_rssi
│ │ │ └ hub_rssi
│ │ ├ version
│ │ │ ├ firmware
│ │ │ └ hardware
│ │ ├ control
│ │ │ └ led_mode
│ │ ├ felaqua_name
│ │ │ ├ battery
│ │ │ ├ battery_percentage
│ │ │ ├ online
│ │ │ ├ serial_number
│ │ │ ├ signal
│ │ │ │ ├ device_rssi
│ │ │ │ └ hub_rssi
│ │ │ ├ version
│ │ │ │ ├ firmware
│ │ │ │ └ hardware
│ │ │ ├ assigned_pets
│ │ │ │ └ pet_name
│ │ │ └ water
│ │ │ ├ fill_percent
│ │ │ ├ last_filled_at
│ │ │ └ weight
│ │ ├ feeder_name
│ │ │ ├ battery
│ │ │ ├ battery_percentage
│ │ │ ├ online
│ │ │ ├ serial_number
│ │ │ ├ signal
│ │ │ │ ├ device_rssi
│ │ │ │ └ hub_rssi
│ │ │ ├ version
│ │ │ │ ├ firmware
│ │ │ │ └ hardware
│ │ │ ├ assigned_pets
│ │ │ │ └ pet_name
│ │ │ ├ bowls
│ │ │ │ └ 0..1
│ │ │ │ ├ fill_percent
│ │ │ │ ├ food_type
│ │ │ │ ├ last_filled_at
│ │ │ │ ├ Last_zeroed_at
│ │ │ │ ├ target
│ │ │ │ └ weight
│ │ │ └ control
│ │ │ └ close_delay
│ │ └ flap_name
│ │ ├ battery
│ │ ├ battery_percentage
│ │ ├ curfew_active
│ │ ├ last_enabled_curfew
│ │ ├ online
│ │ ├ serial_number
│ │ ├ control
│ │ │ ├ curfew_enabled
│ │ │ ├ current_curfew
│ │ │ └ lockmode
│ │ ├ signal
│ │ │ ├ device_rssi
│ │ │ └ hub_rssi
│ │ ├ version
│ │ │ ├ firmware
│ │ │ └ hardware
│ │ └ assigned_pets
│ │ └ pet_name
│ │ └ control
│ │ └ type
│ ├ history
│ │ └ json
│ │ └ 0..24
│ └ pets
│ └ pet_name
│ ├ inside
│ ├ name
│ ├ since
│ ├ food
│ │ ├ last_time_eaten
│ │ ├ time_spent
│ │ ├ times_eaten
│ │ └ dry..wet
│ │ └ weight
│ ├ movement
│ │ ├ last_direction
│ │ ├ last_flap
│ │ ├ last_flap_id
│ │ ├ last_time
│ │ ├ time_spentoutside
│ │ └ times_outside
│ └ water
│ ├ last_time_drunk
│ ├ time_spent
│ ├ times_drunk
│ └ weight
└ info
├ all_devices_online
├ connection
├ last_update
└ version
SureFlap®, Sure Petcare® and Felaqua® are registered trademarks of SureFlap Ltd.
The pictures of the SureFlap® devices are provided free to use from Sure Petcare®.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2024 Sickboy78 asmoday_666@gmx.de