Skip to content

Add support Xiaomi Label printer (xiaomi.printer.label)#1654

Open
qjrxsoft02 wants to merge 2 commits into
AlexxIT:masterfrom
qjrxsoft02:patch-5
Open

Add support Xiaomi Label printer (xiaomi.printer.label)#1654
qjrxsoft02 wants to merge 2 commits into
AlexxIT:masterfrom
qjrxsoft02:patch-5

Conversation

@qjrxsoft02

Copy link
Copy Markdown
Contributor

This code defines a device driver configuration that: Standardizes state data for Xiaomi Label Printers (errors, battery, paper status). Converts low-level hardware register values into user-friendly semantic states (e.g., working, overheat). Provides device integration specifications for Home Assistant , enabling status monitoring and automation control.

This code defines a device driver configuration that:
Standardizes state data for Xiaomi Label Printers (errors, battery, paper status).
Converts low-level hardware register values into user-friendly semantic states (e.g., working, overheat).
Provides device integration specifications for Home Assistant , enabling status monitoring and automation control.
@AlexxIT

AlexxIT commented Sep 8, 2025

Copy link
Copy Markdown
Owner

I don't understand why you converting binary_sensor to string.

@qjrxsoft02

Copy link
Copy Markdown
Contributor Author

I don't understand why you converting binary_sensor to string.

Apologies, I overlooked that the Xiaomi label printer doesn't work within the Xiaomi Gateway 3 integration—it connects to the phone app via BLE. The code I submitted was because an unknown device with ID 13566 kept appearing in the Xiaomi Gateway 3 integration, making troubleshooting inconvenient. Therefore, I didn't strictly review the code beforehand. Sincerely apologize for this. I will promptly modify the code to ensure it fully complies with the Xiaomi Gateway 3 requirements.

…ing in the Xiaomi Gateway 3 integration.

Fix the following issues recorded in AlexxIT#1654 for proper functioning in the Xiaomi Gateway 3 integration.
@AlexxIT

AlexxIT commented Sep 9, 2025

Copy link
Copy Markdown
Owner

I didn't understand. Does the device work with the gateway? Or does it only work with the phone?

@qjrxsoft02

qjrxsoft02 commented Sep 10, 2025

Copy link
Copy Markdown
Contributor Author

I didn't understand. Does the device work with the gateway? Or does it only work with the phone?

Yes, the Xiaomi Label Printer can only be used via BLE connectivity with the Mi Home app and cannot be used independently without a phone. Due to the integration mechanism of the Xiaomi Gateway 3, most devices connected to the Mi Home app via BLE will be synced with the Xiaomi Gateway 3 integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants