MissingMethodException: No signature of method

Any ideas why I'm getting this error? This is a shell of a Thermostat driver with the hopes of passing HTTP calls to IFTTT to perform actions with my thermostat. Goal of this would be to have better integration with RM for adjusting temps.

Thinking is to have rules in IFTTT that look like this and can be plugged into a virtual driver.

2019-02-12 10:03:10.664 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.$() is applicable for argument types: (dev15500264914591562516232$_fanOn_closure19) values: [dev15500264914591562516232$_fanOn_closure19@46e237e4] Possible solutions: is(java.lang.Object), run(), run(), any(), use([Ljava.lang.Object;), any(groovy.lang.Closure) on line 91 (fanOn) dev:3852019-02-12 10:03:10.010 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.heat() is applicable for argument types: () values: [] Possible solutions: getAt(java.lang.String), wait(), wait(long), each(groovy.lang.Closure), wait(long, int), putAt(java.lang.String, java.lang.Object) (heat) dev:3852019-02-12 10:03:08.765 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.fanCirculate() is applicable for argument types: () values: [] (fanCirculate) dev:3852019-02-12 10:03:08.051 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.$() is applicable for argument types: (dev15500264914591562516232$_fanOn_closure19) values: [dev15500264914591562516232$_fanOn_closure19@383b9c0] Possible solutions: is(java.lang.Object), run(), run(), any(), use([Ljava.lang.Object;), any(groovy.lang.Closure) on line 91 (fanOn) dev:3852019-02-12 10:03:07.256 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.off() is applicable for argument types: () values: [] Possible solutions: run(), run(), any(), use([Ljava.lang.Object;), any(groovy.lang.Closure), is(java.lang.Object) (off) dev:3852019-02-12 10:03:06.614 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.$() is applicable for argument types: (dev15500264914591562516232$_fanOn_closure19) values: [dev15500264914591562516232$_fanOn_closure19@3cd3403e] Possible solutions: is(java.lang.Object), run(), run(), any(), use([Ljava.lang.Object;), any(groovy.lang.Closure) on line 91 (fanOn) dev:3852019-02-12 10:03:05.682 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.fanCirculate() is applicable for argument types: () values: [] (fanCirculate) dev:3852019-02-12 10:02:58.777 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.setThermostatFanMode() is applicable for argument types: (java.lang.String) values: [on] (setThermostatFanMode) dev:3852019-02-12 09:56:13.359 pm errorgroovy.lang.MissingMethodException: No signature of method: dev15500264914591562516232.$() is applicable for argument types: (dev15500264914591562516232$_setFollowSchedule_closure8) values: [dev15500264914591562516232$_setFollowSchedule_closure8@7d55bda6] Possible solutions: is(java.lang.Object), run(), run(), any(), use([Ljava.lang.Object;), any(groovy.lang.Closure) on line 56 (setFollowSchedule)

I think its this on line 91

def cmd = ${settings.fanModeOn}

change it to
def cmd=settings.fanModeOn

same with line 106.

The ${} is only needed if you want to reference that variable in quotes.

Thanks, I'll give that a shot!

1 Like

That was it. Thanks!