homebridge-edomoticz Plugin
Moderator: leecollings
-
- Posts: 23
- Joined: Wednesday 31 August 2016 16:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
I have to admit dimmers continue to behave very funny. When I try to set a light to something other than 100% it jumps to the desired level, then a couple of % back, than to the level again, eg 80-82-80 or even weirder: 80-83-76-80
It looks like it tries to find the corrrect value and then setttles.
This behavior is edomoticz/homebridge related as if I set the level in Domoticz it just sets the level.
I am using DIY MySensors-based dimmer and the latest git version of edomoticz.
It looks like it tries to find the corrrect value and then setttles.
This behavior is edomoticz/homebridge related as if I set the level in Domoticz it just sets the level.
I am using DIY MySensors-based dimmer and the latest git version of edomoticz.
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Re: homebridge-edomoticz Plugin
The issue is with your choice of app. it’s caused by latency in network traffic as it can’t respond quick enough to the change of the slider, as the slider is streaming out updates as you drag it, rather than waiting for your drag to end then sending the final figure.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 249
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: homebridge-edomoticz Plugin
i get this error, homebridge starts succesfully but after a few seconds this error apears and homebridge shuts down what to do?
thanks
┌────────────┐
│
└────────────┘
[2016-11-20 17:25:20] Homebridge is running on port 51826.
[2016-11-20 17:25:23] [eDomoticz] Successfully connected to MQTT broker.
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomoticz\lib\domotic
z_accessory.js:918
var RFXMeterDeviceCharac
teristic = this.getService(eDomoticzServices.WaterMeterService).getCharacteristi
c(eDomoticzServices.WaterFlow);
^
TypeError: Cannot read property 'getCharacteristic' of undefined
at Object.eDomoticzAccessory.handleMQTTMessage (C:\Users\Edwin\AppData\Roami
ng\npm\node_modules\homebridge-edomoticz\lib\domoticz_accessory.js:918:95)
at MqttClient.<anonymous> (C:\Users\Edwin\AppData\Roaming\npm\node_modules\h
omebridge-edomoticz\lib\mqtt.js:63:17)
at emitThree (events.js:97:13)
at MqttClient.emit (events.js:175:7)
at MqttClient._handlePublish (C:\Users\Edwin\AppData\Roaming\npm\node_module
s\homebridge-edomoticz\node_modules\mqtt\lib\client.js:792:12)
at MqttClient._handlePacket (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:282:12)
at process (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\mqtt\lib\client.js:238:12)
at Writable.writable._write (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:248:5)
at doWrite (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\readable-stream\lib\_stream_writable.js:237:10)
at writeOrBuffer (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge
-edomoticz\node_modules\readable-stream\lib\_stream_writable.js:227:5)
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge\bin>homebridge
[2016-11-20 18:00:00] Loaded plugin: homebridge-edomoticz
[2016-11-20 18:00:00] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2016-11-20 18:00:00] Registering platform 'homebridge-edomoticz.eDomoticz'
[2016-11-20 18:00:00] ---
[2016-11-20 18:00:01] Loaded plugin: homebridge-http
[2016-11-20 18:00:01] Registering accessory 'homebridge-http.Http'
[2016-11-20 18:00:01] ---
[2016-11-20 18:00:01] Loaded plugin: homebridge-legacy-plugins
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.AD2USB'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.Carwings'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.ELKM1'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.FileSenso
r'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.GenericRS
232Device'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HomeMatic
'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HomeMatic
Thermo'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HomeMatic
Window'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HttpGarag
eDoorOpener'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HttpHygro
meter'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HttpTherm
ometer'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.mpdclient
'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.Tesla'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.X10'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.Domoticz'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.HomeAssist
ant'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.HomeSeer'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.ISY'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.LIFx'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.SmartThing
s'
[
[2016-11-20 18:00:08] [eDomoticz] Initializing platform accessory 'Laptop Esther
'...
[2016-11-20 18:00:08] [eDomoticz] Initializing platform accessory 'Nefit
┌────────────┐
│
└────────────┘
[2016-11-20 18:00:09] Homebridge is running on port 51826.
[2016-11-20 18:00:12] [eDomoticz] Successfully connected to MQTT broker.
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomoticz\lib\domotic
z_accessory.js:918
var RFXMeterDeviceCharac
teristic = this.getService(eDomoticzServices.WaterMeterService).getCharacteristi
c(eDomoticzServices.WaterFlow);
^
TypeError: Cannot read property 'getCharacteristic' of undefined
at Object.eDomoticzAccessory.handleMQTTMessage (C:\Users\Edwin\AppData\Roami
ng\npm\node_modules\homebridge-edomoticz\lib\domoticz_accessory.js:918:95)
at MqttClient.<anonymous> (C:\Users\Edwin\AppData\Roaming\npm\node_modules\h
omebridge-edomoticz\lib\mqtt.js:63:17)
at emitThree (events.js:97:13)
at MqttClient.emit (events.js:175:7)
at MqttClient._handlePublish (C:\Users\Edwin\AppData\Roaming\npm\node_module
s\homebridge-edomoticz\node_modules\mqtt\lib\client.js:792:12)
at MqttClient._handlePacket (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:282:12)
at process (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\mqtt\lib\client.js:238:12)
at Writable.writable._write (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:248:5)
at doWrite (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\readable-stream\lib\_stream_writable.js:237:10)
at writeOrBuffer (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge
-edomoticz\node_modules\readable-stream\lib\_stream_writable.js:227:5)
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge\bin>
thanks
┌────────────┐
│
└────────────┘
[2016-11-20 17:25:20] Homebridge is running on port 51826.
[2016-11-20 17:25:23] [eDomoticz] Successfully connected to MQTT broker.
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomoticz\lib\domotic
z_accessory.js:918
var RFXMeterDeviceCharac
teristic = this.getService(eDomoticzServices.WaterMeterService).getCharacteristi
c(eDomoticzServices.WaterFlow);
^
TypeError: Cannot read property 'getCharacteristic' of undefined
at Object.eDomoticzAccessory.handleMQTTMessage (C:\Users\Edwin\AppData\Roami
ng\npm\node_modules\homebridge-edomoticz\lib\domoticz_accessory.js:918:95)
at MqttClient.<anonymous> (C:\Users\Edwin\AppData\Roaming\npm\node_modules\h
omebridge-edomoticz\lib\mqtt.js:63:17)
at emitThree (events.js:97:13)
at MqttClient.emit (events.js:175:7)
at MqttClient._handlePublish (C:\Users\Edwin\AppData\Roaming\npm\node_module
s\homebridge-edomoticz\node_modules\mqtt\lib\client.js:792:12)
at MqttClient._handlePacket (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:282:12)
at process (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\mqtt\lib\client.js:238:12)
at Writable.writable._write (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:248:5)
at doWrite (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\readable-stream\lib\_stream_writable.js:237:10)
at writeOrBuffer (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge
-edomoticz\node_modules\readable-stream\lib\_stream_writable.js:227:5)
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge\bin>homebridge
[2016-11-20 18:00:00] Loaded plugin: homebridge-edomoticz
[2016-11-20 18:00:00] Registering accessory 'homebridge-edomoticz.eDomoticz'
[2016-11-20 18:00:00] Registering platform 'homebridge-edomoticz.eDomoticz'
[2016-11-20 18:00:00] ---
[2016-11-20 18:00:01] Loaded plugin: homebridge-http
[2016-11-20 18:00:01] Registering accessory 'homebridge-http.Http'
[2016-11-20 18:00:01] ---
[2016-11-20 18:00:01] Loaded plugin: homebridge-legacy-plugins
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.AD2USB'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.Carwings'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.ELKM1'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.FileSenso
r'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.GenericRS
232Device'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HomeMatic
'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HomeMatic
Thermo'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HomeMatic
Window'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HttpGarag
eDoorOpener'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HttpHygro
meter'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.HttpTherm
ometer'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.mpdclient
'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.Tesla'
[2016-11-20 18:00:02] Registering accessory 'homebridge-legacy-plugins.X10'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.Domoticz'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.HomeAssist
ant'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.HomeSeer'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.ISY'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.LIFx'
[2016-11-20 18:00:02] Registering platform 'homebridge-legacy-plugins.SmartThing
s'
[
[2016-11-20 18:00:08] [eDomoticz] Initializing platform accessory 'Laptop Esther
'...
[2016-11-20 18:00:08] [eDomoticz] Initializing platform accessory 'Nefit
┌────────────┐
│
└────────────┘
[2016-11-20 18:00:09] Homebridge is running on port 51826.
[2016-11-20 18:00:12] [eDomoticz] Successfully connected to MQTT broker.
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomoticz\lib\domotic
z_accessory.js:918
var RFXMeterDeviceCharac
teristic = this.getService(eDomoticzServices.WaterMeterService).getCharacteristi
c(eDomoticzServices.WaterFlow);
^
TypeError: Cannot read property 'getCharacteristic' of undefined
at Object.eDomoticzAccessory.handleMQTTMessage (C:\Users\Edwin\AppData\Roami
ng\npm\node_modules\homebridge-edomoticz\lib\domoticz_accessory.js:918:95)
at MqttClient.<anonymous> (C:\Users\Edwin\AppData\Roaming\npm\node_modules\h
omebridge-edomoticz\lib\mqtt.js:63:17)
at emitThree (events.js:97:13)
at MqttClient.emit (events.js:175:7)
at MqttClient._handlePublish (C:\Users\Edwin\AppData\Roaming\npm\node_module
s\homebridge-edomoticz\node_modules\mqtt\lib\client.js:792:12)
at MqttClient._handlePacket (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:282:12)
at process (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\mqtt\lib\client.js:238:12)
at Writable.writable._write (C:\Users\Edwin\AppData\Roaming\npm\node_modules
\homebridge-edomoticz\node_modules\mqtt\lib\client.js:248:5)
at doWrite (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge-edomo
ticz\node_modules\readable-stream\lib\_stream_writable.js:237:10)
at writeOrBuffer (C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge
-edomoticz\node_modules\readable-stream\lib\_stream_writable.js:227:5)
C:\Users\Edwin\AppData\Roaming\npm\node_modules\homebridge\bin>
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: homebridge-edomoticz Plugin
Hi Edwin, thank you for your debug output. Would you try getting the latest version from npm and see if this issue is resolved? (npm -g update homebridge)edwin1234 wrote:i get this error, homebridge starts succesfully but after a few seconds this error apears and homebridge shuts down what to do?
thanks
- TheRamon
- Posts: 126
- Joined: Tuesday 12 July 2016 11:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: NL/DE
- Contact:
Re: homebridge-edomoticz Plugin
So weird.. It's just a dummy switch, the same that I've been using. I don't have any problems with the on command on my side.hpapagaj wrote: Sure, here it is:
Would you try another (new) "lamp" just to check? Can also be another dummy switch. See if it might be related to the scripts you're running, although I doubt it...
-
- Posts: 5
- Joined: Tuesday 22 November 2016 23:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
I´ve got homebridge-edomoticz set up and all my Domoticz accessories and switches are shown in the Home-app / Eve app.
1. If I flip a switch in Domoticz, i.e. turn on a light, that info are shown in the Home-app. (OK)
2. If i try to flip the switch in the Home app / Eve instead, it appears in the app as the light has been turned on. However, nothing happens with the light and the switch is still "Off" in Domoticz.
What is wrong - it is driving me crazy (especially after quite many reinstalls )
1. If I flip a switch in Domoticz, i.e. turn on a light, that info are shown in the Home-app. (OK)
2. If i try to flip the switch in the Home app / Eve instead, it appears in the app as the light has been turned on. However, nothing happens with the light and the switch is still "Off" in Domoticz.
What is wrong - it is driving me crazy (especially after quite many reinstalls )
-
- Posts: 4
- Joined: Sunday 01 November 2015 23:35
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Two questions:
1. Is there a way to decrease the polling frequency of a particular device? eDomoticz seems to drain the battery of my Netatmo weather station pretty fast. I wonder if this is caused by the homebridge plugin (eDomoticz) or by Domoticz directly.
2. Is there a way to prevent (hide or disable) this or that device used in Domoticz to not appear in a HomeKit iOS app?
1. Is there a way to decrease the polling frequency of a particular device? eDomoticz seems to drain the battery of my Netatmo weather station pretty fast. I wonder if this is caused by the homebridge plugin (eDomoticz) or by Domoticz directly.
2. Is there a way to prevent (hide or disable) this or that device used in Domoticz to not appear in a HomeKit iOS app?
-
- Posts: 115
- Joined: Saturday 21 December 2013 23:50
- Target OS: Linux
- Domoticz version:
- Location: Scotland
- Contact:
Re: homebridge-edomoticz Plugin
Hi,
I have installed as instructed but I get the error... -bash: homebridge: command not found
commands below...
I have installed as instructed but I get the error... -bash: homebridge: command not found
commands below...
Code: Select all
pi@raspberrypi:~/homebridge $ ls -l
total 56
drwxr-xr-x 2 pi pi 4096 Nov 24 12:07 bin
-rw-r--r-- 1 pi pi 653 Nov 24 13:12 config.json
-rw-r--r-- 1 pi pi 599 Nov 24 12:07 config-sample.json
drwxr-xr-x 3 pi pi 4096 Nov 24 12:07 example-plugins
drwxr-xr-x 3 pi pi 4096 Nov 24 12:07 lib
-rw-r--r-- 1 pi pi 10172 Nov 24 12:07 LICENSE
drwxr-xr-x 8 pi pi 4096 Nov 24 12:41 node_modules
-rw-r--r-- 1 pi pi 997 Nov 24 13:17 npm-debug.log
-rw-r--r-- 1 pi pi 697 Nov 24 12:07 package.json
-rw-r--r-- 1 pi pi 10649 Nov 24 12:07 README.md
pi@raspberrypi:~/homebridge $ homebridge
-bash: homebridge: command not found
pi@raspberrypi:~/homebridge $ sudo ln -s /usr/local/lib/node_modules/homebridge/bin/homebridge /usr/bin/homebridge
ln: failed to create symbolic link ‘/usr/bin/homebridge’: File exists
pi@raspberrypi:~/homebridge $ homebridge
-bash: homebridge: command not found
pi@raspberrypi:~/homebridge $
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: homebridge-edomoticz Plugin
To hide the device from HomeKit you can create a room within Domoticz and add all the devices you would like eDomoticz to expose to Homebridge/HomeKit. Add that room IDX to your config file.fluxcapacitor wrote:
2. Is there a way to prevent (hide or disable) this or that device used in Domoticz to not appear in a HomeKit iOS app?
Hope this helps
Sent from my iPhone using Tapatalk
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: homebridge-edomoticz Plugin
Silly question but have you setup an MQTT Broker?andreasmoritz wrote:I´ve got homebridge-edomoticz set up and all my Domoticz accessories and switches are shown in the Home-app / Eve app.
1. If I flip a switch in Domoticz, i.e. turn on a light, that info are shown in the Home-app. (OK)
2. If i try to flip the switch in the Home app / Eve instead, it appears in the app as the light has been turned on. However, nothing happens with the light and the switch is still "Off" in Domoticz.
What is wrong - it is driving me crazy (especially after quite many reinstalls )
Sent from my iPhone using Tapatalk
-
- Posts: 1
- Joined: Saturday 26 November 2016 1:29
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Hi evrebody,
I'm very new to Domoticz and all its stuff. I just installed eDomoticz on my Sinology DS215j using jumbotroll builds and follow this http://forum.micasaverde.com/index.php/ ... 783.0.html to install Homebridge (because DS215j doesn't support docker) and "obviously" I replace vera by eDomoticz.
The install seems fine.
The config.json contains:
port is 8084 by default on synology.
But when I run homebridge I got 2 problems.
First, the script HomKitDomoticzAuto.sh containing:
Fail with :
The second problem is, when I try to run manually all these commands, homebridge is running but I got following messages:
I try to run in debug mode with
but I was not able to find log files in /var/log...
Someone could help me?
Many thanks
I'm very new to Domoticz and all its stuff. I just installed eDomoticz on my Sinology DS215j using jumbotroll builds and follow this http://forum.micasaverde.com/index.php/ ... 783.0.html to install Homebridge (because DS215j doesn't support docker) and "obviously" I replace vera by eDomoticz.
The install seems fine.
The config.json contains:
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": "8084",
"roomid": 0
}
],
"accessories": []
}
But when I run homebridge I got 2 problems.
First, the script HomKitDomoticzAuto.sh containing:
Code: Select all
/var/packages/debian-chroot/scripts/start-stop-status start chroot
/usr/local/debian-chroot/var/chroottarget/
/root/.homebridge/run.sh
Code: Select all
Failed to start message bus: The pid file "/var/run/dbus/pid" exists, if the message bus is not running, remove this file
Stopping system message bus: dbus.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
/root/.homebridge/run.sh: line 8: homebridge: command not found
Code: Select all
Debian Chroot is already running
Failed to start message bus: The pid file "/var/run/dbus/pid" exists, if the message bus is not running, remove this file
[ ok ] Stopping system message bus: dbus.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
*** 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/26/2016, 1:39:58 AM] Loaded plugin: homebridge-edomoticz
[11/26/2016, 1:39:58 AM] Registering accessory 'homebridge-edomoticz.eDomoticz'
[11/26/2016, 1:39:58 AM] Registering platform 'homebridge-edomoticz.eDomoticz'
[11/26/2016, 1:39:58 AM] ---
[11/26/2016, 1:39:58 AM] Loaded config.json with 0 accessories and 1 platforms.
[11/26/2016, 1:39:58 AM] ---
[11/26/2016, 1:39:58 AM] Loading 1 platforms...
[11/26/2016, 1:39:58 AM] [eDomoticz] Initializing eDomoticz platform...
[11/26/2016, 1:39:59 AM] Loading 0 accessories...
[11/26/2016, 1:39:59 AM] [eDomoticz] There was a problem connecting to Domoticz.
Code: Select all
DEBUG=* homebridge -D
Someone could help me?
Many thanks
-
- Posts: 5
- Joined: Tuesday 22 November 2016 23:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
No, apparently not. I got it working after I added Mqtt under hardware. Thanks a lot! Hadn't seen any info about needing that.simon_rb wrote:Silly question but have you setup an MQTT Broker?andreasmoritz wrote:I´ve got homebridge-edomoticz set up and all my Domoticz accessories and switches are shown in the Home-app / Eve app.
1. If I flip a switch in Domoticz, i.e. turn on a light, that info are shown in the Home-app. (OK)
2. If i try to flip the switch in the Home app / Eve instead, it appears in the app as the light has been turned on. However, nothing happens with the light and the switch is still "Off" in Domoticz.
What is wrong - it is driving me crazy (especially after quite many reinstalls )
Sent from my iPhone using Tapatalk
Now Apple's Home app works great from home. However not working when not home, just says "updating"
Skickat från min iPhone med Tapatalk
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
homebridge-edomoticz Plugin
Have you setup an iPad or Apple TV as a hub?
https://support.apple.com/en-gb/HT207057
Sent from my iPhone using Tapatalk
https://support.apple.com/en-gb/HT207057
Sent from my iPhone using Tapatalk
-
- Posts: 5
- Joined: Tuesday 22 November 2016 23:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
I have, got My Apple tv set as a hub.
Skickat från min iPhone med Tapatalk
Skickat från min iPhone med Tapatalk
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: homebridge-edomoticz Plugin
Assuming it's an Apple TV 3/4.. if it's working correctly as a hub then it should work. It has nothing to do with edomoticz or homebridge. Mine works fine, Apple TV 4 as a hub..
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
-
- Posts: 5
- Joined: Tuesday 22 November 2016 23:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: homebridge-edomoticz Plugin
Got it working, required a reboot
Skickat från min iPhone med Tapatalk
Skickat från min iPhone med Tapatalk
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: homebridge-edomoticz Plugin
Excellent
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: homebridge-edomoticz Plugin
Having a problem with MQTT.
I have Domoticz (with the MQTT hardware device added), mosquitto and homebridge/edomoticz all running on the same host.
ks
MQTT and DOMOTICZ talking fine via mosquitto - I can set device values via mosquitto_pub ..... as per wiki, but when I enable MQTT in the config.json for homebridge/ebdomoticz I get a message, repeated every second saying Retrying MQTT connection (or words to that effect).
Any ideas on debug?
Thanks in advance
I have Domoticz (with the MQTT hardware device added), mosquitto and homebridge/edomoticz all running on the same host.
ks
MQTT and DOMOTICZ talking fine via mosquitto - I can set device values via mosquitto_pub ..... as per wiki, but when I enable MQTT in the config.json for homebridge/ebdomoticz I get a message, repeated every second saying Retrying MQTT connection (or words to that effect).
Any ideas on debug?
Thanks in advance
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
homebridge-edomoticz Plugin
Are the ports and settings correct within the config file?malarcy wrote:Having a problem with MQTT.
I have Domoticz (with the MQTT hardware device added), mosquitto and homebridge/edomoticz all running on the same host.
ks
MQTT and DOMOTICZ talking fine via mosquitto - I can set device values via mosquitto_pub ..... as per wiki, but when I enable MQTT in the config.json for homebridge/ebdomoticz I get a message, repeated every second saying Retrying MQTT connection (or words to that effect).
Any ideas on debug?
Thanks in advance
Last edited by simon_rb on Sunday 27 November 2016 20:44, edited 1 time in total.
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: homebridge-edomoticz Plugin
I am just wondering if something is possible and thought this is the best place to ask
I have certain things within Domoticz setup as dimmers which are not actually lights. eDomoticz quite rightly exposes them as dimmers and they work just fine. I was wondering if the fan accessory has a slider just like the lights? I've not got any fans so I can't test. If they do is there a way to manually change my dimmers I want to not show as lights within HomeKit? I don't want eDomoticz changed, I would like to edit them locally within the accessories folder maybe? Or I could be completely barking up the wrong tree. Be nice to say turn off the lights in the Living Room and for my surround sound not to go off lol. For now I have created a new room called devices and put them in there lol. Possible? Appreciate your ideas and help.. cheers
I have certain things within Domoticz setup as dimmers which are not actually lights. eDomoticz quite rightly exposes them as dimmers and they work just fine. I was wondering if the fan accessory has a slider just like the lights? I've not got any fans so I can't test. If they do is there a way to manually change my dimmers I want to not show as lights within HomeKit? I don't want eDomoticz changed, I would like to edit them locally within the accessories folder maybe? Or I could be completely barking up the wrong tree. Be nice to say turn off the lights in the Living Room and for my surround sound not to go off lol. For now I have created a new room called devices and put them in there lol. Possible? Appreciate your ideas and help.. cheers
Who is online
Users browsing this forum: No registered users and 0 guests