ilcato / homebridge-Fibaro-HC2

Homebridge plugin for Fibaro Home Center 2 (and Home Center Lite ...)
Apache License 2.0
65 stars 27 forks source link

HC2 configuration problem #210

Closed Damianod27 closed 3 years ago

Damianod27 commented 3 years ago

Hi. I am new here. I'm just starting my adventure with Homebridge. I have already launched: Blebox, Tuya, Ewelink, Magic Home, Canbee 2 and Mqqt. What is most important to me is the Fibaro HC2. I don't want to act. I can't handle it. Can anyone help me ?

image

ilcato commented 3 years ago

It seems that the host param contains an IP address not existing.

Damianod27 commented 3 years ago

Where am I making a mistake?

image

image

image

image

Damianod27 commented 3 years ago

Can the username be an e-mail? Is it just the name itself?

ilcato commented 3 years ago

Are you able to 'ping' 192.168.8.173 from 192.168.8.171 ?

Damianod27 commented 3 years ago

image

ilcato commented 3 years ago

@Damianod27, in your config.json file I see on line 21 a platform param that shouldn't be present.

ilcato commented 3 years ago

Please, send me the entire config.json (without your credentials) please.

Damianod27 commented 3 years ago

I bought a Raspberry Pi specifically for your plug. My home automation up to 95% fibaro. I will reward you, my friend, when we complete the matter. Thank you for your help. I will send the configuration right away

Damianod27 commented 3 years ago

{ "bridge": { "name": "Homebridge", "username": "0E:17:CA:7B:7D:E3", "port": 51826, "pin": "279-27-279" }, "accessories": [ { "name": "Virtual Click", "genericswitch": true, "flip": false, "time": 1000, "accessory": "VirtualSwitch" }, { "name": "Virtual Hold", "genericswitch": true, "flip": false, "time": 1000, "accessory": "VirtualSwitch" } ], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "blue", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "bridge": { "name": "Blebox", "username": "192.168.8.194", "port": 51826, "pin": "000-00-000" }, "description": "Custom description", "platforms": [ { "platform": "BleBoxPlatform", "name": "Blebox", "NEXT_SCAN_DELAY_IN_MIN": 0 } ], "accessories": [], "platform": "BleBoxPlatform" }, { "name": "eWeLink", "countryCode": "48", "username": "damian.dobromilski@gmail.com", "password": "xxxxxxxxx", "mode": "auto", "disableDeviceLogging": false, "disablePlugin": false, "platform": "eWeLink" }, { "platform": "MagicHome-Platform", "name": "MagicHome-Platform", "debug": false, "lights": [ { "name": "Pixel LED", "ip": "192.168.8.179", "setup": "RGB", "purewhite": false, "timeout": 10000 }, { "name": "LED Tedee", "ip": "192.168.8.169", "setup": "RGB", "purewhite": false, "timeout": 10000 } ] }, { "platform": "TuyaLan", "devices": [ { "name": "Lampa Duplo", "type": "outlet", "manufacturer": "EZH", "model": "Wifi Mini Smart Life Outlet", "id": "011233455677899abbcd", "key": "0123456789abcdef" }, { "name": "Fibaro Home Center 2", "type": "outlet", "manufacturer": "EZH", "model": "Wifi Mini Smart Life Outlet", "id": "011233455677899abbcd", "key": "0123456789abcdef" } ] }, { "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:40", "port": 51826, "pin": "279-00-279" }, "description": "This is an example configuration file. You can use this as a template for creating your own configuration file.", "platforms": [ { "platform": "FibaroHC2", "name": "FibaroHC2", "host": "192.168.8.173", "username": "damian.dobromilski@gmail.com", "password": "test123", "pollerperiod": "2", "securitysystem": "disabled" } ], "accessories": [], "platform": "FibaroHC2" }, { "pruning": { "pruneMissingCachedAccessories": false, "restartsBeforeMissingAccessoriesPruned": 3, "pruneAllAccessoriesNextRestart": false }, "whiteEffects": { "simultaniousDevicesColorWhite": true, "colorWhiteThreshold": 10, "colorWhiteThresholdSimultaniousDevices": 50, "colorOffThresholdSimultaniousDevices": 5 }, "deviceManagement": { "blacklistOrWhitelist": "blacklist" }, "advancedOptions": { "namesWithMacAddress": false }, "platform": "homebridge-magichome-dynamic-platform" }, { "name": "Hue", "anyOn": true, "effects": true, "groups": false, "hosts": [ "192.168.8.171:4530" ], "lights": true, "nativeHomeKitLights": true, "nativeHomeKitSensors": false, "resource": true, "sensors": true, "wallSwitch": true, "platform": "Hue" }, { "name": "Alexa", "username": "homebridgeamazonalexa", "password": "xxxxxxx", "pin": "279-27-279", "routines": false, "blind": false, "door": false, "debug": false, "deviceListHandling": "allow", "platform": "Alexa" } ], "disabledPlugins": [ "homebridge-tuya-lan", "homebridge-magichome-platform" ] }

