From 1762c56956bafd6fc0636516b494dfa935ff8aec Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Wed, 25 Dec 2024 00:34:42 +0100 Subject: space_light: first version TODO: pwm initialization is currently best guess could be wrong active low|high TODO: implement pairing TODO: implement timer TODO: use the button for something TODO: implement a better client --- dumped/decoded.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dumped/decoded.md (limited to 'dumped/decoded.md') diff --git a/dumped/decoded.md b/dumped/decoded.md new file mode 100644 index 0000000..e6d60e9 --- /dev/null +++ b/dumped/decoded.md @@ -0,0 +1,47 @@ +# My device config +|Config|Value|Description| +|------|-----|-----------| +|Jsonver| 1.1.0| json version| +|module| WB3S| Module coosed for the light| +|cmod| rgbcw| Color Model (5) rgbcw| +|dmod| 0| Color driver mode: 0-> PWM| +|cwtype| 0| Color temperature drive mode: 0 -> CW| +|onoffmode| 1| Is there a gradient when switching 1 -> turn ondirectly| +|pmemory| 1| Is there a power off memory 1 -> save data app| +|ctrl_pin| 7| CTRL pin| +|ctrl_lv| 0| CTRL pin low active| +|title20| 0| -> don't support T20| + +|Light config|Value|Description| +|------|-----|-----------| +|defcolor| b| light color afer connected | +|defbright| 80| light default brightness after connected| +|deftemp| 100| light default temperature| +|cwmaxp| 100| Maximum power configuration of cold and warm light mixing| +|brightmin| 10| Minimum brightness: 1-100| +|brightmax| 100| Maximum brightness: 1-100| +|colormax| 100| Maximum color?: 1-100| +|colormin| 10| Minumum color?: 1-100| + +|Connection config|Value|Description| +|------|-----|-----------| +|wfcfg| spcl| Low power / flash, value: spcl,prod| +|rstbr| 80| light brightness while connecting| +|rstcor| b| light color while connecting| +|rstmode| 0| light reset pairing mode | +|rstnum| 3| number of times required to reset by switching on off| +|rsttemp| 100| light brightness while connecting| + +|PWM config|Value|Description| +|------|-----|-----------| +|pwmhz| 1000| PWM frequency| +|r_pin| 9| red light pin| +|r_lv| 0| red light low active| +|g_pin| 24| green light pin| +|g_lv| 0| green light low active| +|b_pin| 26| blue light pin | +|b_lv| 0| blue light low active| +|c_pin| 8| cold light pin | +|c_lv| 0| cold light low active | +|w_pin| 6| warm light (motor) pin| +|w_lv| 1| warm light (motor) high active| -- cgit v1.2.3