SANdood / Aeon-HEM-v2

My version of the ST device driver for the Aeon HEM, exended to support the V2 version, with more displays
42 stars 121 forks source link

I tried to add this today, and got this message, admit I'm new to groovy #6

Closed txbone66 closed 8 years ago

txbone66 commented 8 years ago

No signature of method: script14514874388591874674061.metadata() is applicable for argument types: (script14514874388591874674061$_run_closure1) values: [script14514874388591874674061$_run_closure1@74369ff1] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Any ideas?

SANdood commented 8 years ago

Make sure you are using the source code to make a SmartDevice and not a SmartApp

Thanks! Barry

Sent from my iPhone

On Dec 30, 2015, at 9:58 AM, txbone66 notifications@github.com wrote:

No signature of method: script14514874388591874674061metadata() is applicable for argument types: (script14514874388591874674061$_run_closure1) values: [script14514874388591874674061$_run_closure1@74369ff1] Possible solutions: getMetadata(), getState(), setState(javalangObject), metaClass(groovylangClosure)

Any ideas?

— Reply to this email directly or view it on GitHub.

txbone66 commented 8 years ago

Thanks for the input. I did that and was able to get the device type updated. Cheers.

On Dec 30, 2015, at 2:11 PM, Barry Burke notifications@github.com wrote:

Make sure you are using the source code to make a SmartDevice and not a SmartApp

Thanks! Barry

Sent from my iPhone

On Dec 30, 2015, at 9:58 AM, txbone66 notifications@github.com wrote:

No signature of method: script14514874388591874674061metadata() is applicable for argument types: (script14514874388591874674061$_run_closure1) values: [script14514874388591874674061$_run_closure1@74369ff1] Possible solutions: getMetadata(), getState(), setState(javalangObject), metaClass(groovylangClosure)

Any ideas?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/SANdood/Aeon-HEM-v2/issues/6#issuecomment-168066574.

txbone66 commented 8 years ago

Barry, I’ve got my power meter up and running and figured out the logging to get the data over to xifely.

2 questions. 1 I’m new to smartthings having just changed over from VeraEdge (junk). Over there, we paid for code, which I don’t mind when I get stuff working… Is that the case over here, i.e. where we can donate?

  1. Any suggestions on why the kwh is coming in with no data? I can see it on the device, just not xifely...

On Dec 30, 2015, at 2:43 PM, Ryan Hall ryanhall66@gmail.com wrote:

Thanks for the input. I did that and was able to get the device type updated. Cheers.

On Dec 30, 2015, at 2:11 PM, Barry Burke <notifications@github.com mailto:notifications@github.com> wrote:

Make sure you are using the source code to make a SmartDevice and not a SmartApp

Thanks! Barry

Sent from my iPhone

On Dec 30, 2015, at 9:58 AM, txbone66 <notifications@github.com mailto:notifications@github.com> wrote:

No signature of method: script14514874388591874674061metadata() is applicable for argument types: (script14514874388591874674061$_run_closure1) values: [script14514874388591874674061$_run_closure1@74369ff1] Possible solutions: getMetadata(), getState(), setState(javalangObject), metaClass(groovylangClosure)

Any ideas?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/SANdood/Aeon-HEM-v2/issues/6#issuecomment-168066574.

txbone66 commented 8 years ago

I removed and readded the device and now it's logging everything. Thanks for your help...