Commit Graph

29 Commits (main)

Author SHA1 Message Date
Martin Böh d0c28cce5c Clearly the wrong conversion, back to s-rgb 2022-04-08 01:33:47 +02:00
Martin Böh 754160c7b6 Revert level changes and switch to wide rgb d50 for xy 2022-04-08 01:25:35 +02:00
Martin Böh 851a2a3de1 test: change pwm frequency to 480hz 2022-04-08 00:17:04 +02:00
Martin Böh f01256f553 Introduce zigbee dimming curve, remove some useless stuff 2022-04-07 23:56:38 +02:00
Martin Böh c7039655c6 wip: xy color bug hunting 2022-04-07 19:36:59 +02:00
Martin Böh 356ae0f04e Another attempt at the XY conversion 2022-04-07 19:22:16 +02:00
Martin Böh 95b9fe8eea Fix overflow in XY transition 2022-04-05 19:24:18 +02:00
Martin Böh dd198ef4c1 Fix enhanced hue colors 2022-04-05 18:29:25 +02:00
MartB fbe192ef8b EnhancedHue support for HSV + 3khz PWM 2022-04-04 20:50:06 +02:00
MartB cde9138dcd Primaries are unknown, align with spec, remove reportable from color attributes. 2022-04-04 18:08:18 +02:00
MartB 358dc29ff7 Fix time stepping in interpolation, change broke time accuracy
Add back enhanced hue, causes read errors otherwise
2022-04-04 17:11:22 +02:00
MartB 6c3e794bec Redo XY Color remaining time logic. 2022-04-04 16:53:08 +02:00
MartB 48c02b36af Fix PWM testing for good and remove enhancedCurrentHue, not supported. 2022-04-04 07:22:41 +02:00
MartB abca39b3fe xy_mapping: properly redo the xy -> rgb conversion 2022-04-04 06:38:19 +02:00
MartB 0f797f3611 Fix invalid pointers warnings and pwm test logic 2022-04-04 03:31:11 +02:00
MartB 01f421add3 Add pwm channel test on second button. 2022-04-04 03:04:58 +02:00
MartB 4d158ee4d0 Cleanup transitioning code 2022-04-04 03:04:46 +02:00
MartB 7d845f5ce8 Fix math for XY colors 2022-04-04 03:04:22 +02:00
MartB 2a6a6e8697 Move level and color timer intervals to a central place, both 50hz. 2022-04-04 01:53:35 +02:00
MartB b297184185 An attempt at implementing the XY color moveto command. 2022-04-04 01:22:25 +02:00
MartB 6eac6513a2 Adjust color temperature max values for the attached light. 2022-04-04 01:13:36 +02:00
MartB 4eb4af8eb6 Actually store all start-up settings in nvram now, and do so periodically! 2022-04-04 00:43:03 +02:00
MartB fe8ce643b4 Fix wrong colorMode on scene restore bug 2022-04-04 00:42:36 +02:00
MartB bb21973042 xy_color: no idea what im doing here but maybe this does something 2022-04-03 19:03:55 +02:00
MartB 98378ea66f config: change default channel to 11 2022-04-03 18:38:23 +02:00
MartB 5c450b456b Parameters: Only store and restore StartUP* parameters in nvram 2022-04-03 18:35:48 +02:00
MartB 222faed678 Reformat files 2022-04-01 19:14:59 +02:00
MartB edff6aef13 Gledopto Mini5In1 TLSR8258F512ET32 support 2022-04-01 19:00:18 +02:00
MartB 1945589d60 Initial SDK Import 2022-04-01 18:59:22 +02:00