Aktualizacja GUI Generic

krycha88
Posts: 5303
Joined: Fri Nov 16, 2018 7:25 am

Post

klew wrote: Thu Aug 29, 2024 8:54 am Jest taka klasa do grupowania przycisków dla dimmer/rgbw i używa się jej mniej więcej tak:

Code: Select all

  auto button = new Supla::Control::Button(BUTTON_GPIO, false, true);

  button->setMulticlickTime(300);
  button->setHoldTime(400);
  button->repeatOnHoldEvery(35);

  auto buttonGroup = new Supla::Control::GroupButtonControlRgbw;

  buttonGroup->attach(button);
  for (int i = 0; i < 4; i++) {
    buttonGroup->addToGroup(dimmers[i]);
  }
Powyższe kofiguruje przycisk z BUTTON_GPIO do sterowania 4 dimmerami: dimmers[0], itd.

Metoda attach(button) powinna załatwić konfigurację akcji i całego zachowania.
Jednak chyba coś jest nie tak. Włączenie/wyłączenie drimmera na wciśnięcie działa poprawnie dla wszystkich drimmerów w grupie ale ściemnianie przez przytrzymanie działa tylko dla pierwszego drimmera dla pozostałych już nie.
https://gui-generic-builder.supla.io/
User avatar
klew
Posts: 9017
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

krycha88 wrote: Mon Sep 02, 2024 2:52 pm Jednak chyba coś jest nie tak. Włączenie/wyłączenie drimmera na wciśnięcie działa poprawnie dla wszystkich drimmerów w grupie ale ściemnianie przez przytrzymanie działa tylko dla pierwszego drimmera dla pozostałych już nie.
Czy ustawiasz jakieś własne akcje na tych przyciskach i dimmerach?
Ogólnie ta klasa jest używana w mSLW i tam to działa poprawnie. Może coś masz jeszcze więcej dodane, albo ja czegoś zapomniałem ;)
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
krycha88
Posts: 5303
Joined: Fri Nov 16, 2018 7:25 am

Post

klew wrote: Tue Sep 03, 2024 8:28 am Czy ustawiasz jakieś własne akcje na tych przyciskach i dimmerach?
Ogólnie ta klasa jest używana w mSLW i tam to działa poprawnie. Może coś masz jeszcze więcej dodane, albo ja czegoś zapomniałem ;)
Wydaje się, że nie ale jeszcze się upewnię. A czy nie trzeba ustawić dodatkowo odpowiedniego typu przycisku?
https://gui-generic-builder.supla.io/
User avatar
klew
Posts: 9017
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

krycha88 wrote: Tue Sep 03, 2024 12:04 pm Wydaje się, że nie ale jeszcze się upewnię. A czy nie trzeba ustawić dodatkowo odpowiedniego typu przycisku?
Tak, rodzaj dodawanych akcji zależy od ustawionego typu przycisku.
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
krycha88
Posts: 5303
Joined: Fri Nov 16, 2018 7:25 am

Post

klew wrote: Tue Sep 03, 2024 12:14 pm
krycha88 wrote: Tue Sep 03, 2024 12:04 pm Wydaje się, że nie ale jeszcze się upewnię. A czy nie trzeba ustawić dodatkowo odpowiedniego typu przycisku?
Tak, rodzaj dodawanych akcji zależy od ustawionego typu przycisku.
Problem jednak występuje tylko dla klasy DimmerLeds dla klasy RGBLeds przyciski w grupie działają poprawnie.
https://gui-generic-builder.supla.io/
User avatar
klew
Posts: 9017
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

krycha88 wrote: Tue Sep 03, 2024 2:08 pm
klew wrote: Tue Sep 03, 2024 12:14 pm
krycha88 wrote: Tue Sep 03, 2024 12:04 pm Wydaje się, że nie ale jeszcze się upewnię. A czy nie trzeba ustawić dodatkowo odpowiedniego typu przycisku?
Tak, rodzaj dodawanych akcji zależy od ustawionego typu przycisku.
Problem jednak występuje tylko dla klasy DimmerLeds dla klasy RGBLeds przyciski w grupie działają poprawnie.
Tam był jeszcze jakiś parametr buttonControlType i on chyba miał warianty na RGB oraz dimmer.
Jak będę przy kompie to sprawdzę to dokładniej
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
kurus
Posts: 1131
Joined: Wed Jan 15, 2020 8:17 pm

