Using WD and sending weatherdata from WD via MQTT to my HomeAssistant setup.
When reading the MQTT-data in MQTT-Explorer, all data is OK with one value each, except from the data for “lasthr_maxgustwind” which contains 2 values, both wind-data and direction-data.
Its messing up a bit for my Home Assistant
Is this correct, or would it be better if splitted in two values ?
Contact Brian directly and ask him if he will create a new version of WD that has two extra fields containing the data you want.
Investigate how to split the field in Home Assistant after reading it from MQTT. I’ve not done this (yet) for my system but I believe it’s possible using value.split().
What is your source file? I am not familiar with Home Assistant. However, WD is very customizable when it comes to setting up the source for MQTT. Does your setup use the clientraw as it’s source? I have a very simple page to display my MQTT values at MQTT Environment Dashboard and aside from it taking an long time to read initial values seems to run ok once it get’s going.
dcrooks:
Running std WD, yes, and WD is configured to send data out over MQTT.
WD-MQTT output is configured in MQTTin.txt, where I list up all my data I need to send out from WD, based on names from taglist. Cannot see any way to manipulate these tags, or ?
WD is sending out an simple value on all tags, which I then can read in HA-MQTT.
i.e: VP2_wind = { 2.2 }
When it comes to the specific “lasthr_maxgustwind” it sends:
VP2_lasthr_maxgustwind = { 8.0 m/s W }
which make some fuzz for me in HA. I can probably as admin says, split the value in HA into two seperate strings.
Cant find any place where I can configure these details in WD. But Im not an expert configuring WD.