This shows you the differences between two versions of the page.

Link to this comparison view

fuss:lakka [2020/02/14 17:15]
office created
fuss:lakka [2020/02/14 17:19] (current)
office [Adding the Script]
Line 43: Line 43:
 </​code>​ </​code>​
 +Next, a configuration file should be created at ''/​storage/​system/​mqttSwitch/​config.yml''​ with the following contents:
 +<file yaml config.yml>​
 +pid: '/​var/​run/​mqttSwtich.pid'​
 +    host:
 +    port: 1883
 +    topic: '​arcade-engine/#'​
 +The configuration file ''​config.yml''​ should be adjusted to make ''​host''​ and ''​port''​ point towards the MQTT server and to amend the MQTT topic if necessary.
 +===== Remotely Turning off Lakka =====
 +With the ''​mqttSwitch.py''​ script running, Lakka can now be turned off by sending the message ''​shutdown''​ to the MQTT topic.
 ===== Code ===== ===== Code =====

fuss/lakka.txt ยท Last modified: 2020/02/14 17:19 by office

Access website using Tor Access website using i2p

For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.