I noticed some of you were sort of asking how to have a smarter on / off switch for your TV.
Here is some code that will add a smart toggle switch for your TV that knows whether the TV is on / off.
Requirements are:
- TV is connected to the network (via WiFi or ethernet cable) so that you can ping it.
- Your set your TV to a fixed IP address on your network
Optional requirement:
- Discrete on / off IR codes for your TV are preferable, but not essential.
Here is the post with instructions:
1 Like