homebridge-edomoticz Plugin

Moderator: leecollings

wemarcell53
Posts: 4
Joined: Tuesday 30 January 2018 8:55
Target OS: Linux
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by wemarcell53 »

woody4165 wrote: Sunday 19 February 2017 22:09
ergofreiberg wrote:
Hi!

With Tertiush Paradox IP150-MQTT script

e.
Can you share some scripts?

I'm in contact with Tertius in the OpenHab forum to understand how to get the status of the alarm from MQTT topic.
If I am OT on this topic we can open another one or via PM, if possible.

Thanks
Hi
Do you have any update on this?
I have a IP150 module with SP6000 alarm system. I also have MQTT broker and all of them works fine. HOw can I add devices from MQTT to Domoticz ? I would like to see all the sensor in Domoticz devices list.
Regards
ergofreiberg
Posts: 8
Joined: Friday 06 May 2016 10:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by ergofreiberg »

I use just brute force conversion with node-red.

e.
Attachments
Paradox-Domoticz.txt
(11.54 KiB) Downloaded 126 times
walberg
Posts: 46
Joined: Thursday 28 May 2015 18:41
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Diemen Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by walberg »

I also tried to install homebridge with domoticz, for now i am just stuck at Homebridge config.json, there are a lot persons who have the same configuration but i always got errors, what is wrong with this config (i have completely stripped oud blancs before code)

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
“description”: “This is my Homebridge Config file”,
“accessories”: [
],

I alway got stuck on the first { and on row 7 }
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

Re: homebridge-edomoticz Plugin

Post by bing69 »

This is my file:

{
"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": 0,
"mqtt": 1,
"excludedDevices": []
}
],
"accessories": []
}
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

homebridge-edomoticz Plugin

Post by bing69 »

Since I have run iOS 12 beta, homebridge is no longer working. Someone the same experience or even better a solution?
tezzlicious
Posts: 39
Joined: Saturday 09 April 2016 13:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: homebridge-edomoticz Plugin

Post by tezzlicious »

bing69 wrote: Friday 17 August 2018 11:37 Since I have run iOS 12 beta, homebridge is no longer working. Someone the same experience or even better a solution?
Try deleting your home profile from the Home app. Delete your iCloud keychain from all your Apple devices which you are signed in on with iCloud. Reboot each device. If you have an Apple TV, make sure it is at least on tvOS 11.x.

Activate iCloud keychain & reboot again on each device.

Now try it again.
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

Re: homebridge-edomoticz Plugin

Post by bing69 »

after configuring the number with 1 increment in config.json and rebuilding on an Ipad with standard (last) IOS homebridge, everything will continue to run for about an hour. After this I get the message on every device "unreachable"
The EVE app will continue to work for a few hours now ....
When I restart homebridge I get:

Code: Select all

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>
[9/1/2018, 2:59:05 PM] Loaded plugin: homebridge-edomoticz
[9/1/2018, 2:59:05 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[9/1/2018, 2:59:05 PM] ---
[9/1/2018, 2:59:05 PM] Loaded config.json with 0 accessories and 1 platforms.
[9/1/2018, 2:59:05 PM] ---
[9/1/2018, 2:59:05 PM] Loading 1 platforms...
[9/1/2018, 2:59:05 PM] [eDomoticz] Initializing eDomoticz platform...
[9/1/2018, 2:59:05 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
    &#9474; 031-45-111 &#9474;
    &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::51826
    at Object.exports._errnoException (util.js:907:11)
    at exports._exceptionWithHostPort (util.js:930:20)
    at Server._listen2 (net.js:1250:14)
    at listen (net.js:1286:10)
    at Server.listen (net.js:1382:5)
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:59:19)
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:157:20)
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:111:16)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:88:10)

bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

Re: homebridge-edomoticz Plugin

Post by bing69 »

bing69 wrote: Saturday 01 September 2018 16:33 after configuring the number with 1 increment in config.json and rebuilding on an Ipad with standard (last) IOS homebridge, everything will continue to run for about an hour. After this I get the message on every device "unreachable"
The EVE app will continue to work for a few hours now ....
When I restart homebridge I get:

