Turn Off Makerbot

Turn off your makerbot when the conveyor log file ends using this script: FILE_TO_READ=/var/log/conveyor/conveyord.log echo "Reading: $FILE_TO_READ" tail -n1 -F $FILE_TO_READ | awk '/.*: ended/ { system("touch [yourfolder]/Dropbox/Public/makerlog/ended_`date +%s`") }' run this to watch the log and it creates a new file in your public dropbox. it turns off a WeMo device when that file appears.

by johnbiggs

This Applet uses the following services:

Install 1
works with
  • WeMo Smart Plug

Applet version ID 123018