# Change XYZ to the UID of your Thermocouple Bricklet 2.0

setup:
	# Handle incoming temperature callbacks
	subscribe to tinkerforge/callback/thermocouple_v2_bricklet/XYZ/temperature
	publish '{"register": true}' to tinkerforge/register/thermocouple_v2_bricklet/XYZ/temperature # Register temperature callback
	
	# Set period for temperature callback to 1s (1000ms) without a threshold
	publish '{"period": 1000, "value_has_to_change": false, "option": "off", "min": 0, "max": 0}' to tinkerforge/request/thermocouple_v2_bricklet/XYZ/set_temperature_callback_configuration  
