Commit Graph

104 Commits

Author SHA1 Message Date
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
Andrius Štikonas 5afe389234 Add zip_safe to setup.py. 2020-12-27 19:20:10 +00:00
Andrius Štikonas 464aa195f9 Fix imports after rearranging directory structure. 2020-12-27 19:06:12 +00:00
Andrius Štikonas 980ec9a62e Fix setup.py. 2020-12-27 18:45:55 +00:00
Andrius Štikonas c45fb963c9 Rearrange directory structure. 2020-12-27 18:31:26 +00:00
Andrius Štikonas a3eb2699c8 Add setup.py. 2020-12-27 18:23:05 +00:00
Andrius Štikonas e099fe4741 Parse GET_LIVE_DATA fields. 2020-12-20 22:58:04 +00:00
Andrius Štikonas 87c9516172 Draft Live data API proposal. 2020-12-07 00:55:00 +00:00
Andrius Štikonas 24127f9df5 Fix zone rename function and expected reply checking. 2020-12-07 00:54:29 +00:00
Andrius Štikonas c1a609f927 Add (rate_of_change) VIEW_ROC command. 2020-12-07 00:43:54 +00:00
Andrius Štikonas b70cc611e1 Remove missing import and add example to print temperatures. 2020-11-23 23:40:26 +00:00
Andrius Štikonas 3718cb64d1 Use types.SimpleNamespace when parsing JSon reply. 2020-11-23 23:37:04 +00:00
Andrius Štikonas fc9141d168 Add function to set switching differential. 2020-11-22 15:36:18 +00:00
Andrius Štikonas 3af9ff2bfb Add GET_LIVE_DATA command. 2020-11-22 13:02:01 +00:00
Andrius Štikonas e07e672a42 Add set temperature command. 2020-11-22 12:30:59 +00:00
Andrius Štikonas bfd6738b9c Add frost mode commands. 2020-11-22 12:22:14 +00:00
Andrius Štikonas 2415074907 Add lock/unlock commands. 2020-11-22 11:55:41 +00:00
Andrius Štikonas cbe9d0e418 Add permit_join and remove zone functions. 2020-11-22 11:13:24 +00:00
Andrius Štikonas 6c699feeb3 Add function to rename zones. 2020-11-22 10:52:33 +00:00
Andrius Štikonas 0b068649ca Add identify device function. 2020-11-22 10:29:15 +00:00
Andrius Štikonas 7511b7b29e Add NeoStat class. 2020-11-22 00:59:22 +00:00
Andrius Štikonas 5b590f577a Add identify function. 2020-11-22 00:37:53 +00:00
Andrius Štikonas fc9bc83b73 Add DST commands. 2020-11-21 18:08:25 +00:00
Andrius Štikonas bf20b390a7 Commands for setting date and time. 2020-11-21 17:11:49 +00:00
Andrius Štikonas b147662381 Add NTP commands. 2020-11-21 16:52:04 +00:00
Andrius Štikonas bb96122a69 Add get_device_list add devices_sn. 2020-11-21 11:55:21 +00:00
Andrius Štikonas b251f0c131 Add functions to get zones/devices. 2020-11-21 11:44:40 +00:00
Andrius Štikonas d44117d913 Add class to represent holidays. 2020-11-21 10:59:55 +00:00
Andrius Štikonas cf195e83ed Add get_holiday. 2020-11-21 01:56:01 +00:00
Andrius Štikonas e66627bf8a Add set_away function. 2020-11-21 01:49:26 +00:00
Andrius Štikonas 727caaa333 Add ScheduleFormat enum. 2020-11-21 01:39:15 +00:00
Andrius Štikonas f51fb1ce32 Add set_format. 2020-11-20 23:39:20 +00:00
Andrius Štikonas 6973ec8d17 Neohub can return invalid JSON. Assume that command failed.
E.g.

{"error":"Invalid argument to SET_TEMP_FORMAT, should be "C" or "F" "}

Correct JSON would be
{"error":"Invalid argument to SET_TEMP_FORMAT, should be \"C\" or \"F\" "}
2020-11-20 23:26:45 +00:00
Andrius Štikonas 175497b15b Add method to set temperature format. 2020-11-20 23:17:40 +00:00
Andrius Štikonas 135c6033bc Add mechanism to compare expected replies. 2020-11-20 23:13:16 +00:00
Andrius Štikonas 1c75067de9 Add Set Channel method. 2020-11-20 22:45:37 +00:00
Andrius Štikonas e7a5a15a75 Read socket data until null character. 2020-11-20 21:59:14 +00:00
Andrius Štikonas 7827133b89 Remove unused variable 2020-11-20 21:41:45 +00:00