Thank you, Shutdown via the console works like a charme. :-) But I did not manage to get the shutdown working by using a button. (Yes it is activated in the settings and yes I checked more than twice if I use the correct GPIO pins) Do You actually have it working with a button?
@@OffGridGarageAustralia Yes. In addition to the setup you allready provided, RpiGpioSetup needs to be installed too. It is as easy as replacing the name of the software in both the wget command and the install command inn the links you allready provided on your page
@@geroldgoerke5729 Great, thank you very much. I'll update the website and pin this comment to the top of the list. This is why I love this community 💪
Installed this last night on Venus OS 3.0 and works fine. Thought I'd mention that if you are doing this in 2023 the paths have changed, if you use /SetupHelper/archive/latest.tar.gz and /ShutdownMonitor/archive/refs/tags/latest.tar.gz things will still work as described. The extracted directories will be named slightly different so make sure you mv the new wording. Hope that helps if you get errors.
I am having the problems you describe but after renaming to "latest" I am still getting errors trying to get the shutdown monitor. I seemed to get the helper fine. The errors I am getting are: command not found, fzip: invalid magic, tar: child returned status 1, tar: error is not recoverable. Any help would be greatly appreciated 7/31/2023
I have an RPI running for a few years now by simply using a 2.5" HDD on a USB adapter. Yes, the RPI boots from this HHD and it actualy increased the performance and storage capacity.
We usually don't need much storage with the Venus OS running. It lives online and only uses a tiny bit of internal storage if it is offline to cache the data until it can talk to the Victron mothership again. Unless you are running other stuff from your Pi as well...
Thank you, great work. Just add small but important point for me - I am implementing Victron Venus on Raspberry Pi4... and with this HW the main used comand "shutdown -h now" did restart in reality => Shutdown & Start again. So from health of SD Card point of view it is not big difference. Anyway, definitively save the time to operate.
Thanks heaps Andy great idea. I did mine on a MAC and still worked, thank again Legend. For guys using a mac go to finder then go to GO (top command Bar) then go to connect to server. in the next screen in the server address type ssh://pi@then your individual IP Address, hit connect it takes you to the terminal screen. then type your password you set in the root file. and then follow the rest of Andy's info. Enjoy.
Andy, great video. Thanks so much for bringing high tech to us folks who wouldn't have a clue where to start. You've inspired me to try thing I normally wouldn't attempt. I did try a little different method that doesn't require Putty or modifying the root command line. I was able to download a program setup file to a USB drive from the github website. The USB hub is then plugged into the raspi and the raspi is rebooted. The file installs the program setup function in venus os resulting in a menu from which you can select, among others, the shutdown process. Also allows many other functional upgrades including a GUI update that is a huge improvement over the stock GUI. No putty, no ssh, no accessing root command line. Just need to copy a few files. I think you might need to have version 2.8 or higher for this to work. With version 2.8 bluetooth seems to work. You have inspired me to try new things and now I'm using your videos to inspire my wife to move forward with solar power and construction of a power wall. Keep up the great work.
Thanks for this easy to follow got it all setup. I was thinking about getting a Cerbo GX but remembered I had a raspberry pi 2 b collecting dust on a shelf. Slowly building a 12 volt frankensystem before I build a larger 48 volt home setup so I want to track the data. Appreciate your channel!
Dang it!! I thought i was in the wrong timeline,, went out of youtube and checked my calendar,, you got me Andy, got me real good! This was uploaded 1 hour ago!! Watched it even i don't want to
I will,, keep it going Andy,, i don't have a set up yet, but i have bits and pieces for my own solar system. This channel keeps me on track on how i will do my set up. Atleast you got me commiting less mistakes
I’m Farley new to solar. Well I’ve been powering my camper off grid for 2 years but now really getting into it❕ And I really enjoy your show always super interesting Keep up the fantastic work buddy doing a great job ❗️❗️❗️ Thanks from the northeast of USA 🇺🇸
Andy you are great! I set up an RPI for my small garden solar watering system, but it hangs every 2-3 days. This is the solution without damaging the Micro SD card! Perfect, thank you very much, I didn't even know that there were even programs for the Victron interface 😊👍
Excellent. Again a useful "How To" video. Both my RasPi´s now got their SHUTDOWN function. (Would like to add that I used a Mac and the standard Terminal program (instead of the Puddy). The basics the same. )
There is also cpu reset pins that when it’s shutdown you can short via a switch, then the pi will boot up, no need to pull the power, I used a 2 way toggle switch to perform a shutdown and then the other direction for a startup.
Awesome....I set up my Raspi / VRM following your video from many months ago and.I've been waiting patiently for this video ever since you mentioned it a little while ago. Great work, as always.
Good video, I did this yesterday with the same script. Dont forget also to turn off SSH and/or reset the password to something more secure than passw0rd 😉 - 99% of the time you wont need SSH so best just to enter superuser mode and switch it on when you need it 👍👌
Hi Andy, when times come and you have a bit more time on hand, there is a way to install an USB SSD device, boots faster and less error prone than de microSD cards. Andreas Spiess has created a youtube video on this if you want. Always a good point to shutdown the RPi the valid way, saves you a lot from hardware errors on one of the cheapest parts of your setup, the microSD card. Go calibrate some spats and till next time 👍🍻
Yes, I know that solution. Boot speed is not a concern at all. Space? Maybe down the track when we have mor services running (Broker, Node Red,...) If you install the Venus OS Large, the OS partition is read only so cannot corrupt any more. They thought about it 😉 Did you say a bit more time?😂
Hi Edward. Could you show me the source of info about SSD with Victron Venus and Raspberry? I know - it works for standard Raspberry system but did not find the way to implement system Venus on SSD/USB? Thanks a lot! 👋
@@ivoscuka8537 hi Ivo, I don't have the source for ssd with Venus OS, but with Raspbian, the procedure should be the same for another OS, a dd of the image to ssd should be possible I think, I'll search the link from Andreas Spiess
Answering to my self after just reading this: "Note that Cerbo restarts itself after a shutdown so this addition may not be useful in all situations", so no soft shutdown for the Cerbo GX and perhaps not needed?
shutdown -y - g0, or sync;sync;sync;init 0 Old school, but I have been a Unix administrator since before Linux was written. But very nice that it adds it to the VRM menu for you.
Can you explain this a little more? I've got the Raspberry (with a touchscreen) installed in my camper and would like a (normally open) momentary switch to turn it off and also back on again.
Yes, I know that but haven't had time to explore that yet. It will definitely come once the new battery is in place and running. You can connect all kind of BMS to Venus OS, Daly, Overkill, JBD and the good old QUCC...
Thanks a lot, a great video easy to follow. I can't shutdown using the button. The console works fine. I'm using RPI 3 B+ and Venus ver 2.82. Any ideas? /Anders
I wanted to install the shutdown button on a new raspberry, but something has changed on the GitHub website where the links are no longer correct. I don't know how to handle this, could this please be adjusted? Kind regards, Manfred
Unfortunately no since the monitoring of the GPIO state is done at the OS level and not a hardware level. I also don't see an exposed pin to trigger a restart of the board. It would likely be necessary to add a push button to interrupt the power supply through additional hardware.
@@atanisoftware There are 2 pin holes behind the usb port . PEN and RUN. For what I just found, if you connect RUN to ground with a push button it performs a restart.
Hello I follow you from Italy, I would like to see if it is possible to create temperature sensors to connect to the cerbo gx. i am sure you can do it😂😂
@@OffGridGarageAustralia thanks, in fact I also saw that I could use those but I wanted to self-build the sensor, some use lm335, I tried to use it but it reads the temperature in reverse (when it heats it goes down and vice versa) I don't understand the provided
Have you ever tried to fix the SD card by moving it to your Windows machine and let Windows repair it? It should work as this corrupt SD card problem also happens often in dash cams in cars. I then just move it to a laptop and Windows is fixing the problem in seconds.
@@OffGridGarageAustralia Don't sleep too much. If you sleep three hours less each night for a year, you will have an extra month and a half to succeed in. Aristotle Onassis
Solar Panel Alignment Tool. When empty beercan casts no shadow on your solar panel, you are perfectly aimed at the sun (or it is night and you need to calibrate another SPAT).
I followed the steps and got the error messagegzip: invalid magic tar: Child returned status 1 tar: Error is not recoverable: exiting now root@raspberrypi4:~#
Thank you, Shutdown via the console works like a charme. :-) But I did not manage to get the shutdown working by using a button. (Yes it is activated in the settings and yes I checked more than twice if I use the correct GPIO pins) Do You actually have it working with a button?
Answer to myself: One has to install the RpiGpioSetup also to use a button to shutdown the Raspberry pi. Maybe I missed that in the video. |-:
So there is an additional software you need for the push button shutdown?
@@OffGridGarageAustralia Yes. In addition to the setup you allready provided, RpiGpioSetup needs to be installed too. It is as easy as replacing the name of the software in both the wget command and the install command inn the links you allready provided on your page
@@geroldgoerke5729 Great, thank you very much. I'll update the website and pin this comment to the top of the list.
This is why I love this community 💪
@@OffGridGarageAustralia I couldn't get the button working. Doing something wrong I guess. I followed the steps on your website.
Installed this last night on Venus OS 3.0 and works fine. Thought I'd mention that if you are doing this in 2023 the paths have changed, if you use /SetupHelper/archive/latest.tar.gz and /ShutdownMonitor/archive/refs/tags/latest.tar.gz things will still work as described. The extracted directories will be named slightly different so make sure you mv the new wording. Hope that helps if you get errors.
I am having the problems you describe but after renaming to "latest" I am still getting errors trying to get the shutdown monitor. I seemed to get the helper fine. The errors I am getting are: command not found, fzip: invalid magic, tar: child returned status 1, tar: error is not recoverable. Any help would be greatly appreciated 7/31/2023
I have an RPI running for a few years now by simply using a 2.5" HDD on a USB adapter. Yes, the RPI boots from this HHD and it actualy increased the performance and storage capacity.
We usually don't need much storage with the Venus OS running. It lives online and only uses a tiny bit of internal storage if it is offline to cache the data until it can talk to the Victron mothership again.
Unless you are running other stuff from your Pi as well...
This video is a blast from the past!
1.5weeks old. Just before the Powerwall Weekend started 😉
Thank you, great work. Just add small but important point for me - I am implementing Victron Venus on Raspberry Pi4... and with this HW the main used comand "shutdown -h now" did restart in reality => Shutdown & Start again. So from health of SD Card point of view it is not big difference. Anyway, definitively save the time to operate.
Thanks heaps Andy great idea. I did mine on a MAC and still worked, thank again Legend.
For guys using a mac go to finder then go to GO (top command Bar) then go to connect to server. in the next screen in the server address type ssh://pi@then your individual IP Address, hit connect it takes you to the terminal screen. then type your password you set in the root file. and then follow the rest of Andy's info. Enjoy.
Thanks Adam, I will add this info to my website as well. Cheers.
Such a useful option I can't believe its not standard.
Andy, great video. Thanks so much for bringing high tech to us folks who wouldn't have a clue where to start. You've inspired me to try thing I normally wouldn't attempt. I did try a little different method that doesn't require Putty or modifying the root command line. I was able to download a program setup file to a USB drive from the github website. The USB hub is then plugged into the raspi and the raspi is rebooted. The file installs the program setup function in venus os resulting in a menu from which you can select, among others, the shutdown process. Also allows many other functional upgrades including a GUI update that is a huge improvement over the stock GUI. No putty, no ssh, no accessing root command line. Just need to copy a few files. I think you might need to have version 2.8 or higher for this to work. With version 2.8 bluetooth seems to work. You have inspired me to try new things and now I'm using your videos to inspire my wife to move forward with solar power and construction of a power wall. Keep up the great work.
Thanks for this easy to follow got it all setup. I was thinking about getting a Cerbo GX but remembered I had a raspberry pi 2 b collecting dust on a shelf. Slowly building a 12 volt frankensystem before I build a larger 48 volt home setup so I want to track the data. Appreciate your channel!
And I appreciate your feedback, Timothy. You can use the same scripts on a Cerbo as well, it will work the same way.
Dang it!! I thought i was in the wrong timeline,, went out of youtube and checked my calendar,, you got me Andy, got me real good! This was uploaded 1 hour ago!! Watched it even i don't want to
Hahaha, watch it! Always watch it! 😄
I will,, keep it going Andy,, i don't have a set up yet, but i have bits and pieces for my own solar system. This channel keeps me on track on how i will do my set up. Atleast you got me commiting less mistakes
Thank you!!! I've been looking all over for a way to add a shutdown option to the VRM Remote Console.
No problem 👍
I’m Farley new to solar. Well I’ve been powering my camper off grid for 2 years but now really getting into it❕ And I really enjoy your show always super interesting Keep up the fantastic work buddy doing a great job ❗️❗️❗️
Thanks from the northeast of USA 🇺🇸
Andy you are great! I set up an RPI for my small garden solar watering system, but it hangs every 2-3 days. This is the solution without damaging the Micro SD card! Perfect, thank you very much, I didn't even know that there were even programs for the Victron interface 😊👍
Hi Matthias, a hanging RPi is possibly a power supply which isn't strong enough, or you write to a partition which is completely full
@@edwardvanhazendonk thanks for your answer. I have a DC:DC Controller on My 24V batteries to Use the RPI.
@@matthias7929 what is the voltage on the output and which RPi version?
Excellent. Again a useful "How To" video. Both my RasPi´s now got their SHUTDOWN function. (Would like to add that I used a Mac and the standard Terminal program (instead of the Puddy). The basics the same. )
Bedankt
Thanks so much for your support!
nice and clear video!!
I had to reboot my Raspberry before the shutdown option was added.
There is also cpu reset pins that when it’s shutdown you can short via a switch, then the pi will boot up, no need to pull the power, I used a 2 way toggle switch to perform a shutdown and then the other direction for a startup.
Ah, great, thanks for that!
Thanks! I've been using Putty to execute the shutdown command. This is much better. I don't know why this feature isn't part of Venus OS.
I did the same in the past. Was far too cumbersome. It may be standard in future updates 🤷♂️
Andy, thank you! Your instructions worked perfectly. Couldn’t be happier. Spat on the way…
Thanks so much for your donation 🍺🥰
Awesome....I set up my Raspi / VRM following your video from many months ago and.I've been waiting patiently for this video ever since you mentioned it a little while ago. Great work, as always.
Glad I could help!
Cool, this right arrow holding also works on my Multiplus II GX to get Superuser , thanks
Great information as always! Thank you for sharing with us all
Thanks Mark!
Good video, I did this yesterday with the same script. Dont forget also to turn off SSH and/or reset the password to something more secure than passw0rd 😉 - 99% of the time you wont need SSH so best just to enter superuser mode and switch it on when you need it 👍👌
Can't wait for your new "Off-Grid Linux" channel.
Brilliant and thank you!
Thanks Andy
Hallo Klasse Video toll Dein Kanal.
Freue mich immer auf deine neuen Themen.
Danke LG aus Deutschland NRW
Johann
Hi Andy, when times come and you have a bit more time on hand, there is a way to install an USB SSD device, boots faster and less error prone than de microSD cards. Andreas Spiess has created a youtube video on this if you want. Always a good point to shutdown the RPi the valid way, saves you a lot from hardware errors on one of the cheapest parts of your setup, the microSD card. Go calibrate some spats and till next time 👍🍻
Yes, I know that solution. Boot speed is not a concern at all. Space? Maybe down the track when we have mor services running (Broker, Node Red,...)
If you install the Venus OS Large, the OS partition is read only so cannot corrupt any more. They thought about it 😉
Did you say a bit more time?😂
Hi Edward. Could you show me the source of info about SSD with Victron Venus and Raspberry? I know - it works for standard Raspberry system but did not find the way to implement system Venus on SSD/USB? Thanks a lot! 👋
@@ivoscuka8537 hi Ivo, I don't have the source for ssd with Venus OS, but with Raspbian, the procedure should be the same for another OS, a dd of the image to ssd should be possible I think, I'll search the link from Andreas Spiess
I've a problem when I put the the strings (SOLVED):
tar: invalid magic
tar: short read
Write latest instead current
Merci Andy, très bonne solution !😎
Hi Andy, just to let you know the second line of the script for the shutdown script is not working.
Heya, don't know if I gone use raspberry pi as I have a all in 1 system. so my bms is connected to this all in 1 inverter
Great videol! Thanks! Can I implement this on a Cerbo GX?
Answering to my self after just reading this: "Note that Cerbo restarts itself after a shutdown so this addition may not be useful
in all situations", so no soft shutdown for the Cerbo GX and perhaps not needed?
shutdown -y - g0, or sync;sync;sync;init 0
Old school, but I have been a Unix administrator since before Linux was written. But very nice that it adds it to the VRM menu for you.
Awesome, Works so well, danke
While you are at it: you can also connect the power to the GPIO and have a on/off switch for power instead of fiddling with the micro USB connector 😁
Can you explain this a little more? I've got the Raspberry (with a touchscreen) installed in my camper and would like a (normally open) momentary switch to turn it off and also back on again.
Hi Andy,
which Venus OS version is currently installed on your Raspberry Pi?
Andy u should add Gui Mods to ur Raspberry pi Venus OS u can touch on the battery the charge controller change the amps etc
Nice!
thanks for your great video the only problem i have is paypal to send you beer tokens its asking for delivery address ?
Oh, thank you, you can just use the PayPal function on my website:
off-grid-garage.com/
btw, do you know you can connect jk bms to venus os? It's not as useful as a shunt (JK BMS lacks SOC/current accuracy), but it's nice to have
Yes, I know that but haven't had time to explore that yet. It will definitely come once the new battery is in place and running.
You can connect all kind of BMS to Venus OS, Daly, Overkill, JBD and the good old QUCC...
Seriously, I can connect my Overkill BMS to the Venus Pi?!?! Got to look into that…
@@laurenhoward8397 Look on Github. It's the same guy who provides all the scripts for that.
Thanks very interesting
Thanks a lot, a great video easy to follow. I can't shutdown using the button. The console works fine. I'm using RPI 3 B+ and Venus ver 2.82. Any ideas? /Anders
Thanks!
Perfect 👌🏻
Thank you!
Very Informative.
Uncle Andy this is older footage you only released now. The pi cabinet is no longer there. Useless observation 😋
It was just recorded before the Powerwall weekend. Some information never get old 😉
I wanted to install the shutdown button on a new raspberry, but something has changed on the GitHub website where the links are no longer correct. I don't know how to handle this, could this please be adjusted? Kind regards, Manfred
Check correct url paths in few old comments 9months and 1year ago and edit paths in commands also.
I just posted the corrected text
Can the same push button be used to start it again?
Unfortunately no since the monitoring of the GPIO state is done at the OS level and not a hardware level. I also don't see an exposed pin to trigger a restart of the board. It would likely be necessary to add a push button to interrupt the power supply through additional hardware.
@@atanisoftware There are 2 pin holes behind the usb port . PEN and RUN. For what I just found, if you connect RUN to ground with a push button it performs a restart.
Apparently you can use the CPU reset pin and ground to restart the Pi with a 2nd switch or use a toggle switch for both functions.
👍😎👍Danke dafür 👍😎👍
Gerne 😉
yay
Hello I follow you from Italy, I would like to see if it is possible to create temperature sensors to connect to the cerbo gx. i am sure you can do it😂😂
Hello to Italy. Yes, that is very, very easy. I'll show you...
thank you very much, I have tried in various ways but with poor results. I'll wait with your video
@@Lulastyle Use the Ruuvi Tags, they will connect easily to the Cerbo and a great little devices.
@@OffGridGarageAustralia thanks, in fact I also saw that I could use those but I wanted to self-build the sensor, some use lm335, I tried to use it but it reads the temperature in reverse (when it heats it goes down and vice versa) I don't understand the provided
Have you ever tried to fix the SD card by moving it to your Windows machine and let Windows repair it? It should work as this corrupt SD card problem also happens often in dash cams in cars. I then just move it to a laptop and Windows is fixing the problem in seconds.
The SD card itself is not the problem but the file system is corrupt. As this is a Linux file system, Windows cannot repair it, I believe.
@@OffGridGarageAustralia sure it can. Linux or Windows will both repair the file system of a SD card if it's formatted under FAT32
Only works on latest firmware update ;-)
You mean firmware of the Pi or Venus OS version?
Not working on Raspi 4
Andy look up Venus OS Gui Mods
Many sd cards are of bad quality or even fake.
Just tried to install this and no longer working. Firmware Version: V3.22 Build date/time: 20240226113741 Just an FYI
Do you ever sleep mate? Haha
That's a waste of time! I've got work to do.
@@OffGridGarageAustralia Don't sleep too much. If you sleep three hours less each night for a year, you will have an extra month and a half to succeed in.
Aristotle Onassis
@@BajanAlan Hahaha, love it 😄
I've Googled "Spat" ... nothing about a beer comes up??? Choo got some splain'n to do!... pls.
Solar Panel Alignment Tool. When empty beercan casts no shadow on your solar panel, you are perfectly aimed at the sun (or it is night and you need to calibrate another SPAT).
Please make a separate Playlist named : Rasberry Pi.
Why?
@@OffGridGarageAustralia Because you have a lot videos about this.
sudo shutdown now
And windows should have native SSH now so no need for putty.
ssh root@ip-address
shutdown now
I should have waited! The GPIO thing is cool.
One thing... I would have copied the current rather than moved it
Or sudo halt Less to type 😀
I followed the steps and got the error messagegzip: invalid magic
tar: Child returned status 1
tar: Error is not recoverable: exiting now
root@raspberrypi4:~#
I have the some problem ,can not sorted out, any tips appreciate Thanks
I got it working, just replace "archive/current.tar.gz" with "archive/refs/tags/latest.tar.gz"
Thank you very much