Re: homebridge-edomoticz Plugin
Posted: Sunday 30 October 2016 17:29
When you run homebridge does it say Succesfully connected to MQTT broker?
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
simon_rb wrote:When you run homebridge does it say Succesfully connected to MQTT broker?
Sent from my iPhone using Tapatalk
Code: Select all
*** 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>
[10/30/2016, 5:32:15 PM] Loaded plugin: homebridge-edomoticz
[10/30/2016, 5:32:15 PM] Registering accessory 'homebridge-edomoticz.eDomoticz'
[10/30/2016, 5:32:15 PM] Registering platform 'homebridge-edomoticz.eDomoticz'
[10/30/2016, 5:32:15 PM] ---
[10/30/2016, 5:32:15 PM] Loaded config.json with 0 accessories and 1 platforms.
[10/30/2016, 5:32:15 PM] ---
[10/30/2016, 5:32:15 PM] Loading 1 platforms...
[10/30/2016, 5:32:15 PM] [eDomoticz] Initializing eDomoticz platform...
[10/30/2016, 5:32:15 PM] Loading 0 accessories...
[10/30/2016, 5:32:15 PM] [eDomoticz] Initializing platform accessory 'Schemerlampen Woonkamer'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[10/30/2016, 5:32:15 PM] Homebridge is running on port 51826.
[10/30/2016, 5:32:15 PM] [eDomoticz] Successfully connected to MQTT broker.
Yes, when I kill the app and reload it it shows the right status.simon_rb wrote:Hmmm, If you turn the switch off within Domoticz does it reflect the change within HomeKit?
Code: Select all
{
"message" : "Error sending switch command, check device/hardware !",
"status" : "ERROR",
"title" : "SwitchLight"
}
Code: Select all
{
"ActTime" : 1477845996,
"ServerTime" : "2016-10-30 17:46:36",
"Sunrise" : "07:32",
"Sunset" : "17:12",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 4,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : false,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "67",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2016-10-30 17:39:47",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 0,
"Name" : "Schemerlampen Woonkamer",
"Notifications" : "false",
"PlanID" : "3",
"PlanIDs" : [ 3 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "On",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "ARC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "true",
"Type" : "Lighting 1",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "26"
}
],
"status" : "OK",
"title" : "Devices"
}
Yes, in Domoticz it works, also with the Json command now, just not in Homekit.simon_rb wrote:What command did you use to send to get the error message? Does the switch work within Domoticz as it should. IE. Does it turn the switch on and off correctly from the switch tab within Domoticz?
Maybe something for TheRamon or Marci to take a look at
Didn't work unfortunatly, but thanks for the assistance.simon_rb wrote:Only thing I suggest is to delete persist folder and your home within HomeKit and restart homebridge.
Sent from my iPhone using Tapatalk
I wonder, I haven't updated yet. Was it working before?Caspar wrote:I have the same problem as michelz. Connecting in Eve or Homekit all work ok, status reflects the actual status, but I can't make any changes.
I did upgrade today to .5837. Could this be the reason?
Did you Add MQTT Client Gateway with LAN interface in Hardware with port 1883 and ip domoticz ip... ?Caspar wrote:I have the same problem as michelz. Connecting in Eve or Homekit all work ok, status reflects the actual status, but I can't make any changes.
I did upgrade today to .5837. Could this be the reason?
No, but now I did and it works. Thank you so much.Mazzokun wrote:Did you Add MQTT Client Gateway with LAN interface in Hardware with port 1883 and ip domoticz ip... ?Caspar wrote:I have the same problem as michelz. Connecting in Eve or Homekit all work ok, status reflects the actual status, but I can't make any changes.
I did upgrade today to .5837. Could this be the reason?
Thanks Mazzokun, this was my solution!'Mazzokun wrote:Did you Add MQTT Client Gateway with LAN interface in Hardware with port 1883 and ip domoticz ip... ?Caspar wrote:I have the same problem as michelz. Connecting in Eve or Homekit all work ok, status reflects the actual status, but I can't make any changes.
I did upgrade today to .5837. Could this be the reason?