1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-20 01:00:07 -07:00

93 Commits

Author SHA1 Message Date
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
708da5c9ef Improve docstrings 2018-06-17 10:41:14 -04:00
Adrian Sampson
4cde35597a Style fixes 2018-06-17 10:37:41 -04:00
Adrian Sampson
2dc1c331a6 Merge pull request #5 from bindismal/master
Support for zone and fan speed control
2018-06-17 10:35:28 -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
c6d597f446 Allow missing monitor return code 2018-04-28 09:59:42 -04: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
426043397d Move base64/JSON assumption to config method
The "Control" settings seem to use other encodings?
2018-04-21 14:56:41 -04:00
Adrian Sampson
597895b263 Expose AC config values I know of so far 2018-04-21 14:42:11 -04:00
Adrian Sampson
0b3730f5f2 Make a new Client base class
For generic device-related utilities. Eventually, non-AC devices should
inherit from this too.
2018-04-21 14:34:35 -04:00
Adrian Sampson
d3cee73759 Friendlier device-level config method 2018-04-21 14:31:49 -04:00
Adrian Sampson
5da0c4a281 Option lookup interface 2018-04-21 14:28:43 -04:00
Adrian Sampson
172c755f95 Transparently restart monitoring tasks that fail 2018-04-21 11:03:35 -04:00
Adrian Sampson
d7cadd09c5 New exception for failed monitor polls 2018-04-21 11:00:33 -04:00
Adrian Sampson
72b3b4c525 Update a comment 2018-04-21 10:50:28 -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
8588c109f8 Use self-reported C2F map instead of inverting F2C
This API is truly the worst.
2018-04-02 11:26:48 -04:00
Adrian Sampson
2dc014f17f Wrap devices in lists (fix #1, fix #2) 2018-03-11 09:59:17 -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
f0cb5b8165 Factor out control setting 2018-02-18 11:31:02 -05:00
Adrian Sampson
d79f242c0f Set on/off 2018-02-18 11:28:57 -05:00
Adrian Sampson
c7173124cd On/off status 2018-02-18 11:26:47 -05:00
Adrian Sampson
754b453903 Getting & setting mode values 2018-02-18 11:20:43 -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
5e258c65a6 Wrap AC polling results 2018-01-28 12:02:58 -05:00
Adrian Sampson
01ec35d94b Higher-level AC device wrapper 2018-01-28 11:41:04 -05:00
Adrian Sampson
c1a51c6f5a Expose explicit monitor start/stop methods 2018-01-21 18:55:15 -05:00
Adrian Sampson
8432b87d75 Send strings to JSON 2018-01-21 13:30:44 -05:00
Adrian Sampson
aae1dea181 Serialize model info data 2018-01-21 12:51:10 -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
445ea623fc Cache a ModelInfo wrapper 2018-01-21 12:25:18 -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
789e0f2fcc Add a skeleton setup.py 2018-01-20 23:13:25 -05:00
Adrian Sampson
94a1ec8531 Construct a client from a token 2018-01-20 22:02:22 -05:00
Adrian Sampson
8179148342 Inline the load/dump bits
The ol' expression problem strikes again.
2018-01-20 21:51:49 -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
0dde92b241 Docstring 2018-01-20 17:16:36 -05:00