GithubHelp home page GithubHelp logo

homebridge-fibaro-hc2's Introduction

THIS PLUGIN WILL NOT BE MAINTAINED ANYMORE. PLEASE MIGRATE TO THE NEW ONE THAT SUPPORT ALL FIBARO HOME CENTER APPLIANCES: homebridge-fibaro-home-center

homebridge-Fibaro-HC2

npm version Downloads Homebridge Discord

Buy Me A Coffee

Homebridge plugin for Fibaro Home Center 2

Installation

Follow the instruction in homebridge for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:

npm install -g homebridge-fibaro-hc2

Configuration

Remember to configure the plugin in config.json in your home directory inside the .homebridge directory. Configuration parameters:

  • "host": "PUT IP ADDRESS OF YOUR HC2 HERE"
  • "username": "PUT USERNAME OF YOUR HC2 HERE"
  • "password": "PUT PASSWORD OF YOUR HC2 HERE"
  • "pollerperiod": "PUT 0 FOR DISABLING POLLING, 1 - 100 INTERVAL IN SECONDS. 2 SECONDS IS THE DEFAULT"
  • "securitysystem": "PUT enabled OR disabled IN ORDER TO MANAGE THE AVAILABILITY OF THE SECURITY SYSTEM"
  • "switchglobalvariables": "PUT A COMMA SEPARATED LIST OF HOME CENTER GLOBAL VARIABLES ACTING LIKE A BISTABLE SWITCH"
  • "adminUsername": "PUT ADMIN USERNAME OF YOUR HC2 HERE TO SET GLOBAL VARIABLES",
  • "adminPassword": "PUT ADMIN PASSWORD OF YOUR HC2 HERE TO SET GLOBAL VARIABLES",
  • "thermostattimeout": "PUT THE NUMBER OF SECONDS FOR THE THERMOSTAT TIMEOUT, DEFAULT: 7200 (2 HOURS). PUT 0 FOR INFINITE"
  • "enablecoolingstatemanagemnt": "PUT on TO AUTOMATICALLY MANAGE HEATING STATE FOR THERMOSTAT, off TO DISABLE IT. DEFAULT off"
  • "doorlocktimeout": "PUT 0 FOR DISABLING THE CHECK. PUT A POSITIVE INTEGER N NUMBER ENABLE IT AFTER N SECONDS. DEFAULT 0"
  • "IFTTTmakerkey": "PUT KEY OF YOUR MAKER CHANNEL HERE (USED TO SIGNAL EVENTS TO THE OUTSIDE)"
  • "enableIFTTTnotification": "PUT all FOR ENABLING NOTIFICATIONS OF ALL KIND OF EVENTS, hc FOR CHANGE EVENTS COMING FROM HOME CENTER, hk FOR CHANGE EVENTS COMING FROM HOMEKIT, none FOR DISABLING NOTIFICATIONS; DEFAULT IS none"

Look for a sample config in config.json example

Release notes

Version 2.4.3 (thanks @xlinur)

  • Fix slowdown
  • Fix batteryinfo

Version 2.4.2

  • Revert changes on deprecated library

Version 2.3.9

  • Additional Fixes for homebridge 1.3

Version 2.3.8

  • Fixes for homebridge 1.3

Version 2.3.7

  • added support for com.fibaro.FGDW002
  • added support for com.fibaro.baseShutter

Version 2.3.6

  • Yet another fix to venetian blind device issue

Version 2.3.5

  • Further fix to venetian blind device issue

Version 2.3.4

  • Fixed venetian blind device

Version 2.3.3

  • Fixed compatibility with changes on Fibaro API

Version 2.3.2

  • Fixed compatibility with homebridge 1.*

Version 2.3.1

  • Added support for Fibaro FGRGBW442CC. Attention!!! It may broke support for other color controllers types. Please have a check and report an issue in case of mulfunctioning.

Version 2.3.0

  • Fix thermostat temperature reading.

Version 2.2.9

  • Manage fahrenheit units.

Version 2.2.8

  • Manage the case of absence of plugin configuration.
  • Max ambient light level to 100000

Version 2.2.7

  • Support for Fibaro Walli Roller Shutter, Smartplug and Switch.

Version 2.2.6

  • Support for Fibaro Walli dimmer.

Version 2.2.4

  • Support for lamellas position in Venetian blinds.
  • Accessory information - Manufacturer, model, serial and firmware.
  • Battery level support.

Version 2.2.3

  • Debug version for fixing Danalock Siri #136.

Version 2.2.2

  • Fixed support for Fibaro Roller Shutter 3

Version 2.2.1

  • Fixed Danalock Siri #136.
  • Satel plugin zone and output support
  • Fixed support for Fibaro Roller Shutter 3

Version 2.2.0

  • Fixed Aeon Labs Dimmer seen as switch.
  • Fixed flickering bug in Security System
  • Support for Fibaro Roller Shutter 3, Fibaro Door/Window Sensor 2 and Fibaro Double Switch 2

Version 2.1.9

  • Fixed not working poller period disabling.
  • Fixed Fibaro RGBW support.

Version 2.1.8

  • Added support for Fibaro FGWPG111.

Version 2.1.7

  • Added support for Harmony Hub Fibaro plugin.

Version 2.1.6

  • Fixed triggering a scene via global variable change #108.

Version 2.1.5

  • Fixed further Security System bug #74.

Version 2.1.4

  • Fixed Security System bug #74.

Version 2.1.3

  • Fixed thermostat setpoint management.

Version 2.1.2

  • Fixed temperature management in Remotec ZXT-120 AC IR Extender.

Version 2.1.1

  • Fixed mode management in Remotec ZXT-120 AC IR Extender.

Version 2.1.0

  • Added support for Remotec ZXT-120 AC IR Extender.
  • Minor bug fixes.

Version 2.0.9

  • Added support for generic Smoke Detector.
  • Added support for Fibaro Thermostat.
  • Added support for Fibaro CO Sensor.
  • Added support for IFTTT notification integration. See Wiki.
  • Added support for Lock error detection and notification via IFTTT.

