• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoShowcaseHome AutomationHow to automatically run OpenHAB
Previous Next

How to automatically run OpenHAB

Posted by: admin , March 24, 2015

We edit /etc/rc/local to automatically load openhab.

$sudo nano /etc/rc.local,

And append the following command before exit(0):

 

sudo /opt/openhab/start.sh &

As we implemented a python script to act as a MQTT bridge between the Arduino style code and the openhab server, we need to start these services accordingly:

python /home/ubuntu/mqtt_publish.py  &
sleep 600 && /home/ubuntu/c_enviroment/output/test/NRF24L01_RX &

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors