Go to advanced search

by CharlesGodwin
Fri Aug 07, 2020 2:45 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 123
Views: 55019

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

I have released a separate project that is a python implementation of a reader that is simple and straightforward. It is available here https://pypi.org/project/pymagnum/

Please let me know if it's useful.
by CharlesGodwin
Mon Mar 30, 2020 2:59 pm
Forum: Networking and servers
Topic: autoSSH
Replies: 25
Views: 5475

Re: autoSSH

The problem with 20000 is fixable. I have no recent google cloud experience but have done this on Azure so expect the same capability, but a different interface. In the cloud server you have a tool to open ports and otherwise add constraints to their use. In this dialog there should be a way to redi...
by CharlesGodwin
Mon Mar 30, 2020 1:50 pm
Forum: Networking and servers
Topic: autoSSH
Replies: 25
Views: 5475

Re: autoSSH

Change 20000 to 22 to test. I use a different port on all my servers to prevent attacks on port 22_
by CharlesGodwin
Mon Mar 30, 2020 1:20 pm
Forum: Networking and servers
Topic: autoSSH
Replies: 25
Views: 5475

Re: autoSSH

I have some test and questions: I'll just deal with a simple ssh pass-through as it's easier to test. Have you tested this command, from your service definition, on the PI just using the command line? Stop the service first. /usr/bin/ssh -NT -F /home/pi/config/reverse.config tunneling Does it work w...
by CharlesGodwin
Sat Mar 21, 2020 5:01 pm
Forum: Networking and servers
Topic: autoSSH
Replies: 25
Views: 5475

Re: autoSSH

Place a copy of the config file i provided into a directory in your account and name its you wish in my example I named it reverse.config and placed it in /home/pi/config/ folder so its full name is /home/pi/config/reverse.config Modify the file match you remote host name,user credentials and the po...
by CharlesGodwin
Wed Mar 04, 2020 4:19 pm
Forum: Troubleshooting
Topic: Windows 10 won't connect to Pi 3 B+ Wifi
Replies: 3
Views: 332

Re: Windows 10 won't connect to Pi 3 B+ Wifi

All my IP's, Ethernet and wireless, are on the same sub net. And my PC has a wireless connection too. And the other Pi was wired.
by CharlesGodwin
Tue Mar 03, 2020 9:36 pm
Forum: Troubleshooting
Topic: Windows 10 won't connect to Pi 3 B+ Wifi
Replies: 3
Views: 332

Windows 10 won't connect to Pi 3 B+ Wifi

I have a Pi 3 B+ and a Windows 10 PC. I have tried this with various Pi images and get similar results. All this is terminal level testing. I setup the Pi to be only internal Raspberry Pi WiFi. It connects to my router and DHCP assigns an IP address. The router status shows the device and IP address...
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: 799

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: 639

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: 639

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: 639

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: 1610

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: 123
Views: 55019

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: 123
Views: 55019

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: 123
Views: 55019

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: 123
Views: 55019

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: 250

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: 123
Views: 55019

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: 123
Views: 55019

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: 123
Views: 55019

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: 53
Views: 5104

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: 5351

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: 25
Views: 5475

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: 123
Views: 55019

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: 123
Views: 55019

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...

Go to advanced search