Go to advanced search

by sagreen83
Thu Nov 29, 2018 12:00 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Thats interesting... I just ran the same commandline as you did. ./startserver dateformat="yyyy-MM-dd'T'HH:mm:ss.SSSZ" I get the following in the logger log... 2018-11-29 05:53:55 Error encountered:file_get_contents(http://localhost:19450/): failed to open stream: HTTP request failed! 2018-11-29 05:...
by sagreen83
Sun Nov 18, 2018 11:42 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Strange. I did that earlier and it worked. The old code worked by just dropping the Z. I'm still not near my PC No hurry. The new code works by dropping the Z as well. so if i do .SSS it works. Its the Z that is killing it. Hoping I'm not confusing things. I assumed that you were trying to fix the ...
by sagreen83
Sun Nov 18, 2018 11:29 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

I have not tested that way for a while. I use eclipse which is slightly different. I'll look at it later. I'm not near my PC. Ok, I just installed the normal (non build) way. If I add .SSSZ to the date format, as follows, the webserver does not return results (must be crashing somewhere in the json...
by sagreen83
Sun Nov 18, 2018 11:05 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

CharlesGodwin wrote:
Sun Nov 18, 2018 11:02 pm
You said "rebuild" are you really building from source or downloading the files and running setup_1.0.6 or...?
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)

Scott..
by sagreen83
Sun Nov 18, 2018 10:57 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

@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. Trying...
by sagreen83
Sun Nov 18, 2018 2:08 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Thoughts 1 does the server work if you don't override dateformat 2 are there any messages in the server log file 3 have you considered reformating the date downstream I'll test tomorrow when I'm near my system 1 : The server works fine with the default dateformat (without override) 2 : No messages ...
by sagreen83
Sun Nov 18, 2018 1:58 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Charles, My downstream system needs the date to be in the format of... 2001-07-04T12:08:56.235-0700 So, per the directions for SimpleDateFormat Im setting the line in magnum_server.options as follows. dateformat=yyyy-MM-dd'T'HH:mm:ss.SSSZ When I make this change the server is returning nothing on po...
by sagreen83
Mon Oct 22, 2018 12:20 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Plugins 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...
by sagreen83
Mon Oct 01, 2018 6:52 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Charles,

I just tried to hit the new link, and im getting a 404 error. Seems the link doesnt exist yet.

Scott...
by sagreen83
Fri Sep 21, 2018 8:55 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Change to distribution

I 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 a...
by sagreen83
Wed Sep 19, 2018 2:21 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Original Magweb Graphs
original magweb.png
original magweb.png (26.75 KiB) Viewed 6727 times
by sagreen83
Wed Sep 19, 2018 2:07 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Making progress. We've recreated the 3 graphs from the normal MagWeb site... its a work in progress, but I'm excited to get some more functionality than we have with magweb!
solar monitor graph.png
solar monitor graph.png (85.48 KiB) Viewed 6727 times
by sagreen83
Tue Sep 18, 2018 12:33 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

CharlesGodwin wrote:
Tue Sep 18, 2018 12:32 am
Are you using the latest version. I made some changes in the last 2 days
I am not. still using the previous version.
by sagreen83
Tue Sep 18, 2018 12:30 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

@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 networ...
by sagreen83
Sun Sep 16, 2018 4:26 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

We needed to change the date format to ISO 8601 Notation. Was required to get mondodb to import it as a date. We were able to do that and rebuild the .jar file. I have the system now logging locally on the PI and sending the JSON to an offsite mondodb. Starting to code the UI in node.js. The things ...
by sagreen83
Sat Sep 15, 2018 3:42 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Charles,

I'd like to make some changes to the java for my local setup. Did you happen to use a build tool like Maven or were you running build scripts manually? Would you be willing to share your pom.xml or the shell script you used to build the jar? Would probably save me a lot of time.

Scott...
by sagreen83
Sat Sep 15, 2018 1:17 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

I got the magweb working again. Something must have been out of sync in the setup. I unplugged all the connections then got the magweb working again. Next I start the server and the logger and everything was great. Sorry for the false alarm. Next step: Get the logger running on a device that is offs...
by sagreen83
Sat Sep 15, 2018 12:30 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

I have the server up, and its logging packets. That part is awesome! The bad part is that I think that only one device on the network can read the packets cause now my normal magweb interface is not showing any statistics for my system. http://data.magnumenergy.com/MW5278/ I assume that once the ser...
by sagreen83
Tue Sep 11, 2018 12:18 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Thank you, that should do it. I downloaded last night @ 21:06 CST. Anxious to give this a try. Charles, this is a pretty amazing piece of work you have put together. I really appreciate the amount of effort you have put in to make the install instructions clear! I need to get this on my system to st...
by sagreen83
Tue Sep 11, 2018 11:54 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Thanks!

I downloaded last night, wondering if what I have has your fixes?

Scott...
by sagreen83
Tue Sep 11, 2018 1:04 am
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Thank you! Was just in the process of installing on my Raspi 3

Please let me know what you find.

Scott...
by sagreen83
Wed Sep 05, 2018 3:04 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49317

Re: Using a Pi to Log Data in a Magnum Energy System

Interested in this thread, certainly glad I found it and excited that its still somewhat active. I am on the front end of wanting to do something very similar. I'm thinking that I want to build a network interface to front end both a Magnum inverter and an Outback charge controller. I have an ARC, A...

Go to advanced search