Hi
I'm trying to design an ui for homeseer. Was looking at some other designs and one had made it so he could see when his kid was delivered and picked up from kindergarden with the help from phlocation2 and geofence.
I got the following script from him to register the delivery:
&hs.SetDeviceString(754, "Levert ("+DateTime.Now.ToString("HH:mm")+")", True)
It should write a string to a virtual device that HStouch could pull out and display.
I get this error message:
Running script(2) &hs.SetDeviceString(754, "Levert ("+DateTime.Now.ToString("HH:mm")+")", True), init error: Require object: 'DateTime'
What am I missing?
I'm trying to design an ui for homeseer. Was looking at some other designs and one had made it so he could see when his kid was delivered and picked up from kindergarden with the help from phlocation2 and geofence.
I got the following script from him to register the delivery:
&hs.SetDeviceString(754, "Levert ("+DateTime.Now.ToString("HH:mm")+")", True)
It should write a string to a virtual device that HStouch could pull out and display.
I get this error message:
Running script(2) &hs.SetDeviceString(754, "Levert ("+DateTime.Now.ToString("HH:mm")+")", True), init error: Require object: 'DateTime'
What am I missing?
Comment