Archon Controller - Video Series

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,804
Reaction score
2,773
Location
Cedar Park, Tx
Rating - 0%
0   0   0
OK, it has been awhile since I setup my email so i tried it. I input a email address and pressed update. I then pressed test. After a few minuties I got the test email in that email account. So it does work. The Archon does have to have internet access for this to work. Also make sure it is not going to your junk email folder.

The teat email received is below. I x'ed out the actual received address.

From: [email protected]
Date: May 14, 2017 at 7:53:16 AM CDT
To: [email protected]
Subject: Email Alarm Alert from your Archon Webserver

2017/05/14 07:53:14, id:0 - Alarm0.
Your alarm has triggered!
This is a test email
 

tjsmk8

Active Member
View Badges
Joined
Mar 31, 2014
Messages
112
Reaction score
23
Location
IN
Rating - 0%
0   0   0
Yeah, I've intentionally triggered temp and ph alarms. No email.
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,804
Reaction score
2,773
Location
Cedar Park, Tx
Rating - 0%
0   0   0
The test button should work. It will send a email like the one I posted. I am not at home right now. When I get home I will check and see which file has the email information.
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,804
Reaction score
2,773
Location
Cedar Park, Tx
Rating - 0%
0   0   0
OK there is a file on the usb stick in the etc folder and ssmtp sub folder called sendMail2. The first of the file using word pad should look like below. In the default values the send mail to value should be the email address or addresses that you want the email sent to. See if it is the address that you want. If it is correct then the Archon may not have access to the internet.

#!/bin/sh

printUsage()
{
echo "usage: $0 options"
echo
echo "OPTIONS:"
exho " -b [body]"
echo " -t [to@email]"
echo " -f [from@email]"
echo " -s \"subject string\""
echo " -a [path/to/attachent]"
}

#default values
read id
local body="$id \nYour alarm has triggered!"
local sendto="[email protected]"
local subject="Email Alarm Alert from your Archon Webserver"
local from="[email protected]"
local errorsfile=/tmp/ssmtp.error
local file
 

tjsmk8

Active Member
View Badges
Joined
Mar 31, 2014
Messages
112
Reaction score
23
Location
IN
Rating - 0%
0   0   0
Well, I guess it has been working. The email address was in there and correct. I assumed the archon internet connection was good since I can access it while on my home wifi (as opposed to connecting to the archon's wifi).
 

tjsmk8

Active Member
View Badges
Joined
Mar 31, 2014
Messages
112
Reaction score
23
Location
IN
Rating - 0%
0   0   0
No, this stuff isn't my strong suit. I don't know where to look at this point. I did manage to get a reef angel going a year ago with email, port forwarding, etc (different router then), but I scrapped the project due to it being so "techie". I'm hoping the archon is more my style once I get past a few hurdles.
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,804
Reaction score
2,773
Location
Cedar Park, Tx
Rating - 0%
0   0   0
I don't have any experience with your router. I use an Asus router and their ddns service to access the Archon from the internet. I had to reserve the Archon an IP address using the MAC address of the Archon in the router. I used the one that was currently being used by the Archon when I did this. I was able to get the MAC address for the Archon from the router. I then used port fordwarding in the router to forward port 80 as port 80 to the Archon. I access it via the ddns service. It came as a free service from Asus with the router. Hopefully someone can guide you through the webpages of your router to where you can do this. In the meantime I will see if I can find anything out about your router.
 

tjsmk8

Active Member
View Badges
Joined
Mar 31, 2014
Messages
112
Reaction score
23
Location
IN
Rating - 0%
0   0   0
I appreciate the help. I've been all over the internet looking at settings for this router, but it appears there are different versions for this model. I haven't found anything that matches what I have so far.
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,804
Reaction score
2,773
Location
Cedar Park, Tx
Rating - 0%
0   0   0
There is not a lot of info out reserving IP addresses. It seems they call it something else on that router. Maybe static IP lease?
 

tjsmk8

Active Member
View Badges
Joined
Mar 31, 2014
Messages
112
Reaction score
23
Location
IN
Rating - 0%
0   0   0
Here's a screenshot (hopefully) of what you get under advanced settings. I had already clicked static routing on the left, so that's what's shown on the right.

upload_2017-5-14_20-7-49.png
upload_2017-5-14_20-7-49.png
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,804
Reaction score
2,773
Location
Cedar Park, Tx
Rating - 0%
0   0   0
What is under Lan IP and DHCP settings? It looks like the screenshots you have there are for connecting the router to the internet. I can be wrong though.
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 37 27.6%
  • 100% dry rock + 100% live sand

    Votes: 45 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

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

    Votes: 12 9.0%
  • 25% live rock, 75% live sand

    Votes: 10 7.5%
Back
Top