Skip to content
Filipe Caldas edited this page Oct 7, 2015 · 1 revision

This device is capable of controlling 4 power plugs through an ethernet connection, it is used on wakeup time measurement tests combined with the luminosity sensors on the screen.

A route was created on arduino to control an input for this switch:

/wakeup

Input json:

{"nplug":1,"ip":"10.0.2.110"}

This route receives which plug is going to be restarted and the ip address of the power switch.

Normally this route will output the following:

{"done":1,"ms":368425}

Or in case of an error

{"error": 1,"msg":"Message"}
Clone this wiki locally