Skip to content
View in the app

A better way to browse. Learn more.

Learn more

bpwwer

Moderators
  • Joined

  • Last visited

  1. Yes, that was right. It pointed me in the right direction. Sorry I really screwed that up. I just published version 2.0.7 that fixes it. At least it fixes the bug I added. If you still have issues, do the same thing. Restart after setting the log level to debug and send me the log. Once you've downloaded the log, you can set the log level back to something normal (info / error).
  2. I was trying to fix an issue with it being disconnected after migration to eisy plugins but looks like it didn't work. I don't have any BlueIris cameras so I'm unable to test. Can you set the log level to debug, restart the plugin and then send me the log (a PM is fine). That should help me understand what I did wrong. Thanks!
  3. It erroneously removed from the store. It should be back now.
  4. First, I don't know what happened to the NOAA plugin. I didn't remove it. I've opened a ticket with UDI for this. For Aeris weather, let me summarize what I think you're saying to make sure I understand correctly. you install it using PG3x and it works fine. The nodes show up and are being populated. you migrate it to eisy plugins and the nodes are still there an populating for about a day. after about a day, the node disappear. I'd need to see the plugin's debug logs for the time when the nodes disappear, but I don't think they'll really provide any answers since the plugin doesn't delete it's nodes. What I can tell you is that typically when a plugin fails after migration, it's an eisy plugins issue. eisy plugins (per UDI) is fully compatible with PG3x plugins but it is new code so they are still finding and fixing issues with compatibility. The error is probably more of a warning. It simply means that the incoming data from Aeris is missing precipitation data so you won't see that value updating in the node. It's not a fatal error and doesn't prevent the plugin from updating all the other values. It has nothing to do with the nodes disappearing.
  5. I'm not certain, but I suspect that it's behaving similar to PG3x. PG3x only checks for updated plugins a few times a day, it doesn't get notified when a plugin has been updated. However, when you submit the plugin update, it will force a check so that that machine sees the updated almost immediately. Again, this is how PG3x works, it could be different for eisy-ui / eisy plugins.
  6. Yes, it does use modbusTCP, but it's in 'C' so I'll just post pseudo code here. This is a function that takes the IP address of the inverter and returns the watt-seconds generated over the past minute. /* set up the context and connect to the inverter with ipaddress 'ip' */ mb = modbus_new_tcp(ip, 502); modbus_connect(mb); /* configure the modbus connection */ modbus_set_response_timeout(mb, 2, 0); modbus_set_byte_timeout(mb, 0, 1000000); modbus_set_slave(mb, 1); /* Set modbus slave ID */ /* * According to the sunspec, register 40094 is the * AC energy production over all time in watt-hours. * This is a 32bit value. * * Does this represent the power going out to both * the general output and the backup output? */ wh = read_32(mb, 40094); sf = read_16(mb, 40096); /* scale factor: 1, .1, 10, 100 */ /* convert the register scale factor value to the actual scale */ /* sf == 0 then scalef = 1, sf == -2 then scalef = 100 */ modbus_close(mb); modbus_free(mb); ws = (long long)wh * (long long)factor * 3600LL; ecm_log(L_INFO, "Inverter : %lld (w-h = %u scalef = %u)\n", ws, wh, sf); return ws; This is a I also have a solaredge meter installed and the code is basically the same as above, but uses different registers to get the imported and exported AC energy values. The register reading functions look like: /* * modbus_read_registers start register seems to be one off. * I.E. if I specify 40090 as the start I really read 40091 * * So should I be subtracting one from the start register? */ static uint32_t read_32(modbus_t *mb, int reg) { int rc; uint16_t tab[2]; uint32_t ret; rc = modbus_read_registers(mb, (reg - 1), 2, tab); if (rc != 2) { ecm_log(L_ERROR, "%s\n", modbus_strerror(errno)); return 0; } ret = (tab[0] << 16) | tab[1]; return ret; }
  7. Many years ago I had software to pull data from both my inverters via the local IP address (one wired, the other wireless). I combined this with data from a energy monitor that CT's on the incoming connection from the grid. All this data went into a database. I still have the code for that program but I don't use it anymore. I can dig back into it if you have any questions about using the local ip address to get data.
  8. I'm glad it's working now, but you really should not have to go through all that, it's not right. Tagging @Javi and @bmercier in case this is something they'd like to take a look at. I do have a bridge and a single shade, but it worked as expected when I installed using the PG3 store and then migrated it to eisy plugins. The Ryse plugin is a pretty basic plugin; static profile files, connects to bridge, queries for shade devices and creates nodes for each device found. It should not require any reboots, eisy-ui reloads, logging out/in or plugin restarts when using eisy-u and the current packages.
  9. The only other thing you could try is to delete the plugin and then install it. I've had to do that before but usually because I'm changing things that get cached while developing a plugin. I have no way to debug why eisy-ui doesn't have the NLS file info, which is what appears to be happening. The plugin sends the file to IoX and that's the last interaction the plugin has with it. This is something UDI will need to track down so if you haven't yet, you should open a ticket.
  10. I think I found and fixed the node status. Do a re-install and it should pick up the fix. I didn't change the version number.
  11. Understood. This is for media meta data (title, artist, etc.) Not stuff that would be used for triggers. Thanks for the update and debugging work!
  12. test as it won't let me post what I want And that's the way I wrote PG3 to handle it, so sorry for the churn. Changing driver definitions from one version of the plugin to the next requires removing the plugin to clear the database entries so it picks up the new definitions. I'm old, that's my excuse. You mean in the event viewer? It just shows: n031_xx5682aiel48u {"name":"Title","value":1,"formattedValue":"True","uom":"2","prec":0} without any of the text. What's there is correct. In the PG3 log it shows PG3 sending the update to IoX with the text info: /rest/ns/31/nodes/n031_xx5682aiel48u/report/status/GV11/1/2/text/Elle%20KingI don't see anything relevant in any other log. Is there a way to see what is being sent to eisy-ui?
  13. Looks like the udi_interface/pg3x has a caching issue with driver uom's. I've been re-installing the plugin and when I send updates for those I just use setDriver(GV1, 1) and either udi_interface or PG3x is pulling the wrong uom before it sends it to IoX. Deleting and doing a new install of the plugin fixes that issue. However, eisy-ui not displaying the text associated with the value is still an issue. These are being sent from the plugin with: setDriver(GV10, 0, text="some text") The admin console handles this right but eisy-ui is just displaying the value, not the associated text.
  14. I went and switched back to the original code base and added new features from the hatopg3 one. There are still some issues (some that seem to be bugs in eisy-ui) and I can't really test much. I created a simulated speaker but it doesn't handle any commands, it just allows me to see that the node displays correct. You may have to delete existing nodes before running this version. The version number is 4.0.0 so it will be easy to see that you're on the new version.
  15. @Javi yet another issue that seems to be related to profile file. This is on a plugin that I'm currently enhancing. There are two issues. eisy-ui's display of the node is not displaying the text associated with a GVx value. See the difference in the title, artist, album fields between eisy-ui and the admin console. The GV1 field is showing incorrectly (in both). GV1 (Bass) is a numeric value, using the editor: <editor id="sinc"> <range uom="56" min="-10" max="10" step="1" /> </editor> It's current value is 1. Why is it getting displayed as if it's Boolean (uom=2)? When I run this plugin on an older IoX 5.9.1 / PG3 it displays correctly as '1'

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.