Hello,
I have this code. HS2 BLRADAR
ON Code:
If hs.Plugin("BLRadar").NightTime() Then
hs.ExecX10ByName("Buiten Buiten Terras Spots zij- en achterkant", "On")
End If
If hs.Plugin("BLRadar").NightTime() Then
hs.ExecX10ByName("Buiten Buiten Voortuin Spot Voortuin", "On")
End If
OFF Code:
If hs.IsOnByName("Buiten Buiten Terras Spots zij- en achterkant") Then
hs.ExecX10ByName("Buiten Buiten Terras Spots zij- en achterkant", "Off")
End If
If hs.IsOnByName("Buiten Buiten Voortuin Spot Voortuin") Then
hs.ExecX10ByName("Buiten Buiten Voortuin Spot Voortuin", "Off")
End If
Problem
The 2 lamps always go on but sometimes not always off. What can be the problem?
In Homeseer i can see that the status of the lamps is off. But the lamps are not always off.
Thanks
I have this code. HS2 BLRADAR
ON Code:
If hs.Plugin("BLRadar").NightTime() Then
hs.ExecX10ByName("Buiten Buiten Terras Spots zij- en achterkant", "On")
End If
If hs.Plugin("BLRadar").NightTime() Then
hs.ExecX10ByName("Buiten Buiten Voortuin Spot Voortuin", "On")
End If
OFF Code:
If hs.IsOnByName("Buiten Buiten Terras Spots zij- en achterkant") Then
hs.ExecX10ByName("Buiten Buiten Terras Spots zij- en achterkant", "Off")
End If
If hs.IsOnByName("Buiten Buiten Voortuin Spot Voortuin") Then
hs.ExecX10ByName("Buiten Buiten Voortuin Spot Voortuin", "Off")
End If
Problem
The 2 lamps always go on but sometimes not always off. What can be the problem?
In Homeseer i can see that the status of the lamps is off. But the lamps are not always off.
Thanks
Comment