Okay! It was that small (edit) I kept missing.
Thank you so much! That at least got it installed correctly. I’ll see if it pulls data. Once again, I really do appreciate the work you did on this!
Okay! It was that small (edit) I kept missing.
Thank you so much! That at least got it installed correctly. I’ll see if it pulls data. Once again, I really do appreciate the work you did on this!
You probably should open the Settings for the device within the app and click “Save” in order to start the scheduler to pull data.
Is there a way to prevent it from flooding my activity feed? Is there something I can just comment out?
I am trying to learn this setup and code, I have 40 panels with Envoy-IQ.
After setting up my developr account, and saving the code, I get this error. not sure how to fix it.
groovy.lang.MissingMethodException: No signature of method: script_app_metadata_30e64fab_9e22_4a4e_8169_0ea69266a373.metadata() is applicable for argument types: (script_app_metadata_30e64fab_9e22_4a4e_8169_0ea69266a373$_run_closure2) values: [script_app_metadata_30e64fab_9e22_4a4e_8169_0ea69266a373$_run_closure2@285a7a83]
Possible solutions: getMetadata(), getState(), pullData(), setState(java.lang.Object), metaClass(groovy.lang.Closure) @line 39 (run)
Did you maybe create a new app rather than a new device type handler?
I did create the new app and copied and pasted the code from you, after making a few changes. I also, do not see the code in the android app of my apps.
Will create a DTH now.
Still do not see the my app, it is a blank area. after publishing.
FINALLY added the MAC address, and now see the app in my apps.
What do I do to get your DTH selected.
MY DEVICE:
So my Device Handler is the actual code, is that wrong?
It says “Type: Wattvision” so it doesn’t seem to use my DTH…
OK, so I have it working in the mobile app, someohow, now waiting for sunlight.
Thanks
So, the IP is a private IP, not public. IS the only way I can see the data, only when I am home.?
No. Since the hub is on the same local LAN as the Envoy it can access it regardless of where you are.
Good to know, I ordered a hub today, will be here Tuesday.
Appreciate your work, and assistance.
Tom
Think I still need help, I have the smarthub installed, and now i get this in the logs:
Clear
b42eac6b-6f1b-49f1-bef1-1f1f3dffe392 12:40:30 PM: info SHM getInitialData 0.023 (00) incidents:00, locationId:85f73be7-00f3-4818-b4de-4637488060e5
b42eac6b-6f1b-49f1-bef1-1f1f3dffe392 12:40:30 PM: debug summaryData: [[icon:indicator-dot-green, iconColor:#79b821, value:Everything OK, heroInfo:[heroStatus:ok, heroMessage:Everything OK]]] - [[icon:indicator-dot-green, heroInfo:[heroStatus:ok, heroMessage:Everything OK], value:Everything OK, iconColor:#79b821]]
MySmartApps has a default template, and the My Device Handlers has your code.
Is this correst. the IP is of my Envoy device.
preferences {
input(“confIpAddr”, “string”, title:“192.168.1.85”,
required: true, displayDuringSetup: true)
input(“confTcpPort”, “80”, title:“TCP Port”,
defaultValue:“80”, required: true, displayDuringSetup: true)
input(“confNumInverters”, “40”, title:“Number of Inverters/Panels”,
required: true, displayDuringSetup: true)
input(“pollingInterval”, “number”, title:“Polling Interval (min)”,
defaultValue:“5”, range: “2…59”, required: true, displayDuringSetup: true)
input(title: “”, description: “Inverter Size (W)\n\nRated maximum power in Watts for each inverter\n\nUse ‘225’ for M215 and ‘250’ for M250”, type: “paragraph”, element: “paragraph”, displayDuringSetup: true)
input(“confInverterSize”, “240”, title:"",
required: true, displayDuringSetup: true)
input(title: “”, description: “Panel Size (W)\n\nRated maximum power in Watts for each panel\n\nThis can be different than the maximum inverter power above”, type: “paragraph”, element: “paragraph”, displayDuringSetup: true)
input(“confPanelSize”, “240”, title:"",
required: true, displayDuringSetup: true)
input(title:"", description: “Version: ${version()}”, type: “paragraph”, element: “paragraph”)
}
Those logs don’t have anything to do with the Envoy DTH.
Did you edit the code to put your values in there? You are not supposed to alter the code in any way - you would enter the settings in the ST app (in the settings - cog icon) for the device. Changing the settings in the app will kick of the DTH to query your envoy. If you don’t do that. nothing will happen.
Andreas,
Name | Home Hub |
---|---|
Hub ID | 24FD5B0000046C32 |
Status | ACTIVE |
This is MY DEVICES:
Name ENVOY-Home
Label ENVOY
Type Enlighten Envoy (local)
Version Published
Device Network Id 00:1D:C0:68:82:97
This is MY DEVICE HANDLERS
Search:
Showing 1 to 1 of 1 entries
Last this is MY APPS, not sure why it is a template:
/**
*/
definition(
name: “ENVOY-Home”,
namespace: “starlog1”,
author: “Tom French”,
description: “Enphase monitor”,
Yes - known and very old bug on Android. You should be able to fill in the preferences from the IDE and then back in the app just tap the settings gear icon and hit “Save”
OK tried that, filled in like so:
preferences {
input(“confIpAddr”, “string”, title:“192.168.1.85”,
required: true, displayDuringSetup: true)
input(“confTcpPort”, “number”, title:“80”,
defaultValue:“80”, required: true, displayDuringSetup: true)
input(“confNumInverters”, “number”, title:“40”,
required: true, displayDuringSetup: true)
input(“pollingInterval”, “number”, title:“Polling Interval (min)”,
defaultValue:“5”, range: “2…59”, required: true, displayDuringSetup: true)
input(title: “”, description: “Inverter Size (W)\n\nRated maximum power in Watts for each inverter\n\nUse ‘225’ for M215 and ‘250’ for M250”, type: “paragraph”, element: “paragraph”, displayDuringSetup: true)
input(“confInverterSize”, “250”, title:"",
required: true, displayDuringSetup: true)
input(title: “”, description: “Panel Size (W)\n\nRated maximum power in Watts for each panel\n\nThis can be different than the maximum inverter power above”, type: “paragraph”, element: “paragraph”, displayDuringSetup: true)
input(“confPanelSize”, “250”, title:"",
required: true, displayDuringSetup: true)
input(title:"", description: “Version: ${version()}”, type: “paragraph”, element: “paragraph”)
}
Then at the APP, The IP address, Number of PAnels, Inverter Size and Panel Size are still RED, with no numbers.
I know I am so close.
You’re still changing the code – don’t do that (also, you are just changing the titles, not the actual values so that doesn’t do you any good).
Still in the IDE
My definitions are bad, what is IDE?
is that the Android APP.?