Commit Graph

58 Commits

Author SHA1 Message Date
a938f3d71b feat(config)!: Improve config module resolution
All checks were successful
Build and deploy / build (push) Successful in 11m31s
Build and deploy / Deploy container (push) Has been skipped
The new system is slightly less flexible, but the code and lua
definitions is now a lot simpler and easier to understand.
In fact the old lua definition was not actually correct.

It is likely that existing configs require not/minimal tweaks to work
again.
2025-10-22 03:09:15 +02:00
7db628709a refactor: Split config
All checks were successful
Build and deploy / build (push) Successful in 10m56s
Build and deploy / Deploy container (push) Has been skipped
2025-10-20 05:02:19 +02:00
bc75f7005c feat(config)!: Device creation function is now named entry
It now has to be called 'setup', this makes it possible to just
include the table as a whole in devices and it will automatically call
the correct function.
2025-10-20 05:02:04 +02:00
2056c6c70d feat(config)!: Changed default config location 2025-10-20 04:48:33 +02:00
2ff59872b2 Moved last config items to lua + small cleanup 2024-05-07 00:05:37 +02:00
9f636a2572 mqtt client is now created in lua 2024-05-07 00:05:37 +02:00
3e4ea8952a Improved how devices are created, ntfy and presence are now treated like any other device 2024-05-07 00:05:36 +02:00
5069d1b0e7 Moved schedule config from yml to lua 2024-05-07 00:05:36 +02:00
bfc73c7bd3 Device config is now done through lua 2024-05-07 00:05:36 +02:00
8b191f6013 Updated airfilter mqtt topic
All checks were successful
Build and deploy automation_rs / Build automation_rs (push) Successful in 7m4s
Build and deploy automation_rs / Build Docker image (push) Successful in 1m28s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 29s
2024-03-27 04:46:06 +01:00
78bb80d510 Fixed: Frontdoor uses the wrong presence topic
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-20 22:55:04 +01:00
db17b68e90 Feature: Schedule devices turning on/off
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-17 00:01:13 +01:00
0154d19b71 Fixed typo in topic name for air_filter
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-16 00:57:51 +01:00
dd4be4a2ee Switched from toml to yaml for configuration
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-05 22:41:48 +01:00
b12b76bd50 Added Air Filter support
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-07 05:34:33 +02:00
1f4e3c8119 Added extra kettle remote
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-01 21:29:28 +02:00
15cde02a8d You can now add remotes to IkeaOutlets
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-24 02:21:16 +02:00
1ba20c3390 You can now add remotes to HueGroups 2023-08-24 02:20:58 +02:00
9628b8a94b HueLight is now HueGroup and uses a scene to turn the light on, the contact sensor will also not override the current light state if it is already on
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-18 05:56:45 +02:00
cff9cb4bf6 Further improvements to how devices are created 2023-08-17 01:47:05 +02:00
27ef78e132 Added mechanism to prevent false positives
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 19:23:56 +02:00
bb131f2b1a Added basic hue light bridge, improved Timeout trait and setup frontdoor to turn on hallway ligh temporarily
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 04:45:35 +02:00
c584fa014c Adjusted washer threshold
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-15 00:26:38 +02:00
7f89780696 Made washer power threshold configurable
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-14 16:36:13 +02:00
ee00959e8a Added initial basic washer integration
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-14 03:52:00 +02:00
b97b682a5e Contact sensor can now turn on device when opened and turn them off again after a timeout 2023-08-14 02:58:58 +02:00
e38c5eed31 AudioSetup now takes the name of two already created devices and stores a reference to the devices instead of creating and owning the devices directly 2023-08-14 01:56:00 +02:00
76b75b0cfb The light in the bathroom will now turn off automatically after 45 min
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-13 23:20:07 +02:00
547f021a35 Adjusted the darkness threshold
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-12 20:09:56 +02:00
07563a6d30 Added charger as outlet type
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-19 23:02:39 +01:00
8511cde67e Adjusted the darkness lower threshold
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-20 00:24:29 +01:00
aa8963bd4a Directly send wol packet instead of using the webhook
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-19 22:19:26 +01:00
d36a6eb518 Adjusted the darkness thresholds
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-18 18:15:39 +01:00
4844bd5d79 Added debug bridge to publish state on mqtt
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-17 20:14:36 +01:00
de64a19c89 Make sure we actually use the production mqtt topics
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-17 18:45:04 +01:00
1e4d768d25 mqtt client name is now a config option 2023-01-17 18:23:57 +01:00
1a3867d951 Fixed mqtt hostname
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-17 18:18:18 +01:00
614b4b5e43 Made tls optional
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-17 18:12:03 +01:00
5961efa731 Removed hue token from repo 2023-01-17 17:29:54 +01:00
cf88768c15 Made hue_bridge and ntfy optional 2023-01-09 20:27:59 +01:00
99ff60a505 AudioSetup now takes two devices that implement the OnOff trait instead of being tied to KasaOutlet 2023-01-06 23:24:25 +01:00
03282b81c5 Further improved mqtt topic handling 2023-01-06 05:40:18 +01:00
47afda8dee Improved how mqtt topics are handled 2023-01-06 05:25:39 +01:00
27a63b1a79 Setting the presence mqtt topic is now optional, if not set it will generate an appropriate value automatically 2023-01-06 04:42:42 +01:00
d06c0b6980 Environment variables can now be used directly inside the config instead of requiring special handling 2023-01-06 04:07:50 +01:00
82859d8e46 Added authentication to fullfillment endpoint 2023-01-06 03:34:33 +01:00
9a239a88ec Added contact sensor that can act as a presence device with timeout 2023-01-05 04:29:27 +01:00
f88c7a5695 Added hue_bridge to bridge across the presence and darkness events 2023-01-05 03:01:21 +01:00
69abaf98d7 Switched to proper Ipv4Addr type 2023-01-05 02:09:36 +01:00
c9b2127eed Some cleanup and added light sensor 2023-01-03 20:46:37 +01:00