For personal use I would like to be able to restart my own TV via a web application. So far I'm able to send out service requests via the LS2 API (LS2 API Index | webOS Open Source Edition) and by changing the Dev Mode setting from on to off and the other around. This causes a reboot but also makes it impossible to open up my own applications anymore if I change the setting to off. Quickly enabling the dev mode after turning it off doesn't seem to work.
Are there other options to do this? The power/sleep calls are not available or I get a permission denied.