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