Roberto Cosenza
|
f8803a7b15
|
Lint and fix some subtle bugs
|
2021-06-23 11:58:21 +01:00 |
Roberto Cosenza
|
dbda9b4157
|
Adding support to set hc mode
|
2021-06-23 11:58:21 +01:00 |
Andrius Štikonas
|
add4dfea10
|
Fix linter.
|
2021-06-19 23:07:18 +01:00 |
Roberto Cosenza
|
43dbc27c0f
|
Add support to write the 'cooling temperature'
|
2021-06-19 22:24:09 +01:00 |
Andrius Štikonas
|
ee252edc18
|
Bump version to 0.7.
|
2021-03-30 19:20:44 +01:00 |
Dave O'Connor
|
e138bd95cd
|
Set default timeout to 60s
|
2021-03-30 11:52:13 +00:00 |
Andrius Štikonas
|
ec43960560
|
Bump version to 0.6.
|
2021-02-19 10:23:20 +00:00 |
Anton Tolchanov
|
18292bf629
|
Add retries, close connection on timeout (fix #6)
|
2021-02-09 09:37:33 +00:00 |
Dave O'Connor
|
e769da03f7
|
Add error checking/exception to connection code.
Add a timeout for async read/write to the stream.
|
2021-02-07 19:46:35 +00:00 |
Dave O'Connor
|
90d5969e53
|
Merge branch 'knyar/neohubapi-tests'
|
2021-02-07 18:41:28 +00:00 |
Anton Tolchanov
|
7117c890f0
|
Add a few tests for NeoHub._send
|
2021-02-07 18:37:16 +00:00 |
Dave O'Connor
|
7bbc4d3f96
|
update to 0.5
|
2021-02-06 13:42:34 +00:00 |
Dave O'Connor
|
b55ea393cb
|
Expand our own enums.
|
2021-01-31 21:16:32 +00:00 |
Dave O'Connor
|
4792fc8249
|
Resolve "Add README for CLI"
|
2021-01-31 21:15:36 +00:00 |
Dave O'Connor
|
53a3d0b5a2
|
Specify type hints with defaults in NeoHub.
Implement the three methods with optional datetimes.
Implement permit_join with optional timeout.
|
2021-01-28 19:12:20 +00:00 |
Dave O'Connor
|
d21c54b4a6
|
Eliminate the boilerplate approach: - use method signatures to build a callable
other fixes: Standardise capitalisation of NeoHub. Import inspect
entirely.
Still TODO: How to specify neostats on command line.
|
2021-01-27 12:17:24 +00:00 |
Dave O'Connor
|
e10b1de9ae
|
Pass the RHS of the enum value rather than the whole element.
|
2021-01-24 17:42:41 +00:00 |
Dave O'Connor
|
1f44cde9a3
|
Add flake8 lint CI pipeline and fix existing code for compliance.
|
2021-01-23 21:54:55 +00:00 |
Dave O'Connor
|
22d3be4131
|
Merge branch 'master' of gitlab.com:neohubapi/neohubapi into neohub_cli
|
2021-01-23 12:48:56 +00:00 |
Dave O'Connor
|
a1248e219e
|
Fix typo and alignment per review.
|
2021-01-23 12:45:23 +00:00 |
Dave O'Connor
|
1756eb86d4
|
Add our own exceptions, and use throughout for genuine usage errors.
|
2021-01-23 12:20:29 +00:00 |
Dave O'Connor
|
5c590b3ce0
|
correct comment.
|
2021-01-23 11:30:03 +00:00 |
Dave O'Connor
|
69819d81b2
|
Prettify output, add __str__ to neostat class.
|
2021-01-21 11:16:39 +00:00 |
Dave O'Connor
|
2430b7d5cd
|
Add initial neohub_cli
|
2021-01-20 01:21:44 +00:00 |
Andrius Štikonas
|
f2224fbb7c
|
Bump version to 0.4
|
2021-01-19 21:54:46 +00:00 |
Andrius Štikonas
|
54362b229c
|
Add attribution to neostat.py too.
|
2021-01-19 21:53:47 +00:00 |
Dave O'Connor
|
aa6020c621
|
Allow for the hub not returning some of our desired attributes.
|
2021-01-19 21:51:48 +00:00 |
Andrius Štikonas
|
5ef21a23fd
|
Merge branch 'master' into 'master'
Add none-checking to schedule_format_int_to_enum
See merge request neohubapi/neohubapi!3
|
2021-01-19 20:38:01 +00:00 |
Dave O'Connor
|
b54e00fbe3
|
Add none-checking to schedule_format_int_to_enum
|
2021-01-19 14:04:07 +00:00 |
Andrius Štikonas
|
c6d62b5852
|
Bump version to 0.3
|
2021-01-03 14:10:04 +00:00 |
Andrius Štikonas
|
27b997df37
|
Add set_timer_hold function to netostat class.
|
2021-01-03 13:47:33 +00:00 |
Andrius Štikonas
|
278867c4fc
|
Rename set_temp to set_target_temperature.
|
2021-01-03 13:42:52 +00:00 |
Andrius Štikonas
|
5fc952110e
|
Fix incompletely renamed set_frost function.
|
2021-01-03 13:39:19 +00:00 |
Andrius Štikonas
|
2fc8544a34
|
Check value and not just presense of TIMECLOCK and THERMOSTAT attributes.
|
2021-01-03 13:34:55 +00:00 |
Andrius Štikonas
|
ec92300199
|
Update README to new API.
|
2021-01-02 22:55:13 +00:00 |
Andrius Štikonas
|
7893ed66fd
|
Initial support for timeclocks.
|
2021-01-02 22:42:56 +00:00 |
Andrius Štikonas
|
65b9667d99
|
Fix parsing of HOLD_TIME attribute which can be larger than 24h.
|
2021-01-02 17:14:10 +00:00 |
Andrius Štikonas
|
bea16520f5
|
Update README.md
|
2021-01-01 23:39:25 +00:00 |
Andrius Štikonas
|
105abc9339
|
Bump version to 0.2
|
2021-01-01 23:38:40 +00:00 |
Andrius Štikonas
|
db381d04e4
|
Move functionality of neohub.connect() into __init__.
|
2020-12-31 23:42:02 +00:00 |
Andrius Štikonas
|
da10de2d7a
|
Rename set_temp method to set_target_temperature.
|
2020-12-30 12:42:01 +00:00 |
Andrius Štikonas
|
9e59d5254b
|
Fix rate_of_change function.
|
2020-12-27 20:30:12 +00:00 |
Andrius Štikonas
|
0d5074fd4e
|
Remove commented out get_zones function.
|
2020-12-27 20:22:52 +00:00 |
Andrius Štikonas
|
3d839aeaf9
|
Rename holiday to set_holiday.
|
2020-12-27 20:21:22 +00:00 |
Andrius Štikonas
|
fed09bdaff
|
Add dependency on async_property.
|
2020-12-27 20:18:22 +00:00 |
Andrius Štikonas
|
c9041e7caf
|
Add target_temperature_step funtion and fix firmware version discovery.
|
2020-12-27 20:01:33 +00:00 |
Andrius Štikonas
|
3487ac3962
|
Add long_description type to setup.py.
|
2020-12-27 19:33:11 +00:00 |
Andrius Štikonas
|
1e4a60e642
|
Add README.txt to setup.py.
|
2020-12-27 19:31:11 +00:00 |
Andrius Štikonas
|
cb5645fcf0
|
Add minimal README.md.
|
2020-12-27 19:20:49 +00:00 |
Andrius Štikonas
|
67b502a861
|
Change license of example.py to MIT.
|
2020-12-27 19:20:34 +00:00 |