Version 2.0.8

  • Added support for Garage Door Controllers. Tested only on Aeon Garage Door Controller.
  • Fix in RGBW mapping

Version 2.0.7

  • Various fixes

Version 2.0.6

  • Fix automatic cooling state management.

Version 2.0.5

  • New config parameter for enabling automatic cooling state management.

Version 2.0.4

  • New config parameter for setting thermostat timeout.

Version 2.0.3

  • Fixed support for Switch accessories mapped on Home Center global variable. See Wiki.

Version 2.0.2

  • Added support for FGMS001v2
  • Added support for Switch accessories mapped on Home Center global variable. See Wiki.

Version 2.0.1

  • Added management for Heating Cooling state for thermostats
  • Fixed poller update

Version 2.0.0

  • Rewritten in TypeScript
  • Fixed Security System management (see updated Wiki)
  • Removed room grouping support
  • Better maintainability and extensibility

Version 1.1.2

  • Fixed RGBW

Version 1.1.1

  • Security system accessory fixed reading current status

Version 1.1.0

  • Security system accessory added - See wiki

Version 1.0.9

  • Thermostat logic fix.

Version 1.0.8

  • Thermostat logic cleanup and refactoring.

Version 1.0.7

  • Fixed Danfoss thermostat. Default 2 hours delay.

Version 1.0.6

  • Fixed Danfoss thermostat. It now correctly appears on Home app.

Version 1.0.5

  • Fixed problem with thermostat.

Version 1.0.4

  • Fixed problem displaying 0 lux luminosity sensor value.

Version 1.0.3

  • Added support for Fibaro Smoke detector

Version 1.0.2

  • Managed danalock correctly
  • Added support for new Fibaro wall plug

Version 1.0.1

  • Managed the case of Virtual Devices without any buttons in it: no accessory creation

Version 1.0.0

  • Managed automatic update of the additions, deletions and changes of Home Center devices into HomeBridge: simply restart HomeBridge every time you make a change in Home Center.
    This is the first (maybe the last) production ready version of the plugin.
    If an existing installation of the plugin exists you MUST delete the accessories folder within the .homebridge folder. This will invalidate existing homekit scenes or triggers that MUST be recreated.

Version 0.7.0

  • Managed negative value for temperature sensors
  • Fixed bug in managing door/window sensor automatic status update

Version 0.6.9

  • Added support for flood/leak sensors (thanks to leoneleone)
  • Managed remapping of 99% to 100% between homekit and Home Center also for blinds (thanks ryanmaxwell)

Version 0.6.8

  • Added new type definition for Fibaro Dimmer 2
  • Managed remapping of 99% to 100% between homekit and Home Center
  • Managed automatic setting of manage devices for relay associated to lights

Version 0.6.7

  • Fixed contact sensor status detection
  • Fixed management of multiple devices with the same name

Version 0.6.6

  • Added support for Door Locks (tested on Danalock and Yale devices)

Version 0.6.5

  • Fixed bug in contact sensors detection

Version 0.6.4

  • Added support for Humidity sensors

Version 0.6.3

  • Bug fixes in room grouping

Version 0.6.2

  • Bug fixes in Windows Covering in iOs 9.3
  • Added configuration parameter "pollerperiod"

Version 0.6.1

  • Bug fixes
  • Managed versioning of Fibaro Motion Sensor devices
  • Better log

Version 0.6.0

  • Migrated to the new homebridge 2.0 API

Version 0.5.4

  • Added support for Forest Shuttle curtain system

Version 0.5.3

  • Added support for Horstmann thermostat (eg.: Horstmann HRT4-ZW, Secure SRT321, ...)

Version 0.5.2

  • Added configuration parameter "grouping": put "room" for grouping devices by room, "none" for no grouping at all

Version 0.5.1

  • Full support for Fibaro RGB controller
  • Full support for Danfoss Thermostat

Version 0.5.0

  • In order to cope with the limits of HomeKit accessory per bridge (100 maximum) the plugin now group Home Center devices into a single HomeKit accessory per room.
  • Virtual devices are managed in the old way: an Accessory for each virtual device that contains a push button for each virtual button
  • Initial support for Fibaro RGB (only on off commands works for now)
  • Initial support for Danfoss Thermostat (only temperature commands works for now)

homebridge-fibaro-hc2's People

Contributors

0ff avatar barloew avatar emarrero avatar hovorkap avatar ilcato avatar lboue avatar leoneleone avatar makesimpleorg avatar nvdnkpr avatar oxystin avatar ryanmaxwell avatar xlinur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-fibaro-hc2's Issues

No negative temperatures

I have a temperature probe in a freezer (approx -20 C). No value is displayed in the Home app. I have googled around and found that "characteristic.Props.minValue" should be set to e.g. -50 in order to allow negative values for temperatures. Since my knowledge in JavaScript is very limited I need your help.
The winter is coming soon to Sweden so it I appreciate a fix if possible.

Error at launch

[6/5/2016, 2:12:24 PM] Homebridge is running on port 51826.
Plugin - DidFinishLaunching
[6/5/2016, 2:12:24 PM] [FibaroHC2] Fetching Fibaro Home Center rooms ...
events.js:141
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE 0.0.0.0:51826
at Object.exports._errnoException (util.js:837:11)
at exports._exceptionWithHostPort (util.js:860:20)
at Server._listen2 (net.js:1231:14)
at listen (net.js:1267:10)
at Server.listen (net.js:1363:5)
at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:58:19)
at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:155:20)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:480:16)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:92:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:82:10)

Issue when refreshing devices...

Hi,

Few days ago I found that sometimes my devices refresh was not working and iOS 10 tell me that he wasn't able to refresh.
I wanted to test homebridge using an Apple Watch and it's not able to connect to devices.

If I have a look to logs, I have this

