String Items set using OnOffType ON will always appear to be OFF

You have to install Python and then copy the code at that link to $OH_CONF/. Then look at the test code which shows how to use it.