Can't turn TV back on after a while
Hey folks,

I installed Homebridge tonight on a Mac I'll be using as a server. I installed this plugin to get to use the Home app + Siri shortcuts, and I've run into the same problem of a few closed issues: a few moments after I turn off the TV, I can't turn it back on through the Home app.

When I turn it back on with the remote, everything works perfectly. Volume slider, a Plex shortcut I created, etc. But if I turn the TV off and try turning it on back again, I get nothing.

Here is what the config.json file looks like:

{
	"bridge": {
		"name": "Homebridge",
		"username": "MY-USERNAME",
		"pin": "MY-PIN"
	},
	"accessories": [{
		"accessory": "webostv",
		"name": "TV",
		"ip": "192.168.15.17",
		"mac": "4C:09:D4:DC:0E:F6",
		"keyFile": "/Users/Marcus/.homebridge/lgtvKeyFile",
		"volumeControl": "slider",
		"mediaControl": false,
		"pollingInterval": 5,
		"appSwitch": [
			"cdp-30",
			"youtube.leanback.v4",
			"netflix"
		]
	}]
}

Here are the errors I get when I turn the TV off and can't get it to turn back on through the Home app:

[1/22/2019, 2:01:56 AM] [TV] webOS - Error: connect EHOSTDOWN 192.168.15.17:3000 - Local (192.168.15.15:51730)

[1/22/2019, 2:01:58 AM] [TV] webOS - Error: connect ETIMEDOUT 192.168.15.17:3000

[1/22/2019, 2:05:09 AM] [TV] webOS - Error: connect ECONNREFUSED 192.168.15.17:3000

The is also configured correctly. I have LG Connect Apps and Mobile TV On enabled. The IP is static, and the Mac address is correct as well. I have tried uninstalling and reinstalling both Homebridge and the homebridge-webos-tv plugin, and it didn't work. I don't have any other plugins installed either.

Please let me know if I can provide any other information to try to solve this, and thank you very much for all the hard work you clearly put into this plugin.