Commit Graph

39 Commits

Author SHA1 Message Date
bf3d757710
Added lua function to get the current hostname
This makes it possible to set options depending on what machine we are
running
2024-05-07 00:05:38 +02:00
02d6630ac6
Started work on reimplementing schedules 2024-05-07 00:05:37 +02:00
bfc73c7bd3
Device config is now done through lua 2024-05-07 00:05:36 +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
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
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
0298e7891e
Use wakey fork on git.huizinga.dev instead of github.com 2023-09-01 21:16:13 +02:00
cff9cb4bf6
Further improvements to how devices are created 2023-08-17 01:47:05 +02:00
b1506f8e63
Improved the way devices are instantiated from their respective configs
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-16 02:17:21 +02:00
522fe27f11
Converted google home traits to be async
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-11 03:46:44 +02:00
330523166f
Store devices wrapped in Arc RwLock 2023-08-11 02:24:58 +02:00
f4c1ac5c9b
Moved most config structs to be in the same file as what they are for 2023-04-13 05:12:39 +02:00
92c8f3074f
Devices now handles subscribing to mqtt topics 2023-04-12 04:37:16 +02:00
854098e292
Added tokio-console support 2023-04-12 03:34:58 +02:00
ca8821b406
Rewrote impl_cast as a proc_macro to make it easier to work with 2023-04-12 01:20:21 +02: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
a0cefa8302
Improved error handling
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2023-01-18 22:37:57 +01:00
81d4322ce9
Removed outdated feature on eui48 2023-01-17 17:18:24 +01:00
13f5c87c03 Improved error handling 2023-01-12 02:20:09 +01:00
220c68cd65 Converted more of the codebase to async 2023-01-10 00:37:13 +01:00
5b9d24e82f Switched to channels for communication between different parts of the code 2023-01-09 23:50:50 +01:00
0b22d0c6b7 Switched to a maintained fork of dotenv 2023-01-09 01:39:40 +01:00
8bc203cb2d Reduced the amount of indirect dependencies 2023-01-07 04:58:13 +01:00
50ff5b162e
Switched from std::RwLock to parking_lot 2023-01-06 23:16:36 +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
ee8d2fb74f
Enabled json feature of reqwest 2023-01-06 03:33:47 +01:00
cfd10a7daf
Refactored how we deal with blocking code and added AudioSetup 2023-01-03 05:26:00 +01:00
06e511758b
Switched to tracing 2022-12-29 06:14:01 +01:00
3c0f4bf3b3
Added ntfy.sh integration 2022-12-29 02:36:05 +01:00
8dc3fd42e7
Switched from warp to axum 2022-12-28 05:22:36 +01:00
2b4ddf82b6
Added WakeOnLAN device, some small refactoring and improved error handling 2022-12-28 03:27:25 +01:00
bb18cfdcee
Use workspaces 2022-12-27 22:34:40 +01:00
6c4ae9ec35 Instead of using pollster we use tokio::spawn to spawn a seperate task for subscribing and publishing to mqtt 2022-12-25 01:29:30 +01:00
1299443a7c
Moved some config over to an actual config file, improved error handling 2022-12-24 04:47:06 +01:00
7e3c3223b2
Adjusted how we requre Sync + Send, added logger, cleanup dependencies, and added web server using warp and tokio 2022-12-23 04:40:08 +01:00
e88e2fe48b
Finished basic google home implementation with some slight refactors along the way 2022-12-16 06:54:31 +01:00
4de0b31ec8
Added macro to generate cast traits and impls automatically 2022-12-14 05:49:51 +01:00
6627174c6f Started working on google home implementation 2022-12-12 00:00:39 +01:00
68cbccd72c Started work on rust rewrite of automation system 2022-12-10 18:03:01 +01:00