nebhead / garage-zero-v2

Garage Zero v2 - Raspberry Pi Garage Door Control & Status
https://nebhead.github.io/garage-zero-v2
MIT License
4 stars 2 forks source link

Unable to setup email #3

Closed Packitin closed 2 months ago

Packitin commented 2 months ago

Good day, after my first remote got broken and the second on (key chain) got lost, I went looking for a remote Chamberlain Smart MyQ. Some people said it may or may not work on some models, I found your project and said this is what I need. Everything works but I can't get the email to work, I reinstalled the program a second time so this is not the issue. Am I missing something? This is the perfect solution for my good old faithful.

Thanking you in advance.

nebhead commented 2 months ago

Yep, another user pointed this out to me recently. For some reason the functionality broke, perhaps with a software update. I'll work on debugging next week. Will update when I get it resolved.

Packitin commented 2 months ago

Thank-you for your efforts, great project.

nebhead commented 2 months ago

OK... I think I have a fix for the issue. I am testing and will update you as soon as I confirm it is working.

nebhead commented 2 months ago

All fixed up, I think. Would love if you could test and report back.

https://github.com/nebhead/garage-zero-v2/releases/tag/v2.0.7

This version does require a fresh install because of some of the changes I have made to the installation script and what versions of python modules get installed.

Packitin commented 2 months ago

OK, which version of raspbian did you use? I was using 2020-02-13-raspbian-buster-lite.

nebhead commented 2 months ago

Raspberry Pi OS Lite (Bookworm or Bullseye)

Packitin commented 2 months ago

OK, I'll start installing and update when I done. Thank-you for a speedy resolution.

Packitin commented 2 months ago

I tried both Gmail and Yahoo and I'm not receiving any notification. I did notice in the password window it remains blank after I enter my password and save. Should I see some asterisk ? 2024-06-25 08_49_54-Window

Packitin commented 2 months ago

I also tried Pushover, no luck, the test worked from the Pushover website.

nebhead commented 2 months ago

OK, let me look into it and get back to you.

I'm not quite familiar with how yahoo's e-mail server works, but I think you don't need the @yahoo.com on the username. Just the first part. Also, the password would be obscured for security reasons... but I will double check that field on my end.

nebhead commented 2 months ago

Oh... you know, you do have to enable the notifications that you want in the door settings. Example:

image

Select the door you want to edit, then click the pencil next to it.

Then scroll down and select the event you want to be notified of - click the pencil next to that.

image

Then select the notification services you want to use for this event. (ctrl + click allows you to select multiple)

image

Then click save on this page, and save on the next page. This should enable your notifications. You can do this for any of the events that you want to be notified with.

Also... keep in mind that some mail servers require an application specific password for the e-mail to work properly. So keep that in mind.

Packitin commented 2 months ago

Pushover is working, I had email selected that's why it didn't work. Email still not working, I tried; Server - smtp.mail.yahoo.com both Port - 465 or 587 and checked off tls. Gmail requires application specific password and that didn't work, that's why I tried yahoo mail. I don't see an SSL setting in the Notify Services is this automatically set?

Packitin commented 2 months ago

It looks like Yahoo has disabled App Password for less secure apps. I think for now the push services is a viable solution. Thank-you for finding a solution. Here is the prototype 20240623_120346

nebhead commented 2 months ago

Prototype looks great!

I have gmail working, but I'll need to wait until I get home to give you the details from my setup. If I can remember correctly, it would look something like this:

To E-mail: @. From E-mail: @. Username: your_from_email (without the @gmail.com http://gmail.com) Password: app_specific_password_here smtp Server: smtp.gmail.com port: 587 tls: checked

On Tue, Jun 25, 2024 at 9:43 AM Packitin @.***> wrote:

It looks like Yahoo has disabled App Password for less secure apps. I think for now the push services is a viable solution. Thank-you for finding a solution.

— Reply to this email directly, view it on GitHub https://github.com/nebhead/garage-zero-v2/issues/3#issuecomment-2189440139, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXUYFQF2HCKOBB3H5YBJQDZJGM3ZAVCNFSM6AAAAABJXNYHWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBZGQ2DAMJTHE . You are receiving this because you commented.Message ID: @.***>

Packitin commented 2 months ago

Thank-you for your guidance, Email is now working. app_specific_password_here is not clearly indicated on there site.

nebhead commented 2 months ago

Wonderful! I'll go ahead and close this out and hope you enjoy!