/Spray-Mist-F638-driver-bluepy

A python driver for Spray-Mist-F638 BLE watering device

Primary LanguagePythonMIT LicenseMIT

Python Library for controlling of Spray-Mist-F638

test codecov Code style: black

Usage example

from spraymistf638.driver import (
  SprayMistF638,
  WorkingMode,
  RunningMode,
  SprayMistF638Exception
)

device = SprayMistF638("11:11:11:11:11:11")
if device.connect():
  work_mode = device.working_mode
  run_mode = device.running_mode
  device.disconnect()