Basic monitoring and reporting of traffic on the Bang and Olufsen MasterLink network, including basic MasterLink packet information, the MLGW protocol, and the Home Automation Protocol The code requires a MasterLink or BeoLink Gateway to run - it is untested with the BeoLiving Intelligence The code draws heavily on the existing MLGW project by user Giachello: https://github.com/giachello/mlgw, but is recoded for Python 2.7 The repository includes: main.py Test programme to monitor events on the Bang and Olufsen Network Resources Folder: CONSTANTS.py Dictionary Constants for packet/telegram decoding MLCONFIG.py Module to download JSON config data from the gateway and initialise serialisable dictionaries of rooms and devices on the network MLCLICLIENT.py Asynchat client to monitor basic Masterlink packets on the network MLGWCLIENT.py Asynchat client to monitor events on the MLGW protocol BLHIPCLIENT.py Asynchat client to monitor traffic on the BeolinkGateway Home Integration Protocol - only works with BLGW MLtn_CLIENT.py Asynchat client to monitor traffic on the MasterlinkGateway telnet events monitor (precursor of the HIP) - works with MLGW and BLGW