Author Topic: Overload resolution failed  (Read 989 times)

hnugter

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Overload resolution failed
« Reply #15 on: August 12, 2016, 01:23:39 pm »
I did what you asked, power down, power up, connect gateway, module, module is present in header of mcstudio en loaded the script in the module.
I have tried debug again it gives the right value of temp and tempstring before it is sent to IFTTT

My gateway is connected via lan. red, amber led continuously and a blinking green led, it blinks about every second 

The module blinks green every minute.
But sadley, no update in my spreadsheet
I have looked at the code, even beginning to understand what it means, but I can not find what's wrong.

Class temperatuur
    Shared Event GetTemp() RaiseEvent Every 1 Minutes
        LedGreen = True
       
        Dim temp As Float = TempSensor.GetTemp()
       
        Dim tempstring As String = temp.ToString()
       
        Lplan.IFTTT("dfssqReenxPPUE0k_aJGwP", "Temperatuur", tempstring, "", "")
       
        If temp > 25.0 Then
            LedRed = True
        Else
            LedRed = False
        End If
       
        LedGreen = False
       
    End Event   
End Class