Using Homeseer for 10 years now but yet my scripting ability is still weak.
I have a device that the output is saved as device string. This is what the device string reads 40.909,-74.384 which I am able to retrieve via hs.devicestring command.
Can someone write me the script to break this string into 2 device values. So basically looking for a script that could output the that string into device values:
40.909 = long
-74.384 = lat
Appreciate any assistance you can give.
Thank you
I have a device that the output is saved as device string. This is what the device string reads 40.909,-74.384 which I am able to retrieve via hs.devicestring command.
Can someone write me the script to break this string into 2 device values. So basically looking for a script that could output the that string into device values:
40.909 = long
-74.384 = lat
Appreciate any assistance you can give.
Thank you
Comment