kiwi-cam / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
304 stars 96 forks source link

RF Remote Has Bright +/- Options Only #581

Open polycat33 opened 1 year ago

polycat33 commented 1 year ago

I have a device that does not have any set 25%/100% type buttons, but instead just brightness up and down. It also does not have an on/off button, just a power toggle. How do I set it up in my config? Is there a way to set it so I can adjust the brightness, or can I only do on/off?

ggroel commented 1 year ago

I have a fan that has 3 speeds, from the remote control I cannot choose low, medium or high speed ... but has a button to raise or lower the speed. I think it's something similar to what you have. What I do is at each level (33% for low velociad, 66% for average speed and 99% for high speed) I make the IR code combination that does the following:

speed 33%: off + 1 speed up

speed 66%: off + 2 speed up

100%speed: Off + 3 speed up

In this way, every time I change in homekit the speed, the device goes out and turns on repeating the speed button to the speed up to %.

It is not neat at all, but it is the only way that occurred to me ... if anyone knows about a better solution I would love to meet her.

El 20 abr. 2023, a las 01:30, polycat33 @.***> escribió:

I have a device that does not have any set 25%/100% type buttons, but instead just brightness up and down. It also does not have an on/off button, just a power toggle. How do I set it up in my config? Is there a way to set it so I can adjust the brightness, or can I only do on/off?

— Reply to this email directly, view it on GitHub https://github.com/kiwi-cam/homebridge-broadlink-rm/issues/581, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBDDDBJJUHWYFB6QPEXACLXCC3W5ANCNFSM6AAAAAAXE57JMU. You are receiving this because you are subscribed to this thread.

Loremwriter commented 1 year ago

I have a fan that has 3 speeds, from the remote control I cannot choose low, medium or high speed ... but has a button to raise or lower the speed. I think it's something similar to what you have. What I do is at each level (33% for low velociad, 66% for average speed and 99% for high speed) I make the IR code combination that does the following: speed 33%: off + 1 speed up speed 66%: off + 2 speed up 100%speed: Off + 3 speed up In this way, every time I change in homekit the speed, the device goes out and turns on repeating the speed button to the speed up to %. It is not neat at all, but it is the only way that occurred to me ... if anyone knows about a better solution I would love to meet her. El 20 abr. 2023, a las 01:30, polycat33 @.***> escribió: I have a device that does not have any set 25%/100% type buttons, but instead just brightness up and down. It also does not have an on/off button, just a power toggle. How do I set it up in my config? Is there a way to set it so I can adjust the brightness, or can I only do on/off? — Reply to this email directly, view it on GitHub <#581>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBDDDBJJUHWYFB6QPEXACLXCC3W5ANCNFSM6AAAAAAXE57JMU. You are receiving this because you are subscribed to this thread.

@ggroel : Could you maybe post the code you've used for this "speed 33%: off + 1 speed up" thing? I'm using a fan as well and have the same issue like you. Except i have 5 steps with "speed 20%: off + 1 speed up".

I just dont know how to tell my RM to use the off command, then twice speed up. Unfortunately i just have an remote with an on/off-toggle button on it. Using a code a like ends up in "no response" in Homekit. "fanSpeed60": [ { "data": "260050000001209111371113113711131311121312121212121212361212123612361237113712361236121212121212121311141113111311131137113712371137113711371137110004ee0001204912000d05000000000000", "pause": 0.3 }, { "data": "260050000001209011381113123612121212121212131113121212361212123612361236123612361213121212371113111311131114111311371137111311371137113711371137110004ef00011f4912000d05000000000000", "sendCount": 3, "interval": 0.3 } ],

First HEX is the on/off toggle. Second HEX is the + Button of the Remote, send 3 times for 60%.

Would be glad if you could help me out! :)

ggroel commented 1 year ago

Of course…

