mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 09:51:10 +01:00 
			
		
		
		
	bitwarden
This commit is contained in:
		| @@ -924,7 +924,10 @@ def on_message(client, userdata, msg): | |||||||
|     except: |     except: | ||||||
|         print("not a json!") |         print("not a json!") | ||||||
|  |  | ||||||
| client = mqtt.Client() | try: | ||||||
|  |     client = mqttClient.Client(mqttClient.CallbackAPIVersion.VERSION1) | ||||||
|  | except: | ||||||
|  |     client = mqttClient.Client() | ||||||
| payload = "off" | payload = "off" | ||||||
| client.username_pw_set("jaydee", password="jaydee1") | client.username_pw_set("jaydee", password="jaydee1") | ||||||
| client.will_set("sectorq/systems/" + host.lower() + "/stat", payload=payload, qos=0, retain=True) | client.will_set("sectorq/systems/" + host.lower() + "/stat", payload=payload, qos=0, retain=True) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee