Archon Controller - Video Series

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
 
Yeah, I've intentionally triggered temp and ph alarms. No email.
 
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.
 
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
 
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).
 
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.
 
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.
 
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.
 
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?
 
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
 
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.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top