keepersg Posted January 9 Posted January 9 I've installed the plugin, retrieved an API from ambientweather.net and only one node is created with my weather station's name. I've done this multiple times without success. The Ambient Weather plugin on Homeseer works flawlessly. Simply can't get it to work. Log on startup is attached. Any help appreciated AmbientWeather_1-8-2025_81244_PM.zip Quote
bpwwer Posted January 9 Posted January 9 Your station name has a character that is illegal to use in a node name. That's why it keeps failing. I believe node names are restricted to just alpha/numeric characters and maybe _ and - so PATTON&DNSVIEW fails because of the '&'. Quote
keepersg Posted January 9 Author Posted January 9 Very helpful. Thank you, I'll fix that tonight. Quote
keepersg Posted January 10 Author Posted January 10 That was the problem and removing the & enabled the plugin to get the data from Ambient Weather. However, I have a new issue. The plugins data shows up correctly in UDI mobile but not in the administrative console. I'm seeing only a few values in these three nodes: And the data displayed are not current or matching what is shown in Polyglot or UDI mobile. I have deleted and reinstalled the nodeserver, restarted the admin console, cleared the java cache with no change in the results. Appreciate any help. Quote
bpwwer Posted January 10 Posted January 10 I can't help with the admin console showing different values than the mobile app or PG3. Once the plug-in feeds the data to PG3, it's no longer in control of where it goes or what happens to it. As to why you are only seeing a few values in the three nodes, what are you expecting to see? The plug-in parses the data from Ambient into the different sensors. Typically they name the data fields with different suffixes for each sensor. That's why there are three nodes, it seeing data fields with no suffix (main), data fields with '_in' suffix for the indoor sensor, and '_4' for sensor #4. Because of how plug-ins work, it can only support data fields that it knows about. So any data fields that the plug-in doesn't have a known mapping for, it ignores. With the plug-in log level set to debug, the log will show the raw data received from Ambient and which fields are being ignored. Quote
keepersg Posted January 11 Author Posted January 11 The plugin reads many values from Ambient and correctly lists them in PG3. The plugin log shows no errors in doing this. UDI mobile shows all of these values correctly but the admin console doesn't. The indoor node has correct values but the main node shows the values from the last node accessed. It will show the values from the indoor node or from any node. Below is a screen shot of the main node right after I accessed the Flume sensor node. The eisy log shows no errors and periodic reporting of the different values from the plugin. I agree this is some issue with the admin console and will open a ticket on this. Quote
bpwwer Posted January 11 Posted January 11 That sounds like the Admin Console didn't get the node definition for that node. Try the "Load Profile" button from the PG3 Ambient plugin details page. Then restart the Admin Console. Quote
keepersg Posted January 11 Author Posted January 11 Tried this, including a reboot iteration. Unfortunately, I had the same result. Quote
bpwwer Posted January 11 Posted January 11 After clicking the Load Profile button, check the PG3 log. Are there any errors? Your description sounds like the admin console isn't getting all the profile files, but you say the mobile app is working fine so it's able to get those same files. That implies that the problem is with the admin console. If you can, enable the java console for the admin console (how you do this depends on the computer you're running the admin console on) and restart the admin console. The java console log will show errors it it's having issues with the profile files. Quote
keepersg Posted Sunday at 08:06 PM Author Posted Sunday at 08:06 PM Here's the java log during admin console start up. Looks like the admin console is regarding that node entry as invalid: Java Web Start 11.431.2.10 Using JRE version 1.8.0_431-b10 Java HotSpot(TM) 64-Bit Server VM JRE expiration date: 2/15/25 12:00 AM console.user.home = C:\Users\keepe ---------------------------------------------------- 😄 clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack 0-5: set trace level to <n> ---------------------------------------------------- http://192.168.1.117:8080/WEB/iox.jar http://192.168.1.117:8080/WEB/ce.jar http://192.168.1.117:8080/WEB/bc.jar http://192.168.1.117:8080/WEB/chart.jar U7[10].[18]addNodeDefs invalid entry ----<nodeDef NODETYPE="139" ID="e8db849ae9_1" NLS="sensor"> <sts> <st ID="TEMPOUT" EDITOR="I_TEMP"/> <st ID="BATLVL" EDITOR="I_BATTERY"/> <st ID="CLIHUM" EDITOR="I_HUMIDITY"/> <st ID="WINDDIR" EDITOR="I_DEGREES"/> <st ID="GV6" EDITOR="I_DEGREES"/> <st ID="SPEED" EDITOR="I_SPEED"/> <st ID="GV7" EDITOR="I_SPEED"/> <st ID="GUST" EDITOR="I_SPEED"/> <st ID="GV5" EDITOR="I_SPEED"/> <st ID="RAINRT" EDITOR="I_RATE"/> <st ID="GV16" EDITOR="I_RAIN"/> <st ID="GV1" EDITOR="I_RAIN"/> <st ID="GV2" EDITOR="I_RAIN"/> <st ID="GV3" EDITOR="I_RAIN"/> <st ID="GV4" EDITOR="I_RAIN"/> <st ID="GV14" EDITOR="I_COUNT"/> <st ID="GV11" EDITOR="I_BATTERY"/> <st ID="SOLRAD" EDITOR="I_RADIATION"/> <st ID="UV" EDITOR="I_UV"/> <st ID="PM25" EDITOR="I_PM25"/> <st ID="GV10" EDITOR="I_PM25"/> <st ID="PM25" EDITOR="I_PM25"/> <st ID="GV10" EDITOR="I_PM25"/> <st ID="GV8" EDITOR="I_BATTERY"/> <st ID="GV9" EDITOR="I_BATTERY"/> <st ID="CLITEMP" EDITOR="I_TEMP"/> <st ID="DEWPT" EDITOR="I_TEMP"/> <st ID="GV15" EDITOR="I_COUNT"/> </sts> <cmds> <sends/> <accepts/> </cmds> </nodeDef> ---- java.lang.IllegalArgumentException: U7DriverControl dup param [PM25] at com.universaldevices.u7.U7DriverControl.fail(Unknown Source) at com.universaldevices.u7.U7DriverControl.<init>(Unknown Source) at com.universaldevices.u7.U7DriverControl.newStatus(Unknown Source) at com.universaldevices.u7.U7NodeDef.<init>(Unknown Source) at com.universaldevices.u7.U7NodeDefs.addNodeDefs(Unknown Source) at com.universaldevices.u7.U7NodeDefs.addNodeDefs(Unknown Source) at com.universaldevices.u7.U7NodeDefs.addNodeDefs(Unknown Source) at com.universaldevices.uxt.UXTProfileDownloader.registerProfile(Unknown Source) at com.universaldevices.uxt.UXTProfileDownloader.loadAllProfiles(Unknown Source) at com.universaldevices.uxt.UXTNodeServerMgr.loadProfiles(Unknown Source) at com.universaldevices.ui.UPnPClientApplet.prepareAuthenticatedSession(Unknown Source) at com.universaldevices.ui.UPnPClientApplet.prepareAuthenticatedSession(Unknown Source) at com.universaldevices.ui.UPnPClientApplet.authenticate(Unknown Source) at com.universaldevices.ui.UPnPClientApplet.onDeviceOnLine(Unknown Source) at com.universaldevices.upnp.UDControlPoint.onLine(Unknown Source) at com.universaldevices.upnp.UDControlPoint.updateDeviceInfo(Unknown Source) at com.universaldevices.upnp.UDControlPoint.addDevices(Unknown Source) at com.universaldevices.ui.UPnPClientApplet.start(Unknown Source) at com.universaldevices.ui.UDIDefaultLauncher$2.run(Unknown Source) Z-Wave event: control=[_25] action=[1.3] -- Extended Info -- <eventInfo> <zwave CBP="false" CONNECTED="true" RELAXDELAY="0" INTERVIEWTIMEOUT="0" SECUREINC="2" HOMEID="3883420666" NODEID="1" RELAXDELAYDEFAULT="15"/> </eventInfo> -- Z-Wave event: control=[_25] action=[7.1] -- Extended Info -- <eventInfo> <options> <files ZMATTER="true"/> <dongle ZMATTER="true" ZWAVEOTHER="false"/> </options> </eventInfo> -- Z-Wave Backup Options: - zmatterFile= true - 500SeriesFile=false - zmatter connected=true - other connected=false Zigbee event: control=[_27] action=[1.3] -- Extended Info -- <eventInfo> <zigbee CHANNEL="26" CONNECTED="true" RELAXDELAY="0" INTERVIEWTIMEOUT="0" RELAXDELAYDEFAULT="1" CHANNELDEFAULT="26"/> </eventInfo> -- Quote
bpwwer Posted Sunday at 11:46 PM Posted Sunday at 11:46 PM Ok, I see the problem. More issues with the data from Ambient. Looks like you have to air quality sensors. In all other cases, Ambient seems to append a number to the sensor field name to differentiate between multiple sensors of that type. They may be doing that for air quality sensors as well, but it's not documented that way in the API docs. I guess I really need to see the raw data you're getting for the station to see if this is something I can program around. When the plug-in is set to debug level logging, it should be dumping the raw data to the log file. The reason it matters is because the IoX/ISY needs each piece of data needs to map to a list of pre-defined, unique data identifiers. For air quality , the IoX/ISY supports only one PM 2.5 data value and Ambient is listing two in the data. Since the plug-in is parsing the data and dynamically creating the mapping to IoX/ISY types, it ends up creating two PM 2.5 node values with the same type. Then the Admin Console flags that as an error. 1 Quote
bpwwer Posted Monday at 01:09 AM Posted Monday at 01:09 AM Nevermind, the raw data was in the attached lot in the first post. It looks like they added aqi data (named aqi_pm25), which matched the PM 2.5 sensor in the plug-in's parser. Should be fixed in the next release. Quote
Solution bpwwer Posted Monday at 01:43 AM Solution Posted Monday at 01:43 AM Next release - version 2.0.13 has been published to the plug-in store. 1 Quote
keepersg Posted Monday at 04:13 AM Author Posted Monday at 04:13 AM (edited) That did it! Thank you very much for your efforts to solve this. Much appreciated. Among, other things, I use the solar radiation value to determine whether the green house lights stay on during the day. Particularly important in the early part of the growing season here in the Northwest. Edited Monday at 04:17 AM by keepersg Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.