-
Steps to ReproduceWhen I initially installed the application in my PI 3B I first tried using terminal but was unable to make it work. For some reason when I connected to the PI via terminal and was asked for my password and entered the password I got access denied. I decided to use Putty, using the same credentials I tried on terminal I was able to access the PI. I installed the application and everything was working fine. I changed the SD card for a A10 card (had it installed on an old card I had) and reinstalled the application on the new card, before I did the new install I made a backup. I am trying to restore the backup using the procedure on the appendix. https://github.com/jgyates/genmon/wiki/Appendix-M-Tips-and-Tricks-useful-for-Genmon To transfer the file from my PC I tried Filezilla, I am able to connect to the PI but when I do the transfer I get access denied. Because terminal does not work I am unable to execute the "scp genmon_backup.tar.gz [email protected]:./" command. Why do I get access denied with terminal and not from Putty? Thanks in advance! Expected ResultPerform a backup restoration. Actual ResultUnable. Version InfoVersion V1.19.02 LogsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 4 replies
-
I am converting this issue to a discussion question as this is related to pi setup and not a bug or feature request. |
Beta Was this translation helpful? Give feedback.
-
you mentioned that you were "using terminal". Can you give more details on what this is exactly. There are a few things named terminal (a MacOS terminal session, a direct connected serial console terminal, a pi with keyboard and monitor attached). Provide the exact steps you are taking to connect "using terminal" a this is not descriptive enough to allow me to provide any feedback. filezilla is a FTP client, you must have a FTP server enabled on the pi for this to work. Also, for scp or ssh to work you must have the SSH server running on the pi. PuTTY can use several protocols to acces the pi (SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port). I don't know which one you are using. If you can log into the pi you can enable the ssh server by typing:
Then select Interfacing Options then select SSH, then enable. You may need to restart your pi once you enable the SSH server. How did you set your password for the pi? Did you set it with the raspberry pi imager program? Also, this thread may be of some use: #1015 |
Beta Was this translation helpful? Give feedback.
-
For terminal I use "Windows PowerShell". When I tried using ssh genmon.local it did not work. It only works with IP. |
Beta Was this translation helpful? Give feedback.
-
I have a question about using genmon on a Briggs and Stratton generator. From what I have read it looks like a can purchase a RS 485 to wifi adaptor and connect it to the Briggs controller. The terminal strip is easy to get to. Then I seems like I then use the wife to get it into the Raspberry Pi computer. Then do I use the same code as for the Generic generator. I really appreciate what you have done in this space. Briggs and Stratton sucks in providing monitering.
Mark
…________________________________
From: jgyates ***@***.***>
Sent: Tuesday, March 19, 2024 10:43 AM
To: jgyates/genmon ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [jgyates/genmon] Cannot restore backup (Discussion #1087)
yes, the order you listed is correct.
The scp command is run from your PC. MacOS has scp built in, but if you installed the ssh client on windows then it likely comes with scp as well. You run the scp command from the same folder that the file genmon_backup.tar.gz is located. For example to change folders from your home folder to the Downloads folder, in the power shell type
cd Downloads
If the file genmon_backup.tar.gz is in this folder then you can type:
scp genmon_backup.tar.gz ***@***.***:./
This will transfer the genmon_backup.tar.gz file located in the current directory to the pi in the home folder (the './" at the end is the home folder) of the user specified by username.
—
Reply to this email directly, view it on GitHub<#1087 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHDNGGIBFJRJMBD3TE6BDVLYZB2MTAVCNFSM6AAAAABE5LSXBWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNBTHE4TA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
the code is the same, however the settings are different. The serial interface can still use the onboard raspberry pi port howerver you will need to use a RS-485 adapter instead of a RS-232 adapter. This page has info on setup and equipment: https://github.com/jgyates/genmon/wiki/Appendix-P-Briggs-and-Stratton-Controller-Information The link also has links to videos related to the Briggs and Stratton setup. |
Beta Was this translation helpful? Give feedback.
-
Mr. Yates, happy to report that I was able to restore my backup. Thank you very much for your support and dedication to this project. |
Beta Was this translation helpful? Give feedback.
-
I am glad it is working for you. |
Beta Was this translation helpful? Give feedback.
-
I have a question and I don’t really understand how to reach you without just replying to one of your emails.
I just bought a cabin that has a Briggs and Stratton backup generator and has a 1032 controller. Since we only live here part time I would like to be able to monitor it. My other house has a Kolher generator and I was able to buy a package from Kolher, install it and start monitoring the generator. It was straight forward and took less than an hour.
I have talked to Briggs and Stratton and they are a piece of work. They will not talk to me and refer me to one of their dealers. I have made repeated requests, and they won’t return my call.
That is when I ran across Genmon and it looks exactly like what I am looking for.
I am a retired mechanical engineer, and I was aware of raspberry pi. I have been following your Github site. I am not sure I have the brain cells left to learn how to use and program Raspberry pi. I have opened the generator and I see the connections so that part is easy.
Do you or anyone you know do this work on a contract basis. I would be happy to supply the equipment and pay someone to program it and get it ready to install.
Sorry about the long email and thanks for your time.
Mark
From: jgyates ***@***.***>
Sent: Tuesday, March 19, 2024 10:44 AM
To: jgyates/genmon ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [jgyates/genmon] Cannot restore backup (Discussion #1087)
yes, the order you listed is correct.
The scp command is run from your PC. MacOS has scp built in, but if you installed the ssh client on windows then it likely comes with scp as well. You run the scp command from the same folder that the file genmon_backup.tar.gz is located. For example to change folders from your home folder to the Downloads folder, in the power shell type
cd Downloads
If the file genmon_backup.tar.gz is in this folder then you can type:
scp genmon_backup.tar.gz ***@***.***:./ ***@***.***:./>
This will transfer the genmon_backup.tar.gz file located in the current directory to the pi in the home folder (the './" at the end is the home folder) of the user specified by username.
—
Reply to this email directly, view it on GitHub <#1087 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BHDNGGIBFJRJMBD3TE6BDVLYZB2MTAVCNFSM6AAAAABE5LSXBWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNBTHE4TA> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/BHDNGGO2YHSULDMOTNI6VFTYZB2MTA5CNFSM6AAAAABE5LSXBWWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAQ3ZNM.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
The best way to ask questions is to create a new discussion thread here: https://github.com/jgyates/genmon/discussions Regarding getting a pi setup, the easiest route would be to purchase a pre-configured pi from pintsize.me. The purchase page is here: https://pintsize.me/store/ols/products/generator-hats-and-phat You want a pre-configured HAT with the pi 3. This will work with the Briggs and Stratton controller, however you only need to make a cable connection and setup the controller. The Briggs instructions are located here: https://github.com/jgyates/genmon/wiki/Appendix-P-Briggs-and-Stratton-Controller-Information Regarding a contractor, you probably want someone local who can make the need cable and and enclosure for the pi. The above pre-configured pi will have all the software loaded you need. I am not currently doing any contract programming. There are sites like https://www.fiverr.com/ that you can locate people for hire who may be able to help in your area. |
Beta Was this translation helpful? Give feedback.
-
You are correct, the HAT is not needed. Thanks for catching that. I forgot the Briggs and Stratton uses RS485 instead of RS232 @markman1000, you can use the link above that @skipfire references or one of the solutions referenced in the wiki page: https://github.com/jgyates/genmon/wiki/Appendix-P-Briggs-and-Stratton-Controller-Information#rs-485-information |
Beta Was this translation helpful? Give feedback.
Your problem is that you are using different user names with ssh in a power shell vs putty. The user name you use must match the user name on the pi and the password for that user on the pi. With the ssh command if you do not specify the user name on the command like it will use the user name of the current logged in user on the windows system. Notice when you are running ssh in power shell, you type
You did not include a user name so the ssh program tried to log you into the raspberry pi with the username alexi, which I assume is the user name on the windows system.
With Putty, there is a default user name under Connection->Data. Use that user name with ssh and scp