The Red Button Now Powers the Hisense TV On and Off
The television's dead power button was worked around by making the red button on the remote switch the set on and off.
The Hisense television can be switched on and off again, even though the power button on its remote is dead. The red button now does the job: press it and the set goes to sleep, press it again and it wakes. The wake direction working surprised me. It only works while the Mac mini is running on the same home network, because the mini is what listens for the press. A replacement remote at about ten dollars remains the proper fix.
The odd part is that the power key sends nothing, though every other key on that remote reports normally. The clean repair would be a change to the vendor's key layout file. This is a production build, though, with no root access, and the folder holding that file is read-only. The workaround reads the remote's infrared receiver directly, which is allowed for the debugging shell through group 1004. When red is pressed, a script checks whether the set is awake and sends key 26 to sleep it or key 224 to wake it, ignoring repeats for 3 seconds.
Sleep on this model only blacks the screen. The receiver and the network connection stay up, so the set can still hear the press. The log shows a sleep at 09:37:45 and a wake at 09:37:52.
One gap is left. The launch agent that would keep the watcher running is written but not installed, because the install was blocked and I chose not to force it. Until I load it by hand, the watcher lives under nohup and a reboot kills it. The tune-up notes now include all this, plus the point that HDMI control is switched on and would be the tidier route if the console or streaming box supported it.
Keep reading
Hisense Podcasts Sign-in Fix Blanked the Library Screen
A fix for a misdrawn password box on my television's podcasts app blanked the library after sign-in, until I narrowed the fix.
Hisense Podcasts App Fixes Tabs, OK Key and Empty Shelves
The podcasts app on my television had three faults that only showed on a cold start: unreachable tabs, a dead OK button, and empty shelves.
Hisense Podcasts App Gets an Apple TV Look and a Sound Stall
The Hisense television's podcasts app got a new Apple-style home screen and shelves, then a stall in the sound that the new artwork had caused.

