Posted: Sun Jul 22, 2018 12:26 pm
Results of more experiments here.
The Pi is the only CEC-enabled device I have connected to the TV. Rather than try to figure out how to disable that from within OSMC, I simply unplugged the HDMI connection to the TV. Upon doing that, I can report that my wife's remote, which uses the original macros I created, fails to turn the TV off. So, I conclude from that that my problem is not CEC-related.
The "new" macros I created for my remote, with the TV commands at the "top" and the discrete HDMI1 select deleted from the Power-off macro, have worked "most" of the time over the last couple days. The power-off macro did fail to turn the TV off once and the power-on macro fails to turn the TV on if it hasn't been in an "off" state for very long. Individual commands fired at the TV from outside a macro always work as expected.
For the case of the power-off macro, moving the TV commands to the "top" did not work when the discrete HDMI1 select was included immediately before the discrete power-off, so I removed it. When I add it back, the macro fails to power off the TV. I verified that today. I conclude that the two commands fired in rapid succession from within a macro cause the TV to do something unexpected; perhaps the new software causes the TV to "wait" before it powers off. If it receives another command in that wait state, then it becomes confused on what to do, and in my case, it ends up turning itself back on in HDMI1 mode. I really have no idea if this makes technical sense, but I placed a .5 second pause between the discrete HDMI1 select and discrete power off command in my original, TV at the bottom macro, and guess what happened? The TV shuts down as it should!
For the case of the power-on macro, I can't work out why it doesn't turn the TV on unless some small amount of time has elapsed from powering off. FYI, my original system power-on macro, in which the TV commands were at the bottom, placed the power on command for my Onkyo receiver right before I switch to the TV device in the macro. Again, heady with success from the power-off macro, I placed a .5 second pause between the TV device selection and the shift-power for the TV. Well, now the TV will come on regardless of how long it was off! This makes no sense to me. The original macro fails unless the TV is off for, probably 2-3 minutes, but if I put a .5 second pause between the TV device select and the shift-power, it comes on regardless of how long it was off.
By the way, I've found someone on AVSForum who seems to be having the same problem with this TV. He has a Harmony remote running the Harmony analog to our macro. His power-off doesn't work unless he fires a power-off outside the "macro".
I've opened a ticket with TCL and they have not responded. That seems unusual so I might have another go at them.
I'm concluding that something has changed in how this TV handles power-on and power-off commands. I'm going to "fix" my wife's remote by adding pauses as indicated, and keep mine using the "move up the TV commands and remove the HDMI1 select approach". We'll see which one fails first, or most often.
I'm all ears if any of you experts can figure this out.
Thanks for for any help.
The Pi is the only CEC-enabled device I have connected to the TV. Rather than try to figure out how to disable that from within OSMC, I simply unplugged the HDMI connection to the TV. Upon doing that, I can report that my wife's remote, which uses the original macros I created, fails to turn the TV off. So, I conclude from that that my problem is not CEC-related.
The "new" macros I created for my remote, with the TV commands at the "top" and the discrete HDMI1 select deleted from the Power-off macro, have worked "most" of the time over the last couple days. The power-off macro did fail to turn the TV off once and the power-on macro fails to turn the TV on if it hasn't been in an "off" state for very long. Individual commands fired at the TV from outside a macro always work as expected.
For the case of the power-off macro, moving the TV commands to the "top" did not work when the discrete HDMI1 select was included immediately before the discrete power-off, so I removed it. When I add it back, the macro fails to power off the TV. I verified that today. I conclude that the two commands fired in rapid succession from within a macro cause the TV to do something unexpected; perhaps the new software causes the TV to "wait" before it powers off. If it receives another command in that wait state, then it becomes confused on what to do, and in my case, it ends up turning itself back on in HDMI1 mode. I really have no idea if this makes technical sense, but I placed a .5 second pause between the discrete HDMI1 select and discrete power off command in my original, TV at the bottom macro, and guess what happened? The TV shuts down as it should!
For the case of the power-on macro, I can't work out why it doesn't turn the TV on unless some small amount of time has elapsed from powering off. FYI, my original system power-on macro, in which the TV commands were at the bottom, placed the power on command for my Onkyo receiver right before I switch to the TV device in the macro. Again, heady with success from the power-off macro, I placed a .5 second pause between the TV device selection and the shift-power for the TV. Well, now the TV will come on regardless of how long it was off! This makes no sense to me. The original macro fails unless the TV is off for, probably 2-3 minutes, but if I put a .5 second pause between the TV device select and the shift-power, it comes on regardless of how long it was off.
By the way, I've found someone on AVSForum who seems to be having the same problem with this TV. He has a Harmony remote running the Harmony analog to our macro. His power-off doesn't work unless he fires a power-off outside the "macro".
I've opened a ticket with TCL and they have not responded. That seems unusual so I might have another go at them.
I'm concluding that something has changed in how this TV handles power-on and power-off commands. I'm going to "fix" my wife's remote by adding pauses as indicated, and keep mine using the "move up the TV commands and remove the HDMI1 select approach". We'll see which one fails first, or most often.
I'm all ears if any of you experts can figure this out.
Thanks for for any help.