orchestracities/lego-diorama-usi-2022

parking (raspberrypi)

chicco785 opened this issue · 0 comments

  • when sensor detect something (proximity)
  • send message parking spot occupied
  • turn on red light (closed loop)
  • when sensor detect nothing
  • send message parking spot free
  • turn on green light (closed loop)

use a mqtt queue, 1 topic per sensor (2)