Changes

Jump to: navigation, search

Gyrophare

164 bytes added, 17:40, 24 January 2021
You can control the Gyrophare via HTTP by calling a <code>GET</code> on '''/on''' and on '''/off'''.
It's Its current IP address is static (hardcoded in the WeMos) and is <code>62.220.135.210</code>.Its URL is: <code>gyro.fixme.ch</code>.
For example:
curl http://gyro.fixme.ch/on
curl http://gyro.fixme.ch/off
curl http://62.220.135.210/on
curl http://62.220.135.210/off
Note that both request (also <code>GET http://62.220.135.210/</code>) are answered with a <code>OK</code>.
{{warning|Sending to much request will make it freeze and note respond to your any againstop responding, making it impossible to turn ofoff. Do not do it.}}
= Hardware =
{{warning|Be careful: there is high voltage (230V) in this hack. It's pretty well isolated, except for the relay screws, but unplug the system if you want to look at it.}}
 
= Software =
 
The code is here: https://git.fixme.ch/BinaryBrain/Gyrophare
= Authors =
[[User:Binary_Brain]]
290
edits