orchestracities/lego-diorama-usi-2022

ev charging (raspberrypi)

chicco785 opened this issue · 0 comments

  • when sensor detect something (proximity)
  • send message parking spot occupied
  • turn on red light (closed loop)
  • if charging button pressed (and sensor detect something), blink red light for 10 seconds (then again static red)
  • when sensor detect nothing
  • send message parking spot free
  • turn on green light (closed loop)
  • use a mqtt queue, 1 topic per sensor (2)