Go to advanced search

by CharlesGodwin
Mon Nov 04, 2019 9:14 pm
Forum: Automation, sensing and robotics
Topic: A new interface for Magnum Energy Networks
Replies: 0
Views: 637

A new interface for Magnum Energy Networks

I had previously published a very comprehensive suite of tools for accessing the RS485 network of Magnum energy devices. But this proved to be very complex and difficult to understand. It is discussed in this post. https://www.raspberrypi.org/forums/viewtopic.php?t=79931 I have just released a new p...
by CharlesGodwin
Sun Oct 20, 2019 3:34 pm
Forum: General discussion
Topic: DIN Rail mounts for Raspberry Pi
Replies: 4
Views: 271

Re: DIN Rail mounts for Raspberry Pi

Thanks for the tip for the power supply.

Yes, USB power harnesses would be good.One idea I have is to use an industrial style USB hub, rail mounted, that can be self powered to support its USB A ports. I think I can get short A to OTG cables. Short may help with the wire size concern.
by CharlesGodwin
Sun Oct 20, 2019 2:46 pm
Forum: General discussion
Topic: DIN Rail mounts for Raspberry Pi
Replies: 4
Views: 271

Re: DIN Rail mounts for Raspberry Pi

Thanks for your suggestions. But... your answer demonstrates my search problem. The MeanWell power supply is only 2.4 ADC, about the same as an official Pi power supply so it could power, at best, 2 Pi. MeanWell doesn't seem to have anything for DIN rail with a higher current rating in 5VDC. I've lo...
by CharlesGodwin
Sun Oct 20, 2019 1:52 pm
Forum: General discussion
Topic: DIN Rail mounts for Raspberry Pi
Replies: 4
Views: 271

DIN Rail mounts for Raspberry Pi

I use Raspberry Pis for server type applications. Uses such as small web server, local GIT site and logging and display of IoT sensors and other devices. I have yet to use one as controller for printers or as a desktop. This means all my Pi lead a life of obscurity on a shelf somewhere once they are...
by CharlesGodwin
Mon Oct 14, 2019 8:44 pm
Forum: Other projects
Topic: Management of multiple tasks
Replies: 4
Views: 1217

Re: Management of multiple tasks

I vote for MQTT

Then you can link disjoint pieces that can run as separate processes or even on separate machines. AND the pieces can be easier to debug. I just finished a IoT project with temperature sensors that uses MQTT and a common JSON structure. all the little bits were easy to build and test.
by CharlesGodwin
Sat Aug 24, 2019 12:04 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

@dogman1155

I implemented a serial modbus version of my Morningstar controller interface. It has been running for a day with no faults. In the same interval my TCP version has had 8 faults. The only downside is the two must be near each other. That is not a problem for me.
by CharlesGodwin
Tue Aug 13, 2019 12:23 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

Replies may be out of order. I only discovered the USB/RS485 dongle about 18 months ago. Before that i was using an expensive add on board that became obsolete as the vendor stopped upgrading the Pi software. I have recently added support for a RS485 HAT as the HAT behaves slightly different that th...
by CharlesGodwin
Fri Aug 09, 2019 12:23 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

It's a pity that Magnum is so secretive about their protocol. There are days when I wonder if they are concerned about trade secrets or just embarrassed about its design or lack of design. It is a very rigid protocol that is hard to expand. In fairness to them it was developed in early days of moder...
by CharlesGodwin
Thu Aug 08, 2019 12:17 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

I have limited experience with multiple inverter setup. I had one user of my software https://gitlab.com/Magnum_Energy/distribution that had a multi-inverter and multi PT-100 setup but due to circumstances outside the scope of this software he was unable to implement and validate the software. Howev...
by CharlesGodwin
Tue Apr 02, 2019 6:46 pm
Forum: General discussion
Topic: Question on a code design
Replies: 2
Views: 193

Re: Question on a code design

<deleted by author>
by CharlesGodwin
Wed Mar 27, 2019 9:14 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

It's not as complicated as it sounds. I have a small function that does all the fiddly calculations and it's also code that's forgotten once it works.
by CharlesGodwin
Tue Mar 26, 2019 6:35 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

