Kevin David
b5136ed913
Document MQTT Discovery in README.md
2023-06-04 12:53:16 -04:00
Kevin David
2d37807401
Don't get clever trying to reuse device/availability
2023-06-04 12:44:20 -04:00
Kevin David
fd3fffc0a1
Attempting to reduce .clone() usage
2023-06-03 12:55:01 -04:00
Kevin David
fc8adf2a5c
Feature/optional MQTT discovery
...
Adds config options to enable MQTT Discovery as documented here: https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery
As discussed in https://github.com/QuantumEntangledAndy/neolink/pull/14#issuecomment-1561076262
Unfortinuately, the floodlight/spotlight doesn't show up in the `<AbilityInfo>` returned by the camera: https://github.com/QuantumEntangledAndy/neolink/pull/14#issuecomment-1563728970
Open to other suggestions on how to detect or enable these options.
2023-06-03 12:55:01 -04:00
Kevin David
a59dafab00
Switch back to distinct DOCKER_PRUNE_TOKEN
2023-05-28 16:41:30 -04:00
Kevin David
cf07304bae
Allow docker username to be specified, only use one token
2023-05-27 17:04:08 -04:00
Kevin David
5f96b2e7f8
Fix XML deserialization of FloodlightStatusList
...
The children are `FloodlightStatus`, so that's what we should `yaserde(rename)` to
2023-05-24 08:25:47 -04:00
Kevin David
d90f0b1002
Improve MQTT error message
2023-05-19 23:48:10 -04:00
Kevin David
355cd4846a
Remove incorrect code for now
2023-01-25 22:52:45 -05:00
Kevin David
6be7ac2d14
Remove .vscode, improve logging
2023-01-24 23:46:40 -05:00
Kevin David
8cbaf06cde
Satisify rustfmt
2023-01-24 23:14:11 -05:00
Kevin David
1f8296dd01
WIP: Add support for floodlight control over MQTT
2023-01-24 22:38:00 -05:00
Kevin David
2a0c2a2b46
Floodlight: Start filling in messages.md
...
This isn't as complete as the other entries, but figured it'd be a good start.
2022-12-12 15:13:38 +07:00
Kevin David
db0cc39b4b
Upgrade Actions build OSs to latest versions
...
Avoid all these depreciations:
- https://github.com/actions/runner-images/issues/5583
- https://github.com/actions/runner-images/issues/6002
- Windows hasn't been announced yet but was moved to latest recently: https://github.com/actions/runner-images/issues/4856
2022-12-12 15:13:38 +07:00
Kevin David
063855f720
Satisfy Rustfmt requirements
2022-12-12 12:18:58 +07:00
Kevin David
9c0eed7a11
Move Clippy & Rust-fmt back to ubuntu-20.04
...
Get these working again, the issue causing their breakage on 22.04 can be diagnosed later.
2022-12-12 12:18:58 +07:00
Kevin David
12e145b5ea
Remove launch.json
2022-12-11 13:07:23 +07:00
Kevin David
c19bba9235
Improve MQTT documentation, example config
...
Also print an error message when the configuration isn't present but the `mqtt` subcommand is used. Without this, the program just exits without any messsages.
2022-12-11 13:07:23 +07:00
Kevin David
19b60aa192
Floodlight: Start filling in messages.md
...
This isn't as complete as the other entries, but figured it'd be a good start.
2022-12-03 23:46:32 -05:00
Kevin David
5503bb8c10
Upgrade Actions build OSs to latest versions
...
Avoid all these depreciations:
- https://github.com/actions/runner-images/issues/5583
- https://github.com/actions/runner-images/issues/6002
- Windows hasn't been announced yet but was moved to latest recently: https://github.com/actions/runner-images/issues/4856
2022-11-27 11:25:21 -05:00