Victron Venus OS: Adding a Shutdown Button per Software and Hardware for GX and Raspberry Pi devices

  Рет қаралды 17,400

Off-Grid Garage

Off-Grid Garage

Күн бұрын

Пікірлер: 126
@geroldgoerke5729
@geroldgoerke5729 2 жыл бұрын
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?
@geroldgoerke5729
@geroldgoerke5729 2 жыл бұрын
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. |-:
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
So there is an additional software you need for the push button shutdown?
@geroldgoerke5729
@geroldgoerke5729 2 жыл бұрын
@@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
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
@@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 💪
@greensolardiscussion1476
@greensolardiscussion1476 2 жыл бұрын
@@OffGridGarageAustralia I couldn't get the button working. Doing something wrong I guess. I followed the steps on your website.
@andrew81632
@andrew81632 Жыл бұрын
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.
@GreatRockRealEstateDenver
@GreatRockRealEstateDenver Жыл бұрын
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
@CollinBaillie
@CollinBaillie 2 жыл бұрын
This video is a blast from the past!
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
1.5weeks old. Just before the Powerwall Weekend started 😉
@millzee60
@millzee60 2 жыл бұрын
Such a useful option I can't believe its not standard.
@timothyflynn
@timothyflynn Жыл бұрын
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!
@OffGridGarageAustralia
@OffGridGarageAustralia Жыл бұрын
And I appreciate your feedback, Timothy. You can use the same scripts on a Cerbo as well, it will work the same way.
@cowboymcq6711
@cowboymcq6711 2 жыл бұрын
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 🇺🇸
@AirIswhenibreathe
@AirIswhenibreathe 2 жыл бұрын
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
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Hahaha, watch it! Always watch it! 😄
@AirIswhenibreathe
@AirIswhenibreathe 2 жыл бұрын
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
@rogerviets3150
@rogerviets3150 2 жыл бұрын
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.
@davidmacbeth5575
@davidmacbeth5575 2 жыл бұрын
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.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Glad I could help!
@laurenhoward8397
@laurenhoward8397 2 жыл бұрын
Andy, thank you! Your instructions worked perfectly. Couldn’t be happier. Spat on the way…
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Thanks so much for your donation 🍺🥰
@manfredotto519
@manfredotto519 2 жыл бұрын
nice and clear video!! I had to reboot my Raspberry before the shutdown option was added.
@AdamDeLayDIY
@AdamDeLayDIY 2 жыл бұрын
Thank you!!! I've been looking all over for a way to add a shutdown option to the VRM Remote Console.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
No problem 👍
@markdavidson6321
@markdavidson6321 2 жыл бұрын
Great information as always! Thank you for sharing with us all
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Thanks Mark!
@EUROPOWEREPSi
@EUROPOWEREPSi 2 жыл бұрын
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.
@adamharkin2637
@adamharkin2637 2 жыл бұрын
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.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Thanks Adam, I will add this info to my website as well. Cheers.
@RiggerBrew
@RiggerBrew 2 жыл бұрын
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.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
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...
@matthias7929
@matthias7929 2 жыл бұрын
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 😊👍
@edwardvanhazendonk
@edwardvanhazendonk 2 жыл бұрын
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
@matthias7929
@matthias7929 2 жыл бұрын
@@edwardvanhazendonk thanks for your answer. I have a DC:DC Controller on My 24V batteries to Use the RPI.
@edwardvanhazendonk
@edwardvanhazendonk 2 жыл бұрын
@@matthias7929 what is the voltage on the output and which RPi version?
@janvalterjohansen1673
@janvalterjohansen1673 2 жыл бұрын
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. )
@SinKillerJ
@SinKillerJ 2 жыл бұрын
Can't wait for your new "Off-Grid Linux" channel.
@Frankenstompbox
@Frankenstompbox 2 жыл бұрын
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.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
I did the same in the past. Was far too cumbersome. It may be standard in future updates 🤷‍♂️
@hindafinga4890
@hindafinga4890 2 жыл бұрын
Cool, this right arrow holding also works on my Multiplus II GX to get Superuser , thanks
@mvalerio2172
@mvalerio2172 2 жыл бұрын
Brilliant and thank you!
@excillisbank2611
@excillisbank2611 2 жыл бұрын
Merci Andy, très bonne solution !😎
@Multimediafan61
@Multimediafan61 2 жыл бұрын
Hallo Klasse Video toll Dein Kanal. Freue mich immer auf deine neuen Themen. Danke LG aus Deutschland NRW Johann
@PlanetCypher_
@PlanetCypher_ 2 жыл бұрын
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.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Ah, great, thanks for that!
@bobbinbob
@bobbinbob 2 жыл бұрын
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 👍👌
@greenbimoon
@greenbimoon Жыл бұрын
Awesome, Works so well, danke
@wayne8113
@wayne8113 2 жыл бұрын
Thanks Andy
@megamoosecat
@megamoosecat Жыл бұрын
Hi Andy, just to let you know the second line of the script for the shutdown script is not working.
@stancac
@stancac Жыл бұрын
I've a problem when I put the the strings (SOLVED): tar: invalid magic tar: short read Write latest instead current
@TrevorFraserAU
@TrevorFraserAU 2 жыл бұрын
Nice!
@edwardvanhazendonk
@edwardvanhazendonk 2 жыл бұрын
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 👍🍻
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
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?😂
@ivoscuka8537
@ivoscuka8537 2 жыл бұрын
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! 👋
@edwardvanhazendonk
@edwardvanhazendonk 2 жыл бұрын
@@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
@janieronen6474
@janieronen6474 2 жыл бұрын
Thanks!
@vickipps6821
@vickipps6821 2 жыл бұрын
Thanks very interesting
@edwardbyrd7667
@edwardbyrd7667 2 жыл бұрын
Thank you!
@Dutch_off_grid_homesteading
@Dutch_off_grid_homesteading Жыл бұрын
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
@Stoffe46
@Stoffe46 2 жыл бұрын
Perfect 👌🏻
@IkkjeDus
@IkkjeDus 2 жыл бұрын
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 😁
@YamahaYZFR6RJ05
@YamahaYZFR6RJ05 2 жыл бұрын
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.
@diysolaradventures7894
@diysolaradventures7894 2 жыл бұрын
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
@ebptube
@ebptube 2 жыл бұрын
Great videol! Thanks! Can I implement this on a Cerbo GX?
@ebptube
@ebptube 2 жыл бұрын
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?
@MiH1IT
@MiH1IT 2 жыл бұрын
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
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
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...
@laurenhoward8397
@laurenhoward8397 2 жыл бұрын
Seriously, I can connect my Overkill BMS to the Venus Pi?!?! Got to look into that…
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
@@laurenhoward8397 Look on Github. It's the same guy who provides all the scripts for that.
@manfredotto519
@manfredotto519 2 ай бұрын
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
@dirtyriderFI
@dirtyriderFI 2 ай бұрын
Check correct url paths in few old comments 9months and 1year ago and edit paths in commands also.
@TheDockratt
@TheDockratt 27 күн бұрын
I just posted the corrected text
@MiniCmaX
@MiniCmaX 2 жыл бұрын
Hi Andy, which Venus OS version is currently installed on your Raspberry Pi?
@waynescheepers145
@waynescheepers145 2 жыл бұрын
Very Informative. Uncle Andy this is older footage you only released now. The pi cabinet is no longer there. Useless observation 😋
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
It was just recorded before the Powerwall weekend. Some information never get old 😉
@MiniCmaX
@MiniCmaX 2 жыл бұрын
👍😎👍Danke dafür 👍😎👍
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Gerne 😉
@matthewsmith4219
@matthewsmith4219 2 жыл бұрын
thanks for your great video the only problem i have is paypal to send you beer tokens its asking for delivery address ?
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Oh, thank you, you can just use the PayPal function on my website: off-grid-garage.com/
@RoaldKoger
@RoaldKoger 2 жыл бұрын
Bedankt
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
Thanks so much for your support!
@David_11111
@David_11111 2 жыл бұрын
yay
@andersjonsson4437
@andersjonsson4437 2 жыл бұрын
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
@john_in_phoenix
@john_in_phoenix 2 жыл бұрын
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.
@bramsoff-grid
@bramsoff-grid 2 жыл бұрын
Can the same push button be used to start it again?
@atanisoftware
@atanisoftware 2 жыл бұрын
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.
@bramsoff-grid
@bramsoff-grid 2 жыл бұрын
@@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.
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
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.
@TheFikotech
@TheFikotech 2 жыл бұрын
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
@OffGridGarageAustralia 2 жыл бұрын
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.
@TheFikotech
@TheFikotech 2 жыл бұрын
@@OffGridGarageAustralia sure it can. Linux or Windows will both repair the file system of a SD card if it's formatted under FAT32
@Micro_Gen
@Micro_Gen 2 жыл бұрын
Not working on Raspi 4
@tureutzon1892
@tureutzon1892 2 жыл бұрын
Only works on latest firmware update ;-)
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
You mean firmware of the Pi or Venus OS version?
@Lulastyle
@Lulastyle 2 жыл бұрын
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
@OffGridGarageAustralia 2 жыл бұрын
Hello to Italy. Yes, that is very, very easy. I'll show you...
@Lulastyle
@Lulastyle 2 жыл бұрын
thank you very much, I have tried in various ways but with poor results. I'll wait with your video
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
@@Lulastyle Use the Ruuvi Tags, they will connect easily to the Cerbo and a great little devices.
@Lulastyle
@Lulastyle 2 жыл бұрын
@@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
@karinyafields9651
@karinyafields9651 8 ай бұрын
Just tried to install this and no longer working. Firmware Version: V3.22 Build date/time: 20240226113741 Just an FYI
@johnq8792
@johnq8792 7 ай бұрын
Many sd cards are of bad quality or even fake.
@diysolaradventures7894
@diysolaradventures7894 2 жыл бұрын
Andy look up Venus OS Gui Mods
@ppi57
@ppi57 2 жыл бұрын
I've Googled "Spat" ... nothing about a beer comes up??? Choo got some splain'n to do!... pls.
@john_in_phoenix
@john_in_phoenix 2 жыл бұрын
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).
@extremeacc101
@extremeacc101 2 жыл бұрын
Do you ever sleep mate? Haha
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
That's a waste of time! I've got work to do.
@BajanAlan
@BajanAlan 2 жыл бұрын
@@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
@OffGridGarageAustralia
@OffGridGarageAustralia 2 жыл бұрын
@@BajanAlan Hahaha, love it 😄
@atsimas
@atsimas Жыл бұрын
Please make a separate Playlist named : Rasberry Pi.
@OffGridGarageAustralia
@OffGridGarageAustralia Жыл бұрын
Why?
@atsimas
@atsimas Жыл бұрын
@@OffGridGarageAustralia Because you have a lot videos about this.
@davidpenfold
@davidpenfold 2 жыл бұрын
sudo shutdown now
@davidpenfold
@davidpenfold 2 жыл бұрын
And windows should have native SSH now so no need for putty. ssh root@ip-address shutdown now
@davidpenfold
@davidpenfold 2 жыл бұрын
I should have waited! The GPIO thing is cool.
@davidpenfold
@davidpenfold 2 жыл бұрын
One thing... I would have copied the current rather than moved it
@PlanetCypher_
@PlanetCypher_ 2 жыл бұрын
Or sudo halt Less to type 😀
@WellnessWarrior-lv8br
@WellnessWarrior-lv8br 9 ай бұрын
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:~#
@valentinivanov2309
@valentinivanov2309 Ай бұрын
I have the some problem ,can not sorted out, any tips appreciate Thanks
@pmacgowan
@pmacgowan 11 ай бұрын
I got it working, just replace "archive/current.tar.gz" with "archive/refs/tags/latest.tar.gz"
@valentinivanov2309
@valentinivanov2309 Ай бұрын
Thank you very much
The Raspi is back! Swapping GX devices again
26:36
Off-Grid Garage
Рет қаралды 9 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
Raspberry Pi RetroPie Shutdown Button
6:31
Pi Spy
Рет қаралды 42 М.
Victron VenusOS | Easiest Install possible | Raspberry Pi 4B | NO Cerbo GX or Venus GX
30:59
Tobi's Real Life Skills (with Tobi)
Рет қаралды 23 М.
Raspberry Pi demolished by monster 128-core ARM CPU!
20:54
Jeff Geerling
Рет қаралды 1,3 МЛН
An introduction to running Node Red on the Cerbo GX
22:33
PKYS Inc
Рет қаралды 10 М.
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1,2 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН