• T
    Turbo

    Okay.

    There is Definitely a Bug in Mango-

    I just upgraded one of my sites from 3.5.x to 3.7.3 and had all of the devices on one of my USB to Serial converters not work.

    This system has (2)- One is talking to inverters, the other is talking to a meter and some other stuff. The "meter and other stuff" one is fine, but the inverter one is most certainly Not Fine.

    So far, I've been unable to get this going.

    This is a USB to Serial converter attached to a Linux box, running on Java 8.

    To stress again: This was working Fine before the upgrade, and I just upgraded it, and it isn't working. Reboot isn't solving the problem this time. I've already upgraded to the latest JSSC.

    What changed in the serial drivers here?

    posted in User help read more
  • T
    Turbo

    Greetings:

    So. I've still got this problem, or some variation of it, and I can replicate it at will. This is now happening with many different kinds of Inverters, but not with my power meters or my other input modules. Something is strange in the timing here.

    So: I'm running 3.7.3 on Java8, and am able to successfully poll everything. BUT ONLY AFTER A REBOOT. The Modbus Tools don't work right, or if they do, polling once causes the Modbus driver to lock up with that /dev/usb device I am using. This requires a restart to clear.

    I got this all working, and thought "yay, we're good now". Reboot, comes back up, Mango does 1 or 2 successful polls, then stops polling, and I get the little ! next to the point, and it stops updating. In this case, I was changing some of the point settings (Switching from a UINT16 to a UINT32, and adjusting units for some of the points).

    I'm going to reboot again, and not touch it, and see if it keeps going. I can provide you with remote access or we can do a screen share for this. This is endemic now with my sites, and is sort of irritating to constantly reboot the machine to unstick whatever gets stuck.

    Cheers,
    -Greg

    posted in User help read more
  • T
    Turbo

    Thanks for the response on this--

    I'll start looking into doing this via CSV.. The last time I tried this I was getting a bit annoyed at the wrong things updating. I'll try the process outlined for the next set of projects I bring up.

    I actually got very quick doing this with the legacy view page by copying and just changing the two blanks, then clicking and changing the modbus addresses of the points. Went right quick.

    posted in User help read more
  • T
    Turbo

    In researching this:

    This may actually have been fixed in the 3.6.5 version-- I was running the previous version on that machine.

    When I tried to update, though, the whole thing came crashing down. So.. Another thread will be created soon on that.

    Cheers,
    -Greg

    posted in User help read more
  • T
    Turbo

    Greetings all:

    Greg Again here. Busy day. Am I missing something?

    So: I got my inverter going, and then I go and need to copy it X number of times. I can't use the "Export / Import" feature as that maintains the XIDs- So, what I've been doing is using the OLD UI to use the little green "+" copy button for the whole data source.

    This works well. Is there a way to do that same feature in the new UI?

    There's a way to copy points in the burger button to the right of the point name, but not to do the same thing on data sources.

    Cheers,
    -Greg

    posted in User help read more
  • T
    Turbo

    Greetings, all:

    Here's another weird one that may be unique to me. We do Solar. I do a LOT of different inverters. Even those that follow the Spec don't follow the spec, so nothing is ever the same.

    I've found another odd case that makes things behave oddly;

    I have an Inverter Template file for both Modbus TCP and Modbus Serial. This has ALL The points that I would conceivably care about for a solar inverter, and their scaling and historical logging settings. This file changes occasionally as new features are released. This template file gets maintained as a JSON Data export. When I add new things, I export this, and that becomes the New Template File.

    The side effect of this is that I am duplicating XID's throughout my system. This isn't a Big Problem, except in the case I just found: This site has both Serial and Ethernet connected devices. I did some modifying, and imported in the Serial template file, and it merrily changed the Ethernet device's point settings (since they had the same XID as the Serial export, since that file was made via export and editing).

    Also, I've got lots of things phoning home via the Persistent TCP Publisher: I always append a unique name (the SITENAME_ as an XID prefix).

    I guess- I'm always going to use this "template file" approach, when new machines get configured, and I can't figure out a good way to get over this. Maybe I should set up a Dummy Mango Install JUST to store my configs that never polls anything, and just copy'n'edit the data sources there, hence getting a new XID each time I copy, rather than storing the configs as JSON files..

    In fact, I think I maybe just answered my own question.

    Okay then. Thanks for Listening.

    posted in User help read more
  • T
    Turbo

    Heya--

    The title says it all. It appears that if you leave the "location of time field" blank, Mango throws a NullPointerException. It seems the other required values there tell you that they are required, rather than tossing NullPointerException.

    Next time you go through updating the Excel Reports module, maybe have a quick look at the error handling to get the "location of time field" caught if it's blank.

    This is in Mango 3.6.5

    posted in User help read more
  • T
    Turbo

    Greetings, all:

    I emailed about this a while ago-- It's more of a nuisance than a "broken thing", but here's what happens: This is on Mango 3.6.5,. running on ARM

    (1) I verify operation of a New Device using the MODBUS TOOLS in Mango- Polling stuff to make sure it works.
    (2) Then I go through, and configure points. This usually starts with me importing a Template file that has the names and such, and then I go through and use the edit buttons to change the Offset as necessary.
    (3) It used to be that when the little enable slider was set, the system would poll, and off you go.
    Now, it doesn't seem to do that. When I enable the slider, it just sites there saying "No Value"

    Restarting the data source doesn't fix it either. I seem to have to restart Mango in order to get this to work, at which point it comes up fine.

    This Data Source is attached via a Serial to USB adapter. I have (3) devices on this little RS-485 segment. One of them is a power meter, and it always seems to be fine. The other two are inverters. They all work via Modbus Tools, but it seems there's something strange about adding/editing points and then enabling them.

    This is a sort of a pain when I set up net devices, as this behavior seems to exist whenever you turn the thing off and on again.. Ie, if I make a change to a point, and it saves and updates, that point doesn't start polling again.

    posted in User help read more
  • T
    Turbo

    Greetings, Jared:

    Thanks for the response-- I'm literally clicking the "export button", then hitting "SAVE AS", then opening it in Notepad++ to find/replace on various names and such, and then pasting it back in. I sort of assumed Notepad ++ was UTF-8, but I suppose maybe it isn't.

    I'll copy'n'paste in the future.

    Cheers,
    -Greg

    posted in User help read more
  • T
    Turbo

    Greetings, all:

    I do a lot of JSON exports to build up my monitored facilities. I've got a Big Folder here of equipment I've configured, and when I set up a New Site, I just grab the JSON's I need, import them, and then go forth with strength and vigor.

    Something I've noticed, though- The import tool seems to choke on certain things in the "unit"-- 0_1573757947918_ImportParse.PNG

    This is in the Legacy import page, as I import it here, then use the "copy" button to configure the rest of my sources after fixing one of the imported ones.

    When you look at the JSON file in question, you see ""unit":"W?h"," instead of "Wh" or something else.

    So- This is an export from Mango 3.6.5 into a new Mango 3.6.5. This only seems to happy on the pre-defined data types. I'm gradually removing these from my JSON in favor of ascii-printable units, but this is still something that exists.

    It's not a Big Deal, just letting you all know.

    posted in User help read more