Na razie bez wnikania w detale: czemu masz tam dwa przyciski? Miał być jeden przycisk do sterowania grupą dimmerów.
Aktualizacja GUI Generic
-
- Posts: 9017
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
https://forum.supla.org/viewtopic.php?t=15820
-
- Posts: 5303
- Joined: Fri Nov 16, 2018 7:25 am
hmm nie wiem musze się to sprawdzić.
Jeżeli zmienię ButtonControlType domyślnie na BUTTON_FOR_W to rozjaśnianie/ściemnianie działa poprawnie dla DimmerLeds.
https://gui-generic-builder.supla.io/
-
- Posts: 9017
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
Jeśli po usunięciu drugiego przycisku nadal to nie będzie działać, to daj proszę logi z jednym przyciskiem.
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
https://forum.supla.org/viewtopic.php?t=15820
-
- Posts: 5303
- Joined: Fri Nov 16, 2018 7:25 am
Code: Select all
Button[0]::setButtonType: 0
Button[0]::setMulticlickTime: 300
Button[0]::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 9F 4 9F 4 ]
Section type: 3; size: 4
storedCRC 1183, CRC calc 1183
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
Validating storage state section with current device configuration
Storage state section validation successful
readStorage: 1; Read: [64 ]
readStorage: 1; Read: [64 ]
readStorage: 1; Read: [0 ]
readStorage: 1; Read: [15 ]
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
GUID: E349E0D890A9E5D8797C9CF4FBD70552
Device name: GUI Generic
Device software version: GG v7.18.19
Initializing network layer
[Wi-Fi **** Analog write[-1], gpio: 12; value 0
**** Analog write[-1], gpio: 13; value 0
] Network AP/hostname: 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): -74 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 8E 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 ]
Send: [53 55 50 4C 41 ]
Wrote 1 bytes to storage at 15
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 ]
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 03 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
Button[0] 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
Wrote 1 bytes to storage at 15
Wrote 1 bytes to storage at 16
Wrote 7 bytes to storage at 8
CRGBW: 0,0,0,0,0
ommit
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 04 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
Button[0] released
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(11)
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 0B 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Button[0] pressed
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 06 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
Button[0] released
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(11)
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 0B 00 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 16
Wrote 7 bytes to storage at 8
Commit
Button[0] pressed
Button[0] released
RGBW: 0,0,0,0,0
RGBW: 0,0,0,0,0
**** Analog write[-1], gpio: 12; value 111
**** Analog write[-1], gpio: 12; value 110
**** Analog write[-1], gpio: 12; value 109
**** Analog write[-1], gpio: 12; value 108
**** Analog write[-1], gpio: 12; value 107
**** Analog write[-1], gpio: 12; value 106
**** Analog write[-1], gpio: 12; value 105
**** Analog write[-1], gpio: 12; value 104
**** Analog write[-1], gpio: 12; value 103
**** Analog write[-1], gpio: 12; value 102
**** Analog write[-1], gpio: 12; value 101
**** Analog write[-1], gpio: 12; value 100
**** Analog write[-1], gpio: 12; value 99
**** Analog write[-1], gpio: 12; value 98
**** Analog write[-1], gpio: 12; value 97
**** Analog write[-1], gpio: 12; value 96
**** Analog write[-1], gpio: 12; value 95
**** Analog write[-1], gpio: 12; value 94
**** Analog write[-1], gpio: 12; value 93
**** Analog write[-1], gpio: 12; value 92
**** Analog write[-1], gpio: 12; value 91
**** Analog write[-1], gpio: 12; value 90
**** Analog write[-1], gpio: 12; value 89
**** Analog write[-1], gpio: 12; value 88
**** Analog write[-1], gpio: 12; value 87
**** Analog write[-1], gpio: 12; value 86
**** Analog write[-1], gpio: 12; value 85
**** Analog write[-1], gpio: 12; value 84
**** Analog write[-1], gpio: 12; value 83
**** Analog write[-1], gpio: 12; value 82
**** Analog write[-1], gpio: 12; value 81
**** Analog write[-1], gpio: 12; value 80
**** Analog write[-1], gpio: 12; value 79
**** Analog write[-1], gpio: 12; value 78
**** Analog write[-1], gpio: 12; value 77
**** Analog write[-1], gpio: 12; value 76
**** Analog write[-1], gpio: 12; value 75
**** Analog write[-1], gpio: 12; value 74
**** Analog write[-1], gpio: 12; value 73
**** Analog write[-1], gpio: 12; value 72
**** Analog write[-1], gpio: 12; value 71
**** Analog write[-1], gpio: 12; value 70
**** Analog write[-1], gpio: 12; value 69
**** Analog write[-1], gpio: 12; value 68
**** Analog write[-1], gpio: 12; value 67
**** Analog write[-1], gpio: 12; value 66
**** Analog write[-1], gpio: 12; value 65
**** Analog write[-1], gpio: 12; value 64
**** Analog write[-1], gpio: 12; value 63
**** Analog write[-1], gpio: 12; value 62
**** Analog write[-1], gpio: 12; value 61
**** Analog write[-1], gpio: 12; value 60
**** Analog write[-1], gpio: 12; value 59
**** Analog write[-1], gpio: 12; value 58
**** Analog write[-1], gpio: 12; value 57
**** Analog write[-1], gpio: 12; value 56
**** Analog write[-1], gpio: 12; value 55
**** Analog write[-1], gpio: 12; value 54
**** Analog write[-1], gpio: 12; value 53
**** Analog write[-1], gpio: 12; value 52
**** Analog write[-1], gpio: 12; value 51
**** Analog write[-1], gpio: 12; value 50
**** Analog write[-1], gpio: 12; value 49
**** Analog write[-1], gpio: 12; value 48
**** Analog write[-1], gpio: 12; value 47
**** Analog write[-1], gpio: 12; value 46
**** Analog write[-1], gpio: 12; value 45
**** Analog write[-1], gpio: 12; value 44
**** Analog write[-1], gpio: 12; value 43
**** Analog write[-1], gpio: 12; value 42
**** Analog write[-1], gpio: 12; value 41
**** Analog write[-1], gpio: 12; value 40
**** Analog write[-1], gpio: 12; value 39
**** Analog write[-1], gpio: 12; value 38
**** Analog write[-1], gpio: 12; value 37
**** Analog write[-1], gpio: 12; value 36
**** Analog write[-1], gpio: 12; value 35
**** Analog write[-1], gpio: 12; value 34
**** Analog write[-1], gpio: 12; value 33
**** Analog write[-1], gpio: 12; value 32
**** Analog write[-1], gpio: 12; value 31
**** Analog write[-1], gpio: 12; value 30
**** Analog write[-1], gpio: 12; value 29
**** Analog write[-1], gpio: 12; value 28
**** Analog write[-1], gpio: 12; value 27
**** Analog write[-1], gpio: 12; value 26
**** Analog write[-1], gpio: 12; value 25
**** Analog write[-1], gpio: 12; value 24
**** Analog write[-1], gpio: 12; value 23
**** Analog write[-1], gpio: 12; value 22
**** Analog write[-1], gpio: 12; value 21
**** Analog write[-1], gpio: 12; value 20
**** Analog write[-1], gpio: 12; value 19
**** Analog write[-1], gpio: 12; value 18
**** Analog write[-1], gpio: 12; value 17
**** Analog write[-1], gpio: 12; value 16
**** Analog write[-1], gpio: 12; value 15
**** Analog write[-1], gpio: 12; value 14
**** Analog write[-1], gpio: 12; value 13
**** Analog write[-1], gpio: 12; value 12
**** Analog write[-1], gpio: 12; value 11
**** Analog write[-1], gpio: 12; value 10
**** Analog write[-1], gpio: 12; value 9
**** Analog write[-1], gpio: 12; value 8
**** Analog write[-1], gpio: 12; value 7
**** Analog write[-1], gpio: 12; value 6
**** Analog write[-1], gpio: 12; value 5
**** Analog write[-1], gpio: 12; value 4
**** Analog write[-1], gpio: 12; value 3
**** Analog write[-1], gpio: 12; value 2
**** Analog write[-1], gpio: 12; value 1
**** Analog write[-1], gpio: 12; value 0
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(0)
Send: [53 55 50 4C 41 17 08 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 ]
Button[0] pressed
Button[0] released
RGBW: 0,0,0,0,11
RGBW: 0,0,0,0,21
**** Analog write[-1], gpio: 12; value 1
**** Analog write[-1], gpio: 13; value 1
**** Analog write[-1], gpio: 12; value 2
**** Analog write[-1], gpio: 13; value 3
**** Analog write[-1], gpio: 12; value 3
**** Analog write[-1], gpio: 13; value 5
**** Analog write[-1], gpio: 12; value 4
**** Analog write[-1], gpio: 13; value 8
**** Analog write[-1], gpio: 12; value 5
**** Analog write[-1], gpio: 13; value 10
**** Analog write[-1], gpio: 12; value 6
**** Analog write[-1], gpio: 13; value 13
**** Analog write[-1], gpio: 12; value 7
**** Analog write[-1], gpio: 13; value 15
**** Analog write[-1], gpio: 12; value 8
**** Analog write[-1], gpio: 13; value 18
**** Analog write[-1], gpio: 12; value 9
**** Analog write[-1], gpio: 13; value 20
**** Analog write[-1], gpio: 12; value 10
**** Analog write[-1], gpio: 13; value 23
**** Analog write[-1], gpio: 12; value 11
**** Analog write[-1], gpio: 13; value 25
**** Analog write[-1], gpio: 12; value 12
**** Analog write[-1], gpio: 13; value 28
**** Analog write[-1], gpio: 12; value 13
**** Analog write[-1], gpio: 13; value 30
**** Analog write[-1], gpio: 12; value 14
**** Analog write[-1], gpio: 13; value 33
**** Analog write[-1], gpio: 12; value 15
**** Analog write[-1], gpio: 13; value 35
**** Analog write[-1], gpio: 12; value 16
**** Analog write[-1], gpio: 13; value 38
**** Analog write[-1], gpio: 12; value 18
**** Analog write[-1], gpio: 13; value 40
**** Analog write[-1], gpio: 12; value 19
**** Analog write[-1], gpio: 13; value 43
**** Analog write[-1], gpio: 12; value 20
**** Analog write[-1], gpio: 13; value 45
**** Analog write[-1], gpio: 12; value 21
**** Analog write[-1], gpio: 13; value 48
**** Analog write[-1], gpio: 12; value 22
**** Analog write[-1], gpio: 13; value 50
**** Analog write[-1], gpio: 12; value 23
**** Analog write[-1], gpio: 13; value 53
**** Analog write[-1], gpio: 12; value 24
**** Analog write[-1], gpio: 13; value 55
**** Analog write[-1], gpio: 12; value 25
**** Analog write[-1], gpio: 13; value 58
**** Analog write[-1], gpio: 12; value 26
**** Analog write[-1], gpio: 13; value 60
**** Analog write[-1], gpio: 12; value 27
**** Analog write[-1], gpio: 13; value 64
**** Analog write[-1], gpio: 12; value 28
**** Analog write[-1], gpio: 13; value 67
**** Analog write[-1], gpio: 12; value 29
**** Analog write[-1], gpio: 13; value 69
**** Analog write[-1], gpio: 12; value 30
**** Analog write[-1], gpio: 13; value 72
**** Analog write[-1], gpio: 12; value 31
**** Analog write[-1], gpio: 13; value 74
**** Analog write[-1], gpio: 12; value 32
**** Analog write[-1], gpio: 13; value 77
**** Analog write[-1], gpio: 12; value 33
**** Analog write[-1], gpio: 13; value 79
**** Analog write[-1], gpio: 12; value 34
**** Analog write[-1], gpio: 13; value 82
**** Analog write[-1], gpio: 12; value 35
**** Analog write[-1], gpio: 13; value 84
**** Analog write[-1], gpio: 12; value 36
**** Analog write[-1], gpio: 13; value 87
**** Analog write[-1], gpio: 12; value 38
**** Analog write[-1], gpio: 13; value 89
**** Analog write[-1], gpio: 12; value 39
**** Analog write[-1], gpio: 13; value 92
**** Analog write[-1], gpio: 12; value 40
**** Analog write[-1], gpio: 13; value 94
**** Analog write[-1], gpio: 12; value 41
**** Analog write[-1], gpio: 13; value 97
**** Analog write[-1], gpio: 12; value 42
**** Analog write[-1], gpio: 13; value 99
**** Analog write[-1], gpio: 12; value 43
**** Analog write[-1], gpio: 13; value 102
**** Analog write[-1], gpio: 12; value 44
**** Analog write[-1], gpio: 13; value 104
**** Analog write[-1], gpio: 12; value 45
**** Analog write[-1], gpio: 13; value 107
**** Analog write[-1], gpio: 12; value 46
**** Analog write[-1], gpio: 13; value 111
**** Analog write[-1], gpio: 12; value 47
**** Analog write[-1], gpio: 13; value 113
**** Analog write[-1], gpio: 12; value 48
**** Analog write[-1], gpio: 13; value 116
**** Analog write[-1], gpio: 12; value 49
**** Analog write[-1], gpio: 13; value 118
**** Analog write[-1], gpio: 12; value 50
**** Analog write[-1], gpio: 13; value 121
**** Analog write[-1], gpio: 12; value 51
**** Analog write[-1], gpio: 13; value 123
**** Analog write[-1], gpio: 12; value 53
**** Analog write[-1], gpio: 13; value 126
**** Analog write[-1], gpio: 12; value 54
**** Analog write[-1], gpio: 13; value 128
**** Analog write[-1], gpio: 12; value 55
**** Analog write[-1], gpio: 13; value 131
**** Analog write[-1], gpio: 12; value 56
**** Analog write[-1], gpio: 13; value 133
**** Analog write[-1], gpio: 12; value 57
**** Analog write[-1], gpio: 13; value 136
**** Analog write[-1], gpio: 12; value 58
**** Analog write[-1], gpio: 13; value 140
**** Analog write[-1], gpio: 12; value 59
**** Analog write[-1], gpio: 13; value 142
**** Analog write[-1], gpio: 12; value 60
**** Analog write[-1], gpio: 13; value 145
**** Analog write[-1], gpio: 12; value 61
**** Analog write[-1], gpio: 13; value 147
**** Analog write[-1], gpio: 12; value 62
**** Analog write[-1], gpio: 13; value 150
**** Analog write[-1], gpio: 12; value 63
**** Analog write[-1], gpio: 13; value 152
**** Analog write[-1], gpio: 12; value 65
**** Analog write[-1], gpio: 13; value 155
**** Analog write[-1], gpio: 12; value 66
**** Analog write[-1], gpio: 13; value 157
**** Analog write[-1], gpio: 12; value 67
**** Analog write[-1], gpio: 13; value 160
**** Analog write[-1], gpio: 12; value 68
**** Analog write[-1], gpio: 13; value 162
**** Analog write[-1], gpio: 12; value 69
**** Analog write[-1], gpio: 13; value 165
**** Analog write[-1], gpio: 12; value 70
**** Analog write[-1], gpio: 13; value 169
**** Analog write[-1], gpio: 12; value 71
**** Analog write[-1], gpio: 13; value 171
**** Analog write[-1], gpio: 12; value 72
**** Analog write[-1], gpio: 13; value 174
**** Analog write[-1], gpio: 12; value 73
**** Analog write[-1], gpio: 13; value 176
**** Analog write[-1], gpio: 12; value 74
**** Analog write[-1], gpio: 13; value 179
**** Analog write[-1], gpio: 12; value 75
**** Analog write[-1], gpio: 13; value 181
**** Analog write[-1], gpio: 12; value 77
**** Analog write[-1], gpio: 13; value 184
**** Analog write[-1], gpio: 12; value 78
**** Analog write[-1], gpio: 13; value 186
**** Analog write[-1], gpio: 12; value 79
**** Analog write[-1], gpio: 13; value 189
**** Analog write[-1], gpio: 12; value 80
**** Analog write[-1], gpio: 13; value 191
**** Analog write[-1], gpio: 12; value 81
**** Analog write[-1], gpio: 13; value 194
**** Analog write[-1], gpio: 12; value 82
**** Analog write[-1], gpio: 13; value 196
**** Analog write[-1], gpio: 12; value 83
**** Analog write[-1], gpio: 13; value 200
**** Analog write[-1], gpio: 12; value 84
**** Analog write[-1], gpio: 13; value 203
**** Analog write[-1], gpio: 12; value 85
**** Analog write[-1], gpio: 13; value 205
**** Analog write[-1], gpio: 12; value 86
**** Analog write[-1], gpio: 13; value 208
**** Analog write[-1], gpio: 12; value 87
**** Analog write[-1], gpio: 13; value 210
**** Analog write[-1], gpio: 12; value 88
**** Analog write[-1], gpio: 13; value 213
**** Analog write[-1], gpio: 12; value 90
**** Analog write[-1], gpio: 13; value 214
**** Analog write[-1], gpio: 12; value 91
**** Analog write[-1], gpio: 12; value 92
**** Analog write[-1], gpio: 12; value 93
**** Analog write[-1], gpio: 12; value 94
**** Analog write[-1], gpio: 12; value 95
**** Analog write[-1], gpio: 12; value 96
**** Analog write[-1], gpio: 12; value 97
**** Analog write[-1], gpio: 12; value 98
**** Analog write[-1], gpio: 12; value 99
**** Analog write[-1], gpio: 12; value 100
**** Analog write[-1], gpio: 12; value 101
**** Analog write[-1], gpio: 12; value 102
**** Analog write[-1], gpio: 12; value 103
**** Analog write[-1], gpio: 12; value 104
**** Analog write[-1], gpio: 12; value 105
**** Analog write[-1], gpio: 12; value 106
**** Analog write[-1], gpio: 12; value 107
**** Analog write[-1], gpio: 12; value 108
**** Analog write[-1], gpio: 12; value 109
**** Analog write[-1], gpio: 12; value 110
**** Analog write[-1], gpio: 12; value 111
**** Analog write[-1], gpio: 12; value 112
Channel(0) value changed to RGB(0, 0, 0), colBr(0), bright(11)
Channel(1) value changed to RGB(0, 0, 0), colBr(0), bright(21)
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 0B 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 0A 00 00 00 67 00 00 00 0E 00 00 00 01 00 00 00 00 00 15 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Wrote 1 bytes to storage at 17
Wrote 7 bytes to storage at 8
Commit
https://gui-generic-builder.supla.io/
-
- Posts: 9017
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
Ok, już widzę. W "RGBW group control" dla buttonControlType == 0 (RGBW) jest odalany "ITERATE_DIM_ALL" na pierwszym kanale dimmera, a następnie jest pobierana jasność "rgb brightness" i kopiowana na pozostałe dimmery.
A DimmerBase nadpisuje metodę setRGBW i ustawia rgbBrightness zawsze na 0. Więc to dlatego nie działa.
Także przy dimmerze trzeba mu ustawić buttonControlType = BUTTON_FOR_W
Widzimy się na Supla Offline Party - 19.10.2024
https://forum.supla.org/viewtopic.php?t=15820
https://forum.supla.org/viewtopic.php?t=15820
-
- Posts: 5303
- Joined: Fri Nov 16, 2018 7:25 am
Ale nie widzę żadnej metody na ustawienie buttonControlType w GroupButtonControlRgbw.klew wrote: ↑Thu Sep 05, 2024 8:50 am Ok, już widzę. W "RGBW group control" dla buttonControlType == 0 (RGBW) jest odalany "ITERATE_DIM_ALL" na pierwszym kanale dimmera, a następnie jest pobierana jasność "rgb brightness" i kopiowana na pozostałe dimmery.
A DimmerBase nadpisuje metodę setRGBW i ustawia rgbBrightness zawsze na 0. Więc to dlatego nie działa.
Także przy dimmerze trzeba mu ustawić buttonControlType = BUTTON_FOR_W
https://gui-generic-builder.supla.io/
-
- Posts: 9017
- Joined: Thu Jun 27, 2019 12:16 pm
- Location: Wrocław
-
- Posts: 1131
- Joined: Wed Jan 15, 2020 8:17 pm
Petarda teraz działa tak jak powinno, dzięki @krycha @klew
Teraz wyzwalacz występuje jako osobny kanał, a więc tak jak w przypadku mslw, przez co miałem konflikt kanałów i było trochę konfiguracji na nowo..
A czy sama kwestia rozjaściania i ściemniania z aplikacji, a z przycisku to jakieś różne ustawienia? Bo z przycisku nie jest tak płynne jak z aplikacji, a wydaje mi się że działało płynniej.
-
- Posts: 5303
- Joined: Fri Nov 16, 2018 7:25 am
To chyba kwestia ustawień, zobacz wersję 7.18.21
https://gui-generic-builder.supla.io/