Hello,
I am joining the conversation, as MQTT is at the heart of my management at 99%.
Here I share my working configuration on Gladys v3 for 2 years:
Arduino (device) → Gladys = sensor updates:
Topic = gladys/master/device/state/update/Arduino01_garage/Garage Electricity
Payload = {« Average Voltage »: 231, « Total Current »: 11.6, « Power »: 2691.2}
Topic Breakdown:
- gladys/master/device/state/update = topic followed by Gladys for value updates
- Arduino01_garage = name of the Arduino in its program to avoid cluttering messages sent to other Arduinos in the command topic (below). It is part of the
deviceidentifier. - Garage Electricity = Name of the device, also included in its identifier:
name=Garage Electricityidentifier=Arduino01_garage/Garage Electricity - Average Voltage =
identifierof the DeviceType (Feature in V4).