Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias Global identifier TryExcept body Import alias identifier Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore NameLoad handlers ExceptHandler body Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str If CompareEq Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad If CompareEq SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Index Str Slice Num Num Str body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler body Assign NameStore NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq Call AttributeLoad NameLoad attr Str body If CompareEq SubscriptLoad NameLoad Index Num Num body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr orelse If CompareEq Call AttributeLoad NameLoad attr Str body If CompareEq SubscriptLoad NameLoad Index Num Num body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr orelse If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd CompareNotIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str BinOpAdd Str Call NameLoad NameLoad body Assign NameStore AttributeLoad Call SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str BinOpAdd Str Call NameLoad NameLoad attr If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Call NameLoad SubscriptLoad NameLoad Index Num keyword NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpAnd CompareNotIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body If CompareEq Call NameLoad NameLoad Num body Assign NameStore BinOpAdd Str NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Call NameLoad BinOpMult Num SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq SubscriptLoad NameLoad Index Num Num body Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Str Str SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body Return For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body For NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad body If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpAdd BinOpAdd NameLoad Str NameLoad keyword SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad Index NameLoad If CompareIn Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body For NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str body Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpAdd BinOpAdd Str NameLoad Str keyword SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpAdd BinOpAdd Str NameLoad Str keyword SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Index NameLoad Index Str Assign NameStore Num For NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Index NameLoad Index Str body Expr Call AttributeLoad NameLoad attr keyword Str keyword BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad BinOpAdd NameLoad Num keyword SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Index NameLoad Index Str Index NameLoad AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad BinOpDiv NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Break For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Assign NameStore NameLoad
N/A N/A MPF plugin allows a machine to be controlled by an OSC client. N/A logging N/A socket N/A threading N/A locale mpf.system.config Config N/A import_success N/A N/A N/A OSC OSCmodule N/A N/A N/A socket gethostbyname N/A N/A socket gethostname N/A import_success True N/A N/A N/A N/A import_success False OSC N/A object N/A __init__ N/A N/A self machine N/A N/A N/A N/A osc N/A machine config N/A N/A N/A N/A N/A machine log debug "OSC:" section not found in the machine configuration, so the OSC plugin will not be used. N/A N/A N/A import_success N/A N/A N/A N/A N/A machine log warning OSC plugin requires PyOSC which does not appear to be installed. No prob, but FYI that the OSC will not be available. N/A N/A N/A self log N/A N/A logging getLogger osc N/A N/A self machine machine N/A config_spec 
                        client_port: int|8000
                        debug_messages: boolean|False
                         N/A N/A self config N/A N/A Config process_config config_spec N/A N/A N/A self machine config N/A osc N/A N/A N/A N/A N/A N/A self config N/A machine_ip upper AUTO N/A N/A N/A N/A self config N/A machine_ip N/A N/A socket gethostbyname N/A N/A socket gethostname N/A N/A client_updates N/A self config N/A N/A N/A N/A self config N/A client_updates N/A N/A N/A N/A self config N/A client_updates split N/A N/A N/A N/A self config N/A client_updates None N/A N/A self OSC_clients N/A dict N/A N/A self client_needs_sync False N/A N/A self client_last_update_time None N/A N/A self last_loop_time 1 N/A N/A self client_mode name N/A N/A self clients_to_delete N/A list N/A N/A self clients_to_add N/A list N/A N/A N/A N/A N/A N/A N/A self machine config N/A hardware N/A driverboards N/A 0 3 wpc N/A N/A N/A self wpc True N/A N/A N/A self wpc False N/A N/A N/A N/A N/A self machine events add_handler init_phase_4 N/A self start N/A start N/A N/A self N/A N/A N/A Starts the OSC server. N/A receive_address N/A N/A N/A self config N/A machine_ip N/A N/A self config N/A machine_port N/A N/A self server N/A N/A OSCmodule OSCServer receive_address N/A N/A N/A N/A self server addDefaultHandlers N/A N/A N/A N/A self server addMsgHandler default N/A self process_message N/A N/A N/A N/A self log info OSC Host listening on %s:%s N/A N/A self config N/A machine_ip N/A N/A self config N/A machine_port N/A N/A self server_thread N/A N/A threading Thread target N/A N/A self server serve_forever N/A N/A N/A self server_thread daemon True N/A N/A N/A N/A self server_thread start N/A N/A switches N/A N/A self config N/A client_updates N/A N/A N/A N/A self register_switches N/A N/A lights N/A N/A self config N/A client_updates N/A N/A N/A N/A self register_lights N/A N/A data N/A N/A self config N/A client_updates N/A N/A N/A N/A self register_data N/A stop N/A N/A self N/A N/A N/A Stops the OSC server. N/A N/A N/A N/A self server close N/A N/A N/A N/A self log info Waiting for the OSC host thread to finish N/A N/A N/A N/A self server_thread join N/A N/A N/A N/A self log info OSC host thread is done. N/A process_message N/A N/A self addr tags data client_address N/A N/A N/A Receives OSC messages and acts on them. N/A N/A N/A self config N/A debug_messages N/A N/A N/A N/A N/A self log debug Incoming OSC message. Client IP: %s, Message: %s, %s, %s client_address addr tags data N/A cat N/A N/A N/A addr split / N/A 1 N/A N/A N/A name N/A N/A N/A addr split / N/A 2 N/A N/A N/A N/A name None N/A N/A client_address N/A self OSC_clients N/A N/A N/A N/A self found_new_osc_client client_address N/A N/A N/A N/A cat upper SW N/A N/A N/A N/A self process_switch name data N/A N/A N/A N/A N/A cat upper REFRESH N/A N/A N/A self client_needs_sync True N/A N/A N/A N/A N/A cat upper LIGHT N/A N/A N/A N/A self process_light name data N/A N/A N/A N/A N/A cat upper COIL N/A N/A N/A N/A self process_coil name data N/A N/A N/A N/A N/A cat upper EV N/A N/A N/A N/A self process_event name data N/A N/A N/A N/A N/A cat upper AUDITS N/A N/A N/A N/A self update_audits name data N/A N/A N/A N/A N/A cat upper CONFIG N/A N/A N/A N/A self process_config name data N/A N/A N/A N/A N/A cat upper SYNC N/A N/A N/A N/A data N/A 0 1 N/A N/A N/A self client_mode name N/A N/A N/A self client_update_all N/A N/A N/A N/A N/A cat upper WPCSYNC N/A N/A N/A N/A data N/A 0 1 N/A N/A N/A self client_mode wpc N/A N/A N/A self client_update_all N/A N/A N/A N/A N/A cat upper FLIPPER N/A N/A N/A N/A self process_flipper name data N/A N/A N/A N/A self config N/A debug_messages N/A N/A N/A N/A N/A self log info Last incoming OSC message was invalid N/A process_switch N/A N/A self switch data N/A N/A N/A Processes a switch event received from the OSC client. N/A N/A N/A switch N/A N/A self machine switches N/A self wpc N/A N/A N/A N/A N/A self machine switches config N/A number_str N/A S N/A str switch N/A N/A switch N/A N/A N/A N/A N/A N/A self machine switches config N/A number_str N/A S N/A str switch name N/A N/A switch N/A N/A self machine switches N/A N/A N/A N/A N/A N/A self machine switch_controller process_switch name switch state N/A int N/A data N/A 0 logical True N/A N/A N/A N/A N/A self log debug Received OSC command for invalid switch '%s'. Ignoring... switch N/A process_light N/A N/A self light data N/A N/A N/A Processes a light event received from the OSC client. N/A N/A N/A light N/A N/A self machine lights N/A self wpc N/A N/A N/A N/A len light 1 N/A N/A light N/A 0 light N/A N/A N/A self client_mode wpc N/A N/A light N/A N/A light upper N/A l N/A N/A self machine lights N/A N/A N/A N/A N/A l config N/A number_str light N/A N/A light N/A l name N/A N/A light N/A N/A self machine lights N/A N/A N/A N/A N/A N/A N/A self machine lights N/A light on N/A int N/A 255 N/A data N/A 0 N/A N/A N/A N/A N/A self log debug Received OSC command for invalid light '%s'. Ignorring... light N/A process_coil N/A N/A self coil data N/A N/A N/A Processes a coil event received from the OSC client. N/A N/A coil N/A N/A self machine coils N/A N/A N/A N/A N/A N/A N/A self machine coils N/A coil pulse N/A process_event N/A N/A self event data N/A N/A N/A Posts an MPF event based on an event received from the OSC client. N/A N/A N/A N/A N/A self machine events post event N/A process_flipper N/A N/A self flipper data N/A N/A N/A Calls the flipper's sw_flip() or sw_release() event. N/A N/A N/A data N/A 0 1 N/A N/A N/A N/A N/A N/A N/A self machine flippers N/A flipper sw_flip N/A N/A N/A N/A N/A N/A N/A self machine flippers N/A flipper sw_release N/A register_switches N/A N/A self N/A N/A N/A Adds switch handlers to all switches so the OSC client can receive
        updates. N/A switch N/A N/A self machine switches N/A N/A N/A N/A N/A N/A self machine switch_controller add_switch_handler N/A switch name N/A self client_update_switch 1 return_info True N/A N/A N/A N/A N/A self machine switch_controller add_switch_handler N/A switch name N/A self client_update_switch 0 return_info True N/A register_lights N/A N/A self N/A N/A N/A Adds handlers to all lights so the OSC client can receive
        updates. N/A N/A N/A light N/A N/A self machine lights N/A N/A N/A N/A light add_handler N/A self client_update_light N/A N/A N/A AttributeError N/A N/A N/A register_data N/A N/A self N/A N/A N/A N/A N/A N/A N/A self machine events add_handler player_turn_start N/A self update_player N/A N/A N/A N/A N/A self machine events add_handler ball_started N/A self update_ball N/A N/A N/A N/A N/A self machine events add_handler score_change N/A self update_score N/A update_player N/A N/A self N/A kwargs N/A N/A N/A N/A self update_score N/A N/A N/A self client_send_osc_message data player N/A N/A N/A N/A self machine game player N/A number N/A update_ball N/A N/A self N/A kwargs N/A N/A N/A N/A self client_send_osc_message data ball N/A N/A N/A N/A self machine game player N/A ball N/A update_score N/A N/A self N/A kwargs N/A N/A N/A N/A self client_send_osc_message data score N/A N/A locale format %d N/A N/A N/A N/A self machine game player N/A score grouping True N/A update_audits N/A N/A self event data N/A N/A N/A Sends audit data to the OSC client. N/A N/A N/A hasattr N/A self machine auditor N/A N/A N/A category N/A N/A N/A self machine auditor current_audits N/A N/A entry N/A N/A N/A N/A self machine auditor current_audits N/A category N/A N/A N/A category Player N/A N/A N/A N/A self client_send_osc_message category audits name N/A N/A category / entry data N/A N/A N/A N/A N/A self machine auditor current_audits N/A category N/A entry N/A N/A Player N/A N/A N/A self machine auditor current_audits N/A N/A entry N/A N/A N/A N/A self machine auditor current_audits N/A Player N/A N/A N/A N/A self client_send_osc_message category audits name N/A N/A Player/ entry /average data N/A N/A N/A N/A N/A N/A self machine auditor current_audits N/A Player N/A entry N/A average N/A N/A N/A self client_send_osc_message category audits name N/A N/A Player/ entry /total data N/A N/A N/A N/A N/A N/A self machine auditor current_audits N/A Player N/A entry N/A total N/A i 0 N/A top N/A N/A N/A N/A N/A N/A self machine auditor current_audits N/A Player N/A entry N/A top N/A N/A N/A N/A self client_send_osc_message category audits name N/A N/A N/A Player/ entry /top/ N/A str N/A i 1 data N/A N/A N/A N/A N/A N/A N/A self machine auditor current_audits N/A Player N/A entry N/A top N/A i N/A i 1 N/A process_config N/A N/A self event data N/A N/A N/A N/A update_config N/A N/A self event data N/A N/A N/A Sends config data to the OSC client. N/A N/A client_update_all N/A N/A self N/A N/A N/A  Update the OSC client.
        Good for when it switches to a new tab or connects a new client
         N/A N/A N/A self client_update_all_switches N/A N/A self client_needs_sync False N/A client_update_switch N/A N/A self switch_name ms state N/A N/A N/A N/A N/A self client_mode wpc N/A N/A switch_name N/A N/A N/A N/A N/A N/A N/A self machine switches N/A switch_name config N/A number_str lower N/A N/A N/A self client_send_osc_message sw switch_name state N/A client_update_light N/A N/A self light_name brightness N/A N/A N/A N/A N/A self client_mode wpc N/A N/A light_name N/A N/A N/A N/A N/A N/A N/A self machine lights N/A light_name config N/A number_str lower N/A N/A N/A self client_send_osc_message light light_name N/A float N/A brightness 255 N/A client_update_all_switches N/A N/A self N/A N/A N/A  Updates all the switch states on the OSC client. N/A N/A N/A self client_mode name N/A N/A switch N/A N/A self machine switches N/A N/A N/A N/A N/A N/A self machine switch_controller is_active N/A switch name N/A N/A data 1 N/A N/A data 0 N/A N/A N/A self client_send_osc_message sw N/A switch name data N/A N/A N/A N/A self client_mode wpc N/A N/A switch N/A N/A self machine switches N/A N/A N/A N/A N/A N/A self machine switch_controller is_active N/A switch name N/A N/A data 1 N/A N/A data 0 N/A N/A N/A self client_send_osc_message sw N/A N/A N/A N/A switch config N/A number_str lower data N/A client_send_osc_message N/A N/A self category name data N/A N/A N/A Sends an OSC message to the client to update it
        Parameters:
        category - type of update, sw, coil, lamp, led, etc.
        name - the name of the object we're updating
        data - the data we're sending
         N/A N/A self OSC_clients N/A N/A N/A self OSC_message N/A N/A OSCmodule OSCMessage N/A N/A N/A / N/A str category / name N/A N/A N/A N/A self OSC_message append data N/A k N/A N/A N/A self OSC_clients items N/A N/A N/A N/A N/A N/A self config N/A debug_messages N/A N/A N/A N/A N/A self log info Sending OSC Message to client:%s: %s k N/A self OSC_message N/A N/A N/A N/A k N/A 1 send N/A self OSC_message N/A N/A N/A N/A OSCmodule OSCClientError N/A N/A N/A N/A N/A self log info OSC client at address %s disconnected N/A k N/A 0 N/A N/A N/A N/A self clients_to_delete append k N/A N/A client N/A self clients_to_delete N/A N/A N/A client N/A self OSC_clients N/A N/A N/A N/A self OSC_clients N/A client N/A N/A self clients_to_delete N/A N/A client N/A self clients_to_add N/A N/A N/A N/A self setup_osc_client client N/A found_new_osc_client N/A N/A self address N/A N/A N/A N/A address N/A self OSC_clients N/A N/A N/A N/A N/A self clients_to_add append address N/A setup_osc_client N/A N/A self address N/A N/A N/A Setup a new OSC client N/A N/A N/A N/A self log info OSC client at address %s connected N/A address N/A 0 N/A N/A N/A self OSC_clients N/A address N/A N/A OSCmodule OSCClient N/A N/A N/A N/A N/A self OSC_clients N/A address connect N/A N/A address N/A 0 N/A N/A self config N/A client_port N/A N/A address N/A self clients_to_add N/A N/A N/A N/A N/A self clients_to_add remove address N/A N/A N/A plugin_class OSC