Hi Chaps
I have a flow to turn my Sony TV on and off using the contrib-bravia nodes but for some reason the turn off instruction requires two pulses (i.e. two 1's) to be sent before the TV actually turns off. All the other instruction (change input, turn on etc) only require one pulse. As a work around I'm trying to come up with a simple way to send two output pulses (two 1's) when a dashboard button is pressed. I've looked at dceejay's suggestion here:
https://flows.nodered.org/flow/5c4c0f5a08d4e91ea14d
but his flow sends one's and zero's, I need to output two 1's. I've tried fiddling with the code in the function node but I'm afraid I'm a bit lost.
Any chance of a few pointers, thanks.