I'm trying to connect to our X1E (FW; 01.00.00.11) with a Raspberry Pi and get the state of the printer to no avail. The Pi is acting as a DHCP-Server, the Printer connects to the Pi directly. I can also Ping the Printer.
Used Python Version 3.11.2, used bambulabs_api 2.6.6.
I have tried to diagnose a bit:
- Ports 990 and 8883 are Open, 6000 is not (expected --> X1)
- mqtt_start() returns 0
After looping until mqtt_client_connected() return True
- mqtt_client_ready() always return False
- turn_light_on/off always return True but doesn't actually change the state of the lights
- When calling get_state/nozzle_temp/nozzle_type etc. "Printer Values Not Available Yet" is always printed
Do you have any clue as to what I could be doing wrong / what I could be trying next?
I'm trying to connect to our X1E (FW; 01.00.00.11) with a Raspberry Pi and get the state of the printer to no avail. The Pi is acting as a DHCP-Server, the Printer connects to the Pi directly. I can also Ping the Printer.
Used Python Version 3.11.2, used bambulabs_api 2.6.6.
I have tried to diagnose a bit:
After looping until mqtt_client_connected() return True
Do you have any clue as to what I could be doing wrong / what I could be trying next?