From Hentschel
Jump to: navigation, search

OpenHAB2

81 bytes added, 00:33, 23 April 2019
/* Cameras */
=== Cameras ===
* cameras will be tied to openhab2 via the zoneminder binding, which will get them onto BasicUI
* use the zm server to install Node.js + the homebridge camera node server, which gets them onto Apple HomeKit. Link to plugin is [https://www.npmjs.com/package/homebridge-camera-ffmpeg here]
* the node/homebridge/camera server evidently cannot add a camera to an already existing HomeKit key mapping. The camera def's need to be present when the bridge is paired with iOS. However, it is possible to change the cam url in the homebridge config.json.
* create a systemd service for homebridge as per the instructions here: https://gist.github.com/johannrichard/0ad0de1feb6adb9eb61a/ . If the homebridge setup was started and paired by starting manually before, copy the entire ~/.homebridge folder to /var/lib (not just the config.json), otherwise the already existing pairing info is missing. Don't forget to set correct perms/user/group on copied files. Also, make this service depend on "zoneminder.service" as explained here: https://stackoverflow.com/questions/21830670/systemd-start-service-after-specific-service