I'm going to try to explain getting battery voltage from MorningStar. It's not simple and I fear my language skills will get in the way. Voltages, as I mentioned in a prior post, are based on several values. Referring to page 3 of the document you referenced. A voltage value( adc_vb_f_med) is the va...
by CharlesGodwin
Mon Mar 25, 2019 12:35 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

The Morningstar code is not on Gitlab - yet. I hadn't considered it as no one asked. But I can share if you send an email to magnum-at-godwin-dot-ca. I'll look for your email. The code is a bit different that what I would have sent you before. The difference is not in reading the ModBus information ...
by CharlesGodwin
Sun Mar 10, 2019 3:51 pm
Forum: General discussion
Topic: Is there a cheap and reliable UPS for raspberry pi 3b+?
Replies: 52
Views: 3381

Re: Is there a cheap and reliable UPS for raspberry pi 3b+?

If it's a cheap and reliable UPS you want, I think cheap OR reliable is your only choice. I think you can find some for under a $US 100 but unless you buy one that includes a communications interface so the Pi can know the power is about to go away as the UPS batteries are failing then the UPS has l...
by CharlesGodwin
Fri Mar 01, 2019 9:51 pm
Forum: Automation, sensing and robotics
Topic: Water Depth Sensing
Replies: 10
Views: 2481

Re: Water Depth Sensing

I have a friend who uses a laser based device to measure distance from the laser to the surface of the water, which he reads in a vertical pipe to reduce wave action. Once calibrated the water level change it is easily tracked. Measuring the depth of a natural body of water is problematic as the bot...
by CharlesGodwin
Sun Feb 24, 2019 4:22 pm
Forum: Networking and servers
Topic: autoSSH
Replies: 16
Views: 2982

Re: autoSSH

I've used reverse tunnelling for a few years but recently came upon this solution. https://blog.kylemanna.com/linux/ssh-reverse-tunnel-on-linux-with-systemd/ I like it because: It's easy to setup It's easy to manage systemd takes care of the monitoring, restarts, logging, etc. it works ;) When I swi...
by CharlesGodwin
Sun Feb 24, 2019 1:56 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

Hi I hope my system can help. The software as published will handle all your Magnum Energy (ME) components but, alas, not the Outback Energy ASX-Port. I presume, since you have managed to deal with the ME magweb device, that you have programming skills. I don't think it would be hard to extend the r...
by CharlesGodwin
Thu Jan 10, 2019 10:07 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

This is addressed to anyone using my software. I haven’t published any changes to my software but I plan a cleanup. More like pruning dead branches. Take a look at this https://gitlab.com/Magnum_Energy/distribution/blob/master/CHANGES_FOR_2.0.md and tell me if there are any problems. I’m trying to m...
by CharlesGodwin
Thu Dec 27, 2018 7:37 pm
Forum: Raspbian
Topic: Mirror director directing to broken repository mirror
Replies: 5
Views: 938

Re: Mirror director directing to broken repository mirror

raspbian.mirror.colo-serv.net is still not responding
by CharlesGodwin
Thu Nov 29, 2018 1:07 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

I hope its' something simple.
Before you rebuild and replace I suggest you delete all your magnum*.jar files in the lib directory so there are no old rogue versions getting in the way.

Code: Select all

rm lib/magnum*.jar
If you hit glitches please email me as my responses can be quicker and more specific. Thanks
by CharlesGodwin
Mon Nov 19, 2018 4:54 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

@scott I notice that building extra plugins can be complicated if you need to checkout the entire source, add your code and then build a private version. That's a lot of work. My method is to have a separate project for just compiling the extra plugin code. I then build a jar file with a different n...
by CharlesGodwin
Mon Nov 19, 2018 2:53 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

@scott I am confused as all my tests with release 1.0.6 supports the Z. This morning I did the following: Note : There are some changes to prior build instructions. I will list them at the bottom. I am also attaching a log of all these activities. I created a new directory on a Pi I installed ant an...
by CharlesGodwin
Sun Nov 18, 2018 11:35 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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
by CharlesGodwin
Sun Nov 18, 2018 11:10 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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.
by CharlesGodwin
Sun Nov 18, 2018 11:02 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 51554

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

You said "rebuild" are you really building from source or downloading the files and running setup_1.0.6 or...?

Go to advanced search