Plugins Sureflap Hub de chez Sure PetCare

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
HallezJB
Posts: 7
Joined: Saturday 05 March 2016 11:22
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.486
Location: Orange
Contact:

Plugins Sureflap Hub de chez Sure PetCare

Post by HallezJB »

Bonjour... je suis Français...
J'ai une chatière: Sureflap Grande Chatière à Puce Electronique Connect avec Hub

https://www.medicanimal.fr/Trappe-de-po ... vZEALw_wcB

Voulant l'intégrer à Domoticz, je suis arrivé sur ce post:
https://community.home-assistant.io/t/s ... r/41488/28

sur lequel il est dit qu'avec l'API on pouvait savoir l'état des entrées et sorties de notre chat...:
git clone https://github.com/rcastberg/sure_petcare.git


Une fois installé sur mon Raspberry je fais... avec mon adresse Email+mot de passe, ça fonciotnne...
./sp_cli.py --update -e <email_address> -p <password>

Puis ensuite, si je fais:
./hass_test.py j'ai bien l'état de ma chatière de mon chat Willy:

{'WILLY': 'Outside',
'avg_battery': 19,
'battery': 19,
'flap_online': True,
'hub_online': True,
'lock_status': 'Unlocked with curfew',
'locked': False}

Peux-ton l'intégrer dans un plugins de Domoticz pour l'avoir en matériel ???? et donc un retour des événements afin de savoir quand il rentre ou sort...

Merci beaucoup de votre aide...
dzjr
Posts: 45
Joined: Monday 02 July 2018 23:35
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.100xx
Location: Alkmaar, The Netherlands
Contact:

Re: Plugins Sureflap Hub de chez Sure PetCare

Post by dzjr »

Hello @HallezJB that would be a nice addition to my domoticz system.
I myself have a surecare connected cat flap and now use the app or the web interface.

I paired two cats with the cats, one unfortunately died recently ....

I tried to update the user and pass, but unfortunately I did not succeed.

I'm going to follow this post because I think it looks very nice when it comes to work!
NUC Proxmox VM Stable & Raspberry Pi-3 Domoticz Beta
Tradfri Pluging by Moroen, Home made MySensors, Luftdaten, Home & Garden automatisation.
APC Back-UPS XS 700U, Modbus RTU & Janitza UMG103, RF-Link
Sonos plugins
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest