Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Network not connecting
#61
Thanks Rob!
Reply to top
#62
I got that board shipped today, I sent it with a Due mounted and a w5100 for the heck of it. I didn't mount the w5100 because it sticks out and will bend but take note when you plug it in, you'll see on the board 2x4 header but the w5100 has a 2x5 header. Two pins aren't used but the w5100 and controller board are both marked with a pin description so you'll see it lines up. Yes that wasn't very smart, next boards will be 2x5 to match. I'll send you my address so you can send back the other board, I'm curious to see what I find.
Reply to top
#63
Thanks. You should be getting the old board this week - I shipped it a couple days ago. BTW, guess what I received in the mail yesterday....the case you reprinted for me! LOL
Reply to top
#64
Thanks! Maybe you can melt down the case and reprint it lol...
Reply to top
#65
So I got the new controller board in the mail and got it set up today. First of all great news, the web server is working!
I have been having a few issues but I think I have most of them sorted out. When I first hooked everything up there were several issues that seemed to have something to do with the rules and settings: the ATO was not turning on and off reliably and the heaters were not working correctly - they would look like they were turned on according to the status icons but there was no power going to them.

I reinstalled the software on the controller and screen and reformatted both SD cards and reloaded the files on to them. I then had to redo the custom rules but the heaters are still not working according to the heaters settings page. I did have them turn on at midnight and stay on all the time under schedules - should I not have any schedules for the heaters? In order to get it working I just put in custom rules for both heaters to turn on and off at certain water temps. What do you think could be the issue?
Reply to top
#66
Glad to hear it arrived, sorry I should have mentioned you would have to do what you did, the settings are stored on the board so nothing matched. There is a slight problem with the heaters, its code related though. The heaters shouldn't have any schedules set and the custom icon for the outlet must be the heater icon. With that said there is a problem in the code for the heaters which can cause trouble for some, using the custom rules for now is best. It would also be good to change the icon for the heater so only the custom rules sees it.
Reply to top
#67
Thanks for your help Rob. I just got back from vacation and everything seems to have worked great while I was gone. I was able to access the webpage and notification emails went through as well.
While everything worked fine, when I got home a few minutes ago I noticed that the screen is a bit off. I've attached an image of it here. As you can see, one of the icons is messed up and several are missing. I decided the restart the controller by saving the time and it came up as the same. I then tried to sync the controller and display but that didn't fix it either.
Finally, I had a custom rule set up to send me an email if the water temp went above 80.2F (I have the heaters turn off at 82.0F) and I received around 800 emails (which puts me near the limit of 1000 for the month) so I wanted to raise the email temp to 80.5F but when I went into custom rules, it appears that there are none! I have my ATO set up with custom rules so I went over to the float switch and tested it and it worked correctly. It seems like it is just an issue with the display.
Last symptom, (probably all related) is that the graphs for the room temp/humidity and the water temp are sporadic (a lot of the data seems to be missing).


Attached Files Image(s)
   
Reply to top
#68
Hi aquaalgae, welcome back, hope you had a good vacation. I hate to say it but sounds like another SD card issue, on a side note I did receive the other board you sent back, I put in a known working card and it works great. The outlet that shows static is a corrupted file and I believe the missing ones also got corrupted. If you copy the images to the card again it should solve that. Those custom rules aren't showing up on the display because of the card again, the rules are also stored on the controller SD card that's why they still work, the controller sees them. If you copy the "rules" folder from the controller SD card to the display SD card they should show up again. I'm guessing the graphs are sporadic because sometimes the data isn't being written to the SD card.

I've personally experienced this issue once, had a card that corrupted every couple days and only real fix was another card. If you don't have others to try I can send you one.

If you have the custom rule setup only for the email alert you might want to try the "alert" settings for this instead. You get all those emails likely because the temp was jumping 80.2 and 80.1.

This isn't very clear, will be in v5 but on the alerts page you can set a low and high level for the alarm, if you set the high level to 80.2 and low level to maybe 80.0 then the alarm will go off when it hits 80.2 but shouldn't go off again until the temp drops below 80.0, after that happens and the level goes back to 80.2 you'll get another email. If you don't want audio alarm just turn the volume to 0. Then on the "web alerts" page check the "high level water temperature" and you'll get an email for the high level as it uses the settings from the "alerts" page. If you don't care about the low level email don't check it and this will basically be only to reset the alarm so you don't get multiple emails.
Reply to top
#69
Oh on a side note in v5 I'm moving all the custom rules and alert settings to the eeprom.
Reply to top
#70
I've done a little research, it looks like SD cards are quite unreliable for data storage. It looks like these are the most reliable cards on the market currently. I think I'll get two of the 16gb cards.
https://www.transcend-info.com/Products/No-727

What do you think?
Reply to top
#71
I went with 2 of the 16gb industrial micro SD cards from SanDisk.
https://www.sandisk.com/oem-design/indus...rial-cards
Reply to top
#72
Sorry for taking so long to reply I was away today. Yeah SD cards aren't the greatest that's why I'm moving a lot to the eeprom. Overall I don't know what to think about these odd card issues, it's a strange thing that some cards work and some continually cause issues but I believe it's because they are cheap cards. I don't think you need to change the card in the controller as that's working good, once you have a working card you won't have any issues. I'm confident the card in controller is ok now just need to find something for the display. Hopefully the SanDisk you ordered will work but 16gb is getting large. Large card work but tend to be a bit slower on the display.

The faulty card you have is my fault. In one of the batches of cards I got some didn't work on the display, no images could be read. When I put the cards in the controller they seemed to work but I never did test the internet connection. For whatever reason those cards seem to do some tasks so I assume they get read using different methods, I don't know that's a mystery to me. So yeah when I fully tested the remaining cards I had there were more of that type that would have caused the same issues you experienced. As for the card in your display it's not a complete reject but seems to be on the edge, for example when the web page was opened using some of the cards the data on the page appeared immediately but other cards actually delayed the data from appearing on the page for 5-10 seconds, the images appeared pretty quick but not the data so I got rid of those cards. I believe that would happen with the card in your display if used on the controller. So yeah with your help I think I have a better understanding and now know how to fully test the cards.

Well I hope the SanDisk works, let me know how it goes and again I'm very sorry about all this.
Reply to top
#73
Rob, I thought I'd post this in this thread since I assume this is SD card related...

I came downstairs to my reef tank overflowing. It seems that outlet 4, which is my ATO pump, turned on but didn't turn off.

I haven't replaced the bad SD card from the display yet. I tested the ATO just yesterday and it was fine.

I went into the log to see when it turned on and it looks like the file is partially corrupt? I've posted it here.


Attached Files Image(s)
       
Reply to top
#74
Hi aquaalgae, oh no sorry to hear that. I just made changes to the controller sketch so outlet 4 will now work with the actual ATO setup, this will give you the emergency backups so this can't happen again. The backup float doesn't rely on and code or Arduino and there's also the timer timeout, if you set this to a minute the outlet won't be on for more than a minute no matter what.

I can't say for sure the log is because of bad SD card but I do see the page header name missing. Looking at the log I can see the rules are being triggered quite often, I'm almost thinking the log got filled up and pasted the max number of pages and now starting over at page 1. If you plugged in the SD card in your computer and browse to "logs" and then "equipment" you'll see a file for each day, if you open today's file I'm guessing it has more than 22 lines, probably more like in the 100's.

I can see the ATO pump being turned on/off quite often, sometimes on/off is the exact same time, I'm guessing this is happening because of waves in the tank causing the float to move up/down. This won't happen anymore using the ATO ports as the float needs to be open for at least 15 seconds.

Can you send me a picture of your custom rules so I can see what's happening with the others?

I emailed you the controller sketch, just need to upload this to controller, no settings will be effected. After you do this you can delete the rules for the ATO and setup both float switches on the ATO port. Then go to the "service" page from home page and set the "Check Water Level" to 0 so you can test it, this sets the ATO in real time like the sensor ports. Once you have it working you can set that to check the water level every hour or whatever.
Reply to top
#75
Here is the full log for yesterday (quite a few days are missing logs like you had said previously):

[t=00:14:59][e=AC Outlet 7][a=Turned ON Via Schedule]/n
[t=00:19:57][e=AC Outlet 7][a=Turned OFF Via Schedule]/n
[t=00:22:00][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=00:22:15][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=00:41:49][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=00:42:06][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=01:16:33][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=01:17:03][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=01:49:50][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=01:50:25][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=01:56:25][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=01:56:51][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=02:08:16][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=02:08:35][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=02:44:35][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=02:44:52][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=03:09:42][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=03:09:58][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=03:12:56][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=03:13:22][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=03:57:41][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=03:57:57][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=04:14:26][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=04:14:44][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=04:27:35][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=04:27:58][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=04:51:01][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=04:51:21][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=05:04:19][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:04:28][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:04:46][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:06:08][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:06:32][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:07:02][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:07:14][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:08:50][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:09:17][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=05:09:17][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=05:09:31][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:09:43][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:10:25][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:11:01][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=05:11:23][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=05:11:37][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:11:46][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:12:19][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:12:31][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:12:46][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:13:01][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:13:20][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:13:38][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:13:47][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:13:56][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:14:20][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:14:26][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:14:44][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:14:51][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:15:15][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:15:24][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:15:42][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:15:54][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:16:00][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:16:31][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:16:37][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:16:49][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:16:55][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:17:04][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:17:10][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:17:16][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:17:44][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:17:56][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:18:20][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:18:29][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:18:38][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:18:50][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:18:59][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:19:24][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:20:15][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:20:27][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:20:33][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:20:54][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:21:00][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:21:36][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:22:16][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:23:58][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:25:05][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:25:11][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:25:17][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:25:44][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:25:56][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:26:47][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:27:33][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:36:36][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=05:44:00][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=05:44:21][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=06:00:41][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=06:00:56][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=06:22:11][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=06:22:30][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=07:03:36][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=07:04:05][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=07:06:59][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=07:07:25][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=07:51:44][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=07:52:20][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=08:26:52][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=08:27:01][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=08:45:02][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=08:45:19][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=08:46:45][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=08:46:57][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:46:57][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=08:49:20][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:51:29][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:52:02][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:53:39][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:54:06][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:54:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:55:21][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:55:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:55:42][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:56:16][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:56:34][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:56:52][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:57:01][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:57:49][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:57:58][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:58:10][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:58:13][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=08:58:23][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:58:32][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:58:38][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=08:58:52][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:59:01][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:59:10][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=08:59:19][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:00:01][e=Lights][a=Moon to Low Sun Dimming Started]/n
[t=09:00:07][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:00:31][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:00:38][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:01:11][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:01:17][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:01:23][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:01:47][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:01:56][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:02:17][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:02:24][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:02:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:02:54][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:03:09][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:03:24][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:03:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:03:45][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:04:07][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:04:26][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:04:35][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:04:44][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:04:53][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:05:14][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:05:24][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:05:30][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:05:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:05:45][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:09][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:15][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:24][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:30][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:37][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:49][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:06:55][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:07:10][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:07:37][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:07:56][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:08:14][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:08:26][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:08:41][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:09:17][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:09:23][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:09:39][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:10:03][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:10:30][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:10:42][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:11:12][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:11:25][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:11:34][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:12:07][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:12:28][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:12:46][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:15:34][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:20:31][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=09:44:50][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=09:45:19][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=09:58:08][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=09:58:31][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=09:59:48][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=10:00:00][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=10:30:00][e=Lights][a=Low to Mid Sun Dimming Started]/n
[t=10:59:59][e=AC Outlet 5][a=Turned ON Via Schedule]/n
[t=11:14:57][e=AC Outlet 13][a=Turned ON Via Schedule]/n
[t=11:59:58][e=AC Outlet 6][a=Turned ON Via Schedule]/n
[t=11:59:58][e=AC Outlet 14][a=Turned ON Via Schedule]/n
[t=11:59:58][e=AC Outlet 15][a=Turned ON Via Schedule]/n
[t=12:00:01][e=Lights][a=Mid to High Sun Dimming Started]/n
[t=13:07:46][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:10:26][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:10:47][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:10:53][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:13:12][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:14:06][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:14:27][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:15:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:15:45][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:16:46][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:17:01][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:17:19][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:17:53][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:18:43][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:18:55][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:19:13][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:19:41][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:20:17][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:20:29][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:20:35][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:20:50][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:21:03][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:21:30][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:21:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:22:09][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:22:21][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:22:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:22:42][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:22:55][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:23:04][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:23:19][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:23:34][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:23:55][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:24:19][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:24:32][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:24:55][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:01][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:07][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:14][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:20][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:32][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:47][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:25:59][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:26:20][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:26:39][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:26:54][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:27:00][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:27:21][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:27:27][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:27:39][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:27:45][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:28:04][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:28:28][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:28:43][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:29:01][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:29:45][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:30:15][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:30:21][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:30:48][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:31:28][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:32:09][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:32:33][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:33:04][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:34:09][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:35:04][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:36:05][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=13:37:20][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=14:59:59][e=Fish Feeder][a=Fed Fish Via Schedule 2]/n
[t=15:04:49][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=15:09:01][e=ATO][a=ATO Finished Running]/n
[t=15:10:13][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=15:10:19][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=17:00:03][e=Lights][a=High to Mid Sun Dimming Started]/n
[t=17:22:56][e=AC Outlet 4][a=Turned ON Manually]/n
[t=17:22:56][e=AC Outlet 4][a=Turned OFF Manually]/n
[t=17:58:57][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=17:59:09][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=17:59:22][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:00:08][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:00:20][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:00:53][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:01:11][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:01:23][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:01:50][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:02:00][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:02:13][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:02:22][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:02:28][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:02:37][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:02:58][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:03:07][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:03:13][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:03:25][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:03:38][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:03:53][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:04:02][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:04:14][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:04:41][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:04:53][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:05:29][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:05:41][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:05:51][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:06:03][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:06:39][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:07:00][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:07:15][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:07:21][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:07:30][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:07:42][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:07:49][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:08:40][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:08:49][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:09:52][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:10:04][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:10:19][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:11:41][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:19:47][e=Fish Feeder][a=Fed Fish Manually]/n
[t=18:21:59][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:23:02][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:24:32][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:24:41][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:24:47][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:25:18][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:25:37][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:25:52][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:26:07][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:26:22][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:27:02][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:30:05][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=18:59:57][e=AC Outlet 5][a=Turned OFF Via Schedule]/n
[t=18:59:57][e=AC Outlet 6][a=Turned OFF Via Schedule]/n
[t=18:59:57][e=AC Outlet 14][a=Turned OFF Via Schedule]/n
[t=18:59:57][e=AC Outlet 15][a=Turned OFF Via Schedule]/n
[t=19:00:03][e=Lights][a=Mid to Low Sun Dimming Started]/n
[t=19:14:59][e=AC Outlet 13][a=Turned OFF Via Schedule]/n
[t=20:19:36][e=Resume Button][a=Controller Set in Auto Mode]/n
[t=20:19:36][e=AC Outlet 2][a=Turned OFF Via Custom Rule]/n
[t=20:19:36][e=AC Outlet 9][a=Turned OFF Via Custom Rule]/n
[t=20:19:36][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:19:43][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:21:35][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:21:35][e=AC Outlet 4][a=Turned ON Via Custom Rule]/n
[t=20:23:16][e=AC Outlet 4][a=Turned OFF Via Custom Rule]/n
[t=20:30:01][e=Lights][a=Low to Moon Dimming Started]/n
[t=23:59:57][e=AC Outlet 1][a=Turned ON Via Schedule]/n
[t=23:59:57][e=AC Outlet 3][a=Turned ON Via Schedule]/n
[t=23:59:57][e=AC Outlet 10][a=Turned ON Via Schedule]/n
[t=23:59:57][e=AC Outlet 12][a=Turned ON Via Schedule]/n


