Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support New Realtime Protocol #5

Open
MizterB opened this issue Dec 11, 2020 · 4 comments
Open

Support New Realtime Protocol #5

MizterB opened this issue Dec 11, 2020 · 4 comments

Comments

@MizterB
Copy link
Contributor

MizterB commented Dec 11, 2020

As mentioned here, it looks like the realtime protocol has either changed in a recent firmware update, or is different for devices that have > 255 lights. As I only have a 750 light Gen 2 device, I cannot confirm which.

However, I have confirmed that the protocol changes that I observed are correct for my device, and I am able to control it with the new format.

I can share the code, but it would be good if someone with an older (or smaller) device would be able to confirm if the original realtime protocol still works. This would inform whether it is best to update the current 'send_frame' or create a second variant.

@jschlyter
Copy link
Owner

I you provide some examples I can test, I have both the old 105 RGB, new 150 and 250 RGB as well as new 250 AWW. As noted in #1 it would be useful to test with non 3-byte LEDs as well, but I don't have any (yet).

@eNcacz
Copy link

eNcacz commented Dec 27, 2020

I have 175 RGB. I tested both formats and I can confirm, that the old format (send_frame) works for me but the new format (send_frame_2) does not.
Some information about my device:

{
  "product_name": "Twinkly",
  "product_version": "16",
  "hardware_version": "9",
  "flash_size": 16,
  "led_type": 6,
  "led_version": "1",
  "product_code": "TW175SEUP09",
  "max_supported_led": 255,
  "base_leds_number": 175,
  "number_of_led": 175,
  "led_profile": "RGB",
  "frame_rate": 25,
  "movie_capacity": 719,
  "copyright": "LEDWORKS 2017",
  "fw_version": "2.3.5"
}

@jschlyter
Copy link
Owner

jschlyter commented Dec 27, 2020

Is it the only the older generations (2017 IIRC) that doesn't grok the v2 format? My 105 RGB has hardware_version==7and my newer generations has hardware_version==100.

@MizterB
Copy link
Contributor Author

MizterB commented Dec 28, 2020

Here are my stats, where the _2 protocol is the only one that works. Firmware is 2.5.9

{'bytes_per_led': 3,
 'code': 1000,
 'copyright': 'LEDWORKS 2018',
 'device_name': 'REDACTED',
 'flash_size': 64,
 'frame_rate': 12,
 'fw_family': 'L',
 'hardware_version': '200',
 'hw_id': 'REDACTED',
 'led_profile': 'RGB',
 'led_type': 14,
 'mac': 'REDACTED',
 'max_supported_led': 1200,
 'measured_frame_rate': 13.16,
 'movie_capacity': 992,
 'number_of_led': 750,
 'product_code': 'PGT750STP',
 'product_name': 'Twinkly',
 'uptime': '1356747191',
 'uuid': 'REDACTED',
 'wire_type': 0}

@jschlyter, it was not clear from your comments. Which versions work across your various devices?

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

No branches or pull requests

3 participants