Im using arduino as 1-wire gateway to integrate temperature and temperatue+humidity sensors (sedtronic sensors).
Data from Arduino are sended via UDP protocol on port xxx. In arduino it is displayd in this form:
1W 267F9514020000C1 TEMP 22875 VAD 1439 VDD 2970 VSENS 5
where 267… is name of the sensor, TEMP is temperature, and Vad, Vdd and Vsens are other values (i.e. Vad ~ humidity).
Now I want to transform this UDP message to MQTT protocol. And then create from it new entities in Hass.io.
Can you help me how to do it?