ilcato commented 3 years ago

@Damianod27, there was a new bridge inside the definition of the platform (probably you selected the new option coming Fromm homebridge 1.3, I don't know). Anyway, the correct configuration should be the following:

`{ "bridge":{ "name":"Homebridge", "username":"0E:17:CA:7B:7D:E3", "port":51826, "pin":"279-27-279" }, "accessories":[ { "name":"Virtual Click", "genericswitch":true, "flip":false, "time":1000, "accessory":"VirtualSwitch" }, { "name":"Virtual Hold", "genericswitch":true, "flip":false, "time":1000, "accessory":"VirtualSwitch" } ], "platforms":[ { "name":"Config", "port":8581, "auth":"form", "theme":"blue", "tempUnits":"c", "lang":"auto", "platform":"config" }, { "bridge":{ "name":"Blebox", "username":"192.168.8.194", "port":51826, "pin":"000-00-000" }, "description":"Custom description", "platforms":[ { "platform":"BleBoxPlatform", "name":"Blebox", "NEXT_SCAN_DELAY_IN_MIN":0 } ], "accessories":[

     ],
     "platform":"BleBoxPlatform"
  },
  {
     "name":"eWeLink",
     "countryCode":"48",
     "username":"damian.dobromilski@gmail.com",
     "password":"xxxxxxxxx",
     "mode":"auto",
     "disableDeviceLogging":false,
     "disablePlugin":false,
     "platform":"eWeLink"
  },
  {
     "platform":"MagicHome-Platform",
     "name":"MagicHome-Platform",
     "debug":false,
     "lights":[
        {
           "name":"Pixel LED",
           "ip":"192.168.8.179",
           "setup":"RGB",
           "purewhite":false,
           "timeout":10000
        },
        {
           "name":"LED Tedee",
           "ip":"192.168.8.169",
           "setup":"RGB",
           "purewhite":false,
           "timeout":10000
        }
     ]
  },
  {
     "platform":"TuyaLan",
     "devices":[
        {
           "name":"Lampa Duplo",
           "type":"outlet",
           "manufacturer":"EZH",
           "model":"Wifi Mini Smart Life Outlet",
           "id":"011233455677899abbcd",
           "key":"0123456789abcdef"
        },
        {
           "name":"Fibaro Home Center 2",
           "type":"outlet",
           "manufacturer":"EZH",
           "model":"Wifi Mini Smart Life Outlet",
           "id":"011233455677899abbcd",
           "key":"0123456789abcdef"
        }
     ]
  },
  {
     "platform":"FibaroHC2",
     "name":"FibaroHC2",
     "host":"192.168.8.173",
     "username":"damian.dobromilski@gmail.com",
     "password":"test123",
     "pollerperiod":"2",
     "securitysystem":"disabled"
  },
  {
     "pruning":{
        "pruneMissingCachedAccessories":false,
        "restartsBeforeMissingAccessoriesPruned":3,
        "pruneAllAccessoriesNextRestart":false
     },
     "whiteEffects":{
        "simultaniousDevicesColorWhite":true,
        "colorWhiteThreshold":10,
        "colorWhiteThresholdSimultaniousDevices":50,
        "colorOffThresholdSimultaniousDevices":5
     },
     "deviceManagement":{
        "blacklistOrWhitelist":"blacklist"
     },
     "advancedOptions":{
        "namesWithMacAddress":false
     },
     "platform":"homebridge-magichome-dynamic-platform"
  },
  {
     "name":"Hue",
     "anyOn":true,
     "effects":true,
     "groups":false,
     "hosts":[
        "192.168.8.171:4530"
     ],
     "lights":true,
     "nativeHomeKitLights":true,
     "nativeHomeKitSensors":false,
     "resource":true,
     "sensors":true,
     "wallSwitch":true,
     "platform":"Hue"
  },
  {
     "name":"Alexa",
     "username":"homebridgeamazonalexa",
     "password":"xxxxxxx",
     "pin":"279-27-279",
     "routines":false,
     "blind":false,
     "door":false,
     "debug":false,
     "deviceListHandling":"allow",
     "platform":"Alexa"
  }

], "disabledPlugins":[ "homebridge-tuya-lan", "homebridge-magichome-platform" ] }`

Damianod27 commented 3 years ago

Wow Wow Wow Wow Wow YOU ARE AMAZING !!!!!
Thank you very much !!!

I installed Homebridge from the official website. After entering the system, I did not set anything. What was wrong in the configuration file. I will know for the future as if I had put everything all over again.

Where can I reward you? Coffee GitHub or PayPal?

Damianod27 commented 3 years ago

What should I change what parameters to give on the standard HC2 plugin?

ilcato commented 3 years ago

What should I change what parameters to give on the standard HC2 plugin?

What do you mean?