Compare commits

..

20 Commits

Author SHA1 Message Date
1b9e36ce02
Added lua function to get the current hostname
All checks were successful
Build and deploy automation_rs / Build automation_rs (push) Successful in 6m39s
Build and deploy automation_rs / Build Docker image (push) Successful in 51s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
This makes it possible to set options depending on what machine we are
running
2024-05-05 01:31:05 +02:00
96006631c3
Fixed typo in README.md and added mosquitto as word 2024-05-05 01:28:19 +02:00
3720e1b8e8
Started work on reimplementing schedules 2024-05-05 01:28:18 +02:00
c355322549
Fixed spelling mistakes 2024-05-05 01:25:36 +02:00
8cc6629c77
Moved last config items to lua + small cleanup 2024-05-05 01:25:34 +02:00
0cfcbeca90
Fixed visibility of device configs 2024-05-05 01:24:26 +02:00
0fd3133357
LuaDevice macro now uses LuaDeviceCreate trait to create devices from configs 2024-05-05 01:24:24 +02:00
1714dd8a20
mqtt client is now created in lua 2024-05-05 01:21:29 +02:00
4f19ae4f68
DeviceManager no longer handles subscribing and filtering topics, each device has to do this themselves now 2024-05-05 01:21:27 +02:00
5beda5c4b7
Improved how devices are created, ntfy and presence are now treated like any other device 2024-05-05 01:19:23 +02:00
be259fa99d
Moved schedule config from yml to lua 2024-05-05 01:06:38 +02:00
144f5bb911
Set lua warning function 2024-05-05 01:06:38 +02:00
1a7cbf4f86
Slight macro cleanup 2024-05-05 01:06:37 +02:00
bf7e023a35
Improved the internals of the LuaDeviceConfig macro and improve the
usability of the macro
2024-05-05 01:06:37 +02:00
d4f6dd20f0
Use helper types to process config input into the right type 2024-05-05 01:06:36 +02:00
acdf15f32d
Added helper type to convert from ip addr to socketaddr with the correct port 2024-05-05 01:04:12 +02:00
5e4a9ee4c9
Added rename option to macro 2024-05-05 01:04:11 +02:00
dd9c2d3983
Everything needed to construct a new device is passed in through lua 2024-05-05 01:04:09 +02:00
675761ba55
Device config is now done through lua 2024-05-05 00:42:14 +02:00
3689a52afd
Replaced impl_cast with a new and improved trait
All checks were successful
Build and deploy automation_rs / Build automation_rs (push) Successful in 4m0s
Build and deploy automation_rs / Build Docker image (push) Successful in 52s
Build and deploy automation_rs / Deploy Docker container (push) Successful in 28s
With this trait the impl_cast macros are no longer needed, simplifying
everything.
This commit also improved how the actual casting itself is handled.
2024-05-05 00:33:21 +02:00

Diff Content Not Available