Skip to content
/ pypetwalk Public

Python Library to communicate with the petWALK.control module

License

Notifications You must be signed in to change notification settings

p0l0/pypetwalk

Repository files navigation

pypetwalk

PetWALK

PyPI - Python Version PyPI release Release status Build Pipeline codecov Checked with mypy Pre-commit License

pypetwalk is a Python 3 (>= 3.11) library to communicate with the petWALK.control module.

It is intended to be used in custom_component hapetwalk for Home Assistant.

Implementation is based on the petWALK.control local API (beta) (1.0.0) and some reverse engineering of the internal Websocket and AWS communication.

Available functions and their implementation status:

  • Activate/deactivate Brightness sensor (API)
  • Activate/deactivate Motion In (API)
  • Activate/deactivate Motion Out (API)
  • Activate/deactivate Rfid (API)
  • Activate/deactivate Time (API)
  • Open/close door (API)
  • Turn on/off the door (API)
  • Get Device Info (Websocket)
  • Factory reset (Websocket)
  • Init drive start (Websocket)
  • Delete RFID tag (Websocket)
  • Delete all RFID tags (Websocket)
  • Delete Pet RFID tag (Websocket)
  • Start RFID tag Learning (Websocket)
  • Stop RFID tag Learning (Websocket)
  • Check if RFID Tag exists (Websocket)
  • Get RFID tag list (Websocket)
  • Set system time (Websocket)
  • Get Wlan network list (Websocket)
  • Set Wlan network (Websocket)
  • Scan for Wlan networks (Websocket)
  • ZigBee join allowed (Websocket)
  • ZigBee confirm join (Websocket)
  • ZigBee list devices (Websocket)
  • ZigBee name device (Websocket)
  • ZigBee remove device (Websocket)
  • ZigBee update (Websocket)
  • Update Infos (AWS)
  • Get Notification Settings (AWS)
  • Get Timeline (AWS)