Changes

OpenHAB2

686 bytes added, 00:33, 23 April 2019
/* Cameras */
* Basics for file locations: [https://docs.openhab.org/installation/linux.html#file-locations at this link]
[[Image:Filelocations.png|thumb|800px|left]]<br clear=both>
* Also, Good overview of the OpenHAB binding architecture: http://kacangbawang.com/openhab2-binding-architecture/* [http://www.cd-jackson.com/index.php/openhab/5-zwave-debugging-openhab this site] has info on debug settings etc.
* Set debug in OHAB console: <pre>log:set debug org.openhab.binding.isy</pre>
* WS client for ISY on raspi01: http://192.168.1.27/ws.html
:* to pipe ''journalctl'' logs into ''frontail'', use
journalctl -u homebridge | frontail -p 9002 -
 
:: or a bit more elaborate:
/bin/journalctl -u homebridge | /usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.json -t openhab -l 2000 -n 200 -p 9002 -
== Alexa setup ==
=== 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
It's probably best to have the Thermostat control mapped as a OpenHAB node in Node-RED as a separate HomeKit device, since the OpenHAB2 mappings for thermostats don't appear to work correctly. Also, the same is true for other "Thermostat" like devices (hottub, fireplace) - just keep Thermostats separate for now (with their own HomeKit ID). This also requires a separate Node-RED map into Alexa.
 
* link to [http://isy.home.hentschel.net/USER/WEB/ws.htm WS logger]
=== Zoneminder ===
* create items
* create in sitemap
 
=== Weather station ===
* AmbientWeather1400IP binding
* SolarRadiation ~ 30 when Solar panels come on/start producing
* Solar Radiation max ~ 750
 
== Influx / Grafana ==
=== Influx ===
* username openhab
* database openhab_db
Bureaucrat, administrator
963
edits