Compare commits

..

18 Commits

Author SHA1 Message Date
Dreaded_X af2a8bc35c Fixed typo in README.md and added mosquitto as word
Build and deploy automation_rs / Build automation_rs (push) Successful in 5m50s
Build and deploy automation_rs / Build Docker image (push) Successful in 52s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-04-30 02:20:51 +02:00
Dreaded_X 67ed13463a Started work on reimplementing schedules
Build and deploy automation_rs / Build automation_rs (push) Successful in 5m22s
Build and deploy automation_rs / Build Docker image (push) Successful in 40s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-04-29 04:55:39 +02:00
Dreaded_X b16f2ae420 Fixed spelling mistakes 2024-04-29 04:55:39 +02:00
Dreaded_X 96f260492b Moved last config items to lua + small cleanup 2024-04-29 04:55:30 +02:00
Dreaded_X 0b31b2e443 Fixed visibility of device configs
Build and deploy automation_rs / Build automation_rs (push) Successful in 5m14s
Build and deploy automation_rs / Build Docker image (push) Successful in 51s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-04-29 03:03:42 +02:00
Dreaded_X 2b62aca78a LuaDevice macro now uses LuaDeviceCreate trait to create devices from configs
Build and deploy automation_rs / Build automation_rs (push) Successful in 4m53s
Build and deploy automation_rs / Build Docker image (push) Successful in 59s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-04-29 02:53:21 +02:00
Dreaded_X 40426862e5 mqtt client is now created in lua 2024-04-29 02:19:52 +02:00
Dreaded_X c3bd05434c DeviceManager no longer handles subscribing and filtering topics, each device has to do this themselves now 2024-04-29 02:12:47 +02:00
Dreaded_X 9385f27125 Improved how devices are created, ntfy and presence are now treated like any other device
Build and deploy automation_rs / Build automation_rs (push) Successful in 5m30s
Build and deploy automation_rs / Build Docker image (push) Successful in 55s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-04-27 02:55:53 +02:00
Dreaded_X 8c327095fd Moved schedule config from yml to lua 2024-04-26 23:16:39 +02:00
Dreaded_X 57596ae531 Set lua warning function 2024-04-26 21:54:55 +02:00
Dreaded_X 8762a680a8 Slight macro cleanup
Build and deploy automation_rs / Build automation_rs (push) Successful in 4m26s
Build and deploy automation_rs / Build Docker image (push) Successful in 34s
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
2024-04-26 06:03:54 +02:00
Dreaded_X e7fb8bfb8d Improved the internals of the LuaDeviceConfig macro and improve the
usability of the macro
2024-04-26 06:03:54 +02:00
Dreaded_X dc3a7e5407 Use helper types to process config input into the right type 2024-04-26 06:03:54 +02:00
Dreaded_X 20606c6356 Added helper type to convert from ip addr to socketaddr with the correct port 2024-04-26 06:03:54 +02:00
Dreaded_X d8198bf5b0 Added rename option to macro 2024-04-26 06:03:54 +02:00
Dreaded_X 9449a83f61 Everything needed to construct a new device is passed in through lua 2024-04-26 06:03:54 +02:00
Dreaded_X 2bc2dc6be1 Device config is now done through lua 2024-04-26 06:03:54 +02:00
+1 -2
View File
@@ -47,8 +47,7 @@ async fn main() {
async fn app() -> anyhow::Result<()> { async fn app() -> anyhow::Result<()> {
dotenv().ok(); dotenv().ok();
tracing_subscriber::fmt::init(); console_subscriber::init();
// console_subscriber::init();
info!("Starting automation_rs..."); info!("Starting automation_rs...");