PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

Denon Volume Changes Do Not Reflect in HomeKit #153

Closed simonrb2000 closed 1 year ago

simonrb2000 commented 6 years ago

I have a dimmer switch which controls the volume from my Denon Amp. The dimmer control in HomeKit will change the volume within Domoticz however if the volume is changed in Domoticz it will not reflect within HomeKit. Once HomeKit does a "refresh" it will then reflect the volume of the dimmer from Domoticz. Just doesn't do it in real time like every other dimmer. Hmmmm...

It does update eventually, maybe something to do with the MQTT who knows lol.

Any ideas?

Many Thanks

{ "ActTime" : 1523013874, "ServerTime" : "2018-04-06 12:24:34", "Sunrise" : "06:26", "Sunset" : "19:42", "result" : [ { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CustomImage" : 8, "Data" : "Set Level: 69 %", "Description" : "", "Favorite" : 0, "HardwareID" : 31, "HardwareName" : "Denon", "HardwareType" : "Denon/Marantz Amplifier", "HardwareTypeVal" : 94, "HaveDimmer" : true, "HaveGroupCmd" : true, "HaveTimeout" : false, "ID" : "001F0003", "Image" : "Speaker", "IsSubDevice" : false, "LastUpdate" : "2018-04-06 12:14:39", "Level" : 69, "LevelInt" : 69, "MaxDimLevel" : 100, "Name" : "Denon - Main Volume", "Notifications" : "false", "PlanID" : "19", "PlanIDs" : [ 19 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "Status" : "Set Level: 69 %", "StrParam1" : "", "StrParam2" : "aHR0cDovLzEyNy4wLjAuMTo4MDgwL2pzb24uaHRtP3R5cGU9Y29tbWFuZCZwYXJhbT1zd2l0Y2hsaWdodCZpZHg9Njc1JnN3aXRjaGNtZD1PZmYmbGV2ZWw9MA==", "SubType" : "Switch", "SwitchType" : "Dimmer", "SwitchTypeVal" : 7, "Timers" : "false", "Type" : "Light/Switch", "TypeImg" : "dimmer", "Unit" : 3, "Used" : 1, "UsedByCamera" : false, "XOffset" : "0", "YOffset" : "0", "idx" : "677" } ], "status" : "OK", "title" : "Devices" }

PatchworkBoy commented 4 years ago

You’d need to subscribe to the domoticz/out MQTT feed with an MQTT client and grab the MQTT messages sent as it’s definitely that which isn’t being handled...

Either the MQTT messages are coming thru on a different sValue to a regular dimmer, or that device simply isn’t sending MQTT when changed in Domoticz.