Add MQTT state info
This commit is contained in:
parent
7fa175e751
commit
2c3b68275c
1 changed files with 9 additions and 1 deletions
10
server.py
10
server.py
|
@ -45,7 +45,15 @@ class StatejsonHandler(tornado.web.RequestHandler):
|
|||
'icon': {
|
||||
'open': BASE_URL+'/open.png',
|
||||
'closed': BASE_URL+'/closed.png',
|
||||
}
|
||||
},
|
||||
'mqtt': {
|
||||
'host': 'bitlair.nl',
|
||||
'port': 1883,
|
||||
'tls': False,
|
||||
'topic': 'bitlair/state',
|
||||
'closed': 'closed',
|
||||
'open': 'open'
|
||||
},
|
||||
},
|
||||
'issue_report_channels': [ 'twitter' ],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue