klingel_sender_nano_serial.ino: Zusätzlicher Button für Garagentor
This commit is contained in:
@@ -60,3 +60,4 @@ while True:
|
||||
data = json.dumps({'payload': 'CLICK', 'topic': 'lewe/doorbell', 'retain': 'False'}).encode('utf8')
|
||||
request = urllib.request.Request("https://ha.nodebucket.de/api/services/mqtt/publish", data, headers)
|
||||
response = urllib.request.urlopen(request)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user