Page 78 of 86

Re: homebridge-edomoticz Plugin

Posted: Monday 13 August 2018 9:56
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

Re: homebridge-edomoticz Plugin

Posted: Monday 13 August 2018 10:53
by ergofreiberg
I use just brute force conversion with node-red.

e.

Re: homebridge-edomoticz Plugin

Posted: Tuesday 14 August 2018 21:00
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 }

Re: homebridge-edomoticz Plugin

Posted: Friday 17 August 2018 10:07
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": []
}

homebridge-edomoticz Plugin

Posted: Friday 17 August 2018 11:37
by bing69
Since I have run iOS 12 beta, homebridge is no longer working. Someone the same experience or even better a solution?

Re: homebridge-edomoticz Plugin

Posted: Friday 17 August 2018 12:34
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.

Re: homebridge-edomoticz Plugin

Posted: Saturday 01 September 2018 16:33
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)


Re: homebridge-edomoticz Plugin

Posted: Tuesday 04 September 2018 8:18
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!

Re: homebridge-edomoticz Plugin

Posted: Tuesday 04 September 2018 21:29
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)

Re: homebridge-edomoticz Plugin

Posted: Sunday 09 September 2018 11:44
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

Re: homebridge-edomoticz Plugin

Posted: Tuesday 11 September 2018 21:31
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.

Re: homebridge-edomoticz Plugin

Posted: Sunday 23 September 2018 11:56
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!

Re: homebridge-edomoticz Plugin

Posted: Sunday 14 October 2018 11:28
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?

Re: homebridge-edomoticz Plugin

Posted: Sunday 14 October 2018 13:47
by couchadonis
Problem solved. Had to set up mosquitto as a service to run after a reboot. Sometimes it's that easy. :)

Re: homebridge-edomoticz Plugin

Posted: Tuesday 16 October 2018 8:21
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?

Re: homebridge-edomoticz Plugin

Posted: Tuesday 13 November 2018 15:54
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.

Re: homebridge-edomoticz Plugin

Posted: Friday 21 December 2018 21:59
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?

Re: homebridge-edomoticz Plugin

Posted: Saturday 22 December 2018 14:08
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?

Re: homebridge-edomoticz Plugin

Posted: Wednesday 26 December 2018 23:28
by EdddieN
No one is experiencing this? A recognised colour switch (bulb) but HomeKit shows it as a normal dimmer?
Image

Re: homebridge-edomoticz Plugin

Posted: Thursday 27 December 2018 22:43
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