Changed Root Topic to a more standard hardcoded one "octoprint/plugins/enclosure" may add config field later if I see the need. Those who really want to change it can do so here for now.
This commit is contained in:
@@ -77,7 +77,7 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin, octoprint.plugin.TemplateP
|
||||
# mqtt helper
|
||||
self.mqtt_publish = lambda *args, **kwargs: None
|
||||
# hardcoded
|
||||
self.mqtt_root_topic = "Monolith/temperature/enclosure"
|
||||
self.mqtt_root_topic = "octoprint/plugins/enclosure"
|
||||
self.mqtt_sensor_topic = self.mqtt_root_topic + "/" + "enclosure"
|
||||
self.mqtt_message = "{\"temperature\": 0, \"humidity\": 0}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user