reef-pi :: An opensource reef tank controller based on Raspberry Pi.

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
This is how mine is setup:

20200409_045812.jpg


I would double check your passwords, other than that I'm not sure. It's a pretty simple setup where not much can really go wrong.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Hi all.

Waiting for RoboTank controller, I'm playing with my Raspberry and Reef-pi.

I'm not able to setup email alerts.

Every time I try to configure it (from hotmail to hotmail or gmail email address; from gmail to gmail or hotmail email address), I click on the "update" and then to the "Send a message" bottons. Often nothing happens or.... sometimes I receive an error message.

For hotmail I wrote smtp.live.com and port 25 or 465;
For gmail I wrote smtp.gmail.com and port 587, 25 or 465

Of course I have checked in the spam folder.... nothing!!!

If I go to the admin tag and I restart the service and/or reboot the system, when I come back in the telemetry tag... there is no password!!!

Any helps?

I use Gmail and have "2 step security" enabled. If that's the case, you need to set it up with an "App Specific Password" which you get from your Google settings for the account concerned.


Try that. As said above, always reload after any change made to any settings. Helps changes take effect.
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0
I use Gmail and have "2 step security" enabled. If that's the case, you need to set it up with an "App Specific Password" which you get from your Google settings for the account concerned.


Try that. As said above, always reload after any change made to any settings. Helps changes take effect.
"App Specific Password" can't be possible for my account (Italy... maybe for people in USA).

With an hotmail account, I have tried without "2 steps security" and with "2 steps security" and password for app... nothing to do!
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
"App Specific Password" can't be possible for my account (Italy... maybe for people in USA).

With an hotmail account, I have tried without "2 steps security" and with "2 steps security" and password for app... nothing to do!

I'm in South Africa and it's what I needed to do.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Who is your provider? I've never heard of ISP blocking standard/common email ports....

TDS. They are a rural provider. I had my security cameras setup to send images to my email at one point, but for some reason they thought I was sending spam and blocked all outbound SMTP. Even through their own servers... Told me I needed to call tech support to get it fixed. I've not done it yet because I've been too busy and I hate sitting on hold.....
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
TDS. They are a rural provider. I had my security cameras setup to send images to my email at one point, but for some reason they thought I was sending spam and blocked all outbound SMTP. Even through their own servers... Told me I needed to call tech support to get it fixed. I've not done it yet because I've been too busy and I hate sitting on hold.....

Dang, that sucks.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
Update on the ATO usage issue. I have been running the ATO on the old settings to with an alert if usage goes over 600 seconds and "disable on alert" enabled. ATO has been running as expected and usage has been below 600 (as expected).

Suddenly now at 13H00 I get a flurry of mails come through that the usage is high (1350 seconds) and when I look, ATO has been disabled despite having a usage of 0 seconds for the current hour. Previous hour was 130 seconds according to the graph. I've looked and in the 1 month history on the graph, I can't find an hour that actually has 1350 seconds usage.

2020-04-09.png


Not sure of reason, just reporting symptom.
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Hi all.

Waiting for RoboTank controller, I'm playing with my Raspberry and Reef-pi.

I'm not able to setup email alerts.

Every time I try to configure it (from hotmail to hotmail or gmail email address; from gmail to gmail or hotmail email address), I click on the "update" and then to the "Send a message" bottons. Often nothing happens or.... sometimes I receive an error message.

For hotmail I wrote smtp.live.com and port 25 or 465;
For gmail I wrote smtp.gmail.com and port 587, 25 or 465

Of course I have checked in the spam folder.... nothing!!!

If I go to the admin tag and I restart the service and/or reboot the system, when I come back in the telemetry tag... there is no password!!!

Any helps?

I just tried a Google account and it didn't work without changing some security settings. Try this.

Step 1. Go to https://www.google.com and follow directions on image.

gmail_step1.jpg


Step 2. Click the 'Security' link on left side menu

gmail_step2.jpg


Step 3. Near the top you will see the 'Signing in to Google' section, turn off '2-Step Verification'.

gmail_step3.jpg


Step 4. Now scroll down to the bottom of the page, you will see the 'Less secure app access' section. This will mostly like be turned off, turn it on.

gmail_step4.jpg


Step 5. In Reef-pi go to the 'Configuration' tab at the top and go to the 'Telemetry' sub-tab. Make sure 'Email alerts' check box is checked and fill out the fields below.
  • server - This is the SMTP address for your email server, the default value is for Gmail so you can leave it as is.
  • port - This is the port number for your email server, Gmail uses 587.
  • from - This is the email address the alert is sent from. Enter the same address from Step 1.
  • To - This is the email address the alert is sent to, any address will work.
  • Password - This is the password to access your Gmail account, use the same 'password' that you used to log into your Gmail account. (Note: When you view this page later the password field will be blank for your security)
  • limit per hour - this is the maximum number of emails Reef-pi will send per hour, the default value of 10 is good for most setups.
Step 6. Once you have added your credentials click the 'Update' button.

Note: Do not click the 'Send test message' button until you have finished Step 7

gmail_step5.jpg


Step 7. From the 'configuration' tab click the 'Admin' sub-tab link. Click 'Reload' to restart Reef-pi so the changes you made will take effect.

Now you can return back to the 'Telemetry' sub-tab and press the 'Send test message' to verify it works.

gmail_step6.jpg
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0
I solved the problem:
1) 2 steps verifications;
2) password for app;

It still didn't work, so I did the third point:

3) reset of the reef-pi database;
4) after that I set again email alerts... now it works like a charm;
5) added again HS110 smart plug;
6) added again temperature sensor.

Everything is fine.

