Skip to content

Releases: nasa9084/go-switchbot

v2.0.0

02 Feb 09:34
d6a4598
Compare
Choose a tag to compare

Changes

  • Chore: Update go version (#8)
  • Bug Fix: Fix data type for DeviceStatus.Voltage and DeviceStatus.Weight

Breaking changes

  • Data type for DeviceStatus.Voltage and DeviceStatus.Weight are changed to float64 from int

Full Changelog: v1.0.0...v2.0.0

v1.0.0

11 Nov 16:33
Compare
Choose a tag to compare

Now Switchbot API v1.1 is supported!

New feature

  • New Auth
  • Webhook for Cleaner robots
  • All supported commands for infrared devices
  • Supported new devices
    • Keypad, Keypad Touch
    • Ceiling Light, Ceiling Light Pro
    • Indoor Cam
    • Pan/Tilt Cam, Pan/Tilt Cam 2K

Breaking changes

  • Arguments for New() function is changed
  • All command functions are now suffixed with Command

Full Changelog: v0.3.0...v1.0.0

v0.3.0

05 Nov 15:48
Compare
Choose a tag to compare

note that the API version used by this package is still v1.0

Support new devices

  • Meter Plus
  • Strip Light
  • Plug Mini (US/JP)
  • Robot Vacuum Cleaner

Support Webhook

  • Support webhook APIs
  • Support parsing webhook events

Bug Fix

  • returned nil when failing POST to Send device control commands API

v0.2.0

14 Sep 12:13
Compare
Choose a tag to compare
support Motion Sensor, Contact Sensor, Color Builb

v0.1.0

29 Mar 09:22
Compare
Choose a tag to compare
add doc comments