Module ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str handlers ExceptHandler body Pass Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Pass Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad NameLoad Num Str Assign NameStore ListLoad NameLoad Num Str If BoolOpAnd CompareIn NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str Num orelse If BoolOpAnd CompareIn NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str Num orelse If BoolOpAnd CompareIn NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str Num orelse If BoolOpAnd CompareIn NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad BinOpAdd BinOpAdd Call NameLoad BinOpRShift AttributeLoad NameLoad attr Num Str Call NameLoad BinOpBitAnd AttributeLoad NameLoad attr Num handlers ExceptHandler body Pass Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Pass Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad BinOpAdd BinOpAdd Call NameLoad BinOpRShift AttributeLoad NameLoad attr Num Str Call NameLoad BinOpBitAnd AttributeLoad NameLoad attr Num handlers ExceptHandler body Pass Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Pass Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Pass Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp CompareNotEq NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore IfExp CompareNotEq NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore IfExp CompareNotEq NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num NameLoad Assign NameStore IfExp CompareNotEq NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Num NameLoad Assign NameStore IfExp CompareNotEq NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Num NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Num Assign NameStore IfExp CompareGt NameLoad Num Num Num While CompareLt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print BinOpAdd Str Call NameLoad NameLoad AugAssignAdd NameStore Num Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Dict NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore NameLoad Assign NameStore Num While BoolOpAnd UnaryOpNot NameLoad CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore NameLoad While BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad If AttributeLoad NameLoad attr body Print BinOpAdd Str Call NameLoad NameLoad TryExcept body Assign TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Print BinOpAdd Str Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad NameLoad body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore BinOpSub Call NameLoad NameLoad Assign NameStore IfExp CompareGt NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore Num If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad While UnaryOpNot NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str NameLoad Assign NameStore NameLoad handlers ExceptHandler body AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Return BinOpDiv NameLoad BinOpMult BinOpMult Num Num Num decorator_list
N/A socket socket AF_INET SOCK_DGRAM SOL_SOCKET SO_REUSEADDR SO_BROADCAST timeout error msgtypes * unpack unpack_lifx_message time time sleep datetime datetime N/A DEFAULT_TIMEOUT 0.5 N/A DEFAULT_ATTEMPTS 5 N/A UDP_BROADCAST_IP 255.255.255.255 N/A UDP_BROADCAST_PORT 56700 N/A VERBOSE False Device N/A object N/A __init__ N/A N/A self mac_addr service port source_id ip_addr verbose N/A False N/A N/A N/A self verbose verbose N/A N/A self mac_addr mac_addr N/A N/A self port port N/A N/A self service service N/A N/A self source_id source_id N/A N/A self ip_addr ip_addr N/A N/A self label None N/A N/A self power_level None N/A N/A self host_firmware_build_timestamp None N/A N/A self host_firmware_version None N/A N/A self wifi_firmware_build_timestamp None N/A N/A self wifi_firmware_version None N/A N/A self vendor None N/A N/A self product None N/A N/A self version None N/A refresh N/A N/A self N/A N/A N/A N/A self label N/A N/A self get_label N/A N/A self power_level N/A N/A self get_power N/A N/A N/A self host_firmware_build_timestamp N/A self host_firmware_version N/A N/A self get_host_firmware_tuple N/A N/A N/A self wifi_firmware_build_timestamp N/A self wifi_firmware_version N/A N/A self get_wifi_firmware_tuple N/A N/A N/A self vendor N/A self product N/A self version N/A N/A self get_version_tuple N/A get_mac_addr N/A N/A self N/A N/A N/A N/A self mac_addr N/A get_service N/A N/A self N/A N/A N/A N/A self service N/A get_port N/A N/A self N/A N/A N/A N/A self port N/A get_ip_addr N/A N/A self N/A N/A N/A N/A self ip_addr N/A get_label N/A N/A self N/A N/A N/A N/A N/A response N/A N/A self req_with_resp GetLabel StateLabel N/A N/A self label N/A N/A N/A response label replace N/A N/A N/A N/A N/A N/A self label N/A set_label N/A N/A self label N/A N/A N/A N/A N/A len label 32 N/A N/A label N/A label N/A 32 N/A N/A N/A self req_with_ack SetLabel N/A label label N/A get_power N/A N/A self N/A N/A N/A N/A N/A response N/A N/A self req_with_resp GetPower StatePower N/A N/A self power_level N/A response power_level N/A N/A N/A N/A N/A N/A self power_level N/A set_power N/A N/A self power rapid N/A False N/A N/A on N/A True 1 on N/A off N/A False 0 off N/A N/A N/A power on N/A rapid N/A N/A success N/A N/A self req_with_ack SetPower N/A power_level 65535 N/A N/A N/A N/A power off N/A rapid N/A N/A success N/A N/A self req_with_ack SetPower N/A power_level 0 N/A N/A N/A N/A power on rapid N/A N/A success N/A N/A self fire_and_forget SetPower N/A power_level 65535 N/A N/A N/A N/A power off rapid N/A N/A success N/A N/A self fire_and_forget SetPower N/A power_level 0 N/A get_host_firmware_tuple N/A N/A self N/A N/A N/A build None N/A version None N/A N/A N/A response N/A N/A self req_with_resp GetHostFirmware StateHostFirmware N/A build N/A response build N/A version N/A float N/A str N/A N/A N/A str N/A N/A response version 16 . N/A str N/A N/A response version 255 N/A N/A N/A N/A N/A N/A build version N/A get_host_firmware_build_timestamp N/A N/A self N/A N/A N/A N/A N/A self host_firmware_build_timestamp N/A self host_firmware_version N/A N/A self get_host_firmware_tuple N/A N/A self host_firmware_build_timestamp N/A get_host_firmware_version N/A N/A self N/A N/A N/A N/A N/A self host_firmware_build_timestamp N/A self host_firmware_version N/A N/A self get_host_firmware_tuple N/A N/A self host_firmware_version N/A get_wifi_info_tuple N/A N/A self N/A N/A N/A signal None N/A tx None N/A rx None N/A N/A N/A response N/A N/A self req_with_resp GetWifiInfo StateWifiInfo N/A signal N/A response signal N/A tx N/A response tx N/A rx N/A response rx N/A N/A N/A N/A N/A N/A signal tx rx N/A get_wifi_signal_mw N/A N/A self N/A N/A N/A N/A signal tx rx N/A N/A self get_wifi_info_tuple N/A signal N/A get_wifi_tx_bytes N/A N/A self N/A N/A N/A N/A signal tx rx N/A N/A self get_wifi_info_tuple N/A tx N/A get_wifi_rx_bytes N/A N/A self N/A N/A N/A N/A signal tx rx N/A N/A self get_wifi_info_tuple N/A rx N/A get_wifi_firmware_tuple N/A N/A self N/A N/A N/A build None N/A version None N/A N/A N/A response N/A N/A self req_with_resp GetWifiFirmware StateWifiFirmware N/A build N/A response build N/A version N/A float N/A str N/A N/A N/A str N/A N/A response version 16 . N/A str N/A N/A response version 255 N/A N/A N/A N/A N/A N/A build version N/A get_wifi_firmware_build_timestamp N/A N/A self N/A N/A N/A N/A N/A self wifi_firmware_build_timestamp N/A self wifi_firmware_version N/A N/A self _get_wifi_firmware_tuple N/A N/A self wifi_firmware_build_timestamp N/A get_wifi_firmware_version N/A N/A self N/A N/A N/A N/A N/A self wifi_firmware_build_timestamp N/A self wifi_firmware_version N/A N/A self _get_wifi_firmware_tuple N/A N/A self wifi_firmware_version N/A get_version_tuple N/A N/A self N/A N/A N/A vendor None N/A product None N/A version None N/A N/A N/A response N/A N/A self req_with_resp GetVersion StateVersion N/A vendor N/A response vendor N/A product N/A response product N/A version N/A response version N/A N/A N/A N/A N/A N/A vendor product version N/A get_vendor N/A N/A self N/A N/A N/A N/A N/A self vendor N/A self product N/A self version N/A N/A self get_version_tuple N/A N/A self vendor N/A get_product N/A N/A self N/A N/A N/A N/A N/A self vendor N/A self product N/A self version N/A N/A self get_version_tuple N/A N/A self product N/A get_version N/A N/A self N/A N/A N/A N/A N/A self vendor N/A self product N/A self version N/A N/A self get_version_tuple N/A N/A self version N/A get_info_tuple N/A N/A self N/A N/A N/A time None N/A uptime None N/A downtime None N/A N/A N/A response N/A N/A self req_with_resp GetInfo StateInfo N/A time N/A response time N/A uptime N/A response uptime N/A downtime N/A response downtime N/A N/A N/A N/A N/A N/A time uptime downtime N/A get_time N/A N/A self N/A N/A N/A N/A time uptime downtime N/A N/A self get_info_tuple N/A time N/A get_uptime N/A N/A self N/A N/A N/A N/A time uptime downtime N/A N/A self get_info_tuple N/A uptime N/A get_downtime N/A N/A self N/A N/A N/A N/A time uptime downtime N/A N/A self get_info_tuple N/A downtime N/A device_characteristics_str N/A N/A self indent N/A N/A N/A s N/A N/A {}
 format N/A self label N/A s N/A indent N/A N/A MAC Address: {}
 format N/A self mac_addr N/A s N/A indent N/A N/A IP Address: {}
 format N/A self ip_addr N/A s N/A indent N/A N/A Port: {}
 format N/A self port N/A s N/A indent N/A N/A Service: {}
 format N/A SERVICE_IDS N/A N/A self service N/A s N/A indent N/A N/A Power: {}
 format N/A str_map N/A self power_level N/A s N/A device_firmware_str N/A N/A self indent N/A N/A N/A host_build_ns N/A self host_firmware_build_timestamp N/A host_build_s N/A N/A host_build_ns None N/A N/A datetime utcfromtimestamp N/A host_build_ns 1000000000 None N/A wifi_build_ns N/A self wifi_firmware_build_timestamp N/A wifi_build_s N/A N/A wifi_build_ns None N/A N/A datetime utcfromtimestamp N/A wifi_build_ns 1000000000 None N/A s N/A N/A Host Firmware Build Timestamp: {} ({} UTC)
 format host_build_ns host_build_s N/A s N/A indent N/A N/A Host Firmware Build Version: {}
 format N/A self host_firmware_version N/A s N/A indent N/A N/A Wifi Firmware Build Timestamp: {} ({} UTC)
 format wifi_build_ns wifi_build_s N/A s N/A indent N/A N/A Wifi Firmware Build Version: {}
 format N/A self wifi_firmware_version N/A s N/A device_product_str N/A N/A self indent N/A N/A N/A s N/A N/A Vendor: {}
 format N/A self vendor N/A s N/A indent N/A N/A Product: {}
 format N/A self product N/A s N/A indent N/A N/A Version: {}
 format N/A self version N/A s N/A device_time_str N/A N/A self indent N/A N/A N/A N/A time uptime downtime N/A N/A self get_info_tuple N/A time_s N/A N/A time None N/A N/A datetime utcfromtimestamp N/A time 1000000000 None N/A uptime_s N/A N/A uptime None N/A round N/A nanosec_to_hours uptime 2 None N/A downtime_s N/A N/A downtime None N/A round N/A nanosec_to_hours downtime 2 None N/A s N/A N/A Current Time: {} ({} UTC)
 format time time_s N/A s N/A indent N/A N/A Uptime (ns): {} ({} hours)
 format uptime uptime_s N/A s N/A indent N/A N/A Last Downtime Duration +/-5s (ns): {} ({} hours)
 format downtime downtime_s N/A s N/A device_radio_str N/A N/A self indent N/A N/A N/A N/A signal tx rx N/A N/A self get_wifi_info_tuple N/A s N/A N/A Wifi Signal Strength (mW): {}
 format signal N/A s N/A indent N/A N/A Wifi TX (bytes): {}
 format tx N/A s N/A indent N/A N/A Wifi RX (bytes): {}
 format rx N/A s N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self refresh N/A indent N/A s N/A N/A self device_characteristics_str indent N/A s N/A indent N/A N/A self device_firmware_str indent N/A s N/A indent N/A N/A self device_product_str indent N/A s N/A indent N/A N/A self device_time_str indent N/A s N/A indent N/A N/A self device_radio_str indent N/A s N/A fire_and_forget N/A N/A self msg_type payload timeout_secs num_repeats N/A N/A DEFAULT_TIMEOUT DEFAULT_ATTEMPTS N/A N/A N/A N/A self initialize_socket timeout_secs N/A msg N/A msg_type N/A self mac_addr N/A self source_id seq_num 0 payload payload ack_requested False response_requested False N/A sent_msg_count 0 N/A sleep_interval N/A N/A num_repeats 20 0.05 0 N/A N/A sent_msg_count num_repeats N/A N/A N/A N/A N/A self sock sendto N/A msg packed_message N/A UDP_BROADCAST_IP N/A self port N/A N/A self verbose N/A N/A N/A SEND:  N/A str msg N/A sent_msg_count 1 N/A N/A sleep sleep_interval N/A N/A N/A self close_socket N/A req_with_ack N/A N/A self msg_type payload timeout_secs max_attempts N/A DEFAULT_TIMEOUT DEFAULT_ATTEMPTS N/A N/A N/A N/A self req_with_resp msg_type Acknowledgement payload timeout_secs max_attempts N/A req_with_resp N/A N/A self msg_type response_type payload timeout_secs max_attempts N/A N/A DEFAULT_TIMEOUT DEFAULT_ATTEMPTS N/A N/A success False N/A device_response None N/A N/A N/A self initialize_socket timeout_secs N/A N/A response_type Acknowledgement N/A N/A msg N/A msg_type N/A self mac_addr N/A self source_id seq_num 0 payload payload ack_requested True response_requested False N/A N/A msg N/A msg_type N/A self mac_addr N/A self source_id seq_num 0 payload payload ack_requested False response_requested True N/A response_seen False N/A attempts 0 N/A N/A N/A response_seen N/A attempts max_attempts N/A N/A sent False N/A start_time N/A time N/A timedout False N/A N/A N/A response_seen N/A timedout N/A N/A N/A sent N/A N/A N/A N/A N/A self sock sendto N/A msg packed_message N/A UDP_BROADCAST_IP N/A self port N/A sent True N/A N/A self verbose N/A N/A N/A SEND:  N/A str msg N/A N/A N/A N/A data N/A ip_addr port N/A N/A N/A self sock recvfrom 1024 N/A response N/A unpack_lifx_message data N/A N/A self verbose N/A N/A N/A RECV:  N/A str response N/A N/A N/A type response response_type N/A N/A N/A N/A N/A response origin 1 N/A N/A response source_id N/A self source_id N/A N/A response target_addr N/A self mac_addr N/A N/A response_seen True N/A device_response response N/A N/A self ip_addr ip_addr N/A success True N/A N/A N/A timeout N/A N/A N/A elapsed_time N/A N/A time start_time N/A timedout N/A N/A elapsed_time timeout_secs True False N/A attempts 1 N/A N/A success N/A N/A N/A WorkflowException N/A N/A WorkflowException: Did not receive {} in response to {} format N/A str response_type N/A str msg_type N/A N/A N/A self close_socket N/A device_response N/A req_with_ack_resp N/A N/A self msg_type response_type payload timeout_secs max_attempts N/A DEFAULT_TIMEOUT DEFAULT_ATTEMPTS N/A N/A N/A initialize_socket N/A N/A self timeout N/A N/A N/A N/A self sock N/A socket AF_INET SOCK_DGRAM N/A N/A N/A N/A self sock setsockopt SOL_SOCKET SO_REUSEADDR 1 N/A N/A N/A N/A self sock setsockopt SOL_SOCKET SO_BROADCAST 1 N/A N/A N/A N/A self sock settimeout timeout N/A port UDP_BROADCAST_PORT N/A success False N/A N/A success N/A N/A N/A N/A N/A N/A N/A self sock bind N/A port N/A success True N/A N/A N/A N/A port 1 N/A close_socket N/A N/A self N/A N/A N/A N/A N/A N/A self sock close N/A N/A WorkflowException N/A Exception N/A N/A N/A nanosec_to_hours N/A N/A ns N/A N/A N/A N/A ns N/A N/A 1000000000.0 60 60 N/A