Code: Select all

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>
[9/1/2018, 2:59:05 PM] Loaded plugin: homebridge-edomoticz
[9/1/2018, 2:59:05 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[9/1/2018, 2:59:05 PM] ---
[9/1/2018, 2:59:05 PM] Loaded config.json with 0 accessories and 1 platforms.
[9/1/2018, 2:59:05 PM] ---
[9/1/2018, 2:59:05 PM] Loading 1 platforms...
[9/1/2018, 2:59:05 PM] [eDomoticz] Initializing eDomoticz platform...
[9/1/2018, 2:59:05 PM] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    &#9484;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9488;
    &#9474; 031-45-111 &#9474;
    &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::51826
    at Object.exports._errnoException (util.js:907:11)
    at exports._exceptionWithHostPort (util.js:930:20)
    at Server._listen2 (net.js:1250:14)
    at listen (net.js:1286:10)
    at Server.listen (net.js:1382:5)
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:59:19)
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:157:20)
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:111:16)
    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:88:10)

Problem solved by a restore from a backup!
Clabban
Posts: 1
Joined: Tuesday 04 September 2018 20:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9921
Contact:

Re: homebridge-edomoticz Plugin

Post by Clabban »

My system has always worked until recently, I've had problems with switches getting unreachable in home-app.
But now thats working fine after removing accessories and persist folder and re-adding everything.
Only have one problem now and its driving me crazy, if i change a switch in domoticz or a motion sensor trips it doesn't update in the home app....
MQTT is subscribed as i can see in the log in domoticz, only thing i can do is shut down home-app in my phone and open it again so it updates.
Cant get it to work again, anyone that can help?
And yes, I'm a noob on this! So if you need som info, please tell me what commands to type :)

config.json:

Code: Select all

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:21:3E:E4:DE:30",
        "port": 51826,
        "pin": "031-45-154"
    },
    "description": "Configuration file for (e)xtended Domoticz platform.",
    "platforms": [
        {
            "platform": "eDomoticz",
            "name": "eDomoticz",
            "server": "admin:******@127.0.0.1",
            "port": "8080",
            "ssl": 0,
            "roomid": 0,
            "mqtt": 1,
	    "excludedDevices": []
        }
    ],
    "accessories": []
}




when i ran homebridge i get: (some warnings about multiple homebridge instances??)

[9/4/2018, 9:03:26 PM] Loaded config.json with 0 accessories and 1 platforms.
[9/4/2018, 9:03:27 PM] ---
[9/4/2018, 9:03:29 PM] Loaded plugin: homebridge-edomoticz
[9/4/2018, 9:03:29 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[9/4/2018, 9:03:29 PM] ---
[9/4/2018, 9:03:29 PM] Loaded plugin: homebridge-harmonyhub
[9/4/2018, 9:03:33 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub'
[9/4/2018, 9:03:33 PM] ---
[9/4/2018, 9:03:35 PM] Loaded plugin: homebridge-mqtt
homebridge API version: 2.2
[9/4/2018, 9:03:35 PM] Registering platform 'homebridge-mqtt.mqtt'
[9/4/2018, 9:03:35 PM] ---
[9/4/2018, 9:03:35 PM] Loading 1 platforms...
[9/4/2018, 9:03:35 PM] [eDomoticz] Initializing eDomoticz platform...
[9/4/2018, 9:03:35 PM] Loading 0 accessories...
Load homebridge-harmonyhub.HarmonyHub
[9/4/2018, 9:03:35 PM] [homebridge-harmonyhub.HarmonyHub] Ignoring Harmony Platform setup because it is not configured
Load homebridge-mqtt.mqtt
[9/4/2018, 9:03:35 PM] [homebridge-mqtt.mqtt] config undefined in '/home/pi/.homebridge', irrelevant by multiple homebridge instances.
Setup Payload:
X-HM://0023ISYWY0BDB
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:


Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

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

events.js:160
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE :::51826
at Object.exports._errnoException (util.js:1012:11)
at exports._exceptionWithHostPort (util.js:1035:20)
at Server._listen2 (net.js:1252:14)
at listen (net.js:1288:10)
at Server.listen (net.js:1384:5)
at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:607:16)
at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:127:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:96:10)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:43:10)
at Object.<anonymous> (/usr/local/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)
simon_rb
Posts: 612
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: homebridge-edomoticz Plugin

Post by simon_rb »

simon_rb wrote: Tuesday 15 November 2016 15:31
G3rard wrote:
TheRamon wrote:I have changed the following code in domoticz_accessory.js

Code: Select all

var dim = (level / this.factor == 15) ? 16 : level / this.factor;
to

Code: Select all

