I have refactored the script a little bit and created an add-on
Great, currently celebrating holiday but I will test it when I’m back. Many thanks in advance👍
@NemesisRE
I tried the add-on, the addon installs as it expected, the documentation and changelog looks very well documented. Really Pro ![]()
However, when I strictly stick to the documentation I only get the Snapmaker monitor Add-On installed and no details of my Snapmaker 2.0 3d printer.
Do I need to follow the instructions for NiteCrwlr’s script to create a webhook and a HA Token?
Another thing is:
I see you’re planning to make mqtt usage possible, which is a very good thing
, I also see the MQTT option available when looking at the configuration of the Add-On, but I don’t see any confirmation in the changelogs that this is officially implemented.
Also this page states MQTT is still in progress.
Is this still in progress, or is MQTT already ready for use?
At first I only filled out the MQTT credentials and the MQTT broker IP
That didn’t worked out so I added the webhook and ha_token I already had for Nitecrwlr’s script, but this helped me either.
So I’m a bit lost now but I really appreciate your effort by creating and maintaining this add-on, it’s really clear you spend some time into this. So I try to contribute by providing this feedback.
Hi,
first all thank you ![]()
Yes MQTT is still work in progress and will not do anything at the moment.
You currently need to set a HA Token, a webhook and the SM IP. In HA you still need the sensor with the receiving webhook so basically the same as before.
If it does not work you can set the logging option to debug this should give enough information where the problem could be.
But I definitely need more documentation ![]()
I got the same problem as Soepgroenten. Everything working well but dont known how to add the “snapmaker 2.0” ![]()
2025-11-01 11:11:17,489 - INFO - Reading SnapMaker Status…
2025-11-01 11:11:17,491 - DEBUG - Starting new HTTP connection (1): 192.168.0.237:8080
2025-11-01 11:11:17,591 - DEBUG - http://192.168.XXXXX:8080 “GET /api/v1/status?token=aXXXXXXXXX HTTP/1.1” 200 396
2025-11-01 11:11:17,592 - DEBUG - SnapMaker Status: {‘status’: ‘IDLE’, ‘x’: 119, ‘y’: 136, ‘z’: 150, ‘homed’: False, ‘offsetX’: 0, ‘offsetY’: 0, ‘offsetZ’: 0, ‘toolHead’: ‘TOOLHEAD_3DPRINTING_1’, ‘nozzleTemperature’: 21, ‘nozzleTargetTemperature’: 0, ‘heatedBedTemperature’: 23, ‘heatedBedTargetTemperature’: 0, ‘isFilamentOut’: False, ‘workSpeed’: 1500, ‘printStatus’: ‘Idle’, ‘moduleList’: {‘enclosure’: False, ‘rotaryModule’: False, ‘emergencyStopButton’: False, ‘airPurifier’: False}}
2025-11-01 11:11:17,592 - DEBUG - Current Toolhead: Extruder
2025-11-01 11:11:17,593 - DEBUG - Status: {
“status”: “IDLE”,
“x”: 119,
“y”: 136,
“z”: 150,
“homed”: false,
“offsetX”: 0,
“offsetY”: 0,
“offsetZ”: 0,
“toolHead”: “Extruder”,
“nozzleTemperature”: 21,
“nozzleTargetTemperature”: 0,
“heatedBedTemperature”: 23,
“heatedBedTargetTemperature”: 0,
“isFilamentOut”: false,
“workSpeed”: 1500,
“printStatus”: “Idle”,
“moduleList”: {
“enclosure”: false,
“rotaryModule”: false,
“emergencyStopButton”: false,
“airPurifier”: false
},
“ip”: “192.168.XXXXXX”,
“progress”: “0.0”,
“estimatedTime”: “0:00:00”,
“elapsedTime”: “0:00:00”,
“remainingTime”: “0:00:00”
}
2025-11-01 11:11:17,593 - INFO - Sending State…
2025-11-01 11:11:17,595 - DEBUG - Starting new HTTP connection (1): homeassistant.local:8123
2025-11-01 11:11:17,601 - DEBUG - http://homeassistant.local:8123 “POST /api/webhook/wh-snapmaker HTTP/1.1” 200 0
2025-11-01 11:11:17,602 - INFO - State sent successfully to HomeAssistant webhook.
You can use the hacs moonraker addon for snapmaker U1.
Working here for my U1.
You have to manually configure the:
- Camera Url: http:///webcam/stream.mjpg
- Snapshot URL: http:///webcam/snapshot.jpg
