Below are a some terminal commands that I’ve accumulated. I’m at the point where I need to write these things down otherwise I’ll never remember them.
Subscribe to a topic
mosquitto_sub -v -t 'test/topic'
Publish a topic
mosquitto_pub -t 'test/topic' -m 'helloWorld'
Correcting error IP after reloading NOOBs OS
Raspberry Pi line commands
Start/Stop/Status of Openhab2 system:
sudo /etc/init.d/openhab2 start sudo /etc/init.d/openhab2 stop sudo /etc/init.d/openhab2 status
Reboot the network
sudo /etc/init.d/networking stop sudo /etc/init.d/networking start or sudo /etc/init.d/networking restart
Display running processes