59 Commits
Author SHA1 Message Date
gisle bf903c1d71 fix crash in hue2 driver.
continuous-integration/drone/push Build is passing
2023-08-31 21:19:53 +02:00
gisle 19eb205ee3 try again.
continuous-integration/drone/push Build is passing
2023-08-31 20:37:54 +02:00
gisle edb45c74b6 Merge branch 'asmodeus' of git.aiterp.net:lucifer/new-server into asmodeus
continuous-integration/drone/push Build is passing
2023-08-31 20:25:59 +02:00
gisle c4b391db66 add forgetting devices to hue2 (untested yolo-deploy). 2023-08-31 20:25:26 +02:00
gisle 2a750ae1f7 add lucy color command for conversions.
continuous-integration/drone/push Build is passing
2022-02-28 23:04:28 +01:00
gisle f1ed6da6d7 Squashed commit of the following:
continuous-integration/drone/push Build is passing
commit 62e7cb88f4
Author: Gisle Aune <dev@gisle.me>
Date:   Mon Feb 28 22:52:06 2022 +0100

    refactor color system to be separate from models, also move errors out of models.

commit df865574bf
Author: Gisle Aune <dev@gisle.me>
Date:   Mon Feb 21 19:27:42 2022 +0100

    rework color system and make it work with drivers.
2022-02-28 22:52:25 +01:00
gisle d5cf30ea4b sensitize periodic light refresh in hue2 again.
continuous-integration/drone/push Build is passing
2022-02-19 20:43:38 +01:00
gisle 582bf3f46b decrease sensitivity in hue2 (should fix double press, regular check over-updating and massive update storms when regular checks find a lot of incongruences), and fix rare race condition
continuous-integration/drone/push Build is passing
2022-02-19 10:06:40 +01:00
gisle c72a7c3f43 fix xy color conversion using srgb instead of rgb.
continuous-integration/drone/push Build is passing
2022-02-18 17:01:37 +01:00
gisle 8a20bab709 reduce Hue2 'update storms'..
continuous-integration/drone/push Build is passing
2022-02-18 16:24:09 +01:00
gisle 27fd858c04 add device search.
continuous-integration/drone/push Build is passing
2022-02-17 21:58:03 +01:00
gisle d19a8e6ca0 add device rename and tweaks.
continuous-integration/drone/push Build is failing
2022-02-17 16:57:33 +01:00
gisle 107b29620d it has the trappings of a driver now, but essential features are missing: discovery and forgetting
continuous-integration/drone/push Build is passing
2022-02-15 22:31:51 +01:00
gisle 73e6cba770 add very partial hue2 driver wip.
continuous-integration/drone/push Build is passing
2022-02-14 22:03:41 +01:00
gisle 44bd327a71 add index for name in scene table to force uniqueness. 2022-02-14 22:03:28 +01:00
gisle cedd0d1d28 add support for invoking and assigning scenes by name.
continuous-integration/drone/push Build is passing
2022-02-12 11:36:23 +01:00
gisle 7471102413 add scene list subcommand.
continuous-integration/drone/push Build is passing
2022-02-10 20:46:05 +01:00
gisle bf4d000455 add info mode to lucy list command. 2022-02-10 20:38:10 +01:00
gisle 6947fc3461 add delete light endpoint and forget for Hue.
continuous-integration/drone/push Build is passing
2022-01-31 23:09:00 +01:00
gisle 600c90a614 undo group nonsense in hue bridge.
continuous-integration/drone/push Build is passing
2022-01-28 23:01:44 +01:00
gisle 6443e0ecd3 any/all.scene=-1 now checks for no scene.
continuous-integration/drone/push Build is passing
2021-10-31 09:51:06 +01:00
gisle 147231e4fd add sensor scenes for Motion and Temperature.
continuous-integration/drone/push Build is passing
2021-10-30 14:38:14 +02:00
gisle b191455753 optimize Hue light updates by using temporary groups.
continuous-integration/drone/push Build is passing
2021-10-30 12:05:56 +02:00
gisle ade49589a9 add another test and fix local.
continuous-integration/drone/push Build is failing
2021-10-03 18:35:04 +02:00
gisle ad2f912a6f change presence events, fix non-eq conditions.
continuous-integration/drone/push Build is failing
2021-10-02 17:34:44 +02:00
gisle 2abb4b1024 add time-of-day limitation to events.
continuous-integration/drone/push Build is failing
2021-10-02 14:43:15 +02:00
gisle b83673b2cc change nanoleaf default names to start at 1 instead of 0.
continuous-integration/drone/push Build is failing
2021-09-30 23:08:33 +02:00
gisle 6fe0d8b864 adapt Nanoleaf driver to Canvas.
continuous-integration/drone/push Build is failing
2021-09-30 23:07:11 +02:00
gisle 0cd325e8db add SaveMode for device which can be 0 (All) or a bitmask for what to save. It did not improve performance
continuous-integration/drone/push Build is passing
2021-09-26 10:50:54 +02:00
gisle 27f8c6b91d fix not being able to setOneShot in event updates. 2021-09-24 18:05:51 +02:00
gisle 0846290047 >_> 2021-09-24 17:14:27 +02:00
gisle 9b9e5e9da8 add lucy config. 2021-09-24 17:12:27 +02:00
gisle 3c2aa7212d add replace of * to % in fetch. 2021-09-24 17:03:25 +02:00
gisle d6c38d647f fix cli app help. 2021-09-24 16:59:14 +02:00
gisle 06fa73b916 add beginning of CLI app and some backend fixes. 2021-09-24 16:58:24 +02:00
gisle 7a6ee3f87b add device search endpoint. >_> 2021-09-21 20:55:13 +02:00
gisle d623647e21 fix device fetch returning duplicate results if overlapping tags are supplied. 2021-09-21 17:54:10 +02:00
gisle 4fd49d0480 add filtering to tags. E.g. Hue,Namrom+Gisle will return all with either of the former AND the latter. - will do the opposite. 2021-09-21 17:51:28 +02:00
gisle 38d777404b fix 'all.*' conditions counting 'incapable' devices like sensors. 2021-09-20 22:37:41 +02:00
gisle 2f9bd3c007 fixed hue updating too often, and change logic for fetchbyreference to support multiple tags, ids or bridges. 2021-09-20 22:09:41 +02:00
gisle 56a0525b9d add event handler API and logic. 2021-09-20 21:05:24 +02:00
gisle 1cf8c019e5 add EventHandlerRepo (probably has bugs) 2021-09-20 18:31:32 +02:00
gisle b2c9cca400 finish EventHandler model for now. 2021-09-20 18:10:18 +02:00
gisle 4109d41bec fix bug with empty buttons array being mistaken as [], and add /api/devices/batch. 2021-09-18 18:01:16 +02:00
gisle 616adc14a4 cancel 2021-09-18 16:14:12 +02:00
gisle 26fcc1f314 small fixed, device repo and some device api 2021-09-18 16:08:57 +02:00
gisle 4e734c86a5 Merge branch 'asmodeus' of git.aiterp.net:lucifer/new-server into asmodeus 2021-07-12 20:26:55 +02:00
gisle 766c534fcb add HorribleBroadcast™ functionality to LifX driver. 2021-07-12 20:26:50 +02:00
gisle 95ec918ed1 add lifx driver. It works with the bulb, but the code is a bit smelly. 2021-06-07 19:46:02 +02:00
gisle fff01befda fixed bug in hue driver where it would update either all or no bulbs. 2021-06-06 15:22:56 +02:00
gisle 677d9aa9b1 add support for hue temp sensor, fix saturation not working for hue bulbs. 2021-06-04 09:57:21 +02:00
gisle 5cdb4f3cf5 fix hue light/sensor search and add a separate SensorPresenceEnding event. 2021-06-03 23:30:23 +02:00
gisle 74fb2c6b5a fix oops in bridgetest. 2021-05-29 16:58:44 +02:00
gisle 2aa2757828 add rest of hue driver functionality. 2021-05-29 16:29:10 +02:00
gisle 883115bf8b Merge branch 'asmodeus' of git.aiterp.net:lucifer/new-server into asmodeus 2021-05-24 08:30:36 +02:00
gisle 954d6bd3e1 add state restore after Nanoleaf controller reboots. 2021-05-24 08:30:32 +02:00
gisle d6fdb48023 mark Nanoleaf panels for update if updateEffect changes th effect. 2021-05-23 14:44:38 +02:00
gisle 7406a25003 ħ€»ªŋœnß ª®€ þħ€ ”€ßþªŋœnß. 2021-05-23 13:57:31 +02:00
gisle 8f648de929 ßþ→ªn €® €n ßþœ®, ßþœ® ßœππ 2021-05-22 10:06:49 +02:00