Home‎ > ‎News‎ > ‎

Robotic Lawn Mover Logging & Control

posted 24 May 2015, 00:09 by Jan Larsson
The mission was to log the activity for the Robotic Lawn Mover to a database, to have a graph of the data and to be alerted by mail when needed, also to show the status on a wallmounted LCD.

A micro switch with a spring extention arm was mounted on the docing station. A cable run into the house and connects to a 1-wire DS2406 I/O board with pull-up resistor, reading the switch state open or closed. A bash script checks the status every 60s and compare the last state, when a change is detected a json command by curl is sent to update a Dummy Device in Domoticz representing the work activity for the Robotic Lawn mover.
ą
Jan Larsson,
24 May 2015, 00:10
ą
Jan Larsson,
24 May 2015, 00:12
ą
Jan Larsson,
24 May 2015, 00:10
Comments