HomebridgeMagicHome-DynamicPlatform icon indicating copy to clipboard operation
HomebridgeMagicHome-DynamicPlatform copied to clipboard

[BUG] AK001-ZJ2104 Lamp

Open BenSweaterVest opened this issue 3 years ago • 12 comments

Logs

  1. Enable debug mode in Homebridge
  2. Reproduce the issue so that it appears in the logs
  3. Upload a '.txt' file of your logs to this issue. ( Logs from screenshots, in '.rtf' format, or pasted directly into the post make debugging extremely difficult. Please just upload the file. ) homebridge.log

Describe the bug

A clear and concise description of what the bug is.

Device is not working, the logs indicate:

'Unknown device version number: 'e'... unable to create accessory. Please create an issue at https://github.com/Zacknetic/HomebridgeMagicHome-DynamicPlatform/issues and upload your homebridge.log' Warning! Discovered device did not respond to query. This is usually due to an unresponsive device. Please restart homebridge. If the problem persists, ensure the device works in the "Magichome Pro" app. File an issue on github with an uploaded log. { ipAddress: '10.0.0.82', uniqueId: '70039F05D448', modelNumber: 'AK001-ZJ2104'

To Reproduce

e.g. Steps to reproduce the behavior: Issue immediately occurs and lamp is not correctly recognized

Expected behavior

A clear and concise description of what you expected to happen.

Controllable lamp

Additional context

Add any other context about the problem here.

Host Hardware

  • Hardware: Acute Angle PC
  • OS: Ubuntu
  • OS Version: Ubuntu Focal Fossa (20.04.2 LTS)

Homebridge and MagicHome

  • Homebridge / HOOBS version 1.3.3
  • Homebridge MagicHome Dynamic Platform version e.g. 1.9.2
  • Link to the MagicHome Device on the seller's website. https://www.amazon.com/gp/product/B08LNGB7Z2/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1
  • Device Name:Floor Lamp
  • Firmware Version E.V7.5.7552-A
  • Model: [AK001-ZJ2104]
  • Node.js Version | v14.16.0
  • Npm Version v7.6.0

Screenshots

If applicable, add screenshots to help explain your problem.

BenSweaterVest avatar Mar 15 '21 01:03 BenSweaterVest

I have the same issue. Can I help somehow to fix this bug?

esjani avatar Jun 16 '21 13:06 esjani

May you please do the following?

1. Update the plugin to version 1.9.4.
2. restart homebridge
3. access the "magichome dynamic platform" settings, change logging to "5 - Trace", 
4. restart homebridge
5. click the logs button
6. click the download button
7. upload that file (don't paste the text) here.

I will then look at this new light type and attempt to implement it.

Thank you

Zacknetic avatar Jul 05 '21 19:07 Zacknetic

I have an issue reporting the same device but the product is different than what the original reporter posted. It is a light strip controller.

https://www.amazon.com/gp/product/B07JB5N3Y7/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

I changed my logging level to 5 and restarted. Attached is the log that was downloaded afterward.

homebridge.log.txt

Let me know if you need anything else.

StreckerCM avatar Nov 05 '21 14:11 StreckerCM

@StreckerCM @esjani @BenSweaterVest Hello, please update to version 1.9.7 and ensure you are upgraded to node 16. This should fix your issue.

Please let me know. -z

Zacknetic avatar Nov 16 '21 23:11 Zacknetic

Just to add to this. I am having the same issue with a set of Christmas lights that identifies with a model number of AK001-ZJ2147. The error message is:

Unknown device version number: '1a'... unable to create accessory.

I have upgraded my homebridge and Node versions as suggested above. Homebridge: v1.3.6 Node: v16.13.0 Plugin: v1.9.7

Thanks

DrZoot avatar Nov 22 '21 06:11 DrZoot

Just to add to this. I am having the same issue with a set of Christmas lights that identifies with a model number of AK001-ZJ2147.

@DrZoot Can you provide a link to where you obtained the 0x1a device? Thanks 👍

bdraco avatar Nov 28 '21 07:11 bdraco

In case its helpful

The floor lamps 0x0E behave the same as the 0x35 devices https://github.com/Danielhiversen/flux_led/blob/master/flux_led/models_db.py#L190 https://github.com/Danielhiversen/flux_led/blob/master/flux_led/models_db.py#L327

bdraco avatar Nov 28 '21 07:11 bdraco

I am also experiencing the same error with the AK001-ZJ2147 christmas lights (model 0x1a). If it helps they are the "Lytworx Smart Fairy Light 300 LEDs".

I'm guessing it would be: https://github.com/Danielhiversen/flux_led/blob/master/flux_led/models_db.py#L367

Mooreman01 avatar Dec 12 '21 02:12 Mooreman01

I'm pretty sure we have the mapping wrong there in flux_led.

Can you send screenshots of all the tabs in the Magic Home Pro app?

I think we need to map it to https://github.com/Danielhiversen/flux_led/blob/master/flux_led/models_db.py#L672

bdraco avatar Dec 12 '21 02:12 bdraco

Can you send screenshots of all the tabs in the Magic Home Pro app?

https://github.com/Mooreman01/misc/blob/main/screenshots.zip

Mooreman01 avatar Dec 12 '21 03:12 Mooreman01

Thanks for that. This is a completely new model I've never seen before and we don't have in either models database.

I'll try to find one that can ship to the US so we can add support for it, but I'm not even sure what to look for.

bdraco avatar Dec 12 '21 03:12 bdraco

@bdraco Have you ever figured this out? Here is a link to the lamp that creates the errors on amazon

https://www.amazon.com/gp/product/B08LNGB7Z2/ref=ox_sc_saved_title_6?smid=A39OHOPUNM9T72&psc=1

FScaramanga avatar Jul 07 '22 19:07 FScaramanga