Skip to main content

MQTT

Settings available on local configuration webpage

MQTT broker settings

MQTT Broker settings

MQTT allows the anemometer to publish wind data to a broker under a specific topic.
The broker then relays the messages to all clients subscribed to that topic.
This protocol is commonly used in IoT systems.

Field NameTypeDescription
Select a ServiceSelectChoose between a custom MQTT configuration or a preset for Home Assistant.
Broker URLInputURL of the MQTT broker. Must start with mqtt:// or mqtts://.
TopicInputMQTT topic to which wind data is published. Clients must subscribe to this topic to receive updates.
Username (optional)InputUsername required by the broker, if authentication is enabled.
Password (optional)InputPassword associated with the provided username, if required by the broker.
UnitSelectUnit format used in MQTT messages.
Last StatusInfoResult of the most recent publish attempt (success or error message).
SaveButtonApply and store the current MQTT configuration.

Messages

Messages are published periodically in JSON format:

  • Instantaneous wind data is sent every 3 seconds when the device is not in Eco mode.
{
"type": "INSTANT_WIND",
"wind_instant_speed": 4.3,
"wind_instant_dir": 237, // in degrees, ranging from 0 to 359
"wind_instant_dir_cardinal": "WSW",
"unit": "m/s"
}
  • Minimum, maximum, and average wind values over the past 10 minutes are sent every minute (2 or 5 minutes in Eco mode). When a value is unavailable or cannot be computed, the corresponding field is set to null.
{
"type": "MOVING_10MN",
"wind_avg": 4.3,
"wind_max": 1.74,
"wind_min": 0,
"wind_dir": 207, // in degrees, ranging from 0 to 359
"wind_dir_cardinal": "SSW",
"unit": "m/s"
}
  • Device health information is sent every minute (2 or 5 minutes in Eco mode).
{
"type": "DEVICE_HEALTH",
"voltage": 13374, // in mV
"firmware_version": "0.3.0",
"ssid": "OUR_HOME_2.4G",
"rssi": -68, // in dBm
"local_ip": "192.168.1.22",
"uptime": 696998, // in seconds
"free_heap": 95340 // in KB
}