I am not. still using the previous version.
sagreen83 wrote: ↑Tue Sep 18, 2018 12:30 amtestRS485-20180917_1920.zipCharlesGodwin wrote: ↑Sat Sep 15, 2018 11:09 am@Scott. glad its working. I'd really like a copy of the txt file generated when you run the testrs485 script as I'm trying to fine tune the packet processing and every site seems to have different packet "features" so it's a learning process. Please let me know what equipment you have in the network too.
See attached file created from testrs485
Looks like there are some unknown's in the file. such as:
Again, my configuration is
AGS (w/Honda EU7000is generator)
Outback FlexMax 80 charge controller
12 VmaxTank 155slr Batteries (420ah)
6 300 watt 72 cell solar panels.
@CharlesGoodwin,CharlesGodwin wrote: ↑Fri Sep 21, 2018 5:08 pmI have moved all distribution to GitLab for easier support in the future. All previous links to my distribution folders have been disabled.
You can access the runtime software at this link. https://gitlab.com/Magnum_Energy/distribution
Currently I am not distributing the source but it too will be added to GitLab as soon as I get it setup.
I don't want this topic to branch into a discourse on statistics and graphing but.....
Charles,CharlesGodwin wrote: ↑Sun Sep 16, 2018 8:29 pm
Adding extra "device" data is straight forward but not yet documented. You need to create a java class that implements ca.godwin.magnum.DataReader interface. This class is dynamically loaded at run-time using the plugins= option. Your can have multiple classes by coma delimiting their class names in the option. This class is responsible for returning an ArrayList of objects that implement ca.godwin.magnum.DeviceRecord. How you collect the data in these objects is implementation specific. For example my MorningStar controller has a ModBus interface so I communicate using their published interface, extract the data I want, populate the object so the two methods provide data and I'm done. I also have a class that returns a weather record with current temperature, pressure and humidity. The values are appended after the magnum fields in the order that the plugins are defined and order of each DeviceRecord object in the ArrayList.
1 : The server works fine with the default dateformat (without override)
Code: Select all
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSS"); String now = LocalDateTime.now().format(formatter); System.out.println(now);
Trying to test now... Oddly I'm getting the following error in the server log, and I have no idea why yet... I've not seen that error before and I've rebuilt and installed 100's of times.CharlesGodwin wrote: ↑Sun Nov 18, 2018 7:46 pm@scott
I may have a fix. Please try it and if it is working, I will officially release it.
for now, go to this branch page, read the instructions titled Update without internet, restore older version or install pre-release version, download the two Release_1.0.6 files, run setup, and test.
actually building from source. Using your ANT process. Thats been working fine for 1.0.5 (Using this process to compile my plugin into the main jar files)