In bold red I highlighted where I believe the pump turned on incorrectly and then a couple lines down where I manually turned the pump on then off.  The first line, where it turned on, I'm not used to seeing that.  I'm not using the default ATO code and only using custom rules to run the ATO pump.

I unfortunately do not have a picture of the custom rules page - the screen is showing there are no custom rules (obviously there are because the ATO and email notifications that I have running off of the custom rules are still working).

I haven't uploaded your new code yet as I have a couple of questions about it first:  Is there a maximum to the maximum run time (can I have it run for 10 minutes)?  Can I run it with just one float switch (I plan on adding another one very very soon as a backup)?

I did format another SD card (not microSD) and put that in the display for now until I received the new cards that I ordered.

Thank you again!
Reply to top
#76
Thanks for posting that, it helps. For sure the reason the view on the display is messed up was caused by so many lines in the log, after 256 lines it overlaps, I'll fix that in v5. I set that as a limit as a day shouldn't have more entries than that. Do previous days have really long logs as well? Going through your log you shouldn't have more than 20-30 a day.

If you could replace the 30 rule files in the "rules" folder on display and controller SD card with the default from the v4.2 download package, then setup your custom rules just as you had them and take a picture of them, that would be really helpful. Something isn't right, its either in the code or how they're setup. Once a custom rule turns something on or off it should never turn it on or off again until it somehow was turned back on or off as there's no point in that. Obviously this isn't happening as outlet 2 and 9 are constantly going off so something is going wrong there. Also it isn't good the ATO is going on/off so often although that is working as expected because of waves, seeing that I'm going to add an optional custom delay in the custom rules so that won't happen, that's what I have hard coded in the ATO which is set to 15 seconds meaning the float needs to stay in the closed state for at least 15 seconds before the ATO runs insuring it only runs when it should. I can see near the end of the day it turned the ATO on/off 5 times in less than a second and then stayed on for about 2 minutes shut off but immediately turned back on for another 2+ minutes, that won't happen using the ATO settings.

