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
If this is your first visit, be sure to check out the FAQ. You must register before you can post.
IMPORTANT: Your first post will be checked for appropriate content. This may take a bit of time.
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