Thank you everyone for help.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Looking for some suggestions from @Michael Lane or whoever may be able to help me test my ML Goby Hat. I have 5v and 12v wired up but I am unable to get all of the relays working on the hat. I verified with my working pi unit that the DJ power strip is working properly, I have tried 2 pi zero's but I am getting the same issue, only io22 will trip the relay, all the others are nada except for an odd one, if I turn on io10 and io24 both to on it will trip a relay and if you turn them both off it turns it off, however if you do them one at a time nothing.


Here are my connector to IO ports:
io25
io9
io8
io11
io10
io24
io23
io22

Using one of the ribbon cable to serial connectors for the cable, if anyone has any suggestions on how to pinpoint the issue with a meter etc would be appreciated.

Thanks!
:)
 

drbogger

Active Member
View Badges
Joined
Apr 24, 2019
Messages
165
Reaction score
126
Location
Ballston Spa, New York
Rating - 0%
0   0   0
Looking for some suggestions from @Michael Lane or whoever may be able to help me test my ML Goby Hat. I have 5v and 12v wired up but I am unable to get all of the relays working on the hat. I verified with my working pi unit that the DJ power strip is working properly, I have tried 2 pi zero's but I am getting the same issue, only io22 will trip the relay, all the others are nada except for an odd one, if I turn on io10 and io24 both to on it will trip a relay and if you turn them both off it turns it off, however if you do them one at a time nothing.


Here are my connector to IO ports:
io25
io9
io8
io11
io10
io24
io23
io22

Using one of the ribbon cable to serial connectors for the cable, if anyone has any suggestions on how to pinpoint the issue with a meter etc would be appreciated.

Thanks!
:)

First, I would eliminate the ribbon cable as being faulty... Try a different cable, or test the cable using a continuity meter.

Then, I would test the actual relays to be sure they are not faulty.

If those all check out, then I would troubleshoot the pi hat.

I've been trying to work out issues of my own as well, and I'm not having too much luck yet.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
First, I would eliminate the ribbon cable as being faulty... Try a different cable, or test the cable using a continuity meter.

Then, I would test the actual relays to be sure they are not faulty.

If those all check out, then I would troubleshoot the pi hat.

I've been trying to work out issues of my own as well, and I'm not having too much luck yet.

Yeah i've tried several things, I tried the DJ strip on my existing working reefpi and all the relays are working, i tried hooking up a serial breakout and verified i am getting 12v to the pins but not I can't get any of them to work. Right now I have V+ plug in to port 5 and one wire going to pin1 which should be io22 and I get nothing. Maybe I fried the ULN2803A, ugh my soldering skills are junk and trying to re-solder that SMD will be laughable. I'm not sure what else to test to isolate the issue.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,321
Location
Coatesville, Indiana
Rating - 0%
0   0   0
I have a potentially dumb question about the instructions for build.
Yeah i've tried several things, I tried the DJ strip on my existing working reefpi and all the relays are working, i tried hooking up a serial breakout and verified i am getting 12v to the pins but not I can't get any of them to work. Right now I have V+ plug in to port 5 and one wire going to pin1 which should be io22 and I get nothing. Maybe I fried the ULN2803A, ugh my soldering skills are junk and trying to re-solder that SMD will be laughable. I'm not sure what else to test to isolate the issue.

can you post close up pics of the device? perhaps a magnified pic of your solder joints?

I had a similar issue and it was just a solder joint that was bridging to ground that needed high magnification to see.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,535
Reaction score
1,709
Location
RVA
Rating - 100%
1   0   0
Yeah i've tried several things, I tried the DJ strip on my existing working reefpi and all the relays are working, i tried hooking up a serial breakout and verified i am getting 12v to the pins but not I can't get any of them to work. Right now I have V+ plug in to port 5 and one wire going to pin1 which should be io22 and I get nothing. Maybe I fried the ULN2803A, ugh my soldering skills are junk and trying to re-solder that SMD will be laughable. I'm not sure what else to test to isolate the issue.

Try v+ and io23 let me know if it works.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Try v+ and io23 let me know if it works.

Yeah nothing, I am looking at the schematic and I see the layout, if I check voltage across the pins on my serial connection I get 12v on each pin except for pin1. Right now I only have v+ hooked up and trying individual pins to see if I can get anything to work, now I cannot get any io ports to work.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Yeah nothing, I am looking at the schematic and I see the layout, if I check voltage across the pins on my serial connection I get 12v on each pin except for pin1. Right now I only have v+ hooked up and trying individual pins to see if I can get anything to work, now I cannot get any io ports to work.

Replying to myself, I think I have it sorted although I am still scratching my head, I had Mike's pin out and I need to verify. Has anyone used one of the ribbon cables, I tried several and couldn't get them to work, I had a a screw terminal type and with jumper cables figured it out, was wanting to go with the ribbon cable type to take up less room but not sure what is not correct or what I may be doing wrong. When I take v+ to pin 5 they all appear to work.

UPDATE: Looking at one of Mike's hat pics which I guessed I missed, duh, these are the correct mappings, still not sure why they won't work with my ribbon cable, will purchase an additional one to try out.

Here are the mapping that I am getting with my pi zero

8 11
25 9
24 10
22 23
v+

Hopefully someone will tell me how I messed things up but I am glad that it doesnt appear that the uln2803 is fried, all appeared to be working.

On a separate subject I need to figure out an ATO solution, what tends to be the most reliable?

Thanks!
:)
 
Last edited:

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 27.3%
  • 100% dry rock + 100% live sand

    Votes: 47 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 21.6%
  • 75% live rock, 25% live sand

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Free Phyto Promo
Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed Spend $39+ → free 16oz Phyto · Use code FREEPHYTO at checkout · $16.99 value · Densest 6-species blend · Free shipping on every order · 100% live arrival guaranteed
Shop Now Code: FREEPHYTO
Back
Top