Commit Graph

30 Commits

Author SHA1 Message Date
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
Andrius Štikonas 688995ba82 Add get_system call. 2020-11-20 21:41:06 +00:00
Andrius Štikonas 0fb1805f80 Add command to reboot neohub. 2020-11-20 19:38:02 +00:00
Andrius Štikonas 1fe59a4255 Cache firmware version when connecting to hub. 2020-11-20 19:14:44 +00:00
Andrius Štikonas 1549113abd Async library to communicate with NeoHub2. 2020-11-20 18:47:02 +00:00