{ "name": "Ventilador", "type": "fan", "host": "10.0.0.22", "hideRotationDirection": true, "hideSwingMode": true, "alwaysResetToDefaults": true, "defaultFanSpeed": 33, "stepSize": 33, "data": { "on": "2600500000012996121313131213131312131313121313131238133713371337133713371338123812381312133812131313121313371313121313371313133713371337131313371300052800012a4b13000d05000000000000", "off": "2600500000012898101512141014121412141115121312131238123812381337123813381238123812381238133712141213131312381213131312141213123813371337121412381200052800012a4c12000d05000000000000", "fanSpeed33": [ { "data": "2600500000012898101512141014121412141115121312131238123812381337123813381238123812381238133712141213131312381213131312141213123813371337121412381200052800012a4c12000d05000000000000", "pause": 1 }, { "data": "2600500000012996121313131213131312131313121313131238133713371337133713371338123812381312133812131313121313371313121313371313133713371337131313371300052800012a4b13000d05000000000000" } ], "fanSpeed66": [ { "data": "2600500000012898101512141014121412141115121312131238123812381337123813381238123812381238133712141213131312381213131312141213123813371337121412381200052800012a4c12000d05000000000000", "pause": 1 }, { "data": "2600500000012996121313131213131312131313121313131238133713371337133713371338123812381312133812131313121313371313121313371313133713371337131313371300052800012a4b13000d05000000000000", "sendCount": 2, "interval": 1 } ], "fanSpeed99": [ { "data": "2600500000012898101512141014121412141115121312131238123812381337123813381238123812381238133712141213131312381213131312141213123813371337121412381200052800012a4c12000d05000000000000", "pause": 1 }, { "data": "2600500000012996121313131213131312131313121313131238133713371337133713371338123812381312133812131313121313371313121313371313133713371337131313371300052800012a4b13000d05000000000000", "sendCount": 3, "interval": 1 } ] } },

El 24 jun. 2023, a las 09:54, Loremwriter @.***> escribió:

I have a fan that has 3 speeds, from the remote control I cannot choose low, medium or high speed ... but has a button to raise or lower the speed. I think it's something similar to what you have. What I do is at each level (33% for low velociad, 66% for average speed and 99% for high speed) I make the IR code combination that does the following: speed 33%: off + 1 speed up speed 66%: off + 2 speed up 100%speed: Off + 3 speed up In this way, every time I change in homekit the speed, the device goes out and turns on repeating the speed button to the speed up to %. It is not neat at all, but it is the only way that occurred to me ... if anyone knows about a better solution I would love to meet her. … <x-msg://5/#> El 20 abr. 2023, a las 01:30, polycat33 @.***> escribió: I have a device that does not have any set 25%/100% type buttons, but instead just brightness up and down. It also does not have an on/off button, just a power toggle. How do I set it up in my config? Is there a way to set it so I can adjust the brightness, or can I only do on/off? — Reply to this email directly, view it on GitHub <#581 https://github.com/kiwi-cam/homebridge-broadlink-rm/issues/581>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBDDDBJJUHWYFB6QPEXACLXCC3W5ANCNFSM6AAAAAAXE57JMU. You are receiving this because you are subscribed to this thread.

@ggroel https://github.com/ggroel : Could you maybe post the code you've used for this "speed 33%: off + 1 speed up" thing? I'm using a fan as well and have the same issue like you. Except i have 5 steps with "speed 20%: off + 1 speed up".

I just dont know how to tell my RM to use the off command, then twice speed up. Would be glad if you could help me out! :)

— Reply to this email directly, view it on GitHub https://github.com/kiwi-cam/homebridge-broadlink-rm/issues/581#issuecomment-1605463366, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBDDDFA5AT5HXXDBPXQAA3XM3PQTANCNFSM6AAAAAAXE57JMU. You are receiving this because you were mentioned.

Loremwriter commented 1 year ago

Thanks @ggroel ! Got it. And now it works just fine. Unfortunately my fan is saving the previous setting, so i have to turn down the speed before turning it up.

For other users: I use for fanSpeed80: speed_down (x10, Interval 0.1) to make sure i'm at speed level 1 and then speed_up (x3) to make sure im at level 4. (1->2 ->3 ->4)

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

JasonGoldenDDT commented 6 months ago

Hi! New here. I would advocate for "Up/Down" functionality with this plug in. It seems like it is broadly applicable to lights and fans.

I have several Dyson AM09 fans with increase / decrease speed button. The work around suggested here kinda works, but not really.

Ideally the user could associate a hex with the up and down buttons and use the existing "step" config to drive the number of times it should send those buttons based on current step and requested step.

IMG_1690