I'm just starting with Mcthings and I successfully loaded the blink script on one of my modules.
Now I'm trying the temperature script but I get an error which says Overload resolution failed because IFTTT does not accept the specific data types....etc
This is my script, what goes wrong.
The word IFTTT is underlined like in Word and gives an error message.
Regards
Henk
Class temperatuur
Shared Event GetTemp() RaiseEvent Every 1 Minutes
LedGreen = True
Dim TempC As Float = TempSensor.GetTemp()
Dim TempF As Float = TempSensor.ToFarenheit(TempC)
If TempC > 25.0 Then
LedRed = True
Else
LedRed = False
End If
LedGreen = False
Lplan.IFTTT("d8cAVjNUjBr1S9aUB70Wvc", "TempCE", temperatuur, "", "")
End Event
End Class
[ Guests cannot view attachments ]