For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom MQTT Guide

This is a guide on how to use your FCS with your own custom MQTT broker, in order to set it up with Home Assistant or other custom solutions.

Introduction

The FCS custom MQTT integration works with Home Assistant (HA).

Enter your Home Assistant MQTT broker credentials in FCS. Home Assistant then detects and configures FCS automatically.

You can also use another MQTT broker with Node-RED or a custom application.

Before you start

  1. Connect FCS to your network.

  2. Configure an MQTT broker and create credentials for FCS.

  3. Enter the broker credentials in FCS.

Use the same broker for Home Assistant and FCS. Home Assistant must have MQTT configured.

Typical MQTT JSON payload from FCS Fermentation

FCS publishes device data to fcs-fermentation/<mcu_id>/state.

The following example uses a standard 24V, 2A setup. It has one temperature sensor and one pressure sensor. Connected density and level sensors add their related fields.

Subscribe to fcs-fermentation/# to find your mcu ID. Then subscribe to its state topic. For example:

fcs-fermentation/20414116222657176/state

Payload fields

Field
Description

mcu_id

Unique FCS mcu ID.

temperature_1, temperature_2

Temperature sensor readings in Celsius. A disconnected or unavailable sensor returns null.

temperature_selected_sensor_value

Temperature used by the control system in Celsius.

temperature_setpoint

Configured temperature target in Celsius.

pressure

Measured pressure in bar.

pressure_setpoint

Configured pressure target in bar.

current_total, current_display

Total system and display current readings in ampere.

current_relay_*, current_can_*

Current readings for relay and CAN connections in ampere.

current_acc_*

AC current readings in ampere.

state_relay_*, state_can_*, external_relay_state

State values for relay, CAN, and external relay connections.

Connected hardware determines which fields appear in the payload. Handle missing fields and null values in custom integrations.

Updating Control System Setpoints

Publish a numeric payload to update a control system setpoint:

  • fcs-fermentation/<mcu_id>/set/temperature_setpoint

  • fcs-fermentation/<mcu_id>/set/pressure_setpoint

FCS enforces the allowed ranges. Subscribe to fcs-fermentation/<mcu_id>/state to confirm the updated value.

Example payloads

Temperature: 0–85 °C (32–185 °F)

Pressure: 0–2 bar (0–29 psi)

Auto Detected FCS Fermentation Device on HA Server

The image below shows a correctly detected FCS Fermentation device in Home Assistant.

Last updated

Was this helpful?