Domotique/Homekit

De GeRgOsNet.

Installation de Homebridge sur une debian + Jeedom :

  • Installation de curl :
apt-get install curl
  • Installation de Nodejs :
curl -sL https://deb.nodesource.com/setup_5.x | bash -
apt-get install -y nodejs build-essential
  • Installation de git :
apt-get install git libavahi-compat-libdnssd-dev
  • Installation de homebrigde :
npm install node-pre-gyp -g
npm install -g --unsafe-perm homebridge 
npm install -g --unsafe-perm homebridge-http-jeedom
  • Faire la configuration de son plugin dans le dossier utilisateur puis .homebridge

homebridge-http-jeedom

A Jeedom http(s) plugin for Homebridge: https://github.com/nfarina/homebridge

List of available services (and configuration var): SwitchService -onCommandID -offCommandID -stateCommandID TemperatureService -temperatureCommandID HumidityService -humidityCommandID

   'jeedom_url' ==> URL address of your Jeedom server
   'jeedom_api' ==> Get your Jeedom API in "Configuration" in Jeedom
   'xxxCommandID' ==> Unique ID of the command, available in the detail view of the command in Jeedom.
  • Exemple configuration :
"accessories": [
      "accessories": [
      {
          "accessory": "HttpJeedom",
          "jeedom_url": "https://jeedom.domain.com/jeedom",
          "jeedom_api": "x8r0pcqgjfghrthtx158",
          "service": "TemperatureService",
          "name": "Living Room Temperature",
          "temperatureCommandID": "185"
      }
  ]
Outils personnels