Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 675 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 675 Bytes

#This is only a proof of concept This will only save the last message

mosquitto_pub -h localhost -p 1883 -t "beaglebone/1" -m "alive"
mosquitto_pub -h localhost -p 1883 -t "beaglebone/1" -m "dead"

This will save all messages

mosquitto_pub -h localhost -p 1883 -t "error" -m "kaputttschi"

Testing

Simulating mqtt messages is as easy as calling sh ./spamTest.sh

Problems so far

  • The gui will probably lag because of a lot of updates in the database. It would be okay if the view would only refresh every 2 seconds or sth. -> solved by replacing publish/subscribe with methods and timers

Todos

  • Switch to mantra/react