Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while loading Code #8

Open
ghost opened this issue Apr 11, 2016 · 6 comments
Open

Error while loading Code #8

ghost opened this issue Apr 11, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 11, 2016

Hi, Sorry new to this. I installed the Aeon-HEM-V2 to ST. I then came to your site and I thought I was following the instructions correctly but I keep getting an error when I create a "New SmartApp" and Select "From Code" tab and paste in your code and select *_create *_I get this error

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

Thoughts?

@SANdood
Copy link
Owner

SANdood commented Apr 11, 2016

Common mistake – the HEMv2 is a SMartthings Device, not a SmartApp … try creating a new device from code…

From: karynkarl [mailto:[email protected]]
Sent: Sunday, April 10, 2016 9:28 PM
To: SANdood/Aeon-HEM-v2 [email protected]
Subject: [SANdood/Aeon-HEM-v2] Error while loading Code (#8)

Hi, Sorry new to this. I installed the Aeon-HEM-V2 to ST. I then came to your site and I thought I was following the instructions correctly but I keep getting an error when I create a "New SmartApp" and Select "From Code" tab and paste in your code and select *create *I get this error

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

Thoughts?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #8 https://github.com/notifications/beacon/AHpYULWf9HvhvyAejFwx6ckCB38Hw0a7ks5p2aOigaJpZM4ID_1M.gif

@ghost
Copy link
Author

ghost commented Apr 11, 2016

Thank you try that again.

Sent from my iPhone

On Apr 11, 2016, at 06:35, Barry Burke <[email protected]mailto:[email protected]> wrote:

Common mistake - the HEMv2 is a SMartthings Device, not a SmartApp ... try creating a new device from code...

From: karynkarl [mailto:[email protected]]
Sent: Sunday, April 10, 2016 9:28 PM
To: SANdood/Aeon-HEM-v2 <[email protected]mailto:[email protected]>
Subject: [SANdood/Aeon-HEM-v2] Error while loading Code (#8)

Hi, Sorry new to this. I installed the Aeon-HEM-V2 to ST. I then came to your site and I thought I was following the instructions correctly but I keep getting an error when I create a "New SmartApp" and Select "From Code" tab and paste in your code and select *create *I get this error

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

Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #8 https://github.com/notifications/beacon/AHpYULWf9HvhvyAejFwx6ckCB38Hw0a7ks5p2aOigaJpZM4ID_1M.gif

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-208276328

@ghost
Copy link
Author

ghost commented Apr 11, 2016

Sorry to be pain but I don't see that option, am I missing something

[cid:688e0d0a-7241-4d29-a376-9383ea02a3d8]


From: Barry Burke [email protected]
Sent: Monday, April 11, 2016 3:34 AM
To: SANdood/Aeon-HEM-v2
Cc: karynkarl
Subject: Re: [SANdood/Aeon-HEM-v2] Error while loading Code (#8)

Common mistake - the HEMv2 is a SMartthings Device, not a SmartApp ... try creating a new device from code...

From: karynkarl [mailto:[email protected]]
Sent: Sunday, April 10, 2016 9:28 PM
To: SANdood/Aeon-HEM-v2 [email protected]
Subject: [SANdood/Aeon-HEM-v2] Error while loading Code (#8)

Hi, Sorry new to this. I installed the Aeon-HEM-V2 to ST. I then came to your site and I thought I was following the instructions correctly but I keep getting an error when I create a "New SmartApp" and Select "From Code" tab and paste in your code and select *create *I get this error

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

Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #8 https://github.com/notifications/beacon/AHpYULWf9HvhvyAejFwx6ckCB38Hw0a7ks5p2aOigaJpZM4ID_1M.gif

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-208276328

@ghost
Copy link
Author

ghost commented Apr 11, 2016

I got it, they names it different.

Thanks for your help and great work on this!


From: Barry Burke [email protected]
Sent: Monday, April 11, 2016 3:34 AM
To: SANdood/Aeon-HEM-v2
Cc: karynkarl
Subject: Re: [SANdood/Aeon-HEM-v2] Error while loading Code (#8)

Common mistake - the HEMv2 is a SMartthings Device, not a SmartApp ... try creating a new device from code...

From: karynkarl [mailto:[email protected]]
Sent: Sunday, April 10, 2016 9:28 PM
To: SANdood/Aeon-HEM-v2 [email protected]
Subject: [SANdood/Aeon-HEM-v2] Error while loading Code (#8)

Hi, Sorry new to this. I installed the Aeon-HEM-V2 to ST. I then came to your site and I thought I was following the instructions correctly but I keep getting an error when I create a "New SmartApp" and Select "From Code" tab and paste in your code and select *create *I get this error

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

Thoughts?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #8 https://github.com/notifications/beacon/AHpYULWf9HvhvyAejFwx6ckCB38Hw0a7ks5p2aOigaJpZM4ID_1M.gif

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-208276328

@kingpin44
Copy link

Hi @SANdood , I'm new to this and I can't follow what your answer is above. Can you please elaborate what you mean? I still am getting the same error message.

Thank you!

@kingpin44
Copy link

Nevermind...I sent this message too soon. I was able to figure it out 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants