Mileseey Lasers of the Smart Life Generation
Mileseey's newer lasers, for example the D5T, the D9 Pro, the DP20 Pro and the S50, no
longer use the simple Bluetooth protocol of the older Mileseey models. They are built to pair
with the Smart Life app, and they talk only to the app that paired them through an encrypted connection.
ImageMeter can pair with these lasers directly. No Smart Life app, no account and no internet connection are needed.
The general steps of selecting and connecting a device are the same as for every other laser,
see Connecting devices.
Which models are supported is listed under
Supported devices.
How the pairing key works
Out of the box, the laser is unpaired. The first app that connects to it pairs with it,
and from then on the laser talks only to that app using a key that is stored in the laser.
When ImageMeter pairs with the laser, it creates a new pairing key of six characters.
Write the pairing key down.
The key is the only way to reach the laser. ImageMeter keeps it for you on the device you paired
with, but you will need it to use the laser with ImageMeter on another computer or phone, or
after reinstalling the app. The laser itself cannot tell you the key, and there is no way to
unpair the laser again. You can see the key again at any time in the Bluetooth settings of
ImageMeter. Write it down in a safe place as a backup.
A laser paired with ImageMeter can still be found and added by the Smart Life app. But once you connect
it to the Smart Life app, it will take the laser over, install a new key and the laser becomes unavailable to ImageMeter until you
recover its key again (option 3 below).
Three ways to connect, depending on the laser
Which way applies depends on whether the laser has ever been added to the Smart Life app.
1. A new laser, not yet used with Smart Life
This is the easy case, and the reason to connect a new laser to ImageMeter without
ever adding it to Smart Life.
- Switch the laser on. Its Bluetooth must be enabled; most models show a Bluetooth symbol on the
display.
- In the ImageMeter settings, open the Bluetooth section and start the device scan. The laser
appears as Mileseey with its model name, for example Mileseey D5/D5T (Tuya). If
the model cannot be told from the scan, it appears as Mileseey generic (Tuya).
- If the laser only appeared as Mileseey generic you can set the Bluetooth protocol to your exact device.
- Connect by pressing the Bluetooth icon on the main screen. ImageMeter asks you to confirm that
the laser is to be paired. Confirm, and the pairing key is shown. Write it down!
- From now on, the laser connects like any other device.
2. A laser that is already in the Smart Life app
First try to release it from Smart Life, so it becomes an unpaired laser again and option 1
applies. In the Smart Life app:
- Open the laser in the app.
- Tap the pencil at the top right to open its settings.
- Scroll to the bottom and choose Remove Device. When asked, pick
Disconnect and wipe data (or Restore factory defaults if that
is offered). A plain Disconnect is not enough; it leaves the laser paired.
- Then connect the laser in ImageMeter as in option 1.
This does not work for all models. We know that at least for the Mileseey D5 and D5T it does not work.
Even though this option is offered, the firmware of these lasers ignores it, and the
laser stays paired to Smart Life no matter which removal option you pick, and a reset of the laser
does not change it either. For these two models, use option 3.
3. Recover the key from your Tuya account
If the laser cannot be released from Smart Life, it is not lost: the pairing key was created by
the Tuya cloud when Smart Life paired the laser, and you can read it back from your own Tuya
account. ImageMeter does the reading for you. In the "enter the key" dialog it offers
Look up the key from my Tuya account; you enter two values from a Tuya developer
project and the app fetches the key and fills it in.
Setting up that project is the fiddly part, but you do it only once:
- Go to iot.tuya.com and create an account. This is Tuya's
developer platform, separate from the Smart Life app login.
- Open Cloud → Development → Create Cloud Project. Give it any name,
choose the "Smart Home" development method, and the data center that matches your region.
After it is created, the project's Overview
page shows an Access ID (also called Client ID) and an
Access Secret (Client Secret). These are the two values ImageMeter asks for.
- Open the project's Devices tab, then Link App Account → Add App
Account. A QR code appears. In the Smart Life app on your phone, open the
Me tab, tap the scan icon at the top right, and scan the code. Your lasers then
belong to the project.
- Under Service API, make sure IoT Core is authorized for the
project.
With the project set up, open ImageMeter's "Look up the key" dialog, choose the same data center,
and enter the Access ID and the Access Secret. The Access Secret stays on your device and is sent
only to Tuya, never to ImageMeter. ImageMeter keeps the Access ID and data center for next time,
but not the secret.
Using the laser on a second device, or after reinstalling
When ImageMeter connects to a laser that is already paired with ImageMeter on another device, it
asks for the pairing key. Enter the key that was shown on the first device. ImageMeter checks the
key with the laser; if the laser does not accept it, the dialog asks again. You can also read the
key from the Bluetooth settings of the first device.
The same dialog appears for a laser that is paired with the Smart Life app. Since the Smart Life app
does not show you the key, you have to use the "Look up the key from my Tuya account" button, see option 3 above.