Compare commits

..

24 Commits

Author SHA1 Message Date
5cbd838e9a
Run the main binary by default
All checks were successful
Build and deploy automation_rs / Build automation_rs (push) Successful in 5m28s
Build and deploy automation_rs / Build Docker image (push) Successful in 43s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-05-05 14:56:59 +02:00
2aee44cba2
Make sure the generated lua definitions are up to date 2024-05-05 14:56:08 +02:00
27324e2c70
Further work on automatically generating lua type definitions 2024-05-05 14:56:08 +02:00
2e553038ba
Started work on generating definitions 2024-05-05 14:56:07 +02:00
808549bcba
Added lua function to get the current hostname
All checks were successful
Build and deploy automation_rs / Build automation_rs (push) Successful in 4m30s
Build and deploy automation_rs / Build Docker image (push) Successful in 39s
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 02:05:04 +02:00
7e152599a1
Fixed typo in README.md and added mosquitto as word 2024-05-05 02:05:04 +02:00
8bc529cc1a
Started work on reimplementing schedules 2024-05-05 02:05:04 +02:00
aafdfcba1f
Fixed spelling mistakes 2024-05-05 02:05:03 +02:00
3dbc14ccac
Moved last config items to lua + small cleanup 2024-05-05 02:05:03 +02:00
55025a67fc
Fixed visibility of device configs 2024-05-05 02:05:03 +02:00
742e3bd62a
LuaDevice macro now uses LuaDeviceCreate trait to create devices from configs 2024-05-05 02:05:02 +02:00
430355bb40
mqtt client is now created in lua 2024-05-05 02:05:02 +02:00
870da3eea9
DeviceManager no longer handles subscribing and filtering topics, each device has to do this themselves now 2024-05-05 02:05:01 +02:00
c4978ab9ca
Improved how devices are created, ntfy and presence are now treated like any other device 2024-05-05 02:04:45 +02:00
e43bd4ea2a
Moved schedule config from yml to lua 2024-05-05 02:02:37 +02:00
68b9676616
Set lua warning function 2024-05-05 02:02:37 +02:00
8377e1d696
Slight macro cleanup 2024-05-05 02:02:36 +02:00
c6b9005d1e
Improved the internals of the LuaDeviceConfig macro and improve the
usability of the macro
2024-05-05 02:02:36 +02:00
4273a25acd
Use helper types to process config input into the right type 2024-05-05 02:02:36 +02:00
92b7a2830a
Added helper type to convert from ip addr to socketaddr with the correct port 2024-05-05 02:02:36 +02:00
dec08fe0a2
Added rename option to macro 2024-05-05 02:02:35 +02:00
f115e0e6e8
Everything needed to construct a new device is passed in through lua 2024-05-05 02:02:35 +02:00
e79787561d
Device config is now done through lua 2024-05-05 02:02:35 +02:00
668f13863a
Replaced impl_cast with a new and improved trait
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 02:01:13 +02:00

Diff Content Not Available