MQTT
Settings available on local configuration webpage
Settings
MQTT protocol allows the anemometer to push wind data to a server under a topic, then the server relays the message to all the clients having subscribed to the topic. This protocol is commonly used for IoT.
Select a service
Custom configuration or preset for Home Assistant
Broker url
The URL of the MQTT broker. It must start with mqtt://
or mqtts://
Topic
The MQTT topic to which wind data will be published. Clients must subscribe to this topic to receive updates.
Username (optional)
The username required by the broker, if authentication is needed.
Password (optional)
The password associated with the provided username, if required by the broker.
Unit
Unit format for MQTT messages
Last status
Displays the result of the most recent publishing attempt—either a confirmation of success or an error message.
Messages
Messages are published periodically in JSON format:
- Instantaneous wind data is sent every 3 seconds
{
"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.
{
"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.
{
"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
}