Commit Graph

25 Commits

Author SHA1 Message Date
7a18f0f29e
Further work on automatically generating lua type definitions 2024-05-05 01:47:58 +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
5beda5c4b7
Improved how devices are created, ntfy and presence are now treated like any other device 2024-05-05 01:19:23 +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
acdf15f32d
Added helper type to convert from ip addr to socketaddr with the correct port 2024-05-05 01:04:12 +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
73a2b077ed
Fmt: Added cargofmt config and reformatted files
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-20 23:27:48 +01: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
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
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
b7329b58ee
Everything is now implemented as a Device using device_traits with all events going through a single place
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-14 05:46:04 +02:00
72ab48df42
The device create function is now standarized using a trait
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-13 05:46:17 +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
3645b53f7c
Applied rust fmt
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-10 01:33:39 +02:00
839c0a1c57
Applied clippy rules 2023-04-10 01:29:48 +02:00
3613c2cbdf
Changed how TODO notes are marked to properly highlight in vim 2023-04-09 23:01:21 +02: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
b6bf8a82a2
Improved code
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-18 20:05:03 +01:00
06389d83f7 Use &str instead of String whenever possible 2023-01-12 23:43:45 +01:00
13f5c87c03 Improved error handling 2023-01-12 02:20:09 +01:00
5b9d24e82f Switched to channels for communication between different parts of the code 2023-01-09 23:50:50 +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