[10/12/2016, 8:19:22 PM] [FibaroHC2] There was a problem getting value from296-null
[10/12/2016, 8:19:22 PM] [FibaroHC2] There was a problem getting value from28-null
[10/12/2016, 8:19:22 PM] [FibaroHC2] There was a problem getting value from28-null

Any idea ?

Problem with thermostat!

Hello! I have a problem with my thermostat and i hope that i can figure out the problem, with your help! The Home app says that the accessory is not supported, i also noticed that the Manufacturer of the unsupported accessory is IlCato, the serial number is unkown and the model is HomeCenterBridgedAccessory which seems wrong. I tried making the accessory grouped and not grouped but this didn't change a thing. I also took a look in the cached accessory file and this was weird! It had too many accessories and none of them looked like accessories! I am running Home Center Lite version: 4.091 Beta.
If you need more information please say so!

Thanks,

  • Konrad

Homebridge plugin feedback issue

I have a problem with feedback in homekit (homebridge). Concretely, when changing the brightness through fibaro (for example), homekit not recognize in real time that the change occurred. Please advise.

Homebridge only works on one device

Hi, I have finally successfully got the homebridge to work with my fibaro system.

The issue I am having is that I got my ipad to discover it and all went well but when I want to use my iphone to discover it it doesn't show up anymore. Is there a reason for that?

Thanks!

Remotec zxt-120 A/C Controller

Hi Ilcato,

I love the work you have done with the Fibaro HC2 home bridge plugin.

I have found that my Remotec ZXT-120 A/C Controller does not work in homebridge, it did detect before i updated to 1.09 however it still did not work correctly.

Is there a way to get this device working correctly?

Add new device on home kit

Hi,

I just add new devices on my Fibaro home center2, how can update device on homebridge for the homekit add it on iphone ?

Adjusting light brightness - causes multiple turnOn commands

In iOS 10, using the new Apple Home app, when adjusting the brightness of a Dimmer via Homekit the plugin appears to be sending sending "brighten to XX%" and "turnOn" messages to HC2.

The result is the brightness jumps around a lot as the HC2 fights the conflicting messages to 1) brighten the dimmer to XX% and 2) "turnOn" the dimmer (which sets the dimmer to it's last value).

I think the solution is to just not have the plugin send the turnOn command...

Here's a screenshot of the log:

screen shot 2016-07-10 at 19 03 04

Version 0.6.6 - TypeError: Cannot read property 'host' of null

Hello,

I am trying to use the latest version of this plugin on my Ubuntu PC.

npm install -g homebridge-fibaro-hc2

But when I start homebridge I am getting a TypeError: "Cannot read property 'host' of null "

homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2016-06-29 19:46:01] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-fibaro-hc2' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-fibaro-hc2'.
[2016-06-29 19:46:01] Loaded plugin: homebridge-fibaro-hc2
[2016-06-29 19:46:01] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[2016-06-29 19:46:01] ---
Load homebridge-fibaro-hc2.FibaroHC2
/usr/lib/node_modules/homebridge-fibaro-hc2/index.js:80
      this.fibaroClient = require('./lib/fibaro-api').createClient(config["host"], config["username"], config["password"]);
                                                                         ^

TypeError: Cannot read property 'host' of null
    at new FibaroHC2Platform (/usr/lib/node_modules/homebridge-fibaro-hc2/index.js:80:71)
    at Server._loadDynamicPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:294:30)
    at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:73:8)
    at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

Can you tell me what is wrong with my setup?

Other version

I addition I don't have this error with the 0.5.4 version.

