You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to prepare a JSON for my ceiling fan, I have captured the IR codes already etc. etc.
Problem: This is a dumb fan, to set the fan speed you need to press the button X times (speed 1 (low) = 1 press, speed 2 (medium) = 2 presses, speed 3 (high) = 3 presses)
Therefore I need to set the JSON to repeat the same command 2 or 3 times to archieve the desired fan speed, I tried with using an array but it doesn't seem it's working as expected, I believe it doesn't play the whole array but only one of the codes in the array? Not sure
I would like to have a way to tell it to play all N commands in the array, possibly setting the delay between them (in the JSON file, as they are entity specific). Would be super if there was a way to also tell it to first send the "off" state, then set the desired one, so it always resets and goes to the correct speed, but that's not super important at the moment. Would it be possible to add? Or am I missing something and it's already there, and I just can't figure out how to make it do it?
Thank!
The text was updated successfully, but these errors were encountered:
Hello!
I am trying to prepare a JSON for my ceiling fan, I have captured the IR codes already etc. etc.
Problem: This is a dumb fan, to set the fan speed you need to press the button X times (speed 1 (low) = 1 press, speed 2 (medium) = 2 presses, speed 3 (high) = 3 presses)
Therefore I need to set the JSON to repeat the same command 2 or 3 times to archieve the desired fan speed, I tried with using an array but it doesn't seem it's working as expected, I believe it doesn't play the whole array but only one of the codes in the array? Not sure
This is the JSON I made so far:
With the relative configuration of the entity:
I would like to have a way to tell it to play all N commands in the array, possibly setting the delay between them (in the JSON file, as they are entity specific). Would be super if there was a way to also tell it to first send the "off" state, then set the desired one, so it always resets and goes to the correct speed, but that's not super important at the moment. Would it be possible to add? Or am I missing something and it's already there, and I just can't figure out how to make it do it?
Thank!
The text was updated successfully, but these errors were encountered: