I get the following error message when try to create this SmartApp:
" No signature of method: script_app_metadata_9ca0c23f_e44b_43d7_8cb0_ec5111500704.metadata() is applicable for argument types: (script_app_metadata_9ca0c23f_e44b_43d7_8cb0_ec5111500704$_run_closure1) values: [script_app_metadata_9ca0c23f_e44b_43d7_8cb0_ec5111500704$_run_closure1@660eefb4] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)"
@cscheiene ’s code is a DTH, not a smartapp. The message you got can happen if you add a DTH in as a smartapp.
Did you put it into “My Device Handlers” in the IDE?
Or were you having problems with the original smartapp from the manufacturer?
In either case, be aware that since the groovy cloud will be turned off in a few months, both the smartapp and the DTH will stop working when that happens. So you might want to check with the device manufacturer to see if they are planning to provide an integration to the new SmartThings architecture.
with the original, I can see the currencies in the browser only, but not in my phone, it only says “connected”, and it is not possible to make any routines or anything.
with the updated version, I get no values what so ever… I suspect it might be due to missing home number, which it states should be 0 by default. but where can I find my actual home number id to use here?
not possible to make any routines with the updated version either, that was what I was looking for actually, so I was happy when I found this but then a bit disappointed again after all as it doesn’t work.
Hi, and thanks a lot for your reply, most appreciated
The API key is correct and home is set to 0.
I know the key is correct because I’m using the same key for the original ST DH, where it works.
(but in the browser only though, and not in the phone app )
Hi, is there any way to get Tibber information about my power consuption? (As I have the Tibber Pulse). It would be great to get how much energy have used so far this hour and what is the current peak power. This way, I can turn off devices to avoid to high peaks (for the Net tariff).
As I see that this is available in the Tibber API ( accumulatedConsumptionLastHour [Float] kWh consumed since since last hour shift)