brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
925 stars 141 forks source link

Add configuration file for HKCam #37

Closed pieter closed 3 years ago

pieter commented 5 years ago

This makes it easy to change options like minimum bit rate, camera rotation and pairing PIN, without having to actually SSH into the device.

Will make some issues easier to configure, like #4 and #22

brutella commented 5 years ago

I like the idea of adding configuration options to ansible. Not sure if a text file in the boot partition is the best way.

If we use ansible to create the configuration file, why not use ansible variables. Take a look at the disable_camera_led variable as a reference.

pieter commented 5 years ago

Reason of putting it in the boot partition was that everyone can change this after flashing the OS to their device -- no need to install & run ansible to update the config. The boot partition is available on Linux / Windows etc. as well, so you can update the config in the same way as you set up the WiFi credentials.

brutella commented 3 years ago

Thanks 🎉