Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 917 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 917 Bytes

wifi relay

turn the power on or off for a machine.

to do

  • open / close relay on lock / unlock messages
  • publish lock / unlock status
  • protect mqtt topics
  • enable over-the-air firmware updates
  • measure and report whether the machine is running

example commands

subscribe to changes:

mosquitto_sub -h mqtt.bitraf.no -v -t "bitraf/machine-access/pick_and_place/is_locked"

lock pick and place machine:

mosquitto_pub -h mqtt.bitraf.no -m "" -t "bitraf/machine-access/pick_and_place/lock"

unlock pick and place machine:

mosquitto_pub -h mqtt.bitraf.no -m "" -t "bitraf/machine-access/pick_and_place/unlock"

dependencies