Post

krycha88 wrote: Tue Sep 03, 2024 2:08 pm
Krycha dodam też taka informację bo posiadem tak samo mslw i tam widok kanałów jest taki w cloud jak w załaczniku, że jest osobny kanał z wyzwalaczem, wchodząc w kanał dimmerów niema tam zakładki wyzwalacz akcji.
Jedno jak i drugie urządzenie jest skonfigurowane tak aby jednym przyciskiem fizycznym sterować wszystkie kanały dimmerów.
You do not have the required permissions to view the files attached to this post.
krycha88
Posts: 5303
Joined: Fri Nov 16, 2018 7:25 am

Post

kurus wrote: Tue Sep 03, 2024 3:15 pm
Mogę zrobić tak samo, po prostu dodają się dla każdego dimmera AT które są sterowane jednym przyciskiem.
klew wrote: Tue Sep 03, 2024 12:14 pm
dotarłeś do komputera? :P
https://gui-generic-builder.supla.io/
User avatar
klew
Posts: 9017
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

krycha88 wrote: Wed Sep 04, 2024 11:22 am dotarłeś do komputera? :P
:)

Jest tam buttonControlType czytany z configa, ale domyślnie ustawia się "dla RGBW" i powinno to działać dla dimmera.
Ściemnianie i rozjaśnianie jest ustawiane tylko dla monostabilnego przycisku.
Masz może logi?
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
krycha88
Posts: 5303
Joined: Fri Nov 16, 2018 7:25 am

Post

klew wrote: Wed Sep 04, 2024 11:30 am Jest tam buttonControlType czytany z configa, ale domyślnie ustawia się "dla RGBW" i powinno to działać dla dimmera.
Ściemnianie i rozjaśnianie jest ustawiane tylko dla monostabilnego przycisku.
Masz może logi?

Code: Select all

Button[0]::setButtonType: 0
Button[0]::setMulticlickTime: 300
Button[0]::setHoldTime: 400
Button[1]::setHoldTime: 400
Button[1]::setMulticlickTime: 250
Button[1]::setMulticlickTime: 250
Button[1]::setHoldTime: 400
Supla - starting initialization
Storage initialization
readStorage: 8; Read: [53 55 50 4C 41 1 0 1 ]
Storage: Number of sections 1
Reading section: 0
readStorage: 7; Read: [3 4 0 8F AE 8F AE ]
Section type: 3; size: 4
storedCRC 44687, CRC calc 44687
SuplaConfigManager: config file size 755
SuplaConfigManager: initializing storage from file...
SuplaConfigManager: init result 1
RGBWBase[0] button control type: 0
RGBW group[0] button control type: 0
RGBW group[1] button control type: 0
Button[0]::onLoadConfig: btnType: 0
Button[0]::setButtonType: 0
Button[0]::setMulticlickTime: 300
Button[0]::setHoldTime: 400
Button[0] enabling IN as config button
RGBWBase[1] button control type: 0
Button[1]::onLoadConfig: skip
Validating storage state section with current device configuration
Storage state section validation successful
readStorage: 1; Read: [47 ]
readStorage: 1; Read: [47 ]
readStorage: 1; Read: [64 ]
readStorage: 1; Read: [64 ]
RGBWBase[0] TURN off onInit
RGBW: 0,0,0,0,0
GroupButtonControl configuring attachedButton
GroupButtonControl configuring monostable button
Button[0]: Initialized: pin 0, pullUp 1, invertLogic 1, state 1
RGBWBase[1] TURN off onInit
RGBW: 0,0,0,0,0
Button[1]: Initialized: pin 0, pullUp 1, invertLogic 1, state 1
GUID: E349E0D890A9E5D8797C9CF4FBD70552
Device name: GUI Generic
Device software version: GG v7.18.19
Initializing network layer
[Wi-Fi] Network AP/hostn **** Analog write[-1], gpio: 12; value 0
 **** Analog write[-1], gpio: 13; value 0