ubuntu@ubuntu:/media/ubuntu/SD/homebridge$ sudo npm install -g [email protected]
/usr/lib
└─┬ [email protected]
  └─┬ [email protected]
    ├── [email protected]
    ├── [email protected]
    ├─┬ [email protected]
    │ └─┬ [email protected]
    │   ├── [email protected]
    │   ├── [email protected]
    │   ├── [email protected]
    │   ├── [email protected]
    │   ├── [email protected]
    │   └── [email protected]
    ├── [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    ├─┬ [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├─┬ [email protected]
    │ │ │ └── [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ └─┬ [email protected]
    │   └── [email protected]
    ├─┬ [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ └── [email protected]
    ├─┬ [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ ├── [email protected]
    │ │ ├── [email protected]
    │ │ └── [email protected]
    │ └─┬ [email protected]
    │   ├── [email protected]
    │   ├── [email protected]
    │   ├─┬ [email protected]
    │   │ └── [email protected]
    │   ├── [email protected]
    │   ├─┬ [email protected]
    │   │ └── [email protected]
    │   ├── [email protected]
    │   ├── [email protected]
    │   └── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    └── [email protected]

ubuntu@ubuntu:/media/ubuntu/SD/homebridge$
ubuntu@ubuntu:/media/ubuntu/SD/homebridge$
ubuntu@ubuntu:/media/ubuntu/SD/homebridge$ homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2016-06-29 20:16:07] Warning: skipping plugin found at '/usr/local/lib/node_modules/homebridge-fibaro-hc2' since we already loaded the same plugin from '/usr/lib/node_modules/homebridge-fibaro-hc2'.
[2016-06-29 20:16:07] Loaded plugin: homebridge-fibaro-hc2
[2016-06-29 20:16:07] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[2016-06-29 20:16:07] ---
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ┌────────────┐    
    │ 031-45-154 │    
    └────────────┘    

[2016-06-29 20:16:07] Homebridge is running on port 51826.

Regards,

Only virtual devices created

I use

  • node 6.7 on raspberry pi
  • homebridge-fibaro.hc2 v.0.7
  • Fibaro HC2 with 4.100 fw version

My config.json in ~/.homebridge/

{
    "bridge": {
        "name": "FIBARO-HC2",
        "username": "CC:22:3D:E3:CE:70",
        "port": 51826,
        "pin": "012-34-567"
    },
    "platforms": [
        {
            "platform": "FibaroHC2",
            "name": "FibaroHC2",
            "host": "10.0.1.43/",
            "username": "admin",
            "password": "admin",
            "grouping": "",
            "pollerperiod": "2"
        }
    ]
}

My devices:
Fibaro Relay x2
Fibaro Roller Shutter x2
Fibaro RGBW Controller x2
Z-Wave.Me Z-Uno x1
Virtual device Denon Remote
Virtual device Dune Remote
Virtual device Sony TV Remote

After Homebridge starting I see only 3 virtual devices, where is other devices?

pi@raspberrypi:~ $ /usr/local/node_modules/homebridge/bin/homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister
[10/13/2016, 11:39:14 PM] Loaded plugin: homebridge-fibaro-hc2
[10/13/2016, 11:39:14 PM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[10/13/2016, 11:39:14 PM] ---
[10/13/2016, 11:39:14 PM] Loaded config.json with 0 accessories and 1 platforms.
[10/13/2016, 11:39:14 PM] ---
[10/13/2016, 11:39:14 PM] Loading 1 platforms...
[10/13/2016, 11:39:14 PM] [FibaroHC2] Initializing FibaroHC2 platform...
[10/13/2016, 11:39:15 PM] [FibaroHC2] Configuring Accessory: Dune
[10/13/2016, 11:39:15 PM] [FibaroHC2] Configuring Accessory: Sony TV
[10/13/2016, 11:39:15 PM] [FibaroHC2] Configuring Accessory: Denon
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 012-34-567 │     
└────────────┘     

Plugin - DidFinishLaunching
[10/13/2016, 11:39:15 PM] [FibaroHC2] Fetching Fibaro Home Center rooms ...
[10/13/2016, 11:39:15 PM] [FibaroHC2] Server Listening...
[10/13/2016, 11:39:15 PM] Homebridge is running on port 51826.
[10/13/2016, 11:39:15 PM] [FibaroHC2] Fetching Fibaro Home Center devices ...

http://10.0.1.43/api/devices
hc2.json.txt

Error getting data from Home Center: TypeError: Cannot read property 'getCharacteristic' of undefined undefined

Hi

I get the following error when running home bridge for HC Lite and not really sure where to start looking for fixes. Please could you help?

[11/8/2016, 9:12:48 PM] Loaded plugin: homebridge-fibaro-hc2
[11/8/2016, 9:12:48 PM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[11/8/2016, 9:12:48 PM] ---
[11/8/2016, 9:12:48 PM] Loaded config.json with 0 accessories and 1 platforms.
[11/8/2016, 9:12:48 PM] ---
[11/8/2016, 9:12:48 PM] Loading 1 platforms...
[11/8/2016, 9:12:48 PM] [FibaroHC2] Initializing FibaroHC2 platform...
[11/8/2016, 9:12:48 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

Plugin - DidFinishLaunching
[11/8/2016, 9:12:48 PM] [FibaroHC2] Server Listening...
[11/8/2016, 9:12:48 PM] Homebridge is running on port 51826.
[11/8/2016, 9:12:48 PM] [FibaroHC2] Adding Accessory: Values
[11/8/2016, 9:12:48 PM] [FibaroHC2] Error getting data from Home Center: TypeError: Cannot read property 'getCharacteristic' of undefined undefined

My config.json file is in the following directory

/Users/UserName/.homebridge

Changes to virtual devices not updated

Hi together,

I am using homebridge on Raspberry 3 B and together with the Fibaro HC2 Plugin.

It all works great. All devices (sensors etc) are added and included perfectly.
In example virtuall devices with multiple buttons are included as single devices (one for each button / function) which is fine.

But:
If i change an devlice (for example if i add a button / funktion to a virtual device) there seems to be no chance to get this into homebridge and Apple Home app.

It does not show up as new device.
Maybe the reason is, that an existing device is not / never checked again after it has been added once?

Or is there a trick how to do that?

thank you / regards

Stuck in Adding Accessories

I have installed homebridge by nfarina and fibaro homebridge plugin by ilcato.

When i start homebridge using this command:
DEBUG=* homebridge

The log below:

*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[10/26/2016, 8:27:15 AM] Loaded plugin: homebridge-fibaro-hc2
[10/26/2016, 8:27:15 AM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[10/26/2016, 8:27:15 AM] ---
[10/26/2016, 8:27:15 AM] Loaded config.json with 0 accessories and 1 platforms.
[10/26/2016, 8:27:15 AM] ---
[10/26/2016, 8:27:15 AM] Loading 1 platforms...
[10/26/2016, 8:27:15 AM] [FibaroHC2] Initializing FibaroHC2 platform...
[10/26/2016, 8:27:16 AM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐
│ 031-45-154 │
└────────────┘

Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
Accessory [Homebridge] Creating new IdentifierCache +10ms
Plugin - DidFinishLaunching
[10/26/2016, 8:27:16 AM] [FibaroHC2] Fetching Fibaro Home Center rooms ...
[10/26/2016, 8:27:16 AM] [FibaroHC2] Server Listening...
EventedHTTPServer Server listening on port 51826 +54ms
[10/26/2016, 8:27:16 AM] Homebridge is running on port 51826.
[10/26/2016, 8:27:16 AM] [FibaroHC2] Fetching Fibaro Home Center devices ...
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Abdul cabin-Devices
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Showroom-Devices
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Workstation-Devices
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Master bedroom-Devices
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Guest Room-Devices
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Dining-Devices
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Broadlink IR blaster
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Pioneer VSX-2021 - Z1
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: SONY DVD
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Sony TV
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Hitachi
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: Ploneer Amplifier
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: SONOS Player1
[10/26/2016, 8:27:17 AM] [FibaroHC2] Adding Accessory: SONOS Player2
[10/26/2016, 8:27:18 AM] [FibaroHC2] Adding Accessory: Sonos
[10/26/2016, 8:27:18 AM] [FibaroHC2] Adding Accessory: Philips Hue VD
[10/26/2016, 8:27:18 AM] [FibaroHC2] Adding Accessory: Demo-Devices
[10/26/2016, 8:27:18 AM] [FibaroHC2] Adding Accessory: undefined-Devices

And that was the last line.
I had started homebridge manually.
When i try to connect home app from iphone, i give the code, it says
"Couldn't add homebridge
Home couldn't connect to this accessory"

Everytime i start homebridge i delete persist folders, remove cachedAccessories etc.

In my config.json I change the username field (that shows a mac address) also by a digit. Still same thing is happening.

Please help.

How to pass two arguments?

Hi, ilcato! I use fibaro-homebridge plugin. He is amazing.
I'm trying to edit their own code to support my thermostat (remotec zxt-120). But faced with difficulties. I need to send to fibaro command that includes two arguments (setThermostatMode "TargetTemp", "Mode"). You have only one argument passed to the code.

this.command("setThermostatMode", arg1 [+ arg2 ???] , service, IDs);

Is it possible to pass two arguments?

Door state inverted

The door is marked as closed when it's open, and as open when it's closed...

FIbaro door/window sensor

Thank's for your help

How to remove single Fibaro accessory from HomeKit setup

Hello,

Is there any way to remove a single Fibaro configured accessory from my HomeKit setup.
I presume if the accessory/device is removed from .homebridge/Accessories files and the persist files that should give me what I need. But how to pinpoint the relevant info from the files?
Is there an easier way to remove the single accessory like I described?

Many Thanks

Zipato RGBW support

Hello,

My HCL support the Zipato RGBW bulb, but this device is not loaded in the homebridge plugin.

Can you please add support for this device.

99% brightness shown, when light is 100% on

Thanks for your work on this plugin - great stuff :-)

In iOS 10, using the new Apple Home app, when lights, or blinds are 100% in he HC2 web interface, they are shown in Homekit as 99%.

img_3324

UUID errors

I am basically getting the following UUID errors when trying to run fibaro homebridge and i am on version 4.110. i have posted the error below.

*I do have two light bulbs (main light) that i have combined in fibaro to act as one light. Does not know if this is causing the error. Please help!

[1/8/2017, 12:16:55 PM] Initializing FibaroHC2 platform...
[1/8/2017, 12:16:55 PM] [FibaroHC2] Initializing FibaroHC2 platform...
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Main Motion Sensor
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Bed Sensor
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Main Light
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Door Sensor
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Door Temp
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Door Lux
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Bed Light right
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Main Temp
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Main Lux
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Main Humidity
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Fan
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Bed Light left
[1/8/2017, 12:16:55 PM] [FibaroHC2] Configuring Accessory: Main Motion Sensor
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:222
throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
^

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: a9e36d7c-5d44-4c71-9d67-7ae8bf98e7d9
at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:222:13)
at Server._configCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:348:18)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:83:8)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:535:3

Compatibility

Hi,
Do you think it's posssible to have version of homebridge-fibaro-hc2, who can display all devices in my fibaro HC2 ?
Actualy only fibaro devices are listen on homebrige.
For exemple Domitech Dimm-Leuchte ZBULB LED E27 is not listen on homebridge.

Best regards

Error connecting to HC2

Hi,

I've configured config.json what I believe properly, but when I start HomeBridge I get the following output:

*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[1/5/2017, 1:54:39 PM] Loaded plugin: homebridge-fibaro-hc2
[1/5/2017, 1:54:39 PM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[1/5/2017, 1:54:39 PM] ---
[1/5/2017, 1:54:39 PM] Loaded config.json with 0 accessories and 1 platforms.
[1/5/2017, 1:54:39 PM] ---
[1/5/2017, 1:54:39 PM] Loading 1 platforms...
[1/5/2017, 1:54:39 PM] [FibaroHC2] Initializing FibaroHC2 platform...
[1/5/2017, 1:54:40 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 031-45-154 │
    └────────────┘

Plugin - DidFinishLaunching
[1/5/2017, 1:54:40 PM] [FibaroHC2] Server Listening...
[1/5/2017, 1:54:40 PM] Homebridge is running on port 51826.
[1/5/2017, 1:54:40 PM] [FibaroHC2] Error getting data from Home Center: Error: connect CONNREFUSED 192.168.1.2:80 undefined

The error at the end seems to be why I can't get it working, and I believe I have configured everything correctly, I've tested the "rpi" user on my HC2 and it works fine:

Error: connect ECONNREFUSED 192.168.1.2:80 undefined

The config.json platforms part looks like the following:

    "platforms": [
            {
            "platform": "FibaroHC2",
            "name": "FibaroHC2",
            "host": "192.168.1.2",
            "username": "rpi",
            "password": "********",
            "grouping": "none",
            "pollerperiod": "2"
        }

    ],

Does anyone have any idea why the connection is refused? I'm on the 4.110 FW version on my HC2.

Thanks!!

//Jens

Accessory types

Good evening Ilcato,
Using homebridge-Fibaro-hc2 plugin, some "lighting" accessories are transformed in "power" accessories. This is the case for modules as FGS switches or Fibaro Wall plugs. The issue is that these accessories are not recognized when you ask Siri to switch on the lights. Of course you can fix it manually using eve for instance. But would it be possible to make them automatically recognized as lighting accessories buy homekit ? (As they are defined as lighting in hc2 interface). Thanks. Sébastien.

Couldn't add homebridge - Home couldn't connect to this accessory

Hi,

My homebridge is running in rasp pi 3 on noobs oS.

I have installed homebridge and fibaro plugin.
Started homebridge through systemd, homebridge does not seem to have any errors also. When i try to add it to apple home app, it finds the homebridge and displays as one of the accessories, when i try to pair by giving the code, it says "Couldn't add homebridge - Home couldn't connect to this accessory"

Please help

crash during homebridge start with Fibaro HC2

Hello,

the homebridge does not start with Fibaro HC2 connected.
Do you have any ideas to fix the issue?

Thanks.

[FibaroHC2] Found: com.fibaro.temperatureSensor
[FibaroHC2] Found: HC_user
[FibaroHC2] Found: HC_user
[FibaroHC2] Found: iOS_device
[FibaroHC2] Found: com.fibaro.zwaveDevice
[FibaroHC2] Found: iOS_device
[FibaroHC2] Found: iOS_device
[FibaroHC2] Found: HC_user
[FibaroHC2] Found: weather
[FibaroHC2] Found: com.fibaro.zwavePrimaryController
[FibaroHC2] Initializing platform accessory 'Temperatur'...
[FibaroHC2] Initializing platform accessory 'Temperatur'...
/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:216
throw new Error("Cannot add a bridged Accessory with the same UUID as another bridged Accessory: " + existing.UUID);
^

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 647efa6a-2ed2-4cac-a7b1-cb2e3bfbc36e
at Bridge.Accessory.addBridgedAccessory (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:216:13)
at Server. (/usr/lib/node_modules/homebridge/lib/server.js:346:24)
at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
at Request._callback (/usr/lib/node_modules/homebridge-fibaro-hc2/index.js:208:9)
at Request.self.callback (/usr/lib/node_modules/homebridge-fibaro-hc2/node_modules/request/request.js:199:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request. (/usr/lib/node_modules/homebridge-fibaro-hc2/node_modules/request/request.js:1036:10)
at emitOne (events.js:95:20)
at Request.emit (events.js:182:7)
at IncomingMessage. (/usr/lib/node_modules/homebridge-fibaro-hc2/node_modules/request/request.js:963:12)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:906:12)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)

Can't pair with Apple Home App when Fibaro HC2 plugin is installed

Hello,

I have a problem with the Fibaro HC2 plugin for Homebridge: I have installed Homebridge on my Raspberry Pi 3 running Rasbian and managed to pair it with the Apple Home App on my iPhone (without having any plugins or a config.json file present). But when I install the Fibaro HC2 plugin with Homebridge the Home App icon for Homebridge shows "No answer". If I remove Homebridge from the Home App and try to pair it again with the plugin installed it shows up and let me enter the pin code, but then tells me it can't be added.

Any ideas? All help would be very much appreciated! Thanks!

Fibaro plugin causing unhandled error

any ideas why this could be happening?

[5/24/2016, 11:59:17 PM] [FibaroHC2] Fetching Fibaro Home Center rooms ...
events.js:160
throw er; // Unhandled 'error' event
^

Error: bind EADDRINUSE 0.0.0.0:5224
at Object.exports._errnoException (util.js:953:11)
at exports._exceptionWithHostPort (util.js:976:20)
at dgram.js:221:18
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Function.Module.runMain (module.js:577:11)
at startup (node.js:160:18)
at node.js:449:3

Light Level zero makes no response

As you can see in the picture, the light sensor gives no response, if the light leven is at 0

It works fine at day when the Light Level is over 0

Support for LEAK SENSOR ??

Hi,

I've managed to add some flood/water sensors to my Fibaro setup, but the devices doesn't show up in HomeKit at all:

  • Newly purchased Fibaro Flood Sensors (FGFS-101) don't show up.
  • Aeotec Water Sensors (DSB45-ZWEU) don't show up either

Any ideas how I can make it transfer to HomeKit?

[FibaroHC2] Error fetching updates: null

When I try to start Homebridge it stuck for a while- then i get
[FibaroHC2] Error fetching updates: null.

Robins-Mac-Pro:~ Robin$ homebridge
[2016-09-29 08:50:57] Loaded plugin: homebridge-fibaro-hc2
[2016-09-29 08:50:57] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[2016-09-29 08:50:57] ---
[2016-09-29 08:50:57] Loaded config.json with 0 accessories and 1 platforms.
[2016-09-29 08:50:57] ---
[2016-09-29 08:50:57] Loading 1 platforms...
[2016-09-29 08:50:57] [FibaroHC2] Initializing FibaroHC2 platform...
[2016-09-29 08:50:57] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

Plugin - DidFinishLaunching
[2016-09-29 08:50:57] [FibaroHC2] Fetching Fibaro Home Center rooms ...
[2016-09-29 08:50:57] [FibaroHC2] Server Listening...
[2016-09-29 08:50:57] Homebridge is running on port 52280.
[2016-09-29 08:50:57] [FibaroHC2] Fetching Fibaro Home Center devices ...
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Fasad fram
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Fasadbelysning bak
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Fasad terras
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Belysning trädgård
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Fönsterlampa 2
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Fönsterlampa 1
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Ytterdörr lampa
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Entrédörr
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Lås
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Takspots 2
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Takspots
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Badrum ljus
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Badrum tak
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Badrum spegel
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Badrum Rörelse
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Badrum temperatur
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 12.0
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 75.0
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 12.0.1
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 12.0.2
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 75.2
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Philips TV
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Sovrum tak
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Kontorbelysning
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 5.0.2
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 5.0
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: 5.0.1
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Hemma
[2016-09-29 08:50:57] [FibaroHC2] Adding Accessory: Evelina Iphone
[2016-09-29 08:52:17] [FibaroHC2] Error fetching updates: null

Motion Sensor?

Hi, my Fibaro Motion Sensors are registered by Homebridge but do not appear in my HomeKit config regardless of which app I use.

Once everything is up and running in Homebridge, do fibre devices show up automatically as with other plugins?

Thanks :)

Enhancement: Battery Levels

Hi ilcato,

I haven't looked too deeply into it, but I've read that iOS 10.3 adds support for showing accessory battery levels into the home app.

The Characteristic.BatteryLevel has existed in HAP-NodeJS for a while, and the Fibaro api exposes batteryLevel as a device property. Fibaro documentation says it is a percentage, but I currently have a flat device that is reporting 255 for the batteryLevel so that should be taken into consideration.

Do you think we can add this to the plugin for the door/window contact sensors, and the motion sensors?

Support Fibaro Dimmer 2

Hi,

To support the Dimmer 2 I think the following needs modifying:
if (s.type == "com.fibaro.multilevelSwitch")
...becomes:

if (s.type == "com.fibaro.multilevelSwitch" || s.type == "com.fibaro.FGD212")

Error getting data from Home Center: null undefined

I tried to setup homebridge on my iMac running OS X 10.12

When I run homebridge i get the following error and I cannot find any devices from my iPhone:

Pantelis-iMac:.homebridge zirinisp$ homebridge
[9/20/2016, 8:13:18 PM] Loaded plugin: homebridge-fibaro-hc2
[9/20/2016, 8:13:18 PM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[9/20/2016, 8:13:18 PM] ---
[9/20/2016, 8:13:18 PM] Loaded config.json with 0 accessories and 1 platforms.
[9/20/2016, 8:13:18 PM] ---
[9/20/2016, 8:13:18 PM] Loading 1 platforms...
[9/20/2016, 8:13:18 PM] [FibaroHC2] Initializing FibaroHC2 platform...
[9/20/2016, 8:13:18 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

[9/20/2016, 8:13:18 PM] Homebridge is running on port 51826.
Plugin - DidFinishLaunching
[9/20/2016, 8:13:18 PM] [FibaroHC2] Fetching Fibaro Home Center rooms ...
[9/20/2016, 8:13:18 PM] [FibaroHC2] Server Listening...
[9/20/2016, 8:13:18 PM] [FibaroHC2] Error getting data from Home Center: null undefined

Where to place the Config.json ?

Hi.

The sample file is under
usr/local/.homebridge/ or
usr/local/lib/node_modules/homebridge ,
but from the instructions it might be that we should place it under
home/pi/.homebridge/

Stuck on Fetching fibaro home center devices

hello Ilcato,

I have since few days ago an error when lauch homebridge.
I run on windows8 + gitCmd + last node 2.14.20 + last homebridge + last homebridge-fibaro-h2 (i did a npm update already on everything), fibaro version 4.080.

1
2

I tryed to replace your file index.js #10 and reboot , i thought it was the same issue as the french guy in #10 but seems not..

I deleted both accessories and persist, tryied to relaunch many times, those files are still empty.

I tryed to uninstall homebridge-fibaro-h2 and modify .json as expected it's launching well.

I'm stuck with no more ideas...

thank you for the work and hope you will help me :)

Broken in HC2 version 4.070?

It seems that the plugin was broken after upgrading Fibaro HC2 to currently latest release 4.070.

Verifications from others are perhaps needed.

DNS Service Error: name conflict

I have installed homebridge by nfarina and fibaro homebridge plugin by ilcato.
Than i try to running hommebridge, but come with error like below

pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[11/1/2016, 8:10:19 AM] Loaded plugin: homebridge-fibaro-hc2
[11/1/2016, 8:10:19 AM] Registering platform 'homebridge-fibaro-hc2.FibaroHC2'
[11/1/2016, 8:10:19 AM] ---
[11/1/2016, 8:10:19 AM] Loaded config.json with 0 accessories and 1 platforms.
[11/1/2016, 8:10:19 AM] ---
[11/1/2016, 8:10:19 AM] Loading 1 platforms...
[11/1/2016, 8:10:19 AM] [FibaroHC2] Initializing FibaroHC2 platform...
[11/1/2016, 8:10:20 AM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

┌────────────┐     
│ 031-45-154 │     
└────────────┘     

Plugin - DidFinishLaunching
[11/1/2016, 8:10:20 AM] [FibaroHC2] Fetching Fibaro Home Center rooms ...
[11/1/2016, 8:10:20 AM] [FibaroHC2] Server Listening...
/usr/local/lib/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^

Error: dns service error: name conflict
at Error (native)
at new Advertisement (/usr/local/lib/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/usr/local/lib/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/usr/local/lib/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
at Bridge.Accessory._onListening (/usr/local/lib/node_modules/hap-nodejs/lib/Accessory.js:526:20)
at emitOne (events.js:77:13)
at HAPServer.emit (events.js:169:7)
at HAPServer._onListening (/usr/local/lib/node_modules/hap-nodejs/lib/HAPServer.js:184:8)
at emitOne (events.js:77:13)
at EventedHTTPServer.emit (events.js:169:7)

Log says Error: dns service error: name conflict
How to solve this error?
Please help and advise. Thanks

Fibaro id

Since updating from fibaro system our plugin no work anymore we have try lot of time to reinstall but no work anymore can you help me

They work since more than 6month but now no work anymore[2017-02-12 23:24:09] [FibaroHC2] Error getting data from Home Center: Error: connect ECONNREFUSED 88.120.38.104:31114 undefined

Duplicated items in HomeKit

I have duplicated items in my home kit, is there a file/database in the file structure where I would find these so I can delete the duplicates?

Fibaro Smoke alarm and Heat Detector not showing up

Hello,

My Fibaro Smoke alarm and Heat Detector doesn't show up in HomeKit, i guess it's just because the plugin doesn't recognize it. I would also like to know if there is a way for me to try, and implement support on devices, that isn't supported? Like does it create some kind of debug file, with information when it fails to implement a device?

Thank you,

  • Bilbo Swagginz

Light Sensor lux value too high

Hello, here is another problem with the lux value, if the value is too high it appears as "Not responding" at this exact time it is at around 1500 lux

Sinceraly - Konrad

Danfoss Thermostat

Version 1.05 and full rescan of accessories did not help me get the following devices on the list:

{"id":18,"name":"Thermostat Sleeping","roomID":4,"type":"com.fibaro.thermostatDanfoss","baseType":"com.fibaro.hvac","enabled":true,"visible":true,"isPlugin":false,"parentId":17,"remoteGatewayId":0,"viewXml":false,"configXml":false,"interfaces":["battery","zwave","zwaveProtection","zwaveWakeup"],"properties":{"batteryLevel":80,"pollingTimeSec":0,"wakeUpTime":900,"zwaveCompany":"Danfoss","zwaveInfo":"6,3,67","zwaveVersion":"1.1","RFProtectionState":"0","RFProtectionSupport":"0","batteryLowNotification":"true","configured":"true","dead":"false","defInterval":"0","deviceControlType":"0","deviceIcon":"34","emailNotificationID":"0","emailNotificationType":"0","endPointId":"0","liliOffCommand":"","liliOnCommand":"","localProtectionState":"0","localProtectionSupport":"5","log":"","logTemp":"","manufacturer":"","markAsDead":"true","maxInterval":"0","minInterval":"0","model":"","nodeId":"5","parametersTemplate":"322","productInfo":"0,2,0,5,0,4,1,1","protectionExclusiveControl":"0","protectionExclusiveControlSupport":"false","protectionState":"0","protectionTimeout":"0","protectionTimeoutSupport":"false","pushNotificationID":"0","pushNotificationType":"0","remoteGatewayId":"0","saveLogs":"true","serialNumber":"","smsNotificationID":"0","smsNotificationType":"0","stepInterval":"0","targetLevel":"20.00","timestamp":"1485875356","unit":"C","useTemplate":"true","userDescription":"","value":"20.00"},"actions":{"reconfigure":0,"setInterval":1,"setTargetLevel":1,"setTime":1},"created":1485113161,"modified":1485113161,"sortOrder":9},{"id":29,"name":"Thermostat Right","roomID":4,"type":"com.fibaro.thermostatDanfoss","baseType":"com.fibaro.hvac","enabled":true,"visible":true,"isPlugin":false,"parentId":28,"remoteGatewayId":0,"viewXml":false,"configXml":false,"interfaces":["battery","zwave","zwaveProtection","zwaveWakeup"],"properties":{"batteryLevel":55,"pollingTimeSec":0,"wakeUpTime":900,"zwaveCompany":"Danfoss","zwaveInfo":"6,3,67","zwaveVersion":"1.1","RFProtectionState":"0","RFProtectionSupport":"0","batteryLowNotification":"true","configured":"true","dead":"false","defInterval":"0","deviceControlType":"0","deviceIcon":"34","emailNotificationID":"0","emailNotificationType":"0","endPointId":"0","liliOffCommand":"","liliOnCommand":"","localProtectionState":"0","localProtectionSupport":"5","log":"","logTemp":"","manufacturer":"","markAsDead":"true","maxInterval":"0","minInterval":"0","model":"","nodeId":"9","parametersTemplate":"322","productInfo":"0,2,0,5,0,4,1,1","protectionExclusiveControl":"0","protectionExclusiveControlSupport":"false","protectionState":"0","protectionTimeout":"0","protectionTimeoutSupport":"false","pushNotificationID":"0","pushNotificationType":"0","remoteGatewayId":"0","saveLogs":"true","serialNumber":"","smsNotificationID":"0","smsNotificationType":"0","stepInterval":"0","targetLevel":"20.00","timestamp":"1485875356","unit":"C","useTemplate":"true","userDescription":"","value":"20.00"},"actions":{"reconfigure":0,"setInterval":1,"setTargetLevel":1,"setTime":1},"created":1485113161,"modified":1485113161,"sortOrder":10},{"id":31,"name":"Thermostat Left","roomID":4,"type":"com.fibaro.thermostatDanfoss","baseType":"com.fibaro.hvac","enabled":true,"visible":true,"isPlugin":false,"parentId":30,"remoteGatewayId":0,"viewXml":false,"configXml":false,"interfaces":["battery","zwave","zwaveProtection","zwaveWakeup"],"properties":{"batteryLevel":41,"pollingTimeSec":0,"wakeUpTime":900,"zwaveCompany":"Danfoss","zwaveInfo":"6,3,67","zwaveVersion":"1.1","RFProtectionState":"0","RFProtectionSupport":"0","batteryLowNotification":"true","configured":"true","dead":"false","defInterval":"0","deviceControlType":"0","deviceIcon":"34","emailNotificationID":"0","emailNotificationType":"0","endPointId":"0","liliOffCommand":"","liliOnCommand":"","localProtectionState":"0","localProtectionSupport":"5","log":"","logTemp":"","manufacturer":"","markAsDead":"true","maxInterval":"0","minInterval":"0","model":"","nodeId":"10","parametersTemplate":"322","productInfo":"0,2,0,5,0,4,1,1","protectionExclusiveControl":"0","protectionExclusiveControlSupport":"false","protectionState":"0","protectionTimeout":"0","protectionTimeoutSupport":"false","pushNotificationID":"0","pushNotificationType":"0","remoteGatewayId":"0","saveLogs":"true","serialNumber":"","smsNotificationID":"0","smsNotificationType":"0","stepInterval":"0","targetLevel":"20.00","timestamp":"1485875356","unit":"C","useTemplate":"true","userDescription":"","value":"20.00"},"actions":{"reconfigure":0,"setInterval":1,"setTargetLevel":1,"setTime":1},"created":1485113162,"modified":1485113162,"sortOrder":11},{"id":36,"name":"iOS_Temp","roomID":4,"type":"virtual_device","visible":true,"enabled":true,"properties":{"deviceIcon":0,"ip":"10.0.7.2","port":80,"log":"","logTemp":"","currentIcon":"0","log":"","logTemp":"","mainLoop":"","visible":"true","rows":[{"type":"button","elements":[{"id":1,"lua":false,"waitForResponse":true,"caption":"22C","name":"Temp","empty":false,"msg":"GET /api/sceneControl?id=10&action=start HTTP/1.10x0D0x0AHost: 10.0.7.20x0D0x0AAuthorization: Basic cGk6VFh1d2lZQ0ZyemhnaXJZdW9rTjI=0x0D0x0A0x0D0x0A","buttonIcon":0,"favourite":false,"main":true}]}]},"actions":{"pressButton":1,"setSlider":2,"setProperty":2},"created":1485113163,"modified":1485113163,"sortOrder":12}]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.