Commit graph

14 commits

Author SHA1 Message Date
Lars Strojny
479fbe5727 Refactor internal APIs 2022-11-14 01:20:53 +01:00
Lars Strojny
b74721ee76
Handle null values in characteristics (#20)
Apparently `characteristic.value` can also be null. Let’s handle it
properly. Fixes #19
2022-11-13 11:13:13 +01:00
Lars Strojny
f6bc8ca90c
Use code generation for UUID service map (#14)
Instead of introspecting *hap-nodejs* at runtime for UUID to service
mapping, generate the map during build time.
2022-11-10 11:07:31 +01:00
Lars Strojny
eead518f95
Gracefully handle unknown service UUIDs (#10) 2022-11-09 14:58:03 +01:00
Lars Strojny
72761ceee6
Support "tlv8" and "data" characteristic formats (#8) 2022-11-09 14:10:50 +01:00
Lars Strojny
2596c9f4ea Remove bundled hap-nodejs dependency 2022-11-08 23:58:46 +01:00
Lars Strojny
84761dfa93 Replace runtypes with zod, validate config, stricter eslint config 2022-11-08 19:13:34 +01:00
Lars Strojny
78a8972bb0 Expose bools as metrics as well 2022-11-08 01:20:46 +01:00
Lars Strojny
f1b48575cb Use hap-nodejs instead 2022-11-07 23:43:44 +01:00
Lars Strojny
ba3786bf6d Fix linting issues 2022-11-07 23:02:24 +01:00
Lars Strojny
7fd1c5a03c Extract prometheus server 2022-11-07 22:31:17 +01:00
Lars Strojny
ff7fd44f2c Extract rendering 2022-11-07 20:50:58 +01:00
Lars Strojny
4b4f8e8d0f Remove instance attribute 2022-11-07 19:32:38 +01:00
Lars Strojny
00dd20559a Initial version 2022-11-07 15:23:48 +01:00