-
Notifications
You must be signed in to change notification settings - Fork 5
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
Sample Data? #2
Comments
Sure D8a
if you would be willing to share the raw JSON output of stuff like the Info/discovery commands
did you see that https://xled-docs.readthedocs.io/en/latest/index.html
(which is the only source of documentation) has the json responses for many of the commands.
e.g.
Response from firmware family "G":
HTTP/1.1 200 OK
Server: esp-httpd/0.5
Transfer-Encoding: chunked
Content-Type: application/json
{"product_name":"Twinkly","hardware_version":"100","bytes_per_led":4,"hw_id":"1cc190","flash_size":64,"led_type":12,"product_code":"TWI190SPP","fw_family":"G","device_name":"Twinkly_1CC190","uptime":"8107194","mac":"98:f4:ab:1c:c1:90","uuid":"E103C5A3-3398-4B77-AE1A-9D8998A5EB62","max_supported_led":1200,"number_of_led":190,"led_profile":"RGBW","frame_rate":28.57,"movie_capacity":992,"wire_type":4,"copyright":"LEDWORKS 2018","code":1000}
I only have a couple of models myself.
I guess let me know the specific commands you would like to see specific responses for.
here is some Json lying around from a Gestault command in nightingale (http://192.168.0.103/xled/v1/gestalt)
which should be similar to the docs example
{
"product_name": "Twinkly",
"hardware_version": "100",
"bytes_per_led": 4,
"hw_id": "a7d40c",
"flash_size": 64,
"led_type": 12,
"product_code": "TWI190SPP",
"fw_family": "G",
"device_name": "Twinkly_A7D40D",
"uptime": "6093305",
"mac": "10:52:1c:a7:d4:0d",
"uuid": "6BF5D102-AFA4-4651-ADC2-F744D5079540",
"max_supported_led": 510,
"number_of_led": 190,
"led_profile": "RGBW",
"frame_rate": 24.45,
"measured_frame_rate": 29.41,
"movie_capacity": 5285,
"max_movies": 55,
"wire_type": 4,
"copyright": "LEDWORKS 2021",
"code": 1000
}
- Mark
From: d8ahazard ***@***.***>
Sent: Sunday, February 25, 2024 1:45 PM
To: MarkAlanJones/TwinklyWPF ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [MarkAlanJones/TwinklyWPF] Sample Data? (Issue #2)
Hey there!
I'm the developer of a project called "Glimmr", which allow synchronized control of various home lighting devices.
Presently, I have support for Hue, Lifx, Nanoleaf, WLED, OpenRGB, and a few other devices, and I want to add Twinkly to that list.
The issue I have is - I don't actually own a Twinkly device at the moment. So, doing things like translating the 3d position of a bunch of LEDs to a 2D representation can only be taken so far.
I plan on getting a Matrix sooner than later, but until then, I was curious if you would be willing to share the raw JSON output of stuff like the Info/discovery commands, so that way I can write a basic emulator to test discovery and setup, as well as the UI I want to make for the 3D/Matrix visualizer.
Great work on this too, btw. Extending my existing code to work with your library was a snap. Now I just need to do some testing with actual data. ;)
-
Reply to this email directly, view it on GitHub<#2>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APNTYA2KVGU7YAJQZMET7T3YVOBEHAVCNFSM6AAAAABDZCKAQGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TEOBZGA2TMMI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Hi @MarkAlanJones - Thanks for the reply! Specifically, I'm looking for layout data for any "3d" devices you have. I think maybe just the Xmas tree, or the Matrix/curtain style devices? |
Ok lets, start with this one, it is connected
it looks like this in twinkly app ... which I assume you get if you decode the 3d points correctly
I am interested if there are any tricks to it, also how you plan to display it.
I'll send some others later , if they get plugged in.
***@***.***
http://192.168.0.104/xled/v1/led/layout/full
{
"source": "3d",
"synthesized": false,
"uuid": "C2D27339-3F7F-EF15-15F2-4EDEA7336D2C",
"coordinates": [
{
"x": -0.599243,
"y": 0.0,
"z": 0.431641
},
{
"x": -0.599243,
"y": 0.0,
"z": 0.431641
},
{
"x": -0.599243,
"y": 0.0,
"z": 0.431641
},
{
"x": -0.599243,
"y": 0.0,
"z": 0.431641
},
{
"x": -0.599243,
"y": 0.0,
"z": 0.431641
},
{
"x": -0.599243,
"y": 0.0,
"z": 0.431641
},
{
"x": -0.71167,
"y": 0.035828,
"z": 0.575073
},
{
"x": -0.645264,
"y": 0.067383,
"z": 0.559204
},
{
"x": -0.509155,
"y": 0.106812,
"z": 0.726074
},
{
"x": -0.516846,
"y": 0.092407,
"z": 0.723022
},
{
"x": -0.524414,
"y": 0.078003,
"z": 0.719849
},
{
"x": -0.443237,
"y": 0.066528,
"z": 0.673828
},
{
"x": -0.362183,
"y": 0.055115,
"z": 0.627808
},
{
"x": -0.662476,
"y": 0.107544,
"z": 0.651978
},
{
"x": -0.371338,
"y": 0.065186,
"z": 0.724731
},
{
"x": -0.608521,
"y": 0.083557,
"z": 0.706665
},
{
"x": -0.474365,
"y": 0.067444,
"z": 0.74707
},
{
"x": -0.358398,
"y": 0.067383,
"z": 0.794434
},
{
"x": -0.34082,
"y": 0.01416,
"z": 0.520508
},
{
"x": -0.445923,
"y": 0.082092,
"z": 0.798096
},
{
"x": -0.418701,
"y": 0.097229,
"z": 0.706543
},
{
"x": -0.283813,
"y": 0.069214,
"z": 0.824219
},
{
"x": -0.402344,
"y": 0.119629,
"z": 0.756104
},
{
"x": -0.135986,
"y": 0.098572,
"z": 0.769531
},
{
"x": -0.184937,
"y": 0.124329,
"z": 0.764282
},
{
"x": -0.233887,
"y": 0.150085,
"z": 0.759033
},
{
"x": -0.128296,
"y": 0.08606,
"z": 0.765747
},
{
"x": -0.071167,
"y": 0.107178,
"z": 0.82251
},
{
"x": -0.014038,
"y": 0.128296,
"z": 0.87915
},
{
"x": -0.05603,
"y": 0.106873,
"z": 0.762451
},
{
"x": 0.011963,
"y": 0.090515,
"z": 0.796997
},
{
"x": 0.279785,
"y": 0.07019,
"z": 0.804565
},
{
"x": 0.061035,
"y": 0.050903,
"z": 0.706543
},
{
"x": 0.14563,
"y": 0.132874,
"z": 0.847778
},
{
"x": 0.251831,
"y": 0.115356,
"z": 0.86499
},
{
"x": 0.199341,
"y": 0.074463,
"z": 0.93811
},
{
"x": 0.324463,
"y": 0.109741,
"z": 0.890869
},
{
"x": 0.122559,
"y": 0.135925,
"z": 0.982788
},
{
"x": 0.342529,
"y": 0.116211,
"z": 0.880127
},
{
"x": 0.234131,
"y": 0.090454,
"z": 0.887451
},
{
"x": 0.335815,
"y": 0.087463,
"z": 0.896118
},
{
"x": 0.351562,
"y": 0.095459,
"z": 0.864258
},
{
"x": 0.254272,
"y": 0.147278,
"z": 0.803833
},
{
"x": 0.253296,
"y": 0.143066,
"z": 0.845093
},
{
"x": 0.252319,
"y": 0.138855,
"z": 0.886353
},
{
"x": 0.251343,
"y": 0.134583,
"z": 0.927734
},
{
"x": 0.367188,
"y": 0.142944,
"z": 1.0
},
{
"x": 0.263794,
"y": 0.195374,
"z": 0.893066
},
{
"x": 0.553955,
"y": 0.174438,
"z": 0.964478
},
{
"x": 0.28772,
"y": 0.148621,
"z": 0.740601
},
{
"x": 0.458496,
"y": 0.196899,
"z": 0.901489
},
{
"x": 0.361816,
"y": 0.117859,
"z": 0.571167
},
{
"x": 0.526245,
"y": 0.173767,
"z": 0.681641
},
{
"x": 0.480713,
"y": 0.190186,
"z": 0.785767
},
{
"x": 0.435181,
"y": 0.206665,
"z": 0.889893
},
{
"x": 0.463013,
"y": 0.209167,
"z": 0.86853
},
{
"x": 0.490967,
"y": 0.21167,
"z": 0.847046
},
{
"x": 0.435425,
"y": 0.211914,
"z": 0.75647
},
{
"x": 0.73584,
"y": 0.21344,
"z": 0.862793
},
{
"x": 0.69458,
"y": 0.173828,
"z": 0.758545
},
{
"x": 0.65332,
"y": 0.134155,
"z": 0.654175
},
{
"x": 0.643677,
"y": 0.233643,
"z": 0.790771
},
{
"x": 0.730469,
"y": 0.217834,
"z": 0.747925
},
{
"x": 0.817261,
"y": 0.202026,
"z": 0.7052
},
{
"x": 0.904053,
"y": 0.186218,
"z": 0.662476
},
{
"x": 0.875366,
"y": 0.128052,
"z": 0.518188
},
{
"x": 0.84668,
"y": 0.069885,
"z": 0.373779
},
{
"x": 0.841431,
"y": 0.106934,
"z": 0.553345
},
{
"x": 0.836182,
"y": 0.144043,
"z": 0.733032
},
{
"x": 1.0,
"y": 0.180603,
"z": 0.671509
},
{
"x": 0.975586,
"y": 0.14624,
"z": 0.695068
},
{
"x": 0.934082,
"y": 0.119568,
"z": 0.348633
},
{
"x": 0.913818,
"y": 0.147339,
"z": 0.502075
},
{
"x": 0.758789,
"y": 0.197205,
"z": 0.53125
},
{
"x": 0.823975,
"y": 0.187256,
"z": 0.490356
},
{
"x": 0.889038,
"y": 0.177368,
"z": 0.449585
},
{
"x": 0.726929,
"y": 0.186218,
"z": 0.448608
},
{
"x": 0.975342,
"y": 0.187988,
"z": 0.553223
},
{
"x": 0.909546,
"y": 0.171143,
"z": 0.402466
},
{
"x": 0.734619,
"y": 0.1922,
"z": 0.385376
},
{
"x": 0.877075,
"y": 0.195801,
"z": 0.502563
},
{
"x": 0.873413,
"y": 0.19397,
"z": 0.444214
},
{
"x": 0.869751,
"y": 0.192078,
"z": 0.385986
},
{
"x": 0.866089,
"y": 0.190247,
"z": 0.327637
},
{
"x": 0.820801,
"y": 0.187073,
"z": 0.342407
},
{
"x": 0.775513,
"y": 0.183838,
"z": 0.357178
},
{
"x": 0.730347,
"y": 0.180603,
"z": 0.371948
},
{
"x": 0.77356,
"y": 0.185181,
"z": 0.362915
},
{
"x": 0.816895,
"y": 0.189758,
"z": 0.353882
},
{
"x": 0.860229,
"y": 0.194336,
"z": 0.344727
},
{
"x": 0.816895,
"y": 0.176086,
"z": 0.282349
},
{
"x": 0.843628,
"y": 0.210083,
"z": 0.275757
},
{
"x": 0.839233,
"y": 0.198364,
"z": 0.177002
},
{
"x": 0.622803,
"y": 0.214661,
"z": 0.128784
},
{
"x": 0.833984,
"y": 0.221191,
"z": 0.195068
},
{
"x": 0.799683,
"y": 0.223755,
"z": 0.105225
},
{
"x": 0.697998,
"y": 0.187134,
"z": 0.141968
},
{
"x": 0.651001,
"y": 0.253784,
"z": 0.202271
},
{
"x": 0.761963,
"y": 0.21106,
"z": 0.160767
},
{
"x": 0.46106,
"y": 0.221191,
"z": 0.06958
},
{
"x": 0.626465,
"y": 0.233643,
"z": -0.004517
},
{
"x": 0.673828,
"y": 0.216797,
"z": 0.053467
},
{
"x": 0.633545,
"y": 0.25946,
"z": 0.086304
},
{
"x": 0.4646,
"y": 0.264771,
"z": 0.035034
},
{
"x": 0.567383,
"y": 0.234802,
"z": 0.136597
},
{
"x": 0.46167,
"y": 0.268066,
"z": -0.019287
},
{
"x": 0.425781,
"y": 0.246094,
"z": -0.025146
},
{
"x": 0.389893,
"y": 0.22406,
"z": -0.031006
},
{
"x": 0.329468,
"y": 0.251831,
"z": 0.066406
},
{
"x": 0.268188,
"y": 0.256287,
"z": 0.023682
},
{
"x": 0.206787,
"y": 0.260681,
"z": -0.019165
},
{
"x": 0.393555,
"y": 0.271179,
"z": 0.008789
},
{
"x": 0.357056,
"y": 0.270264,
"z": -0.016846
},
{
"x": 0.320435,
"y": 0.269287,
"z": -0.04248
},
{
"x": 0.25647,
"y": 0.273743,
"z": 0.079224
},
{
"x": 0.233276,
"y": 0.26178,
"z": 0.047974
},
{
"x": 0.209961,
"y": 0.249817,
"z": 0.016602
},
{
"x": 0.241211,
"y": 0.229736,
"z": -0.052612
},
{
"x": -0.056396,
"y": 0.2453,
"z": 0.056641
},
{
"x": 1.4198,
"y": 0.240356,
"z": 0.041382
},
{
"x": 0.056152,
"y": 0.235413,
"z": 0.026123
},
{
"x": 0.01709,
"y": 0.230286,
"z": 0.06189
},
{
"x": -0.021851,
"y": 0.225159,
"z": 0.097656
},
{
"x": -0.146973,
"y": 0.233948,
"z": -0.023315
},
{
"x": -0.01123,
"y": 0.246826,
"z": 0.042847
},
{
"x": -0.027832,
"y": 0.231812,
"z": -0.003784
},
{
"x": -0.044556,
"y": 0.216736,
"z": -0.050293
},
{
"x": -0.039185,
"y": 0.225098,
"z": 0.053345
},
{
"x": -0.213745,
"y": 0.21405,
"z": 0.135376
},
{
"x": -0.195435,
"y": 0.236938,
"z": 0.126099
},
{
"x": -0.170044,
"y": 0.200317,
"z": 0.166626
},
{
"x": -0.09436,
"y": 0.257141,
"z": 0.228882
},
{
"x": -0.052124,
"y": 0.241699,
"z": 0.178467
},
{
"x": -0.230835,
"y": 0.215027,
"z": 0.258545
},
{
"x": -0.112915,
"y": 0.247009,
"z": 0.285278
},
{
"x": -0.137939,
"y": 0.249756,
"z": 0.290649
},
{
"x": -0.162842,
"y": 0.252441,
"z": 0.296021
},
{
"x": -0.233154,
"y": 0.264648,
"z": 0.321655
},
{
"x": -0.303467,
"y": 0.276855,
"z": 0.34729
},
{
"x": -0.345825,
"y": 0.253662,
"z": 0.380981
},
{
"x": -0.388062,
"y": 0.230408,
"z": 0.414673
},
{
"x": -0.343628,
"y": 0.244751,
"z": 0.424561
},
{
"x": -0.299194,
"y": 0.259094,
"z": 0.434448
},
{
"x": -0.227173,
"y": 0.267822,
"z": 0.430786
},
{
"x": -0.155273,
"y": 0.27655,
"z": 0.427246
},
{
"x": -0.083252,
"y": 0.285278,
"z": 0.423584
},
{
"x": -0.01123,
"y": 0.294006,
"z": 0.420044
},
{
"x": -0.109863,
"y": 0.306763,
"z": 0.389404
},
{
"x": -0.208496,
"y": 0.319519,
"z": 0.358643
},
{
"x": -0.307129,
"y": 0.332275,
"z": 0.328003
},
{
"x": -0.405762,
"y": 0.345032,
"z": 0.297363
},
{
"x": -0.326904,
"y": 0.342468,
"z": 0.321045
},
{
"x": -0.248169,
"y": 0.339844,
"z": 0.344849
},
{
"x": -0.327148,
"y": 0.337952,
"z": 0.385986
},
{
"x": -0.067505,
"y": 0.307373,
"z": 0.451538
},
{
"x": -0.039062,
"y": 0.312012,
"z": 0.447632
},
{
"x": -0.01062,
"y": 0.316589,
"z": 0.443726
},
{
"x": 0.0177,
"y": 0.321228,
"z": 0.439941
},
{
"x": -0.089478,
"y": 0.323547,
"z": 0.501587
},
{
"x": -0.196533,
"y": 0.325867,
"z": 0.563354
},
{
"x": -0.303711,
"y": 0.328186,
"z": 0.625122
},
{
"x": -0.322876,
"y": 0.314758,
"z": 0.629639
},
{
"x": -0.341919,
"y": 0.301331,
"z": 0.634155
},
{
"x": -0.21228,
"y": 0.373901,
"z": 0.559814
},
{
"x": -0.328613,
"y": 0.347961,
"z": 0.543457
},
{
"x": -0.263794,
"y": 0.373901,
"z": 0.530762
},
{
"x": -0.253052,
"y": 0.355774,
"z": 0.606567
},
{
"x": -0.24231,
"y": 0.337708,
"z": 0.682251
},
{
"x": -0.258789,
"y": 0.365967,
"z": 0.614746
},
{
"x": -0.237671,
"y": 0.356812,
"z": 0.698242
},
{
"x": -0.039429,
"y": 0.327698,
"z": 0.755005
},
{
"x": -0.176147,
"y": 0.350342,
"z": 0.751465
},
{
"x": -0.11792,
"y": 0.368042,
"z": 0.656128
},
{
"x": -0.070068,
"y": 0.319885,
"z": 0.724121
},
{
"x": -0.001099,
"y": 0.277527,
"z": 0.293213
},
{
"x": 0.067871,
"y": 0.235168,
"z": -0.137695
},
{
"x": 0.11145,
"y": 0.39679,
"z": 0.831665
},
{
"x": 0.227051,
"y": 0.363953,
"z": 0.692749
},
{
"x": 0.248657,
"y": 0.354797,
"z": 0.675171
},
{
"x": 0.270264,
"y": 0.345642,
"z": 0.657593
},
{
"x": 0.29187,
"y": 0.336487,
"z": 0.640015
},
{
"x": 0.236938,
"y": 0.3302,
"z": 0.769653
},
{
"x": 0.346313,
"y": 0.322266,
"z": 0.7229
},
{
"x": 0.332275,
"y": 0.343567,
"z": 0.425293
},
{
"x": 0.39563,
"y": 0.336792,
"z": 0.655396
},
{
"x": 0.388062,
"y": 0.342285,
"z": 0.678101
},
{
"x": -0.128418,
"y": 0.265381,
"z": 0.607788
},
{
"x": 0.472046,
"y": 0.325745,
"z": 0.641602
},
{
"x": 0.405884,
"y": 0.286316,
"z": 0.576904
},
{
"x": 0.319458,
"y": 0.308411,
"z": 0.570312
},
{
"x": 0.422241,
"y": 0.301147,
"z": 0.523071
},
{
"x": 0.3573,
"y": 0.350708,
"z": 0.502319
},
{
"x": 0.527832,
"y": 0.353149,
"z": 0.574707
},
{
"x": 0.595459,
"y": 0.360901,
"z": 0.555908
},
{
"x": 0.522583,
"y": 0.368469,
"z": 0.531738
},
{
"x": 0.544189,
"y": 0.350037,
"z": 0.517822
},
{
"x": 0.362183,
"y": 0.334656,
"z": 0.565796
},
{
"x": 0.513062,
"y": 0.374084,
"z": 0.499634
},
{
"x": 0.289673,
"y": 0.312134,
"z": 0.132568
},
{
"x": 0.423706,
"y": 0.380798,
"z": 0.562866
},
{
"x": 0.209717,
"y": 0.421265,
"z": 0.62207
},
{
"x": 0.317383,
"y": 0.412292,
"z": 0.565186
},
{
"x": 0.425171,
"y": 0.40332,
"z": 0.508179
},
{
"x": 0.426392,
"y": 0.404785,
"z": 0.489502
},
{
"x": 0.380371,
"y": 0.452087,
"z": 0.469604
},
{
"x": 0.353394,
"y": 0.417053,
"z": 0.430664
},
{
"x": 0.326538,
"y": 0.381958,
"z": 0.391846
},
{
"x": 0.383545,
"y": 0.448425,
"z": 0.511597
},
{
"x": 0.525879,
"y": 0.391541,
"z": 0.378296
},
{
"x": 0.587769,
"y": 0.41333,
"z": 0.406494
},
{
"x": 0.451294,
"y": 0.40863,
"z": 0.545288
},
{
"x": 0.437378,
"y": 0.401367,
"z": 0.347168
},
{
"x": 0.511719,
"y": 0.374695,
"z": 0.393921
},
{
"x": 0.501221,
"y": 0.42334,
"z": 0.411987
},
{
"x": 0.493896,
"y": 0.379028,
"z": 0.369507
},
{
"x": 0.512817,
"y": 0.37384,
"z": 0.320679
},
{
"x": 0.469727,
"y": 0.402405,
"z": 0.392944
},
{
"x": 0.482178,
"y": 0.358643,
"z": 0.304688
},
{
"x": 0.347778,
"y": 0.389099,
"z": 0.215454
},
{
"x": 0.445435,
"y": 0.386108,
"z": 0.26355
},
{
"x": 0.543091,
"y": 0.383057,
"z": 0.311646
},
{
"x": 0.487793,
"y": 0.36145,
"z": 0.218506
},
{
"x": 0.302368,
"y": 0.365173,
"z": 0.155029
},
{
"x": 0.351929,
"y": 0.359131,
"z": 0.174561
},
{
"x": 0.27356,
"y": 0.402771,
"z": 0.091797
},
{
"x": 0.21936,
"y": 0.39563,
"z": 0.143677
},
{
"x": 0.165283,
"y": 0.388489,
"z": 0.195557
},
{
"x": 0.111084,
"y": 0.381348,
"z": 0.247559
},
{
"x": 0.326294,
"y": 0.415894,
"z": 0.133667
},
{
"x": 0.30481,
"y": 0.43219,
"z": 0.157715
},
{
"x": 0.09436,
"y": 0.393188,
"z": 0.136108
},
{
"x": 0.142456,
"y": 0.385864,
"z": 0.118652
},
{
"x": -0.428833,
"y": 0.386719,
"z": 0.388916
},
{
"x": -1.0,
"y": 0.387634,
"z": 0.659302
},
{
"x": -0.077637,
"y": 0.403381,
"z": 0.240845
},
{
"x": -0.058838,
"y": 0.44635,
"z": 0.131592
},
{
"x": -0.019531,
"y": 0.428284,
"z": 0.14209
},
{
"x": -0.034302,
"y": 0.434631,
"z": 0.147217
},
{
"x": -0.049072,
"y": 0.440918,
"z": 0.152222
},
{
"x": -0.063843,
"y": 0.447266,
"z": 0.157227
},
{
"x": 0.061646,
"y": 0.483032,
"z": 0.113647
},
{
"x": 0.170044,
"y": 0.491577,
"z": 0.26355
},
{
"x": -0.106201,
"y": 0.50354,
"z": 0.125244
},
{
"x": -0.082275,
"y": 0.474731,
"z": 0.180176
},
{
"x": -0.070068,
"y": 0.499756,
"z": 0.082764
},
{
"x": 0.035767,
"y": 0.497742,
"z": 0.155884
},
{
"x": -0.110229,
"y": 0.508667,
"z": 0.157471
},
{
"x": -0.256226,
"y": 0.519592,
"z": 0.15918
},
{
"x": -0.06189,
"y": 0.522278,
"z": 0.214233
},
{
"x": -0.195068,
"y": 0.514038,
"z": 0.06311
},
{
"x": -0.211426,
"y": 0.528992,
"z": 0.172729
},
{
"x": -0.227783,
"y": 0.543945,
"z": 0.282349
},
{
"x": -0.247559,
"y": 0.523499,
"z": 0.141846
},
{
"x": -0.225098,
"y": 0.558289,
"z": 0.248779
},
{
"x": -0.414917,
"y": 0.552002,
"z": 0.294434
},
{
"x": -0.420532,
"y": 0.542908,
"z": 0.303589
},
{
"x": -0.426025,
"y": 0.533752,
"z": 0.312744
},
{
"x": -0.431519,
"y": 0.524658,
"z": 0.321899
},
{
"x": -0.496338,
"y": 0.548584,
"z": 0.369263
},
{
"x": -0.561279,
"y": 0.572449,
"z": 0.416504
},
{
"x": -0.459229,
"y": 0.535889,
"z": 0.380249
},
{
"x": -0.3573,
"y": 0.499329,
"z": 0.343994
},
{
"x": -0.47583,
"y": 0.535461,
"z": 0.477539
},
{
"x": -0.516602,
"y": 0.576477,
"z": 0.458862
},
{
"x": -0.488037,
"y": 0.566589,
"z": 0.491577
},
{
"x": -0.459351,
"y": 0.556641,
"z": 0.524292
},
{
"x": -0.430786,
"y": 0.546753,
"z": 0.557129
},
{
"x": -0.4021,
"y": 0.536804,
"z": 0.589844
},
{
"x": -0.373535,
"y": 0.526855,
"z": 0.622559
},
{
"x": -0.325073,
"y": 0.533569,
"z": 0.627441
},
{
"x": -0.491455,
"y": 0.563477,
"z": 0.569336
},
{
"x": -0.180908,
"y": 0.516113,
"z": 0.592651
},
{
"x": -0.181519,
"y": 0.539917,
"z": 0.687256
},
{
"x": -0.36731,
"y": 0.581604,
"z": 0.643677
},
{
"x": -0.282104,
"y": 0.56012,
"z": 0.566528
},
{
"x": -0.208862,
"y": 0.567261,
"z": 0.714478
},
{
"x": -0.221313,
"y": 0.577759,
"z": 0.548706
},
{
"x": -0.233887,
"y": 0.588318,
"z": 0.382935
},
{
"x": -0.149292,
"y": 0.547058,
"z": 0.588501
},
{
"x": 0.009766,
"y": 0.59967,
"z": 0.686768
},
{
"x": -0.152588,
"y": 0.591125,
"z": 0.543701
},
{
"x": -0.084229,
"y": 0.586304,
"z": 0.607544
},
{
"x": 0.126465,
"y": 0.59375,
"z": 0.654175
},
{
"x": 0.011597,
"y": 0.551392,
"z": 0.585693
},
{
"x": 0.083618,
"y": 0.601257,
"z": 0.635498
},
{
"x": 0.135986,
"y": 0.593689,
"z": 0.650513
},
{
"x": 0.188354,
"y": 0.586121,
"z": 0.665405
},
{
"x": 0.240723,
"y": 0.578552,
"z": 0.68042
},
{
"x": 0.25647,
"y": 0.584961,
"z": 0.664307
},
{
"x": 0.272339,
"y": 0.59137,
"z": 0.648071
},
{
"x": 0.288086,
"y": 0.597717,
"z": 0.631958
},
{
"x": 0.162842,
"y": 0.64325,
"z": 0.528931
},
{
"x": 0.151123,
"y": 0.632568,
"z": 0.555054
},
{
"x": 0.139404,
"y": 0.621887,
"z": 0.581055
},
{
"x": 0.239868,
"y": 0.615967,
"z": 0.485352
},
{
"x": 0.349854,
"y": 0.654114,
"z": 0.677856
},
{
"x": 0.315552,
"y": 0.648743,
"z": 0.572388
},
{
"x": 0.387329,
"y": 0.608765,
"z": 0.69104
},
{
"x": 0.444458,
"y": 0.63324,
"z": 0.690552
},
{
"x": 0.429565,
"y": 0.602417,
"z": 0.608521
},
{
"x": 0.308716,
"y": 0.617371,
"z": 0.499268
},
{
"x": 0.57312,
"y": 0.579407,
"z": 0.598022
},
{
"x": 0.558105,
"y": 0.602661,
"z": 0.483765
},
{
"x": 0.490601,
"y": 0.625793,
"z": 0.435669
},
{
"x": 0.422974,
"y": 0.648865,
"z": 0.387695
},
{
"x": 0.518677,
"y": 0.608093,
"z": 0.474609
},
{
"x": 0.636719,
"y": 0.646851,
"z": 0.368652
},
{
"x": 0.666626,
"y": 0.622314,
"z": 0.385376
},
{
"x": 0.445923,
"y": 0.629333,
"z": 0.32251
},
{
"x": 0.487305,
"y": 0.640503,
"z": 0.249268
},
{
"x": 0.521851,
"y": 0.64447,
"z": 0.221802
},
{
"x": 0.556396,
"y": 0.648499,
"z": 0.194214
},
{
"x": 0.443359,
"y": 0.682678,
"z": 0.317749
},
{
"x": 0.593384,
"y": 0.674377,
"z": 0.280396
},
{
"x": 0.538086,
"y": 0.704407,
"z": 0.234985
},
{
"x": 0.582397,
"y": 0.678711,
"z": 0.188721
},
{
"x": 0.519287,
"y": 0.674377,
"z": 0.162109
},
{
"x": 0.456177,
"y": 0.670044,
"z": 0.135498
},
{
"x": 0.393188,
"y": 0.66571,
"z": 0.108887
},
{
"x": 0.373535,
"y": 0.687256,
"z": 0.117554
},
{
"x": 0.353882,
"y": 0.708801,
"z": 0.126099
},
{
"x": 0.307129,
"y": 0.688171,
"z": 0.129028
},
{
"x": 0.219971,
"y": 0.684998,
"z": 0.141479
},
{
"x": 0.132812,
"y": 0.681885,
"z": 0.154053
},
{
"x": 0.316406,
"y": 0.754639,
"z": 0.065674
},
{
"x": 0.204224,
"y": 0.754883,
"z": 0.03186
},
{
"x": 0.193481,
"y": 0.721924,
"z": 0.073975
},
{
"x": 0.233154,
"y": 0.744568,
"z": 0.203491
},
{
"x": 0.118164,
"y": 0.763672,
"z": 0.231689
},
{
"x": 0.056519,
"y": 0.724854,
"z": 0.107788
},
{
"x": -0.063599,
"y": 0.73407,
"z": 0.138062
},
{
"x": -0.288574,
"y": 0.762756,
"z": 0.052124
},
{
"x": -0.083862,
"y": 0.752319,
"z": 0.056396
},
{
"x": -0.134888,
"y": 0.763062,
"z": 0.109009
},
{
"x": -0.186035,
"y": 0.773804,
"z": 0.161621
},
{
"x": -0.237061,
"y": 0.784546,
"z": 0.214233
},
{
"x": -0.252563,
"y": 0.776855,
"z": 0.210327
},
{
"x": -0.268066,
"y": 0.769226,
"z": 0.206543
},
{
"x": -0.283569,
"y": 0.761536,
"z": 0.202759
},
{
"x": -0.167969,
"y": 0.793213,
"z": 0.291016
},
{
"x": -0.142822,
"y": 0.73175,
"z": 0.779541
},
{
"x": -0.323975,
"y": 0.749268,
"z": 0.532959
},
{
"x": -0.505249,
"y": 0.766785,
"z": 0.286499
},
{
"x": -0.467896,
"y": 0.760559,
"z": 0.346191
},
{
"x": -0.430664,
"y": 0.754333,
"z": 0.405884
},
{
"x": -0.393311,
"y": 0.748108,
"z": 0.465576
},
{
"x": -0.356079,
"y": 0.741882,
"z": 0.525269
},
{
"x": -0.318726,
"y": 0.735718,
"z": 0.584839
},
{
"x": -0.281494,
"y": 0.729492,
"z": 0.644531
},
{
"x": -0.416504,
"y": 0.777405,
"z": 0.557495
},
{
"x": -0.21228,
"y": 0.73407,
"z": 0.491211
},
{
"x": -0.379639,
"y": 0.739014,
"z": 0.652222
},
{
"x": -0.306519,
"y": 0.810608,
"z": 0.484863
},
{
"x": -0.349854,
"y": 0.824097,
"z": 0.579712
},
{
"x": -0.255127,
"y": 0.769226,
"z": 0.707886
},
{
"x": -0.294312,
"y": 0.817871,
"z": 0.578003
},
{
"x": -0.223999,
"y": 0.808167,
"z": 0.639648
},
{
"x": -0.153687,
"y": 0.798523,
"z": 0.701294
},
{
"x": -0.208008,
"y": 0.794006,
"z": 0.625
},
{
"x": -0.190186,
"y": 0.833923,
"z": 0.505737
},
{
"x": -0.081055,
"y": 0.836426,
"z": 0.635742
},
{
"x": -0.098877,
"y": 0.803467,
"z": 0.225342
},
{
"x": -0.006226,
"y": 0.804321,
"z": 0.36145
},
{
"x": 0.086304,
"y": 0.805115,
"z": 0.497559
},
{
"x": 0.168579,
"y": 0.833374,
"z": 0.590088
},
{
"x": 0.055786,
"y": 0.82959,
"z": 0.599121
},
{
"x": -0.167358,
"y": 0.856812,
"z": 0.275757
},
{
"x": 0.110107,
"y": 0.823547,
"z": 0.517578
},
{
"x": 0.022827,
"y": 0.855469,
"z": 0.557373
},
{
"x": 0.164307,
"y": 0.871765,
"z": 0.572021
},
{
"x": 0.242065,
"y": 0.831665,
"z": 0.602051
},
{
"x": 0.246948,
"y": 0.872131,
"z": 0.534546
},
{
"x": 0.278442,
"y": 0.865234,
"z": 0.544067
},
{
"x": 0.389771,
"y": 0.889587,
"z": 0.482056
},
{
"x": 0.272217,
"y": 0.881836,
"z": 0.508911
},
{
"x": 0.389038,
"y": 0.903809,
"z": 0.514038
},
{
"x": 0.386475,
"y": 0.889465,
"z": 0.427734
},
{
"x": 0.134521,
"y": 0.942749,
"z": 0.42627
},
{
"x": 0.320312,
"y": 0.931641,
"z": 0.328125
},
{
"x": 0.21814,
"y": 0.942139,
"z": 0.402832
},
{
"x": 0.295044,
"y": 0.944458,
"z": 0.332764
},
{
"x": 0.37207,
"y": 0.946777,
"z": 0.262695
},
{
"x": 0.240479,
"y": 0.948547,
"z": 0.19873
},
{
"x": 0.211304,
"y": 0.917847,
"z": 0.276978
},
{
"x": 0.167969,
"y": 0.907227,
"z": 0.261597
},
{
"x": 0.102539,
"y": 0.927551,
"z": 0.252319
},
{
"x": 0.037231,
"y": 0.947815,
"z": 0.243042
},
{
"x": -0.027832,
"y": 0.921631,
"z": 0.245605
},
{
"x": 0.081299,
"y": 0.955322,
"z": 0.287109
},
{
"x": 0.077881,
"y": 0.943176,
"z": 0.320923
},
{
"x": 0.002075,
"y": 0.919678,
"z": 0.359375
},
{
"x": -0.07373,
"y": 0.896179,
"z": 0.397949
},
{
"x": -0.272217,
"y": 0.951111,
"z": 0.434448
},
{
"x": -0.050171,
"y": 0.884705,
"z": 0.453125
},
{
"x": -0.029663,
"y": 1.0,
"z": -1.0
},
{
"x": -0.042603,
"y": 0.972839,
"z": -0.276245
},
{
"x": -0.055542,
"y": 0.945679,
"z": 0.44751
},
{
"x": -0.08667,
"y": 0.903015,
"z": 0.551758
},
{
"x": -0.061646,
"y": 0.920166,
"z": 0.53833
},
{
"x": 0.079834,
"y": 0.884766,
"z": 0.306641
}
],
"code": 1000
}
From: d8ahazard ***@***.***>
Sent: Sunday, February 25, 2024 10:02 PM
To: MarkAlanJones/TwinklyWPF ***@***.***>
Cc: MarkAlanJones ***@***.***>; Mention ***@***.***>
Subject: Re: [MarkAlanJones/TwinklyWPF] Sample Data? (Issue #2)
Hi @MarkAlanJones<https://github.com/MarkAlanJones> - Thanks for the reply!
Specifically, I'm looking for layout data for any "3d" devices you have. I think maybe just the Xmas tree, or the Matrix/curtain style devices?
-
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APNTYA4POLAQ6NAU45P6UWDYVP3MLAVCNFSM6AAAAABDZCKAQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGIZTKOJYGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Interesting. No 'aspectXY or aspectXZ' values? |
@MarkAlanJones Any more layout data would be useful, but no rush. I think I'm getting somewhere: Need to implement rotation/pan/zoom so it can be coordinated to the "light grid", but a nice start, I think. :D |
These 2 are grouped
they are both 2D - 190 RGBW "icicles"
one has 1.0 for z and one has 0 for z
The way the two are shown ontop of each other in the twinkly app is bit weird looking
they are setup around a doorway and across a window
***@***.***
{
"product_name": "Twinkly",
"hardware_version": "100",
"bytes_per_led": 4,
"hw_id": "a61d24",
"flash_size": 64,
"led_type": 12,
"product_code": "TWI190SPP",
"fw_family": "G",
"device_name": "Twinkly_Doorframe",
"uptime": "320885",
"mac": "10:52:1c:a6:1d:25",
"uuid": "60C82B89-8DC6-4964-BEEB-61C3918AC0CD",
"max_supported_led": 510,
"number_of_led": 190,
"led_profile": "RGBW",
"frame_rate": 24.45,
"measured_frame_rate": 27.78,
"movie_capacity": 5285,
"max_movies": 55,
"wire_type": 4,
"copyright": "LEDWORKS 2021",
"code": 1000
}
{
"product_name": "Twinkly",
"hardware_version": "100",
"bytes_per_led": 4,
"hw_id": "a7d40c",
"flash_size": 64,
"led_type": 12,
"product_code": "TWI190SPP",
"fw_family": "G",
"device_name": "Twinkly_Window",
"uptime": "261400",
"mac": "10:52:1c:a7:d4:0d",
"uuid": "6BF5D102-AFA4-4651-ADC2-F744D5079540",
"max_supported_led": 510,
"number_of_led": 190,
"led_profile": "RGBW",
"frame_rate": 24.45,
"measured_frame_rate": 27.78,
"movie_capacity": 5285,
"max_movies": 55,
"wire_type": 4,
"copyright": "LEDWORKS 2021",
"code": 1000
}
"source": "2d",
"synthesized": false,
"uuid": "6900B76F-DFF3-AB13-50B6-E3B85C2DC466",
"coordinates": [
{
"x": -1.0,
"y": 1.0,
"z": 0.0
},
{
"x": -1.0,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.959229,
"y": 1.0,
"z": 0.0
},
{
"x": -0.959229,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.959229,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.959229,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.918457,
"y": 1.0,
"z": 0.0
},
{
"x": -0.918457,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.918457,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.918457,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.918457,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.918457,
"y": 0.0,
"z": 0.0
},
{
"x": -0.877563,
"y": 1.0,
"z": 0.0
},
{
"x": -0.877563,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.836792,
"y": 1.0,
"z": 0.0
},
{
"x": -0.836792,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.836792,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.836792,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.836792,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.796021,
"y": 1.0,
"z": 0.0
},
{
"x": -0.796021,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.755127,
"y": 1.0,
"z": 0.0
},
{
"x": -0.755127,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.755127,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.755127,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.714355,
"y": 1.0,
"z": 0.0
},
{
"x": -0.714355,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.714355,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.714355,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.714355,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.714355,
"y": 0.0,
"z": 0.0
},
{
"x": -0.673584,
"y": 1.0,
"z": 0.0
},
{
"x": -0.673584,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.63269,
"y": 1.0,
"z": 0.0
},
{
"x": -0.63269,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.63269,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.63269,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.63269,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.591919,
"y": 1.0,
"z": 0.0
},
{
"x": -0.591919,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.551025,
"y": 1.0,
"z": 0.0
},
{
"x": -0.551025,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.551025,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.551025,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.510254,
"y": 1.0,
"z": 0.0
},
{
"x": -0.510254,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.510254,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.510254,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.510254,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.510254,
"y": 0.0,
"z": 0.0
},
{
"x": -0.469482,
"y": 1.0,
"z": 0.0
},
{
"x": -0.469482,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.428589,
"y": 1.0,
"z": 0.0
},
{
"x": -0.428589,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.428589,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.428589,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.428589,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.387817,
"y": 1.0,
"z": 0.0
},
{
"x": -0.387817,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.347046,
"y": 1.0,
"z": 0.0
},
{
"x": -0.347046,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.347046,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.347046,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.306152,
"y": 1.0,
"z": 0.0
},
{
"x": -0.306152,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.306152,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.306152,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.306152,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.306152,
"y": 0.0,
"z": 0.0
},
{
"x": -0.265381,
"y": 1.0,
"z": 0.0
},
{
"x": -0.265381,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.224609,
"y": 1.0,
"z": 0.0
},
{
"x": -0.224609,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.224609,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.224609,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.224609,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.183716,
"y": 1.0,
"z": 0.0
},
{
"x": -0.183716,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.142944,
"y": 1.0,
"z": 0.0
},
{
"x": -0.142944,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.142944,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.142944,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.102051,
"y": 1.0,
"z": 0.0
},
{
"x": -0.102051,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.102051,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.102051,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.102051,
"y": 0.199951,
"z": 0.0
},
{
"x": -0.102051,
"y": 0.0,
"z": 0.0
},
{
"x": -0.061279,
"y": 1.0,
"z": 0.0
},
{
"x": -0.061279,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.020508,
"y": 1.0,
"z": 0.0
},
{
"x": -0.020508,
"y": 0.799988,
"z": 0.0
},
{
"x": -0.020508,
"y": 0.599976,
"z": 0.0
},
{
"x": -0.020508,
"y": 0.399963,
"z": 0.0
},
{
"x": -0.020508,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.020386,
"y": 1.0,
"z": 0.0
},
{
"x": 0.020386,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.061157,
"y": 1.0,
"z": 0.0
},
{
"x": 0.061157,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.061157,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.061157,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.101929,
"y": 1.0,
"z": 0.0
},
{
"x": 0.101929,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.101929,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.101929,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.101929,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.101929,
"y": 0.0,
"z": 0.0
},
{
"x": 0.142822,
"y": 1.0,
"z": 0.0
},
{
"x": 0.142822,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.183594,
"y": 1.0,
"z": 0.0
},
{
"x": 0.183594,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.183594,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.183594,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.183594,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.224487,
"y": 1.0,
"z": 0.0
},
{
"x": 0.224487,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.265259,
"y": 1.0,
"z": 0.0
},
{
"x": 0.265259,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.265259,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.265259,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.30603,
"y": 1.0,
"z": 0.0
},
{
"x": 0.30603,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.30603,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.30603,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.30603,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.30603,
"y": 0.0,
"z": 0.0
},
{
"x": 0.346924,
"y": 1.0,
"z": 0.0
},
{
"x": 0.346924,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.387695,
"y": 1.0,
"z": 0.0
},
{
"x": 0.387695,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.387695,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.387695,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.387695,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.428467,
"y": 1.0,
"z": 0.0
},
{
"x": 0.428467,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.46936,
"y": 1.0,
"z": 0.0
},
{
"x": 0.46936,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.46936,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.46936,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.510132,
"y": 1.0,
"z": 0.0
},
{
"x": 0.510132,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.510132,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.510132,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.510132,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.510132,
"y": 0.0,
"z": 0.0
},
{
"x": 0.550903,
"y": 1.0,
"z": 0.0
},
{
"x": 0.550903,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.591797,
"y": 1.0,
"z": 0.0
},
{
"x": 0.591797,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.591797,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.591797,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.591797,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.632568,
"y": 1.0,
"z": 0.0
},
{
"x": 0.632568,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.673462,
"y": 1.0,
"z": 0.0
},
{
"x": 0.673462,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.673462,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.673462,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.714233,
"y": 1.0,
"z": 0.0
},
{
"x": 0.714233,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.714233,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.714233,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.714233,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.714233,
"y": 0.0,
"z": 0.0
},
{
"x": 0.755005,
"y": 1.0,
"z": 0.0
},
{
"x": 0.755005,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.795898,
"y": 1.0,
"z": 0.0
},
{
"x": 0.795898,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.795898,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.795898,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.795898,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.83667,
"y": 1.0,
"z": 0.0
},
{
"x": 0.83667,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.877441,
"y": 1.0,
"z": 0.0
},
{
"x": 0.877441,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.877441,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.877441,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.918335,
"y": 1.0,
"z": 0.0
},
{
"x": 0.918335,
"y": 0.799988,
"z": 0.0
},
{
"x": 0.918335,
"y": 0.599976,
"z": 0.0
},
{
"x": 0.918335,
"y": 0.399963,
"z": 0.0
},
{
"x": 0.918335,
"y": 0.199951,
"z": 0.0
},
{
"x": 0.918335,
"y": 0.0,
"z": 0.0
},
{
"x": 0.959106,
"y": 1.0,
"z": 0.0
},
{
"x": 0.959106,
"y": 0.799988,
"z": 0.0
},
{
"x": 1.0,
"y": 1.0,
"z": 0.0
},
{
"x": 1.0,
"y": 0.799988,
"z": 0.0
},
{
"x": 1.0,
"y": 0.599976,
"z": 0.0
},
{
"x": 1.0,
"y": 0.399963,
"z": 0.0
},
{
"x": 1.0,
"y": 0.199951,
"z": 0.0
}
],
"code": 1000
}
{
"source": "2d",
"synthesized": false,
"uuid": "E81E9A3D-D40A-CD66-0DB2-B56C58F0951C",
"coordinates": [
{
"x": -0.966187,
"y": 0.885132,
"z": 1.0
},
{
"x": -1.0,
"y": 0.896362,
"z": 1.0
},
{
"x": -0.981323,
"y": 0.855408,
"z": -1.0
},
{
"x": -0.95813,
"y": 0.804016,
"z": 1.0
},
{
"x": -0.955688,
"y": 0.731934,
"z": 1.0
},
{
"x": -0.955688,
"y": 0.644104,
"z": 1.0
},
{
"x": -0.909058,
"y": 0.878357,
"z": 1.0
},
{
"x": -0.886963,
"y": 0.795044,
"z": 1.0
},
{
"x": -0.897461,
"y": 0.713928,
"z": 1.0
},
{
"x": -0.89978,
"y": 0.639587,
"z": 1.0
},
{
"x": -0.90332,
"y": 0.572021,
"z": 1.0
},
{
"x": -0.897461,
"y": 0.47522,
"z": 1.0
},
{
"x": -0.842651,
"y": 0.909851,
"z": 1.0
},
{
"x": -0.854248,
"y": 0.801758,
"z": 1.0
},
{
"x": -0.801758,
"y": 0.871582,
"z": 1.0
},
{
"x": -0.790161,
"y": 0.786011,
"z": 1.0
},
{
"x": -0.790039,
"y": 0.719421,
"z": -1.0
},
{
"x": -0.7948,
"y": 0.653137,
"z": 1.0
},
{
"x": -0.822754,
"y": 0.569763,
"z": 1.0
},
{
"x": -0.746948,
"y": 0.887329,
"z": 1.0
},
{
"x": -0.74231,
"y": 0.790527,
"z": 1.0
},
{
"x": -0.700317,
"y": 0.869324,
"z": 1.0
},
{
"x": -0.696899,
"y": 0.7995,
"z": 1.0
},
{
"x": -0.712036,
"y": 0.72522,
"z": 1.0
},
{
"x": -0.714355,
"y": 0.639587,
"z": 1.0
},
{
"x": -0.665405,
"y": 0.907654,
"z": 1.0
},
{
"x": -0.646729,
"y": 0.801758,
"z": 1.0
},
{
"x": -0.645508,
"y": 0.729675,
"z": 1.0
},
{
"x": -0.664185,
"y": 0.648621,
"z": 1.0
},
{
"x": -0.677002,
"y": 0.565308,
"z": 1.0
},
{
"x": -0.651367,
"y": 0.481934,
"z": 1.0
},
{
"x": -0.617554,
"y": 0.909851,
"z": 1.0
},
{
"x": -0.615234,
"y": 0.833313,
"z": 1.0
},
{
"x": -0.566284,
"y": 0.918884,
"z": 1.0
},
{
"x": -0.563965,
"y": 0.835571,
"z": 1.0
},
{
"x": -0.579102,
"y": 0.76123,
"z": 1.0
},
{
"x": -0.577881,
"y": 0.689148,
"z": 1.0
},
{
"x": -0.545288,
"y": 0.590088,
"z": 1.0
},
{
"x": -0.524292,
"y": 0.927917,
"z": 1.0
},
{
"x": -0.524292,
"y": 0.846802,
"z": 1.0
},
{
"x": -0.486938,
"y": 0.993225,
"z": 1.0
},
{
"x": -0.474121,
"y": 0.896362,
"z": 1.0
},
{
"x": -0.504395,
"y": 0.819763,
"z": 1.0
},
{
"x": -0.489258,
"y": 0.734192,
"z": 1.0
},
{
"x": -0.42749,
"y": 0.934631,
"z": 1.0
},
{
"x": -0.436768,
"y": 0.867065,
"z": 1.0
},
{
"x": -0.42041,
"y": 0.788269,
"z": 1.0
},
{
"x": -0.428589,
"y": 0.71167,
"z": 1.0
},
{
"x": -0.407593,
"y": 0.628357,
"z": 1.0
},
{
"x": -0.451904,
"y": 0.538269,
"z": 1.0
},
{
"x": -0.376099,
"y": 0.950439,
"z": 1.0
},
{
"x": -0.375,
"y": 0.84906,
"z": 1.0
},
{
"x": -0.338867,
"y": 0.914368,
"z": 1.0
},
{
"x": -0.333008,
"y": 0.855835,
"z": 1.0
},
{
"x": -0.349365,
"y": 0.770264,
"z": 1.0
},
{
"x": -0.339966,
"y": 0.691406,
"z": 1.0
},
{
"x": -0.310791,
"y": 0.578796,
"z": 1.0
},
{
"x": -0.293335,
"y": 0.934631,
"z": 1.0
},
{
"x": -0.294556,
"y": 0.846802,
"z": 1.0
},
{
"x": -0.246704,
"y": 0.912109,
"z": 1.0
},
{
"x": -0.260742,
"y": 0.840088,
"z": 1.0
},
{
"x": -0.254883,
"y": 0.765747,
"z": 1.0
},
{
"x": -0.258423,
"y": 0.666626,
"z": 1.0
},
{
"x": -0.204712,
"y": 0.941406,
"z": 1.0
},
{
"x": -0.214111,
"y": 0.844543,
"z": 1.0
},
{
"x": -0.209351,
"y": 0.765747,
"z": 1.0
},
{
"x": -0.210571,
"y": 0.689148,
"z": 1.0
},
{
"x": -0.189575,
"y": 0.61261,
"z": 1.0
},
{
"x": -0.202393,
"y": 0.508972,
"z": 1.0
},
{
"x": -0.155762,
"y": 0.945923,
"z": 1.0
},
{
"x": -0.139404,
"y": 0.853577,
"z": 1.0
},
{
"x": -0.11499,
"y": 0.96167,
"z": 1.0
},
{
"x": -0.103271,
"y": 0.87384,
"z": 1.0
},
{
"x": -0.11499,
"y": 0.808533,
"z": 1.0
},
{
"x": -0.103271,
"y": 0.73645,
"z": 1.0
},
{
"x": -0.097412,
"y": 0.641846,
"z": 1.0
},
{
"x": -0.075317,
"y": 0.981934,
"z": 1.0
},
{
"x": -0.076416,
"y": 0.896362,
"z": 1.0
},
{
"x": -0.023926,
"y": 0.93689,
"z": 1.0
},
{
"x": -0.031006,
"y": 0.871582,
"z": 1.0
},
{
"x": -0.039185,
"y": 0.792786,
"z": 1.0
},
{
"x": -0.035645,
"y": 0.675659,
"z": 1.0
},
{
"x": 0.020386,
"y": 0.93689,
"z": 1.0
},
{
"x": 0.009888,
"y": 0.840088,
"z": 1.0
},
{
"x": 0.018066,
"y": 0.756714,
"z": 1.0
},
{
"x": 0.013306,
"y": 0.68689,
"z": 1.0
},
{
"x": 0.028564,
"y": 0.601318,
"z": 1.0
},
{
"x": -0.012329,
"y": 0.495483,
"z": 1.0
},
{
"x": 0.068115,
"y": 0.912109,
"z": 1.0
},
{
"x": 0.033203,
"y": 0.86261,
"z": 1.0
},
{
"x": 0.098511,
"y": 0.894104,
"z": 1.0
},
{
"x": 0.092651,
"y": 0.810791,
"z": 1.0
},
{
"x": 0.118286,
"y": 0.758972,
"z": 1.0
},
{
"x": 0.112427,
"y": 0.702698,
"z": 1.0
},
{
"x": 0.099609,
"y": 0.592285,
"z": 1.0
},
{
"x": 0.143921,
"y": 0.923401,
"z": 1.0
},
{
"x": 0.14978,
"y": 0.835571,
"z": 1.0
},
{
"x": 0.190552,
"y": 0.912109,
"z": 1.0
},
{
"x": 0.185913,
"y": 0.840088,
"z": 1.0
},
{
"x": 0.196411,
"y": 0.772522,
"z": 1.0
},
{
"x": 0.182495,
"y": 0.702698,
"z": 1.0
},
{
"x": 0.233765,
"y": 0.923401,
"z": 1.0
},
{
"x": 0.225586,
"y": 0.840088,
"z": 1.0
},
{
"x": 0.258301,
"y": 0.779236,
"z": 1.0
},
{
"x": 0.248901,
"y": 0.713928,
"z": 1.0
},
{
"x": 0.259399,
"y": 0.644104,
"z": 1.0
},
{
"x": 0.230225,
"y": 0.529236,
"z": 1.0
},
{
"x": 0.279297,
"y": 0.916626,
"z": 1.0
},
{
"x": 0.290894,
"y": 0.84906,
"z": 1.0
},
{
"x": 0.329346,
"y": 0.93689,
"z": 1.0
},
{
"x": 0.334106,
"y": 0.864807,
"z": 1.0
},
{
"x": 0.314209,
"y": 0.779236,
"z": 1.0
},
{
"x": 0.330566,
"y": 0.734192,
"z": 1.0
},
{
"x": 0.324707,
"y": 0.635132,
"z": 1.0
},
{
"x": 0.371338,
"y": 0.968445,
"z": 1.0
},
{
"x": 0.371338,
"y": 0.889587,
"z": 1.0
},
{
"x": 0.395874,
"y": 0.923401,
"z": 1.0
},
{
"x": 0.409912,
"y": 0.864807,
"z": 1.0
},
{
"x": 0.400513,
"y": 0.795044,
"z": 1.0
},
{
"x": 0.395874,
"y": 0.729675,
"z": 1.0
},
{
"x": 0.454224,
"y": 0.914368,
"z": 1.0
},
{
"x": 0.443726,
"y": 0.846802,
"z": 1.0
},
{
"x": 0.454224,
"y": 0.776978,
"z": 1.0
},
{
"x": 0.446045,
"y": 0.731934,
"z": 1.0
},
{
"x": 0.457642,
"y": 0.675659,
"z": 1.0
},
{
"x": 0.454224,
"y": 0.583313,
"z": 1.0
},
{
"x": 0.497314,
"y": 0.945923,
"z": 1.0
},
{
"x": 0.518066,
"y": 0.964783,
"z": -1.0
},
{
"x": 0.534668,
"y": 0.930176,
"z": 1.0
},
{
"x": 0.545166,
"y": 0.864807,
"z": 1.0
},
{
"x": 0.545166,
"y": 0.790527,
"z": 1.0
},
{
"x": 0.553345,
"y": 0.720703,
"z": 1.0
},
{
"x": 0.529907,
"y": 0.639587,
"z": 1.0
},
{
"x": 0.571899,
"y": 0.988708,
"z": 1.0
},
{
"x": 0.595215,
"y": 0.918884,
"z": 1.0
},
{
"x": 0.62793,
"y": 0.970703,
"z": 1.0
},
{
"x": 0.62561,
"y": 0.891846,
"z": 1.0
},
{
"x": 0.62439,
"y": 0.817566,
"z": 1.0
},
{
"x": 0.623291,
"y": 0.743225,
"z": 1.0
},
{
"x": 0.669922,
"y": 1.0,
"z": 1.0
},
{
"x": 0.665283,
"y": 0.925659,
"z": 1.0
},
{
"x": 0.647705,
"y": 0.86261,
"z": 1.0
},
{
"x": 0.651245,
"y": 0.792786,
"z": 1.0
},
{
"x": 0.654785,
"y": 0.718445,
"z": 1.0
},
{
"x": 0.666382,
"y": 0.648621,
"z": 1.0
},
{
"x": 0.713013,
"y": 1.0,
"z": 1.0
},
{
"x": 0.711914,
"y": 0.943665,
"z": 1.0
},
{
"x": 0.702515,
"y": 0.898621,
"z": 1.0
},
{
"x": 0.686523,
"y": 0.832581,
"z": -1.0
},
{
"x": 0.673462,
"y": 0.763489,
"z": 1.0
},
{
"x": 0.687378,
"y": 0.693665,
"z": 1.0
},
{
"x": 0.694214,
"y": 0.702454,
"z": -1.0
},
{
"x": 0.702515,
"y": 0.723633,
"z": -1.0
},
{
"x": 0.710327,
"y": 0.742798,
"z": -1.0
},
{
"x": 0.715332,
"y": 0.745483,
"z": 1.0
},
{
"x": 0.713623,
"y": 0.682739,
"z": -1.0
},
{
"x": 0.710693,
"y": 0.610352,
"z": 1.0
},
{
"x": 0.706055,
"y": 0.536011,
"z": 1.0
},
{
"x": 0.746826,
"y": 0.677917,
"z": 1.0
},
{
"x": 0.745728,
"y": 0.585571,
"z": 1.0
},
{
"x": 0.734009,
"y": 0.506714,
"z": 1.0
},
{
"x": 0.749268,
"y": 0.443665,
"z": 1.0
},
{
"x": 0.737549,
"y": 0.36261,
"z": 1.0
},
{
"x": 0.742188,
"y": 0.288269,
"z": 1.0
},
{
"x": 0.744751,
"y": 0.415222,
"z": -1.0
},
{
"x": 0.750366,
"y": 0.5495,
"z": 1.0
},
{
"x": 0.779541,
"y": 0.533752,
"z": 1.0
},
{
"x": 0.773682,
"y": 0.459412,
"z": 1.0
},
{
"x": 0.758545,
"y": 0.394104,
"z": 1.0
},
{
"x": 0.774902,
"y": 0.308533,
"z": 1.0
},
{
"x": 0.767822,
"y": 0.229675,
"z": 1.0
},
{
"x": 0.779541,
"y": 0.508972,
"z": 1.0
},
{
"x": 0.806396,
"y": 0.445923,
"z": 1.0
},
{
"x": 0.821045,
"y": 0.409485,
"z": -1.0
},
{
"x": 0.839722,
"y": 0.362732,
"z": -1.0
},
{
"x": 0.857544,
"y": 0.321472,
"z": -1.0
},
{
"x": 0.870483,
"y": 0.301758,
"z": 1.0
},
{
"x": 0.877441,
"y": 0.416626,
"z": 1.0
},
{
"x": 0.874023,
"y": 0.353577,
"z": 1.0
},
{
"x": 0.88562,
"y": 0.26123,
"z": 1.0
},
{
"x": 0.920654,
"y": 0.177917,
"z": 1.0
},
{
"x": 0.912476,
"y": 0.09906,
"z": 1.0
},
{
"x": 0.903198,
"y": 0.0,
"z": 1.0
},
{
"x": 0.891479,
"y": 0.468445,
"z": 1.0
},
{
"x": 0.942749,
"y": 0.405396,
"z": 1.0
},
{
"x": 0.935791,
"y": 0.547241,
"z": 1.0
},
{
"x": 0.970825,
"y": 0.472961,
"z": 1.0
},
{
"x": 0.94397,
"y": 0.358093,
"z": 1.0
},
{
"x": 0.94397,
"y": 0.276978,
"z": 1.0
},
{
"x": 1.0,
"y": 0.173401,
"z": 1.0
}
],
"code": 1000
}
***@***.***
From: d8ahazard ***@***.***>
Sent: Sunday, February 25, 2024 10:02 PM
To: MarkAlanJones/TwinklyWPF ***@***.***>
Cc: MarkAlanJones ***@***.***>; Mention ***@***.***>
Subject: Re: [MarkAlanJones/TwinklyWPF] Sample Data? (Issue #2)
Hi @MarkAlanJones<https://github.com/MarkAlanJones> - Thanks for the reply!
Specifically, I'm looking for layout data for any "3d" devices you have. I think maybe just the Xmas tree, or the Matrix/curtain style devices?
-
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APNTYA4POLAQ6NAU45P6UWDYVP3MLAVCNFSM6AAAAABDZCKAQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGIZTKOJYGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Hey there!
I'm the developer of a project called "Glimmr", which allow synchronized control of various home lighting devices.
Presently, I have support for Hue, Lifx, Nanoleaf, WLED, OpenRGB, and a few other devices, and I want to add Twinkly to that list.
The issue I have is - I don't actually own a Twinkly device at the moment. So, doing things like translating the 3d position of a bunch of LEDs to a 2D representation can only be taken so far.
I plan on getting a Matrix sooner than later, but until then, I was curious if you would be willing to share the raw JSON output of stuff like the Info/discovery commands, so that way I can write a basic emulator to test discovery and setup, as well as the UI I want to make for the 3D/Matrix visualizer.
Great work on this too, btw. Extending my existing code to work with your library was a snap. Now I just need to do some testing with actual data. ;)
The text was updated successfully, but these errors were encountered: