IFTTT > IFTTT

Overload resolution failed

(1/5) > >>

hnugter:
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 ]

kristofferis:
Hello.
You have included your class name temperatuur in you IFTTT command. That is not an valid string.
If you just want to send the name then put it inside ""

hnugter:
Thanks for your fast reply.
I changed the script and is seems working now, however, i do not see a spreadsheet yet... but i keep on puzzling.

Regards
Henk

kristofferis:
That's great.
Let us know if you need any help.

hnugter:
Hello Mcthings, My module is now running for a day but no data has been written to my spreadsheet.
I have tried several things but no success.
One of the things I noticed is that when I use the device maintenance and when I click on Gateway config, I get  an error like in the attached screenshot. Does that cause the gateway fot not working properly?

regards
Henk

[ Guests cannot view attachments ]

Navigation

[0] Message Index

[#] Next page

Go to full version