Skip to content

Releases: Danielhiversen/pySwitchbot

0.15.0

23 Jul 07:47
3c8cff4
Compare
Choose a tag to compare

What's Changed

  • Refactor to support push updates by @bdraco in #49

New Contributors

Full Changelog: 0.14.1...0.15.0

0.14.1

20 Jul 08:27
85cfd3c
Compare
Choose a tag to compare

What's Changed

  • Discard sensor temperature alert status flags by @murtas in #46
  • Remove filter to handle new UUIDs in SwitchBot firmware by @Gibstick in #48

New Contributors

Full Changelog: 0.14.0...0.14.1

0.14.0

21 Jun 17:25
dbc9d52
Compare
Choose a tag to compare

What's Changed

  • Change library from bluepy to Bleak (with async) by @RenierM26 in #32

Full Changelog: 0.13.3...0.14.0

0.13.3

21 Feb 20:26
7669fda
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.13.2...0.13.3

0.13.2

09 Jan 07:25
2f5e2a1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.13.1...0.13.2

0.13.1

08 Jan 20:50
db75e9f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.13.0...0.13.1

0.13.0

08 Nov 19:51
6034257
Compare
Choose a tag to compare

What's Changed

  • Add additional curtain btle data and get_basic_info function. by @RenierM26 in #29
  • Additional functionality for Bot and Curtain, reliability improvements. by @RenierM26 in #30

Full Changelog: 0.12.0...0.13.0

0.12.0

09 Oct 06:58
1d45316
Compare
Choose a tag to compare
0.12.0

0.11.0

19 Jun 13:03
590b58a
Compare
Choose a tag to compare

Add Class to discover all switchbots, all curtain bots or all bot. By @RenierM26

-Added discovery method.
-All updates are now handled by single advertisement scan.

This should allow discovery and coordinator based updates in hass integration.

model number (first byte of 16b service data):
"c" = Curtain
"H" = WoHand or otherwise known as bot.
"T" = woSensorTH or otherwise known as temp/humidity sensor. (I don't have one and can't test the output)

Returns python dict with all device data of type with single scan.
Example of single curtain (json formated - easier to format in notepad ++):

"fd8082999999": {
	"mac_address": "fd:80:82:99:99:99",
	"Flags": "06",
	"Manufacturer": "5900fd8082c51181",
	"Complete 128b Services": "cba20d00-224d-11e6-9fb8-0002a5d5c51b",
	"data": {
		"calibration": true,
		"battery": 57,
		"position": 98,
		"lightLevel": 2,
		"rssi": -68
	},
	"model": "c",
	"modelName": "WoCurtain"
},

Returns python dict with all device data of type with single scan.
Example of returned data for switchbot bot(json formatted - easier to format in notepad ++):

"e78943999999": {
	"mac_address": "e7:89:43:99:99:99",
	"Flags": "06",
	"Manufacturer": "5900e78943d9fe7c",
	"Complete 128b Services": "cba20d00-224d-11e6-9fb8-0002a5d5c51b",
	"data": {
		"switchMode": true,
		"isOn": true,
		"battery": 91,
		"rssi": -71
	},
	"model": "H",
	"modelName": "WoHand"
},

0.10.1

06 Jun 15:01
2fca8be
Compare
Choose a tag to compare
Added bot states and battery, refactored update methods. (#22)

* Added bot states and battery, refactored update methods.

* Fixes

* Add method to return battery.

* Implemented suggestions

* Fixed logic mistake on bot  is_on status.