It looks like it tries to find the corrrect value

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.
Moderator: leecollings
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
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:
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 $
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?
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)
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": []
}
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
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
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
Users browsing this forum: No registered users and 1 guest