I have a small hydroponic greenhouse 15x30. I have a Raspberry Pi, CM19A, Mochad and SimpleMon.php (mine). Sensors are Temp/Humd & Sonic distance. Crontab runs a Bash script and checks temp & humd. and the depth of soup in my sump, 4x4x2d, every minute. The script then does a Mysql Insert into my server in the basement. Using Phplot I can monitor
http://lidderdale.net/hydro/ how things are doing - and if there is a problem. The script also turns on a small heater if the temp drops below 50 and cooling above 85. Crontab also turns a duplex X10 outlet on every hour for 20 seconds between 6 AM and 6 PM. Here's where I need help? Advice? At 6 AM today my pump turned on for the 20 seconds. Then at 6:40 the pump,Tomato, turned on for about 10 minutes without any log entry showing up. AND the first thing the script does, every minute, is turn Tomato OFF and Lettuce OFF. And again for 10 minutes turn F4 off every minute, off, off, off..... "I don't feel like it...".
2015.04.24 6:02:06 Lettuce On
OUT 04/24 06:02:07 Tx RF HouseUnit: F4 Func: On
2015.04.24 6:02:07 Tomato On
OUT 04/24 06:02:08 Tx RF HouseUnit: F11 Func: On
2015.04.24 6:02:08 Heater1 On
OUT 04/24 06:02:37 Tx RF HouseUnit: F3 Func: Off
2015.04.24 6:02:37 Lettuce Off
OUT 04/24 06:02:38 Tx RF HouseUnit: F4 Func: Off
2015.04.24 6:02:38 Tomato Off
OUT 04/24 06:02:39 Tx RF HouseUnit: F3 Func: Off
OUT 04/24 06:40:01 Tx RF HouseUnit: F3 Func: Off
2015.04.24 6:40:01 Lettuce Off
OUT 04/24 06:40:02 Tx RF HouseUnit: F4 Func: Off
2015.04.24 6:40:02 Tomato Off
OUT 04/24 06:40:08 Tx RF HouseUnit: F11 Func: On
2015.04.24 6:40:08 Heater1 On
OUT 04/24 06:41:01 Tx RF HouseUnit: F3 Func: Off
2015.04.24 6:41:01 Lettuce Off
OUT 04/24 06:41:02 Tx RF HouseUnit: F4 Func: Off
2015.04.24 6:41:02 Tomato Off
OUT 04/24 06:41:08 Tx RF HouseUnit: F11 Func: On
2015.04.24 6:41:08 Heater1 On
OUT 04/24 06:42:01 Tx RF HouseUnit: F3 Func: Off
2015.04.24 6:42:01 Lettuce Off
OUT 04/24 06:42:02 Tx RF HouseUnit: F4 Func: Off
2015.04.24 6:42:02 Tomato Off
OUT 04/24 06:42:08 Tx RF HouseUnit: F11 Func: On
2015.04.24 6:42:08 Heater1 On
OUT 04/24 06:43:01 Tx RF HouseUnit: F3 Func: Off
2015.04.24 6:43:01 Lettuce Off
OUT 04/24 06:43:02 Tx RF HouseUnit: F4 Func: Off
My greenhouse runs on HC F, the garage/driveway on HC G. A question: Is/are there housecode(s) the work better than others? And Unit Codes? Do I have a bad duplex outlet. Would a CM15A be better than a CM19A?
Suggestions?
Thanks
Chuck