To connect to Flame Boss Cloud MQTT broker using any MQTT client, you will first need to sign up for an account on myflameboss.com. Then you will need your MyFB API token. To do this, use an HTTP client to create a POST request to https://myflameboss.com/api/v4/sessions with your login info. Here is an example command:
curl -X POST https://myflameboss.com/api/v4/sessions -d session[login]=firstname.lastname@example.org -d session[password]=this_is_a_fake_password
The response will contain your API token:
Then use an MQTT client to open a connection to a MyFB cloud server. The username is formed by prepending "T-" to the user_id in the response above, and the password is the auth_token. Here is a screenshot showing an open connection using the client MQTTlens:
Once connected to the broker, you can subscribe to receive temperature updates. The topic you subscribe to depends on if the device's cook is private or public. For temperature updates on a public cook from device 8838, we subscribe to topic flameboss/8838/send/open, as seen here:
Here is an example message:
"sec" is the epoch time.
"set_temp" and each value in "temps" is in units of tenths of a degree Celsius.
a "temp" value of -32767 means there is no probe plugged in.
"blower" ranges from 0 to 10000, and is in units of hundredths of a percentage point. Divide by 100 to get the percentage.
To convert "temps" or "set_temp" values to Fahrenheit or Celsius, use the following formulae (X is "temps" value)
deg F = (9/50) * X + 32
deg C = X / 10
If you need further assistance, please click here to Contact Us or call us at 800-978-9078.