Python LimitlessLED via RF

Check-in [f43fef83ae]
Login
Overview
Comment:Improved speed and moved unimplemented types out of the main map
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f43fef83ae22cc321c34b9512dbdec1fdf9486a055e9a29a5068dc00d0bce0fd
User & Date: rkeene on 2020-04-28 17:38:25
Other Links: manifest | tags
Context
2020-04-28
18:20
Further improved delays check-in: 989cbde578 user: rkeene tags: trunk
17:38
Improved speed and moved unimplemented types out of the main map check-in: f43fef83ae user: rkeene tags: trunk
17:31
Implemented pair/unpair check-in: 79fb8a5f22 user: rkeene tags: trunk
Changes

Modified __init__.py from [c5fd7efe42] to [ee4a04daf8].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/env python3

import random
import time

class remote:
	_remote_type_alias_map = {
		'fut089': 'rgb+cct'
	}
	_remote_type_parameters_map = {
		'rgbw': {
			'retries':  5,
			'delay':    0.02,
			'channels': [9, 40, 71],
			'syncword': [0x258B, 0x147A],
			'features': [
				'can_set_brightness',
				'has_brightness',
				'has_white',
				'has_color'











|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/env python3

import random
import time

class remote:
	_remote_type_alias_map = {
		'fut089': 'rgb+cct'
	}
	_remote_type_parameters_map = {
		'rgbw': {
			'retries':  3,
			'delay':    0.005,
			'channels': [9, 40, 71],
			'syncword': [0x258B, 0x147A],
			'features': [
				'can_set_brightness',
				'has_brightness',
				'has_white',
				'has_color'
85
86
87
88
89
90
91
92



93
94
95
96
97
98
99
				'zone_night:3': 0x1A,
				'zone_night:4': 0x16,
				'brightness_up':    0x0C,
				'brightness_down':  0x04,
				'temperature_up':   0x0E,
				'temperature_down': 0x0F
			}
		},



		'rgb+cct': {
			'channels': [8, 39, 70],
			'syncword': [0x1809, 0x7236]
		},
		'rgb': {
			'channels': [3, 38, 73],
			'syncword': [0xBCCD, 0x9AAB]







<
>
>
>







85
86
87
88
89
90
91

92
93
94
95
96
97
98
99
100
101
				'zone_night:3': 0x1A,
				'zone_night:4': 0x16,
				'brightness_up':    0x0C,
				'brightness_down':  0x04,
				'temperature_up':   0x0E,
				'temperature_down': 0x0F
			}

		}
	}
	_remote_type_parameters_map_unimplemented = {
		'rgb+cct': {
			'channels': [8, 39, 70],
			'syncword': [0x1809, 0x7236]
		},
		'rgb': {
			'channels': [3, 38, 73],
			'syncword': [0xBCCD, 0x9AAB]