Author Topic: Overload resolution failed  (Read 920 times)

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Overload resolution failed
« Reply #15 on: August 12, 2016, 09:57:33 am »
In your code you first enable the green LED and after you have sent to IFTTT then you set it to off again. So that works as it should.
I could try later today to send a update from one of mine modules to your spreadsheet just to verify that.

Iam on vacation and will test this when I get back to the hotel.

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Overload resolution failed
« Reply #16 on: August 12, 2016, 12:32:30 pm »
Okey, I have now sent two IFTTT updates to d8cAVjNUjBr1S9aUB70Wvc and event id temperatuur.
Do you see anything in your spreadsheet now?

hnugter

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Overload resolution failed
« Reply #17 on: August 12, 2016, 12:36:30 pm »
Hello kristofferis,
Accidentally I reconnected my maker and the new key is now dfssqReenxPPUE0k_aJGwP
Could you please sent the IFTTT updates once more?

regards
Henk

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Overload resolution failed
« Reply #18 on: August 12, 2016, 12:41:52 pm »
Sure, I have now sent two more updates to your new ID.
The event id is still temperatuur?

hnugter

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Overload resolution failed
« Reply #19 on: August 12, 2016, 12:43:11 pm »
I see now four lines
August 12, 2016 at 07:29PM   temperatuur   25
August 12, 2016 at 07:30PM   temperatuur   25
August 12, 2016 at 07:40PM   temperatuur   25
August 12, 2016 at 07:40PM   temperatuur   25

regards
Henk

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Overload resolution failed
« Reply #20 on: August 12, 2016, 12:46:58 pm »
Ahh okey, then did the old ID also work for some reason.
But now we verified that you IFTTT is okey, and my update is sent from mcModule with latest firmware so no problem there.

Please try to reboot your mcGateway and your mcModule and then connect again to mcStudio and try the code again and see if it works now.

hnugter

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Overload resolution failed
« Reply #21 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

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Overload resolution failed
« Reply #22 on: August 12, 2016, 01:53:28 pm »
Iam not sure if IFTTT event name is case sensitive or not but try to change Temperatuur to temperatuur
Like Like x 1 View List

hnugter

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Overload resolution failed
« Reply #23 on: August 12, 2016, 02:04:08 pm »
I'll be d....
It works.
Never thought about that, you are great.
Thanks a lot for your patience and help.

Best regards
Henk

August 12, 2016 at 07:29PM   temperatuur   25
August 12, 2016 at 07:30PM   temperatuur   25
August 12, 2016 at 07:40PM   temperatuur   25
August 12, 2016 at 07:40PM   temperatuur   25
August 12, 2016 at 08:59PM   temperatuur   23.000.000
August 12, 2016 at 09:00PM   temperatuur   22.937.500
August 12, 2016 at 09:01PM   temperatuur   22.937.500
August 12, 2016 at 09:02PM   temperatuur   22.937.500
August 12, 2016 at 09:03PM   temperatuur   25.562.500

kristofferis

  • Sr. Member
  • ****
  • Posts: 287
  • Location: Sweden
    • View Profile
Re: Overload resolution failed
« Reply #24 on: August 12, 2016, 02:07:33 pm »
That's great  :)
No problem, just let me know if you need some more help.
I will do my best to help you.
Like Like x 2 View List