[API] SamyGO web API

Here are software that related with Samsung H series TVs.

SamyGO Project Donor
Posts: 160
Joined: Sat May 17, 2014 9:24 am
Location: Croatia

Re: [API] SamyGO web API

Post by gogo » Mon Mar 12, 2018 2:24 pm

I don't understand this step:
CMD_ON:/mnt/scripts/onPowerOn.sh CMD_OFF:/mnt/scripts/onPowerOff.sh

Where can I download those scripts? :?
Samsung TV: UE46F6500

User avatar
SamyGO Project Donor
Posts: 247
Joined: Sun May 03, 2015 10:42 am

Re: [API] SamyGO web API

Post by mad_ady » Mon Mar 12, 2018 2:38 pm

The onPowerOn.sh/onPowerOff.sh scripts (among other functionality) should set a flag by creating a file called

Code: Select all



onPowerOn.sh: rm -f /dtv/tvIsSleeping
onPowerOff.sh: touch /dtv/tvIsSleeping

If you don't use libSoftPowerOff, the TV powers off and the web API is no longer accessible.
You should just create them, like this (minimum; you can run your own code in them as needed):

Code: Select all

rm -f /dtv/tvIsSleeping

Code: Select all

touch /dtv/tvIsSleeping
Make sure both scripts are executable:

Code: Select all

chmod a+x /mnt/scripts/onPower*.sh
H6400, firmware 2602.2 downgraded to 2130

Post Reply

Return to “[H] Software”