var dim = (level / this.factor == 15) ? 16 : (level / this.factor) + 1;
and then it is working fine.
Not sure although if that is the best solution.
@TheRamon
Would this work as a temp fix for us to implement locally? Or a temp fix until it can be fixed on Domoticz side

@G3rard
Is this still working for you?
This fix can be removed now as the bug has been squashed. With this fix its now 1% out. I have removed it locally on mine.

Many Thanks
frizby66
Posts: 33
Joined: Friday 13 November 2015 17:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: homebridge-edomoticz Plugin

Post by frizby66 »

Got a strange issue with motion sensors. Have a couple of 433mhz setup in Domoticz which work fine. Can see them in HomeKit but only see status changes when I quit Reload HomeKit app. Domoticz shows status changes but not HomeKit (unless close and open HomeKit). Anyone else seen this? Am running ios12.
--------------------
Raspberry Pi2, RTX433e USB, Philips Hue, Nest, LightwaveRF.
couchadonis
Posts: 4
Joined: Sunday 23 September 2018 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: homebridge-edomoticz Plugin

Post by couchadonis »

Hi all,

I have a similar problem. Since I use IOS12, the states of some devices are not always synchronized correctly between Domoticz and HomeKit.

If I turn on a virtual switch in HomeKit, Domoticz takes over the switching state correctly. Conversely, it does not work. If I turn the same virtual switch off in Domoticz, the switching state is not taken over in HomeKit. And a second problem: The opening states of my door sensors are not longer updated in Homekit.

Can someone help me there?
Thanx in advance!
User avatar
lsp242
Posts: 54
Joined: Sunday 04 February 2018 8:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 12923
Location: Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post by lsp242 »

Since a few weeks, random homekit lost connection with some of my click on - click of lights.

i can switch te lamp with the domoticz app and via the webinterface domoticz. But in homekit, the light can't be switched! in the switch information, no reaction homebridge.

any body the same?
Gadget freak - Domoticz beginner - ios and android user
couchadonis
Posts: 4
Joined: Sunday 23 September 2018 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: homebridge-edomoticz Plugin

Post by couchadonis »

Problem solved. Had to set up mosquitto as a service to run after a reboot. Sometimes it's that easy. :)
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: homebridge-edomoticz Plugin

Post by DewGew »

My homebridge not starting anymore. It works good a week ago. when I try to restart the service I got this error

Code: Select all

Failed to restart homebridge.service: Failed to activate service 'org.freedesktop.systemd1': timed out
I cant reboot either with sudo reboot..
Anyone have a clue?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
harrykausl
Posts: 177
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: homebridge-edomoticz Plugin

Post by harrykausl »

In homekit there are types of devices, which can send messages to homekit (window sensors). Would it be possible, to integrate this messaging in the domoticz homekit interfcace, so for example, when a window is opended I don't have to send a message to prowl, but can send it to the homekit device directly.
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: homebridge-edomoticz Plugin

Post by EdddieN »

Is there any reason Z-Wave colour bulbs appear on HomeKit as just switches?

Just added a Zipato Bulb2 and it is shown as a dimmer but no option to select colour. Is there a way around it?
11101101 - www.machinon.com
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: homebridge-edomoticz Plugin

Post by EdddieN »

marcotrumpet wrote: Saturday 01 July 2017 8:08
Onkytonk wrote:Hi,
I've added a few Mi-Lights to my domoticz. These are rgb+cct bulbs. I also have a few rgb strip controllers.

These appear as the same type of switch in domoticz, but when I add them to homebridge, I can't change the colour/temperature of the rgb+cct bulb but it's available for the rgb strips (through HomeKit).

Any idea why HomeKit/homebridge isn't giving me that option with the rgb+cct bulbs?

Thanks.
I've the same problem with mi-light rgbww bulbs and no idea..


Inviato dal mio iPhone utilizzando Tapatalk
Did you find the solution?
11101101 - www.machinon.com
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: homebridge-edomoticz Plugin

Post by EdddieN »

No one is experiencing this? A recognised colour switch (bulb) but HomeKit shows it as a normal dimmer?
Image
11101101 - www.machinon.com
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: homebridge-edomoticz Plugin

Post by poudenes »

Hi all,

Does someone know what to do:
Linksys wrt 3200acm with dd-wrt. Homebridge is not working when try connect outside network. It worked, only replaced new router with dd-wrt firmware on it


Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest