balenaCloud application for HomeBridge
You can setup a balena-homebridge computer either remotely or locally. We recommend the remote method since it provides an ability to manage multiple IoT devices from a single dashboard.
- Create an account at balenaCloud.
- Create an application at balenaCloud that is correct for your hardware.
- Add a device to your application following the instructions provided by balena.
- Clone or download this repo (or a fork of this repo) from GitHub.
- Add the repo for your application to your working copy of this repo.
- Once your device shows in the dashboard at balena, configure it:
- Optionally create an environment variable
HOMEKIT_PIN
set to the value of your choosing in the form###-##-###
where # is the digits0-9
or accept the default of000-00-000
- Optionally create an environment variable
HOMEKIT_USER
set to the value of your choosing in the form##:##:##:##:##:##
where # is the hexadecimal digits0-9
orA-F
or accept the default of00:11:22:33:44:55
- Optionally create an environment variable
KEEP_CONFIG
set toyes
orno
; if set toyes
(the default if not specified), the config.json will be persisted across application restarts; if set tono
, the config.json will be overwritten on your device everytime the application is restarted. - Optionally create an environment variable
CONFIG_URL
set to a URL that the desired config.json file can be downloaded from or accept the default value of an empty string which prevents the download from being attempted.
- Optionally create an environment variable
- Push the contents of your repo towards balenaCloud to complete the installation and initial configuration of your Homebridge device.
TBD