ame: GUI-GENERIC-C8C9A35C79A4
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Enter normal mode
WiFi: establishing connection with SSID: "Gargulec"
Connected BSSID: C8:7F:54:20:EC:D8
local IP: 192.168.1.30
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal strength (RSSI): -84 dBm
Establishing NOT encrypted connection with: svr19.supla.org (port: 2015)
Connected via IP 192.168.1.30
Connected to Supla Server
Initializing SRPC
LAST STATE ADDED: Register in progress
Current status: [10] Register in progress
Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 B1 02 00 00 6B 72 79 73 74 69 61 6E 2E 66 72 61 6E 69 65 63 7A 65 6B 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EE 46 64 66 F1 5C CA 84 A5 8F 5C C4 BC E0 E7 D7 E3 49 E0 D8 90 A9 E5 D8 79 7C 9C F4 FB D7 05 52 47 55 49 20 47 65 6E 65 72 69 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[0], type: 4000, FuncList: 0x0, function: 180, flags: 0x10100, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
Send: [00 A0 0F 00 00 00 00 00 00 B4 00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[1], type: 4000, FuncList: 0x0, function: 180, flags: 0x10100, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
Send: [01 A0 0F 00 00 00 00 00 00 B4 00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[2], type: 11000, FuncList: 0xFC03, function: 700, flags: 0x10000, online, validityTimeSec: 0, icon: 0, value: [00 00 08 00 00 00 00 00]
Send: [02 F8 2A 00 00 03 FC 00 00 BC 02 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Wrote 1 bytes to storage at 15
Wrote 1 bytes to storage at 17
Wrote 7 bytes to storage at 8
Commit
Recv: [53 55 50 4C 41 17 01 00 00 00 46 00 00 00 07 00 00 00 03 00 00 00 78 19 01 53 55 50 4C 41 ]
Device registered (activity timeout 120 s, server version: 25, server min version: 1)
LAST STATE ADDED: Registered and ready
Current status: [17] Registered and ready
Changing activity timeout to 30
Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 03 00 00 00 A8 02 00 00 06 00 00 00 02 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 02 00 00 00 AD 02 00 00 1B 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 55 50 4C 41 ]
Received new device config
Sending device config result OK (1)
Send: [53 55 50 4C 41 17 04 00 00 00 B7 02 00 00 0A 00 00 00 01 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 03 00 00 00 DC 00 00 00 03 00 00 00 1E 0A F0 53 55 50 4C 41 ]
Activity timeout set to 30 s
Recv: [53 55 50 4C 41 17 04 00 00 00 B2 02 00 00 0C 00 00 00 02 BC 02 00 00 00 04 00 00 00 00 00 53 55 50 4C 41 ]
AT[2] received config with active actions: 0x0
Button[0] pressed
Button[1] pressed
Button[0] released
Button[1] released
RGBW: 0,0,0,0,71
RGBW: 0,0,0,0,100
 **** Analog write[-1], gpio: 12; value 1
 **** Analog write[-1], gpio: 13; value 8
 **** Analog write[-1], gpio: 12; value 12
 **** Analog write[-1], gpio: 13; value 24
 **** Analog write[-1], gpio: 12; value 19
 **** Analog write[-1], gpio: 13; value 34
 **** Analog write[-1], gpio: 12; value 26
 **** Analog write[-1], gpio: 13; value 44
 **** Analog write[-1], gpio: 12; value 33
 **** Analog write[-1], gpio: 13; value 58
 **** Analog write[-1], gpio: 12; value 44
 **** Analog write[-1], gpio: 13; value 74
 **** Analog write[-1], gpio: 12; value 54
 **** Analog write[-1], gpio: 13; value 88
 **** Analog write[-1], gpio: 12; value 65
 **** Analog write[-1], gpio: 13; value 104
 **** Analog write[-1], gpio: 12; value 75
 **** Analog write[-1], gpio: 13; value 118
 **** Analog write[-1], gpio: 12; value 86
 **** Analog write[-1], gpio: 13; value 134
 **** Analog write[-1], gpio: 12; value 96
 **** Analog write[-1], gpio: 13; value 148
 **** Analog write[-1], gpio: 12; value 110
 **** Analog write[-1], gpio: 13; value 164
 **** Analog write[-1], gpio: 12; value 121
 **** Analog write[-1], gpio: 13; value 178
 **** Analog write[-1], gpio: 12; value 131
 **** Analog write[-1], gpio: 13; value 194
 **** Analog write[-1], gpio: 12; value 142
 **** Analog write[-1], gpio: 13; value 208
 **** Analog write[-1], gpio: 12; value 152
 **** Analog write[-1], gpio: 13; value 228
 **** Analog write[-1], gpio: 12; value 163
 **** Analog write[-1], gpio: 13; value 244
 **** Analog write[-1], gpio: 12; value 173
 **** Analog write[-1], gpio: 13; value 258
 **** Analog write[-1], gpio: 12; value 184
 **** Analog write[-1], gpio: 13; value 274
 **** Analog write[-1], gpio: 12; value 198
 **** Analog write[-1], gpio: 13; value 288
 **** Analog write[-1], gpio: 12; value 208
 **** Analog write[-1], gpio: 13; value 304
 **** Analog write[-1], gpio: 12; value 219
 **** Analog write[-1], gpio: 13; value 318
 **** Analog write[-1], gpio: 12; value 229
 **** Analog write[-1], gpio: 13; value 334
 **** Analog write[-1], gpio: 12; value 240
 **** Analog write[-1], gpio: 13; value 354
 **** Analog write[-1], gpio: 12; value 250
 **** Analog write[-1], gpio: 13; value 368
 **** Analog write[-1], gpio: 12; value 261
 **** Analog write[-1], gpio: 13; value 384
 **** Analog write[-1], gpio: 12; value 271
 **** Analog write[-1], gpio: 13; value 398
 **** Analog write[-1], gpio: 12; value 282
 **** Analog write[-1], gpio: 13; value 414
 **** Analog write[-1], gpio: 12; value 296
 **** Analog write[-1], gpio: 13; value 428
 **** Analog write[-1], gpio: 12; value 306
 **** Analog write[-1], gpio: 13; value 444
 **** Analog write[-1], gpio: 12; value 317
 **** Analog write[-1], gpio: 13; value 458
 **** Analog write[-1], gpio: 12; value 327
 **** Analog write[-1], gpio: 13; value 478
 **** Analog write[-1], gpio: 12; value 338
 **** Analog write[-1], gpio: 13; value 494
 **** Analog write[-1], gpio: 12; value 348
 **** Analog write[-1], gpio: 13; value 508
 **** Analog write[-1], gpio: 12; value 359
 **** Analog write[-1], gpio: 13; value 524
 **** Analog write[-1], gpio: 12; value 369
 **** Analog write[-1], gpio: 13; value 538
 **** Analog write[-1], gpio: 12; value 383
 **** Analog write[-1], gpio: 13; value 554
 **** Analog write[-1], gpio: 12; value 394
 **** Analog write[-1], gpio: 13; value 568
 **** Analog write[-1], gpio: 12; value 404
 **** Analog write[-1], gpio: 13; value 584
 **** Analog write[-1], gpio: 12; value 415
 **** Analog write[-1], gpio: 13; value 604
 **** Analog write[-1], gpio: 12; value 425
 **** Analog write[-1], gpio: 13; value 618
 **** Analog write[-1], gpio: 12; value 436
 **** Analog write[-1], gpio: 13; value 634
 **** Analog write[-1], gpio: 12; value 446
 **** Analog write[-1], gpio: 13; value 648
 **** Analog write[-1], gpio: 12; value 457
 **** Analog write[-1], gpio: 13; value 664
 **** Analog write[-1], gpio: 12; value 471
 **** Analog write[-1], gpio: 13; value 678
 **** Analog write[-1], gpio: 12; value 481
 **** Analog write[-1], gpio: 13; value 694
 **** Analog write[-1], gpio: 12; value 492
 **** Analog write[-1], gpio: 13; value 708
 **** Analog write[-1], gpio: 12; value 502
 **** Analog write[-1], gpio: 13; value 728
 **** Analog write[-1], gpio: 12; value 513
 **** Analog write[-1], gpio: 13; value 744
 **** Analog write[-1], gpio: 12; value 523
 **** Analog write[-1], gpio: 13; value 758
 **** Analog write[-1], gpio: 12; value 534
 **** Analog write[-1], gpio: 13; value 774
 **** Analog write[-1], gpio: 12; value 544
 **** Analog write[-1], gpio: 13; value 788
 **** Analog write[-1], gpio: 12; value 558
 **** Analog write[-1], gpio: 13; value 804
 **** Analog write[-1], gpio: 12; value 569
 **** Analog write[-1], gpio: 13; value 818
 **** Analog write[-1], gpio: 12; value 579
 **** Analog write[-1], gpio: 13; value 834
 **** Analog write[-1], gpio: 12; value 590
 **** Analog write[-1], gpio: 13; value 848
 **** Analog write[-1], gpio: 12; value 600
 **** Analog write[-1], gpio: 13; value 868
 **** Analog write[-1], gpio: 12; value 611
 **** Analog write[-1], gpio: 13; value 884
 **** Analog write[-1], gpio: 12; value 621
 **** Analog write[-1], gpio: 13; value 898
 **** Analog write[-1], gpio: 12; value 632
 **** Analog write[-1], gpio: 13; value 914
 **** Analog write[-1], gpio: 12; value 646
 **** Analog write[-1], gpio: 13; value 928
 **** Analog write[-1], gpio: 12; value 656
 **** Analog write[-1], gpio: 13; value 944
 **** Analog write[-1], gpio: 12; value 667
 **** Analog write[-1], gpio: 13; value 958
 **** Analog write[-1], gpio: 12; value 677
 **** Analog write[-1], gpio: 13; value 974
 **** Analog write[-1], gpio: 12; value 688
 **** Analog write[-1], gpio: 13; value 994
 **** Analog write[-1], gpio: 12; value 698
 **** Analog write[-1], gpio: 13; value 1008
 **** Analog write[-1], gpio: 12; value 709
 **** Analog write[-1], gpio: 13; value 1023
 **** Analog write[-1], gpio: 12; value 719
 **** Analog write[-1], gpio: 12; value 726
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(71)
Channel(1) value changed to RGB(0, 0, 0), colBr(0), bright(100)
Send: [53 55 50 4C 41 17 05 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 47 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 06 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 64 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Button[0] pressed
Button[1] pressed
Button[0] released
Button[1] released
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 724
 **** Analog write[-1], gpio: 13; value 1015
 **** Analog write[-1], gpio: 12; value 719
 **** Analog write[-1], gpio: 13; value 1005
 **** Analog write[-1], gpio: 12; value 712
 **** Analog write[-1], gpio: 13; value 991
 **** Analog write[-1], gpio: 12; value 701
 **** Analog write[-1], gpio: 13; value 975
 **** Analog write[-1], gpio: 12; value 691
 **** Analog write[-1], gpio: 13; value 961
 **** Analog write[-1], gpio: 12; value 680
 **** Analog write[-1], gpio: 13; value 945
 **** Analog write[-1], gpio: 12; value 670
 **** Analog write[-1], gpio: 13; value 931
 **** Analog write[-1], gpio: 12; value 656
 **** Analog write[-1], gpio: 13; value 915
 **** Analog write[-1], gpio: 12; value 645
 **** Analog write[-1], gpio: 13; value 901
 **** Analog write[-1], gpio: 12; value 635
 **** Analog write[-1], gpio: 13; value 885
 **** Analog write[-1], gpio: 12; value 624
 **** Analog write[-1], gpio: 13; value 865
 **** Analog write[-1], gpio: 12; value 614
 **** Analog write[-1], gpio: 13; value 851
 **** Analog write[-1], gpio: 12; value 603
 **** Analog write[-1], gpio: 13; value 835
 **** Analog write[-1], gpio: 12; value 593
 **** Analog write[-1], gpio: 13; value 821
 **** Analog write[-1], gpio: 12; value 582
 **** Analog write[-1], gpio: 13; value 805
 **** Analog write[-1], gpio: 12; value 568
 **** Analog write[-1], gpio: 13; value 791
 **** Analog write[-1], gpio: 12; value 558
 **** Analog write[-1], gpio: 13; value 775
 **** Analog write[-1], gpio: 12; value 547
 **** Analog write[-1], gpio: 13; value 761
 **** Analog write[-1], gpio: 12; value 537
 **** Analog write[-1], gpio: 13; value 745
 **** Analog write[-1], gpio: 12; value 526
 **** Analog write[-1], gpio: 13; value 725
 **** Analog write[-1], gpio: 12; value 516
 **** Analog write[-1], gpio: 13; value 711
 **** Analog write[-1], gpio: 12; value 505
 **** Analog write[-1], gpio: 13; value 695
 **** Analog write[-1], gpio: 12; value 495
 **** Analog write[-1], gpio: 13; value 681
 **** Analog write[-1], gpio: 12; value 481
 **** Analog write[-1], gpio: 13; value 665
 **** Analog write[-1], gpio: 12; value 470
 **** Analog write[-1], gpio: 13; value 651
 **** Analog write[-1], gpio: 12; value 460
 **** Analog write[-1], gpio: 13; value 635
 **** Analog write[-1], gpio: 12; value 449
 **** Analog write[-1], gpio: 13; value 621
 **** Analog write[-1], gpio: 12; value 439
 **** Analog write[-1], gpio: 13; value 601
 **** Analog write[-1], gpio: 12; value 428
 **** Analog write[-1], gpio: 13; value 585
 **** Analog write[-1], gpio: 12; value 418
 **** Analog write[-1], gpio: 13; value 571
 **** Analog write[-1], gpio: 12; value 407
 **** Analog write[-1], gpio: 13; value 555
 **** Analog write[-1], gpio: 12; value 393
 **** Analog write[-1], gpio: 13; value 541
 **** Analog write[-1], gpio: 12; value 383
 **** Analog write[-1], gpio: 13; value 525
 **** Analog write[-1], gpio: 12; value 372
 **** Analog write[-1], gpio: 13; value 511
 **** Analog write[-1], gpio: 12; value 362
 **** Analog write[-1], gpio: 13; value 495
 **** Analog write[-1], gpio: 12; value 351
 **** Analog write[-1], gpio: 13; value 475
 **** Analog write[-1], gpio: 12; value 341
 **** Analog write[-1], gpio: 13; value 461
 **** Analog write[-1], gpio: 12; value 330
 **** Analog write[-1], gpio: 13; value 445
 **** Analog write[-1], gpio: 12; value 320
 **** Analog write[-1], gpio: 13; value 431
 **** Analog write[-1], gpio: 12; value 306
 **** Analog write[-1], gpio: 13; value 415
 **** Analog write[-1], gpio: 12; value 295
 **** Analog write[-1], gpio: 13; value 401
 **** Analog write[-1], gpio: 12; value 285
 **** Analog write[-1], gpio: 13; value 385
 **** Analog write[-1], gpio: 12; value 274
 **** Analog write[-1], gpio: 13; value 371
 **** Analog write[-1], gpio: 12; value 264
 **** Analog write[-1], gpio: 13; value 351
 **** Analog write[-1], gpio: 12; value 253
 **** Analog write[-1], gpio: 13; value 335
 **** Analog write[-1], gpio: 12; value 243
 **** Analog write[-1], gpio: 13; value 321
 **** Analog write[-1], gpio: 12; value 232
 **** Analog write[-1], gpio: 13; value 305
 **** Analog write[-1], gpio: 12; value 222
 **** Analog write[-1], gpio: 13; value 291
 **** Analog write[-1], gpio: 12; value 208
 **** Analog write[-1], gpio: 13; value 275
 **** Analog write[-1], gpio: 12; value 197
 **** Analog write[-1], gpio: 13; value 261
 **** Analog write[-1], gpio: 12; value 187
 **** Analog write[-1], gpio: 13; value 245
 **** Analog write[-1], gpio: 12; value 176
 **** Analog write[-1], gpio: 13; value 225
 **** Analog write[-1], gpio: 12; value 166
 **** Analog write[-1], gpio: 13; value 211
 **** Analog write[-1], gpio: 12; value 155
 **** Analog write[-1], gpio: 13; value 195
 **** Analog write[-1], gpio: 12; value 145
 **** Analog write[-1], gpio: 13; value 181
 **** Analog write[-1], gpio: 12; value 134
 **** Analog write[-1], gpio: 13; value 165
 **** Analog write[-1], gpio: 12; value 120
 **** Analog write[-1], gpio: 13; value 151
 **** Analog write[-1], gpio: 12; value 110
 **** Analog write[-1], gpio: 13; value 135
 **** Analog write[-1], gpio: 12; value 99
 **** Analog write[-1], gpio: 13; value 121
 **** Analog write[-1], gpio: 12; value 89
 **** Analog write[-1], gpio: 13; value 105
 **** Analog write[-1], gpio: 12; value 78
 **** Analog write[-1], gpio: 13; value 85
 **** Analog write[-1], gpio: 12; value 68
 **** Analog write[-1], gpio: 13; value 71
 **** Analog write[-1], gpio: 12; value 57
 **** Analog write[-1], gpio: 13; value 55
 **** Analog write[-1], gpio: 12; value 47
 **** Analog write[-1], gpio: 13; value 41
 **** Analog write[-1], gpio: 12; value 36
 **** Analog write[-1], gpio: 13; value 25
 **** Analog write[-1], gpio: 12; value 26
 **** Analog write[-1], gpio: 13; value 11
 **** Analog write[-1], gpio: 12; value 15
 **** Analog write[-1], gpio: 13; value 0
 **** Analog write[-1], gpio: 12; value 5
 **** Analog write[-1], gpio: 12; value 0
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(0)
Channel(1) value changed to RGB(0, 0, 0), colBr(0), bright(0)
Send: [53 55 50 4C 41 17 07 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 08 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Button[0] pressed
Button[1] pressed
RGBW: 0,0,0,0,10
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 102
RGBW: 0,0,0,0,1
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 10
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(1)
Send: [53 55 50 4C 41 17 09 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,11
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 112
RGBW: 0,0,0,0,21
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 214
RGBW: 0,0,0,0,31
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 317
RGBW: 0,0,0,0,41
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 419
RGBW: 0,0,0,0,51
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 521
RGBW: 0,0,0,0,61
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 624
RGBW: 0,0,0,0,71
RGBW: 0,0,0,0,0
 **** Analog write[-1], gpio: 12; value 726
Button[0] released
Button[1] released
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(71)
Send: [53 55 50 4C 41 17 0A 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 47 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Wrote 1 bytes to storage at 15
Wrote 7 bytes to storage at 8
Commit
Send: [53 55 50 4C 41 17 0B 00 00 00 28 00 00 00 10 00 00 00 1E 00 00 00 00 00 00 00 0E 2C 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 05 00 00 00 32 00 00 00 10 00 00 00 31 49 D8 66 00 00 00 00 E9 F6 0B 00 00 00 00 00 53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 0C 00 00 00 28 00 00 00 10 00 00 00 37 00 00 00 00 00 00 00 61 39 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 06 00 00 00 32 00 00 00 10 00 00 00 4A 49 D8 66 00 00 00 00 BE A7 0C 00 00 00 00 00 53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 0D 00 00 00 28 00 00 00 10 00 00 00 50 00 00 00 00 00 00 00 E4 7B 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 07 00 00 00 32 00 00 00 10 00 00 00 63 49 D8 66 00 00 00 00 44 F6 0C 00 00 00 00 00 53 55 50 4C 41 ]

proszę :) z przycisku wywołałem włączeni/wyłączenie oraz na końcu zmiana jasności.
https://gui-generic-builder.supla.io/

Return to “GUI Generic”