Can you please add the string to the device, I'm writing a little script and I would like to take the string from it and put into MYSQL table.
Thanks
Thanks
Dim CSStatus As String = hs.CAPIGetStatus(NotificationDev).Status.ToString()
Compiling script C:\HomeSeer3\scripts\MySQLTeslaCost.vb: 'ePairStatus' is not declared. It may be inaccessible due to its protection level. |
Mar-19 9:29:48 AM | Error | Compiling script C:\HomeSeer3\scripts\MySQLTeslaCost.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. |
dim csvalue as string = hs.DeviceVSP_GetStatus(nnnn,hs.DeviceValue(nnnn),ePairStatus Control.Status)
Dim CSValue As String = hs.CAPIGetStatus(xxxx).Value.ToString()
Dim CSStatus As String = hs.CAPIGetStatus(NotificationDev).Status.ToString()
Comment