Added mqtt

This commit is contained in:
Christian Martinsson 2022-06-18 23:42:38 +02:00
parent f88921fe83
commit 5b55e4bb48

View File

@ -3,7 +3,7 @@ import requests
import sys
import os
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "history": "102", "webapi": "104", "chromecast": "148"}
apps = {"broadlink": "68", "zwave": "60", "huee": "62", "webapp": "59", "yeelight": "87", "octoprint": "99", "history": "102", "webapi": "104", "chromecast": "148", "mqtt": 152}
headers = {"PRIVATE-TOKEN": sys.argv[1]}
def get_data(id_number):