Page 69 of 86
Re: homebridge-edomoticz Plugin
Posted: Friday 21 July 2017 16:26
by mcmikev
Here still no joy.
Harmonyhub is seen and added (every version btw).
Domoticz with or without roomid does not load any accessiores.
Deleted the accessoires and persist dirs.
my config:
Code: Select all
{
"bridge": {
"name": "HomebridgeDomoticz",
"username": "CC:21:3E:E4:DE:33",
"port": 51826,
"pin": "034-65-321"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"ssl": 0,
"mqtt": 1,
"excludedDevices": []
},
{
"platform": "HarmonyHub",
"name": "Harmony Hub"
}
],
"accessories": []
}
Code: Select all
[7/21/2017, 4:27:25 PM] Loaded plugin: homebridge-edomoticz
[7/21/2017, 4:27:25 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[7/21/2017, 4:27:25 PM] ---
[7/21/2017, 4:27:25 PM] Loaded plugin: homebridge-harmonyhub
[7/21/2017, 4:27:26 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[7/21/2017, 4:27:26 PM] ---
[7/21/2017, 4:27:26 PM] Loaded config.json with 0 accessories and 2 platforms.
[7/21/2017, 4:27:26 PM] ---
[7/21/2017, 4:27:26 PM] Loading 2 platforms...
[7/21/2017, 4:27:26 PM] [eDomoticz] Initializing eDomoticz platform...
[7/21/2017, 4:27:26 PM] [Harmony Hub] Initializing HarmonyHub platform...
[7/21/2017, 4:27:26 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
[7/21/2017, 4:27:27 PM] Homebridge is running on port 51826.
[7/21/2017, 4:27:37 PM] [eDomoticz] Successfully connected to MQTT broker.
[7/21/2017, 4:27:38 PM] [Harmony Hub] Fetching Logitech Harmony activities...
[7/21/2017, 4:27:39 PM] [Harmony Hub] Found activities:
Re: homebridge-edomoticz Plugin
Posted: Friday 21 July 2017 16:55
by mcmikev
updated to version 2.0.8 to test. Still no accessiores loaded.
went back to old version again
Re: homebridge-edomoticz Plugin
Posted: Saturday 22 July 2017 16:40
by Robbie
I to ran into trouble after updating to 2.*
As turned out, there was 'load-scenes' in my config.
I removed id, cleared the accessories dir, and started succesfully.
It was a hassle to re-add all devices to their rooms and recreate scenes and such though.
I just read about Apple opening up the Homekit protocol.
Will this be an oppertunity for Domoticz to do a full integration?
Re: homebridge-edomoticz Plugin
Posted: Saturday 22 July 2017 17:58
by mcmikev
No scenes in my roomid present. Version 2.x is not loading any accessoires. Harmonyhub is working without issues.
Re: homebridge-edomoticz Plugin
Posted: Tuesday 25 July 2017 20:10
by zwaffie
Hello,
I did a fresh restall of domoticz and homekit. Normally this worked fine for me. Today I wanted to make a domoitcz server for my friend on an raspberry pi. Domoticz is running fine and the lights are working. Now I installed homekit and get the following error in pm2 logs homebridge. Can someone help me with the mqtt problem. Like I said. Fresh install of both.
followed these pages.
https://www.domoticz.com/wiki/Installin ... spberry_PI
https://www.domoticz.com/wiki/Homekit_Siri
15 days ago it worked fine for me.
Code: Select all
0|homebrid | [7/25/2017, 6:04:17 PM] Loading 0 accessories...
0|homebrid | Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
0|homebrid |
0|homebrid | ┌────────────┐
0|homebrid | │ 031-45-154 │
0|homebrid | └────────────┘
0|homebrid |
0|homebrid | [7/25/2017, 6:04:18 PM] Homebridge is running on port 51826.
0|homebrid | [7/25/2017, 6:04:18 PM] [eDomoticz] There was an error while getting the MQTT Hardware Device from Domoticz.
0|homebrid | Please verify that you have added the MQTT Hardware Device and that the hardware device is enabled.
0|homebrid | [7/25/2017, 6:04:20 PM] [Harmony Hub] Fetching Logitech Harmony activities...
0|homebrid | [7/25/2017, 6:04:21 PM] [Harmony Hub] Found activities:
0|homebrid | Slapen
0|homebrid | Kodi
0|homebrid | PowerOff
0|homebrid | Playstation4
0|homebrid | Tv kijken
0|homebrid | Naar muziek luisteren
0|homebrid | Netflix Kijken
0|homebrid | Xbox 360
Re: homebridge-edomoticz Plugin
Posted: Wednesday 26 July 2017 11:56
by mcmikev
mcmikev wrote:No scenes in my roomid present. Version 2.x is not loading any accessoires. Harmonyhub is working without issues.
Just discovered that although when starting homebridge from commandline with homebridge shows no accessiores loaded in home app on the phone I can see the items when creating new home.
So the logs shows no accessoires loaded but they are there!
Re: homebridge-edomoticz Plugin
Posted: Wednesday 26 July 2017 12:31
by gutaker
mcmikev wrote:Just upgraded to 2.0.4 and still no domoticz accesoires are loaded.
Code: Select all
[7/21/2017, 1:21:40 PM] Loaded plugin: homebridge-edomoticz
[7/21/2017, 1:21:40 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[7/21/2017, 1:21:40 PM] ---
[7/21/2017, 1:21:40 PM] Loaded plugin: homebridge-harmonyhub
[7/21/2017, 1:21:42 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[7/21/2017, 1:21:42 PM] ---
[7/21/2017, 1:21:42 PM] Loaded config.json with 0 accessories and 2 platforms.
[7/21/2017, 1:21:42 PM] ---
[7/21/2017, 1:21:42 PM] Loading 2 platforms...
[7/21/2017, 1:21:42 PM] [eDomoticz] Initializing eDomoticz platform...
[7/21/2017, 1:21:42 PM] [Harmony Hub] Initializing HarmonyHub platform...
[7/21/2017, 1:21:42 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
I've been trying lots of software includig z-way and finally got back here for Domoticz.
After proper installation i was smashed with big question mark an 3-letter abbreviation "WTF", and have to complain that i got the same behavior here on Raspberry Pi 2 Model B.
- Fresh Domoticz,
- fresh homebridge 0.4.2,
- fresh homebridge-edomoticz 2.0.8
The only difference is i don't use real device, dummy hardware with virtual sensors/actuators only.
On the other hand, after downgrading homebridge-edomoticz to 1.0.15, it manages to find accessories but with following messages:
Code: Select all
Failed to find plugin to handle accessory Livingroom heater switch
Failed to find plugin to handle accessory Livingroom temperature
Failed to find plugin to handle accessory Internal Temperature
Failed to find plugin to handle accessory Memory Usage
The config.json:
Code: Select all
{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3E:E4:DE:33",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for (e)xtended Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "127.0.0.1",
"port": "8080",
"ssl": 0,
"roomid": 2,
"mqtt": 0
}
],
"accessories": []
}
Any clues?
Re: homebridge-edomoticz Plugin
Posted: Wednesday 26 July 2017 12:39
by bdormael
Just installed version 2.x, I noticed an old issue has returned:
I’m using Apple’s Home app. When changing a value via the Domoticz website from example a switch, Apple Home is not updated until twice closing and opening the Home app again.
I know this has been fixed earlier with an older version, is it broken again or am I doing something wrong?
I’m using MQTT as well
Verzonden vanaf mijn iPad met Tapatalk
Re: homebridge-edomoticz Plugin
Posted: Wednesday 26 July 2017 12:55
by gutaker
mcmikev wrote:mcmikev wrote:No scenes in my roomid present. Version 2.x is not loading any accessoires. Harmonyhub is working without issues.
Just discovered that although when starting homebridge from commandline with homebridge shows no accessiores loaded in home app on the phone I can see the items when creating new home.
So the logs shows no accessoires loaded but they are there!
Thanks @mcmikev !
It's confirmed! Confirmed but strange anyway.
Updated to latest 2.0.8 version and checked ~/.homebridge/accessories folder - it has file cachedAccessories with all neccesary contents!
Thanks!
Re: homebridge-edomoticz Plugin
Posted: Wednesday 26 July 2017 16:30
by bdormael
bdormael wrote:Just installed version 2.x, I noticed an old issue has returned:
I’m using Apple’s Home app. When changing a value via the Domoticz website from example a switch, Apple Home is not updated until twice closing and opening the Home app again.
I know this has been fixed earlier with an older version, is it broken again or am I doing something wrong?
I’m using MQTT as well
Verzonden vanaf mijn iPad met Tapatalk
Never mind, noticed I still had an old config file, therefore mqtt was not used, changed to 2.x confie file, all working fine now.
Re: homebridge-edomoticz Plugin
Posted: Tuesday 08 August 2017 8:58
by Boest
Is it possible to add an ip camera to the homebridge? And how do I get to work?
Thnx!!
Re: homebridge-edomoticz Plugin
Posted: Tuesday 08 August 2017 9:34
by Nautilus
Boest wrote:Is it possible to add an ip camera to the homebridge? And how do I get to work?
Thnx!!
To my knowledge this is not implemented to eDomoticz plugin and as such I don't see it as a core functionality either. But there are several other plugins developed for just this purpose:
https://www.google.com/search?q=homebri ... era+plugin 
Re: homebridge-edomoticz Plugin
Posted: Tuesday 08 August 2017 10:04
by Boest
Nautilus wrote:Boest wrote:Is it possible to add an ip camera to the homebridge? And how do I get to work?
Thnx!!
To my knowledge this is not implemented to eDomoticz plugin and as such I don't see it as a core functionality either. But there are several other plugins developed for just this purpose:
https://www.google.fi/search?q=homebridge+camera+plugin 
Thank you, I found this, but I'm just a starter. I do not dare everything yet.
Re: homebridge-edomoticz Plugin
Posted: Tuesday 08 August 2017 10:45
by anasazi
Boest wrote:Is it possible to add an ip camera to the homebridge? And how do I get to work?
Thnx!!
I'm using this plugin with success:
https://github.com/KhaosT/homebridge-camera-ffmpeg
Re: homebridge-edomoticz Plugin
Posted: Saturday 12 August 2017 11:29
by simon_rb
bdormael wrote: ↑Wednesday 26 July 2017 16:30
bdormael wrote:Just installed version 2.x, I noticed an old issue has returned:
I’m using Apple’s Home app. When changing a value via the Domoticz website from example a switch, Apple Home is not updated until twice closing and opening the Home app again.
I know this has been fixed earlier with an older version, is it broken again or am I doing something wrong?
I’m using MQTT as well
Verzonden vanaf mijn iPad met Tapatalk
Never mind, noticed I still had an old config file, therefore mqtt was not used, changed to 2.x confie file, all working fine now.
Thanks for this! I noticed the same behaviour! Working lightning fast now, thought I'd been running MQTT since updating to version 2 about a week ago lol. Forgotten how much quicker MQTT is!
Re: homebridge-edomoticz Plugin
Posted: Sunday 20 August 2017 13:41
by italoc
there is a way to control a SELECTOR SWITCH in Home.app ? i have the latest version of domoticz stable and latatest version of homebridge-edomoticz and homebridge
Homekit always say me that it's unsupported device.
thanks
Re: homebridge-edomoticz Plugin
Posted: Thursday 24 August 2017 22:19
by islandman
Just two questions:
I use wall sockets via domoticz, they are shows in domoticz with wall socket, however within homebridge they are switches?
Second, i us buttons with three options (klick, double klick, long klick) these type is supported in homKit as well but via this plugin the show not supported?
Re: homebridge-edomoticz Plugin
Posted: Monday 28 August 2017 14:20
by fennec62
Hi since last update i can't open and closed my garage with siri
button is ok in Home app
With Siri command is reverse
The garage is closed
With button command is
MQTT: Topic: domoticz/in, Message: {"command":"switchlight","idx":498,"switchcmd":"Off"} and it's ok garage open
but with siri the command is
MQTT: Topic: domoticz/in, Message: {"command":"switchlight","idx":498,"switchcmd":"On"}
Thanks for help
Re: homebridge-edomoticz Plugin
Posted: Monday 28 August 2017 17:58
by Bikey
My homebridge installation on the RPI2 worked fine until recently. Now it won't start anymore.
I played around with Node-Red and had to upgrade Node, so I think something this may have broke something.
This is what I get in the log:
Code: Select all
/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:35
throw ex;
^
Error: Module version mismatch. Expected 48, got 57.
at Error (native)
at Object.Module._extensions..node (module.js:597:18)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
Tried an upgrade:
Code: Select all
sudo npm install -g homebridge --unsafe-perm
sudo npm install -g homebridge-edomoticz --unsafe-perm
but that doesn't help.
I'm on Node v6.11.2 and NPM 3.10.10
Anybody some clues what I can do next?
** EDIT **
I did a full uninstall and then install again and now it works again.
Code: Select all
sudo npm uninstall -g homebridge --unsafe-perm
sudo npm uninstall -g homebridge-edomoticz --unsafe-perm
sudo npm install -g homebridge --unsafe-perm
sudo npm install -g homebridge-edomoticz --unsafe-perm
Re: homebridge-edomoticz Plugin
Posted: Thursday 31 August 2017 10:16
by solidum90
Hello to everyone

I use this amazing plugin, congratulations to the creators!
I only have one question (which actually concerns Siri), how can I activate "Hey Siri" command with bluetooth speaker??
Because "Hey Siri" it works only if the iPhone microphone feels the phrase "Hey Siri", then it use the bluetooth speaker to hear the command.
There's no way to use bluetooth speaker? Would be a nice voice assistant.
Thanks to everyone!
