Module Assign NameStore Num Assign NameStore ListLoad Num Num Num Num Assign NameStore Num Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num Num Assign NameStore ListLoad Num Num FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore BinOpAdd Call NameLoad Call NameLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad If NameLoad body AugAssignAdd NameStore NameLoad orelse AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd NameLoad NameLoad AugAssignBitAnd NameStore Num Assign NameStore Call NameLoad NameLoad Num AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareEq NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BinOpAdd ListLoad NameLoad AugAssignAdd NameStore Call NameLoad BinOpRShift BinOpBitAnd NameLoad Num Num Num AugAssignAdd NameStore Call NameLoad BinOpRShift BinOpBitAnd NameLoad Num Num Num AugAssignAdd NameStore Call NameLoad BinOpBitAnd NameLoad Num Num If UnaryOpNot NameLoad body Assign NameStore Num orelse Assign NameStore Num If CompareEq NameLoad NameLoad body AugAssignBitOr NameStore Num orelse If CompareEq NameLoad Num body AugAssignBitOr NameStore Num orelse If CompareEq NameLoad Num body AugAssignBitOr NameStore Num orelse If CompareEq NameLoad Num body AugAssignBitOr NameStore Num orelse If CompareEq NameLoad Num body AugAssignBitOr NameStore Num AugAssignAdd NameStore Call NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Num Return NameLoad decorator_list Assign NameStore ListLoad Num Num Num Num FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BinOpSub NameLoad Num Assign NameStore ListLoad For NameStore Call NameLoad BinOpDiv NameLoad Num body Assign NameStore BinOpBitAnd BinOpRShift NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad AugAssignSub NameStore Num Return NameLoad decorator_list
N/A N/A ALL_SOCKETS 0 N/A PREAMBLE N/A 128 0 0 0 N/A DEFAULT_ADDR 444102 N/A DEFAULT_ADDR_ENC N/A 142 232 238 136 142 232 238 136 142 232 N/A SW1_ON_ENC N/A 238 238 N/A SW1_OFF_ENC N/A 238 232 ashex N/A N/A payload N/A N/A N/A line N/A b payload N/A N/A line N/A N/A str N/A hex b N/A line N/A build_relay_msg N/A N/A relayState N/A False N/A N/A Temporary test code to prove we can turn the relay on or off N/A payload PREAMBLE N/A relayState N/A N/A payload SW1_ON_ENC N/A N/A payload SW1_OFF_ENC N/A payload N/A build_test_message N/A N/A pattern N/A N/A N/A build a test message for a D3D2D1D0 control patter N/A payload N/A PREAMBLE DEFAULT_ADDR_ENC N/A pattern 15 N/A control N/A encode_bits pattern 4 N/A payload control N/A payload N/A build_switch_msg N/A N/A state device_address house_address N/A ALL_SOCKETS None N/A N/A Build a message to turn a switch on or off N/A N/A house_address None N/A N/A house_address DEFAULT_ADDR N/A payload N/A N/A PREAMBLE N/A payload N/A encode_bits N/A N/A house_address 983040 16 4 N/A payload N/A encode_bits N/A N/A house_address 65280 8 8 N/A payload N/A encode_bits N/A house_address 255 8 N/A N/A state N/A N/A bits 0 N/A N/A bits 1 N/A N/A device_address ALL_SOCKETS N/A N/A bits 12 N/A N/A N/A device_address 1 N/A N/A bits 14 N/A N/A N/A device_address 2 N/A N/A bits 6 N/A N/A N/A device_address 3 N/A N/A bits 10 N/A N/A N/A device_address 4 N/A N/A bits 2 N/A payload N/A encode_bits bits 4 N/A payload N/A encode_bytes N/A N/A data N/A N/A N/A Turn a list of bytes into a modulated pattern equivalent N/A payload N/A N/A b data N/A N/A payload N/A encode_bits b 8 N/A payload N/A N/A ENCODER N/A 136 142 232 238 encode_bits N/A N/A data number N/A N/A N/A Turn bits into n bytes of modulation patterns N/A shift N/A number 2 N/A encoded N/A N/A i N/A range N/A number 2 N/A N/A bits N/A N/A data shift 3 N/A N/A N/A encoded append N/A ENCODER N/A bits N/A shift 2 N/A encoded N/A