Programs in library: BaseLiteBox - Basic Light Controller
Event-driven Light Controller, based on Arduino ane Event Library Project home: https://github.com/master-hamster/LiteMachine Libraries: Event: http://github.com/master-hamster/Events
Dallas Themperature: http://milesburton.com/Dallas_Temperature_Control_Library
Get it and run it.
Hardware described at the end of every project file
You can find the latest version at https://github.com/master-hamster/LiteMachine
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
All sensors must have 0 or earth when in active state. For example: Pir sensor must have 0 when motion detected, and 1 or NC when no motion.
Button mus have to be NC to earth.