KHouse Posted January 29, 2014 Posted January 29, 2014 Anybody else having this issue, or know of any work-arounds? I receive email/text notifications for 3 things. Water sensor, lights turning on a sunset, and if the garage is left open. Each day I receive a text/email that my lights turned on at sunset. Great. Recently just switched this to text only, and works fine. I had noticed hit or miss notifications with my water sensor while testing it, which is definitely concerning, but sort of gave up on trying to figure it out (I know, bad move). Now this has happened. Twice. I have a program that emails/texts me if the garage is left open for more than 30 mintues, then emails/texts when it's closed as confirmation. Twice now, I never got the email/test that it is OPEN, only received it when it closed. One time I didn't know it was open (this is exactly what the purpose of the program is for!), my wife came home from work, closed the garage, and I got the notifications. Asked her about it when I saw the notifications, and she said yeah, you left the garage open. We don't generally leave the garage open, only if it's an accident. But while shoveling the driveway we do leave it open for more than 30 minutes, so I've been able to test these notifications quite often this year. Most of the time it works as should, but twice I never got the notification that it was left open, but did get the notification that it was closed. Thoughts or any input is much appreciated.
Michel Kohanim Posted January 30, 2014 Posted January 30, 2014 Hello KHouse, The first thing I recommend is looking at your Error Log for SMTP errors: http://wiki.universal-devices.com/index ... MTP_Errors Do you have any? With kind regards, Michel
KHouse Posted January 31, 2014 Author Posted January 31, 2014 I believe this is what I was looking for in the error log?... Tue 2014/01/07 System -50001 -11 and -11 = SMTP_TO_TIMEOUT Unfortunately I cannot say for certain this was the day that it last happened, but the time of day seems to indicate it is. I also have -5 and -6 popping up in the error log.
Michel Kohanim Posted January 31, 2014 Posted January 31, 2014 Hi KHouse, Which one do you have the most? -11 means that your ISP's SMTP server didn't like the To (i.e. whomever you were sending the email to). Perhaps address issues or blocked. -5, -6 are definitely connection related. You may want to increase the timeout but it would fix the problem. If you have one or two, then it's probably network error. With kind regards, Michel
KHouse Posted February 8, 2014 Author Posted February 8, 2014 Hi KHouse, Which one do you have the most? -11 means that your ISP's SMTP server didn't like the To (i.e. whomever you were sending the email to). Perhaps address issues or blocked. -5, -6 are definitely connection related. You may want to increase the timeout but it would fix the problem. If you have one or two, then it's probably network error. With kind regards, Michel Sorry about the late reply. I've been extremely busy and unable to give this the attention it needs. However, a missed notification today reminded me to update here. My error log goes back to 12/27/2013, and I have one (-11), two (-5), and one (-6) errors showing. When the weather gets really cold/hot, our garage doors tend to be a little finicky (as they are wood and expand/contract). Very cold today. I got home at 6:07 pm or so, closed the garage, but it hit the bottom and bumped up a little, settling 1/4 of the way open. A problem we have every once in a while due to them being wood doors. I received no notification that it was open. Just now, at 9:41 I noticed the garage door open, closed it, and immediately got a notification that it was closed (text + email). So the "system" knew the door was open for more than 30 minutes, but again I got no notification. Mind you, the last few days while shoveling I have gotten the notification as I left the door open while shoveling, so I know it does work...sometimes. Fri 2014/02/07 05:11:06 PM System -50010 mail.universal-devices.com Fri 2014/02/07 05:11:11 PM System -50010 mail.universal-devices.com Fri 2014/02/07 06:37:18 PM System -50010 mail.universal-devices.com What are these errors at 5:11? I came home right about 6:07 (I know this for sure as I made a phone call soon after I entered my home so have a record of the time). So it looks like it tried to send me a message at 6:37, which would make sense. Anything else I can specifically look at now to see why the I didn't get the alert as I now know the exact time I should have gotten one and that it didn't happen? Thanks again for any help.
Michel Kohanim Posted February 9, 2014 Posted February 9, 2014 Hello KHouse. Those errors are DNS errors. All of this points to some networking issues. Do you have DirecTV or Verizon/AT&T FIOS? If so, what's your ISY's firmware version? With kind regards, Michel
KHouse Posted February 9, 2014 Author Posted February 9, 2014 We have Comcast here. Anything I can check/change in settings (router or ISY) to get to the bottom of the DNS issues? Thanks again. Sent from my iPhone using Tapatalk
Xathros Posted February 9, 2014 Posted February 9, 2014 My guess is that your ISY is configured for DHCP and is using your router for DNS. I would try setting the ISY for a static address outside of your DHCP range and specify the DNS as 8.8.8.8 -Xathros Sent from my iPhone using Tapatalk
Michel Kohanim Posted February 10, 2014 Posted February 10, 2014 Hi KHouse, I must echo Xathro's recommendations. I did run a huge stress test on my setup in the lab whereby a network resource would call www.google.com every 2 seconds. Everything worked properly for 2 days and then DNS resolution became completely random. Upon further checking and wasting a day on ISY DHCP and DNS code, I decided to simply reboot the router and, voila, everything started working again. It's been running non-stop for the past 4 days without a miss. So, in some cases, the router might also be the culprit. As such, I also suggest rebooting the router again and see if things get better for a few days. With kind regards, Michel
Xathros Posted February 10, 2014 Posted February 10, 2014 Over the years, I have learned to not rely on consumer grade routers for DNS resolution. Any time I can specify a "real" DNS server in a devices network configuration, I have had better, more stable results. -Xathros
MWareman Posted February 10, 2014 Posted February 10, 2014 Personally, I run bind 9 on an internal Linux host, configured as a root resolver. I have allowed my local subnet to recurse thru it and point everything to it as primary DNS. Never had any name resolution issues and I get to not depend on anyone else for name resolution (well, except for basic connectivity that is). I used to have no end of issues with the DNS servers that Comcast run.....
KHouse Posted February 23, 2014 Author Posted February 23, 2014 Thanks for the replies folks. I'm going to have to do some digging/reading about everything ya'll just posted. I'm not a techy by trade, so I learn as I go. Over the past week, I've had the notifications working without issue. But will still look into the tips posted here to work on getting to the bottom of this.
KHouse Posted March 18, 2014 Author Posted March 18, 2014 Just to keep following up with this: I've not had any time to follow-up on the tips and recommendations to fix this from the posts above, but have however another failed notification. Last night when I came home from work by garage did the thing where it bottoms out, and then opens back up 1/4 of the way. I noticed it, and left it that way to see if I got the notification. I didn't. 7:05 is when I should have gotten the notifications (email + text), and 8:08 is when I manually closed the garage. Should have gotten notifications that the garage was open for 30 minutes, and then another once it was closed as confirmation. Here's the error log entries. Does this mean anything more to anyone? -50010 mail.universal-devices.com Mon 2014/03/17 07:05:51 PM System -50010 mail.universal-devices.com Mon 2014/03/17 08:08:09 PM System -50010 mail.universal-devices.com Mon 2014/03/17 08:08:15 PM System -50010 mail.universal-devices.com Tue 2014/03/18 06:52:09 AM System -100 [DHCP] state=RENEW P.S...I did receive my notification (text) that my sunset lights came on yesterday (Sunset being sometime around 6:59 pm).
Michel Kohanim Posted March 18, 2014 Posted March 18, 2014 Hi KHouse, We did have a hacker hacking into one of our email accounts on universal-devices.com. If Notifications are critical for you, I strongly recommend using your own SMTP settings. With kind regards, Michel
Recommended Posts