adding a panic button and tweaking the mqtt