homebridge-broadlink-rm
homebridge-broadlink-rm copied to clipboard
"allowResend" command not work for "fanSpeed" or "brightness"
I'm having an issue with the "allowResend" command, hopefully someone can help. It is working fine with switches that have a simple on/off hex code but seems to fail with things like "fanSpeed" and "brightness".
If I turn my ceiling fan on "High" with siri, then turn it off with the fan remote, the home app is showing the fan on at 100% and won't resend the code if I ask siri to turn the fan on "High" again. Just for testing purposes I added "on" data in with the "fanSpeed" data and it worked like it should except I lose LOW and MEDIUM doing it that way. Anyone have any ideas?
`"accessories":[ { "name": "Fan", "type": "fan", "allowResend": true, "data": { "off": [ { "data": "b2005202180c081d081e071e081d180d081d190c081d190c180d180d180d081c091c091d081d190c190b1a0c190c180c091c091ea50001012a0b1a0b1a0b1a0c190b1a0b190c190c190c091c091b091d091c1a0b091c190b091d190c190c190c190c081d091c091c091c190c190c190c190c190b091d081ea60001002a0c190c190c190b1a0b1a0b190c190c190c081d081d091c091c190c081d190c091c190c190b1a0b1a0b091c081d081d091c1a0b190c190c190c190b091c091ea50001012a0b190c190c190c190b1a0b1a0b1a0b1a0b091b091c091d091c190c081c1a0c081d190c190b190c190c091c091c091c091c190c190c190b1a0b190c081e081ea5000101290c190c190c190c190c190b1a0b190c190c081d091c091c081d1a0b091c190c091c190c190b1a0c190b091d081c091d091c190c190b1a0b1a0c190b081d091ea5000101290c1a0b190d180c190c190c190b1a0c190b091c091c091c091d190b091d190b091c1a0b190c190c190c091c091b091d081d190c190c190c190b190c091c091da60001002a0c190b190c190c190c190b1a0c190b1a0b091d081c091d081d190b091d190c081d190c190c190b1a0b091c091d081d081c190c190c190c190c190b091c091fa40001012a0c190b1a0b190c190c190c190c190b190c091c091c091c091c190c091c190c091c190c190c190b1a0b091c091d081d081d190c190b1a0c190b190c091c091ea50001002a0c190b1a0b1a0b1a0b190c190c190c190c081c091c091d081d190c091b1a0b091c1a0b1a0b190c190c091c091c091c091c1a0b190c190c190c190c081d080005dc091c190c190b", "sendCount": 3, "interval": 0.1 } ], "fanSpeed25": "b2018403180d180d071e180d180d071d081fa4000103280d180d180d180d180d170d180e170d180d071e071e071e081d180d071e180d081e170e170d180d071e071f071e170e170d180d180d071e180d180c081e0720a4000102280d180d180d180d180d180d180d170e170e071e071e071e071e180d071e180d071e180d180d180d071d081e071e170e170d180d180d071e180e170d071e0720a4000102290d180d180d170e180d170e170e170d180d071e071e081e071e180d071e180d071f170d170d180d071f071e071e170e180d170e170d071f170e170d071f071fa4000102280e170d180d180d180d180d170e170e170d081d081d081e071e180d071e180d071e180d180d180c071f071e071e180d180d180d180d071e180d180c081e0720a4000102280d180d180d180d180d180d180d180c190c071e081e071e071e180d071e180d071e180d180d180d071e071e071e180d180d170e180c081e170e180d071d0720a4000103280d170e170d180d180d180d180d180d180d071e071e071e081e170e071d180d071f170e170d180d071e071e071f170e170d180d180d071e180d180d071e081fa4000102290d170e170d180e170d180d180d180d170d081e071e071e071e180d081e170e071e170d180d180d071e071e071f180d170d190d170e071d180e170d081d081fa4000103280e170e170d180e170d180d180d180d180d071e071e071e071f170e061f170d081d180d180e170d071f071e071e180d170e180c190d071d180d180d071f071fa4000103280d180d180c190d170e170d180d180d180d071e081d081e071e180d071e180c081e180d180d180c071e081e071f170d180d180d170e071e180d180d071e0720a4000102290d180d180d180c180e170d180e170d180d071e071f061e081d180e061e180e071e170e170d180d071f071e071e180d180d180d180c081e180d180d071e071fa5000102280d180d180d180d180d180c190d180d180d071e071e071e071f170d071e180d071e180d180d180c081e071e081d180d180d180c190c081e180c190c081d081fa5000101290d180d180c190c190c180e170d180c190d071e071e081d081d180d071e180d081c190d170d180e071d081d071e180d190c180d180c081d190d180d071d081fa4000102290c190c180d180d180d180c190c190d180c081d071e081d081d190c081d180d081d190c180d180d071e081d081d180d180d180d180d081c190c190c081d080005dc00000000", "fanSpeed50": "b2038403180d071d190d180d180d071d081fa5000102280d180d180d180d180c190c180d190c180d081d071e071f071e170d081d190c081d190d180d180c081e071e180d071e180d180d081d180d180d180d071e0720a4000102290d180d180d180d180c190d180c180d180d071e081e071d081d190c081e180c081e180c190d180d071d081e170d081e180c180d081d190d180c190c081d081fa5000102280e170d180d180d180d180d180d180d180c081e071e081f061d190c081e180c081e180c180d180d081d081e180c081e180d180d071e180d180d180d071e071fa5000102290d180d180d180d170d190c180d180d180d071e081d071e081d180d071e190c081e180d170d190c071f071e180d071e180d180d071e180d180d180c081e071fa5000102290d180d180d180c190c190c190c190c180d071e081e071e071d180d081d190c081e180d180c190c081e071d180d081d190c190c081e180d170d190c081d081fa5000102280d180d180d180d180d180c190d180c180d081d081e071e071e180d081d180d071e180d180d180d071e071e180d071e180d180d071e180d180d170e071e071fa5000102290d180d180c180d180d180d180d180d180d071e071e071e071e190c081d190c081d180d180d180d071e071e180d071e180d180d081d180d190c180d071e081fa5000101290d180d180d180c190c180d180d180d180d071e071e081e071d190c081e180c081e180d180d180d071e071e180d071e180d180d071e180d180d180e071d081fa4000102290d180d180c180d190d180c180d180d180d081d081e071e071e180d071e180d071e180d180d180d071e071e180d081d190c180d081d190d180c180d081d081fa5000102280d180e180c180d180c190c190c180d190d071d081e071e071e180d071f170d071e180d180d180d071e081d180e071d180d180d081d180d180c190d071e071fa5000102290c190c180d180d180d180d180c190c180d081e071d081e071e180d081c190c081e180d180d180d071e071e180e061e180d180d071e180d180d180d071d081fa5000101290d180d180d180c190c190c180d180c190c081e071e081d081d180d071e180d081c190c190c190c081d081d180d081d190c180c081e180d180c190c081d081fa5000101290c190c190c190c190c180c190d180c190c081d081d081d081e180c081e180d071e180d180c190c081d081d190c081d190c190c081d190c180c190d071e080005dc00000000", "fanSpeed100": "b2002e03290d170e180c190c190c180d180c190d180d071d081e071e071e180d081d180c081e180d180d180d081d180d081d081d180d081d190c180d180d180d071e081fa4000102290d180d180c190c190c180d190c180d180c081e071e081d081d190c081d190c081d190c190c180d081d180d081d081d190c081d180d190c190c180d071e0720a4000102290c190d180c190c190c190c180d190c180d071e081d081d081e180c081e180d071e180c190c180d081d190c081d081d180d081e180c180d180d180d081d081ea5000102290c180d180d180d180d180c190c190d180c081e071d081d081e180c081e180d081d180d180d180d071e180c081e071e180d081d180d180d180d180c081d081fa5000102280d190c180d180d180d180d180d180c190c081d081e081d081c190c081e180d071e180d180d180c081e180c081d081e180d071e180d180d180d180d071e071fa5000102290c180d180d180d180d180c190d180d180d071d081e071e071e180d081d180c081e180d180d180c081d190c081e081d180c081e180d180c190c190c081e0720a4000102290c180d180d180d180d180d180d180c190d071e081d081d081d190c081d190d071d190c190c180d081d180d081d081d190c081d180d180d180d180c081e081fa4000102290c190c190c190c190c180d180d180d180d071e081d081d081d190c081e180c081e180c190c190c081d190c081d081d190c081e180d180c180d190c081d081fa4000103280d180c190c190c190c180d180d180d180d081d081d081e071d190c081e180d071e180d180c190c081d190c081d081e180c081d190c190c190c190c081e0720a4000101290d180d180d180c190c190d180c190c180d081e071d081e071e180c081e180d071e180d170e180c081e180c081d081e170d081e170d180d180d180d071e071fa5000101290d180d180d180d180d180c180d180d180d071e081d071e081d190c081e170d081d180e180c180d071e180d081d081e170d071e180e180c180d180c081e0720a4000102290c190c190c180d180d180d180c190c190c081e071d081e071d190d071e180d071d180d180d180d081d180d081d081d190c081d190c180d180d180d081d070005dc170d071e180e180c180d"
}
},
Hi there ...
I am also having that "problem" with my window covering ... With my RF PowerPlugs it works without any problem, but not with the covering:
"name": "Rollo 1", "type": "window-covering", "persistState": true, "resendHexAfterReload": false, "totalDurationOpen": 32, "totalDurationClose": 32, "allowResend": true, "disableLogs": false, "host": "", "data": {
THX 4 Help ... CU Kai
Please fix this, if possible! I'm having the same problem.
hello, for window covering i made some changes to the windowCovering.js to make it work:
find the line with :
// Ignore if no change to the targetPosition
and change the condition with this :
if (state.targetPosition !==0 && state.targetPosition === state.currentPosition) return;
it will work only if you want to close the window covering no mather the status in home app
hope it will help