The line "ATO Finished Running" should have never happened as you don't have sensors connected to the ATO ports. My guess is just before that happened the custom rules went in a frenzy with 4 rules going off consistently at the same time which could have caused signals from the display to get mixed up, it's difficult to explain but I can see it happening. This is a slight potential problem because back in v3.6 I did a major change so the controller could run without the display but that made some of the code for managing communication from display and controller not to be ideal. There's still a method that sends a signal back to the controller after it receives on from controller saying outlet turned on or off but if data is flowing back and forth at a crazy speed for a long time it can choke. So I'm thinking it choked and the code for turning on outlet 4 happened to be read. This is one reason I'm completely rewriting all the code for v5 to clear that up and impossible to happen. With that said it's not a serious issue as that scenario should never happen and it's caused by those custom rules constantly being triggered. Once I see exactly how you have them setup I can setup them up on mine and fix it for v4.2. 

The maximum run time can be up to 60 minutes, in v5 I'm adding seconds so you could set 10:30 seconds for example. You can run with just a float on main ATO port but you need to run a jumper from the backup ATO port to the 5v pin on the ATO plug. Also just to note, with the sketch I sent you outlet 4 will be controlled using the ATO ports however the outlet icon won't turn green when it comes on, the ATO icon near the clock will be the indicator.
Reply to top
#77
Rob,
Usually, the logs are not quite that long, but can be somewhat long at times.

This morning I added back the custom rules for the ATO and I tested the ATO as I was adding the rules by just adding the rule to turn the pump on but not add the rule to turn the pump off. When I went to test the pump, it turned on correctly, but also turned off. It seems that it was just using the rules from the controller perhaps as I didn't reformat and reload the files onto that card.

This evening I will reload the files on both cards and re-add the custom rules and post a picture on here of the rules.

I will probably setup the second float switch tonight or (more likely) this weekend and load the new code you sent me then.

BTW, I may have asked this already, but when do you think V5 will be out? :)

Thanks!
Reply to top
#78
Hi aquaalgae, yeah you do need to reload the files on both cards, the rule is still on that card so it'll run. Once they're gone from the display SD card there's no way to delete them from controller card without reloading. Just adding back to display will add duplicates to controller.

It'll probably be a month till v5 is finished, I'm working hard on it every chance I can. Because I doing everything over and adding a lot there's plenty to do, also I'm setting up the display so only equipment or sensors selected will be viewed though out which takes a lot to keep the screens looking good. It is coming along nicely though and I probably want it finished sooner than you. :) This will be a nice update so I'm excited to get it out.
Reply to top
#79
I redid both SD cards and attached the custom rules here.
Thanks!

I had this on the screen again just now. I unplugged the controller and plugged it back in and it was ok.
Edit: there also is a delay with the ATO custom rules now. If I manually lower the float, I have to keep it there for 2-8 seconds before it turns on and likewise 2-8 seconds before it turns off with I raise the float...


Attached Files Image(s)
           
Reply to top
#80
Thanks, I'll see what I can find. That screen is from SD card again, hopefully those others you have coming will work good. Not sure about that delay, you might have to remove them and add again.
Reply to top


Forum Jump:

Current time: 04-25-2024, 03:51 PM