question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported device found: deerma.humidifier.mjjsq

See original GitHub issue

Home Assistant commit 4d314ba4df, at time of writing the most recent commit of the master branch (https://github.com/home-assistant/core/commit/4d314ba4df7f0e797be80017a5643b05765f079f). I decided to run Home Assistant locally in a dev env on my Linux box to be able to debug the device not showing up in Home Assistant on my NAS to be sure it’s not a token-related issue.

Feels weird to create this issue though because issue #40 and #43 exist which implies it should be supported?

Anyway, this is the error I got.

Logs:

2020-05-09 17:10:39 INFO (MainThread) [homeassistant.components.xiaomi_miio.fan] deerma.humidifier.mjjsq 2.0.4 esp8266 detected
2020-05-09 17:10:39 ERROR (MainThread) [homeassistant.components.xiaomi_miio.fan] Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_airpuri
fier/issues and provide the following data: deerma.humidifier.mjjsq
2020-05-09 17:10:39 INFO (MainThread) [homeassistant.setup] Setup of domain fan took 0.2 seconds.

Config:

fan:                                                                                                                              
    - platform: xiaomi_miio                                                                                                         
      host: 192.168.4.1                                                                                                             
      token: 3e249c038b4b8049bf3f810ff5560b0e                                                                                       

miiocli output:

$ miiocli device --ip 192.168.4.1 --token 3e249c038b4b8049bf3f810ff5560b0e info
Model: deerma.humidifier.mjjsq
Hardware version: esp8266
Firmware version: 2.0.4
Network: {'localIp': '192.168.4.1', 'mask': '255.255.255.0', 'gw': '192.168.4.1'}
AP: {'ssid': '', 'bssid': '00:00:00:00:00:00', 'rssi': 0, 'primary': 0}

Any way I can help debug this? I would love to get this working and thank you for all your work on this integration 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Frix-xcommented, May 10, 2020

I’ve used the “log” method:

  1. Use the last MiHome app to configure and link the device to your account
  2. Downgrade to MiHome v5.4.54 (very important, it’s the only version containing the debug log enabled)
  3. Start the app, connect to your account and wait for the app to download and initialize your plugins (and so you humidifier). Then you can close the app.
  4. Open a file explorer, go to ‘/sdcard/SmartHome/logs/Plug_Devicemanager/’ and open the file ‘current-date.txt’
  5. Find the token in the log. It should be in the Json format with other info from every devices linked to your account

This is by far the easiest method from my point of view !

1reaction
TheLastProjectcommented, May 10, 2020

I went for @Frix-x’s solution. I wasn’t aware you could do the setup on a newer Mi Home version and then downgrade to get the token. That’s a huge headache save. Thanks all of you for your help!

Got it working now, closing this issue ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xiaomi Humidifier support - Home Assistant Community
I own the same model. Just install the custom compnent via HACS and use model: deerma.humidifier.jsq at your configuration. It should work OOTB....
Read more >
Mi Smart Antibacterial Humidifier not recognized - Bindings
In my system it is discovered automatically, but with “deerma.humidifier.jsq5” Device Model and with thingTypeUID: miio:unsupported.
Read more >
Xiaomi deerma humidifier manual - Weebly
This binding is used to control Xiaomi products implementing the Mi IO protocol. This protocol is used for most of Xiaomi Mi Ecosystem...
Read more >
miio.integrations.humidifier.deerma.airhumidifier_mjjsq
getLogger(__name__) MODEL_HUMIDIFIER_MJJSQ = "deerma.humidifier.mjjsq" MODEL_HUMIDIFIER_JSQ ... Not supported by the device, so we return none here.
Read more >
homebridge-mi-humidifier - npm package - Snyk
Device ; model, One of: - zhimi.humidifier.v1 - zhimi.humidifier.ca1 - zhimi.humidifier.cb1 - zhimi.humidifier.ca4 - deerma.humidifier.mjjsq - deerma.humidifier.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found