1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-15 23:00:18 -07:00

55 Commits

Author SHA1 Message Date
Frederik Gladhorn
ff8d0ba9e0 Print error on invalid command 2020-01-09 21:58:56 +01:00
Adrian Sampson
07b6a1ca21 Handle NotConnectedError in example 2019-11-28 09:34:51 -05:00
Adrian Sampson
b176cd26ee Nice error when device can't be found
Inspired by #17.
2019-06-20 13:17:02 -04:00
Adrian Sampson
8929123c8d Add country and language flags to example (#13) 2019-06-16 14:51:20 -04:00
Adrian Sampson
0317c81bdf Use argparse for example 2019-06-16 14:30:11 -04:00
nordron
4ad4946719 Revert changes 2018-09-12 00:17:56 +03:00
krocans
5a5e8bf47d DeviceInfo decodes monitor status data 2018-08-12 10:33:27 +03:00
krocans
910e55d018 Decode binary monitoring status data 2018-08-12 10:16:23 +03:00
root
0ee80dd122 Fix monitor data printed twice on missing 'value' 2018-08-11 23:32:08 +03:00
Adrian Sampson
4cde35597a Style fixes 2018-06-17 10:37:41 -04:00
bindismal
add21143d2 Accepted proposed changes 2018-06-17 23:50:33 +10:00
bindismal
3c59047d10 Added support for zone control for ducted HVAC that support zone control
Added support for reading / setting fan speed
2018-06-16 21:34:33 +10:00
Adrian Sampson
0a48345409 Get speaker volume setting
Still can't figure out how to *set* the light state.
2018-04-21 15:14:10 -04:00
Adrian Sampson
6d3e7b3fa6 Add method for reading light state 2018-04-21 14:59:53 -04:00
Adrian Sampson
597895b263 Expose AC config values I know of so far 2018-04-21 14:42:11 -04:00
Adrian Sampson
fe77d66e96 Show how to check device type 2018-04-03 10:45:58 -04:00
Adrian Sampson
c696489de2 Fetch device type 2018-04-03 10:40:38 -04:00
Adrian Sampson
86c63a92b5 Not all devices return JSON status data 2018-04-03 10:17:04 -04:00
Adrian Sampson
dd9ff96b39 Example to turn on/off a device 2018-02-18 11:40:31 -05:00
Adrian Sampson
7f7988effa Refactor example commands 2018-02-18 11:38:24 -05:00
Adrian Sampson
c7173124cd On/off status 2018-02-18 11:26:47 -05:00
Adrian Sampson
f8107ebc25 An enum for OpMode 2018-02-18 11:13:50 -05:00
Adrian Sampson
315dbd73e1 Example of higher-level monitoring 2018-02-18 11:00:27 -05:00
Adrian Sampson
9bf03ddb46 Used namedtuples for value info 2018-01-21 12:47:17 -05:00
Adrian Sampson
844d1c1bdb Look up value descriptions 2018-01-21 12:39:36 -05:00
Adrian Sampson
947ea8a647 DeviceInfo abstraction 2018-01-21 12:12:10 -05:00
Adrian Sampson
01366af56a Inline unnecessary helpers 2018-01-21 11:39:11 -05:00
Adrian Sampson
ebc9c5b679 Make load into a class method 2018-01-20 21:47:32 -05:00
Adrian Sampson
2ce09e9642 Move Client to main module 2018-01-20 21:43:02 -05:00
Adrian Sampson
f50c8d0221 Simplify retry loop 2018-01-20 21:39:37 -05:00
Adrian Sampson
b2bc017d99 Cache device list 2018-01-20 21:35:09 -05:00
Adrian Sampson
948d51b1b6 Try wrapping stuff up in a mutable client class 2018-01-20 21:33:44 -05:00
Adrian Sampson
b3315c60c8 Refresh session in example 2018-01-20 17:02:43 -05:00
Adrian Sampson
35a78281d6 Auth.from_url helper 2018-01-20 13:56:16 -05:00
Adrian Sampson
8fc2749a9b Obtain refresh token from OAuth 2018-01-20 13:53:19 -05:00
Adrian Sampson
29eb1804c5 Run monitor loop indefinitely 2018-01-08 14:47:27 -08:00
Adrian Sampson
336b7ec956 Fix format of control call 2018-01-08 14:46:04 -08:00
Adrian Sampson
c9afb9035c Start controlling settings 2018-01-08 14:39:50 -08:00
Adrian Sampson
244f4756c5 Pull out temperatures 2018-01-08 14:26:14 -08:00
Adrian Sampson
b8b50e5309 Little "subcommands" in the example 2018-01-08 14:21:09 -08:00
Adrian Sampson
d2735be4ad Unpack poll results 2018-01-08 14:16:43 -08:00
Adrian Sampson
d0a4e3e823 Try out monitoring 2018-01-08 14:03:46 -08:00
Adrian Sampson
3f6b4f1bf8 Sketch unused monitoring stuff 2018-01-08 13:51:44 -08:00
Adrian Sampson
e31f126cd9 Refactor session creator into function 2018-01-08 13:24:53 -08:00
Adrian Sampson
5ffa880e80 Handle the error 2018-01-08 13:16:27 -08:00
Adrian Sampson
7ff25e9eea Move OO interface to the library 2018-01-08 11:44:08 -08:00
Adrian Sampson
82fca74b05 Use a chain of objects for getting a session 2018-01-08 11:37:59 -08:00
Adrian Sampson
696f728752 Revert "Crude memoization helper"
This reverts commit a28dd98d77a6aacb6288cb7c371aa2091023b79a.
2018-01-08 10:13:03 -08:00
Adrian Sampson
a28dd98d77 Crude memoization helper 2018-01-08 08:53:05 -08:00
Adrian Sampson
211c303891 Just print the alias 2018-01-06 14:31:46 -08:00