Reboot a HD210 or HD1010 remotely
Hi, is it possible to reboot a brightsign unit (HD210 or HD1010) remotely? Regards, Nando
elseif type(msg) = "roDatagramEvent" then
eventData = m.HandleDatagramEvent(msg, eventData, transitionList)
elseif type(msg) = "roDatagramEvent" then
if UCASE(msg.GetString()) = "REBOOT" then RebootSystem()
eventData = m.HandleDatagramEvent(msg, eventData, transitionList)
Sub DisplayImage(zone As Object, state As Object, imageItem As Object)
m.StopSignChannelInZone(zone)
file$ = imageItem.fileName$
Sub DisplayImage(zone As Object, state As Object, imageItem As Object)
m.StopSignChannelInZone(zone)
file$ = imageItem.fileName$
if Ucase(file$) = "REBOOTCHECK.JPG" then
commandfile$="command.txt"
URL$="http://192.168.137.1:100/test1/"
txfer=createobject("roURLTransfer")
txfer.SetURL(URL$ + commandfile$)
txfer.GetToFile("command.txt")
txfer=0
myfile = createobject("roReadFile", "command.txt")
if type(myfile) = "roReadFile" then
while myfile.AtEof() = false
currentLine$ = myfile.ReadLine()
if UCASE(currentLine$) = "REBOOT" then
RebootSytem()
endif
end while
endif
endif