<jupyter_start><jupyter_text>MAX318955 Temperature SensorTo run this script, select `Run` → `Run All Cells` from the menu.<jupyter_code>## Don't modify this line! :)
config = {}

## MQTT - our client id
config['mqtt_id'] = 'MCP3204-Reader'

## MQTT - broker ip / hostname
config['mqtt_broker'] = 'iot.fh-muenster.de'

## MQTT - broker username / password
config['mqtt_broker_user'] = 'MQTT_USER'
config['mqtt_broker_pass'] = '<PASSWORD>_PASSWORD'

## MQTT - empty sset of topics
config['mqtt_topics'] = set([])

## MQTT - subscribed topics
config['mqtt_topics'].add('sensor/3C:71:BF:AA:7B:18')
#config['mqtt_topics'].add('sensor/60:01:94:4A:A8:95')

## Recording - stop the program if the defined amount of samples has been recorded (0 = unlimited)
config['record_sample_limit'] = 0

## Recording - stop the program if the defined amount of seconds has passed (0 = unlimited)
config['record_duration_limit'] = 10

## Display - upper limit of samples displayed in the bokeh graph
config['bokeh_stream_rollover'] = 250

## Export formats (True/False)
config['export_json']  = False
config['export_csv']   = True
config['export_excel'] = False
import MCP3204
MCP3204.record_and_display(config)
import MCP3204<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13765182186234817, 'fraction_numerical': 0.03724696356275304, 'mean_word_length': 5.905027932960894, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '510336', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 467, 'n_tokens_neox': 431, 'n_words': 111, 'path': 'Python/MCP3204/MAX31855.ipynb', 'repo_name': 'nplab/IOT-Project', 'size': '1229'}