Via MQTT I receive in Domoticz the following string:
2019-12-11 14:50:33.977 MQTT: Topic: domoticz/in, Message: {"idx":783,"nvalue":0,"svalue":"19.5;57.9;1;1004.5;5","Battery":100,"RSSI":7}
Iam interested in the svalue which must be
temp 19.5
humidity 57.9
humidity text value 1
pressure 1004.5
pressure text value 5
notice that ALL devices have decimal values and that is what I want Domoticz to display via the Custom Sensors option.
Whatever I try to fill in after the match function nothing works to get my pressure to show with the decimal part, Its getting rounded
the moment it gets assigned to a variable.
part of my code:
- Spoiler: show
2019-12-11 14:50:34.249 Status: LUA: 19.50 <-- even added an extra 0
2019-12-11 14:50:34.249 Status: LUA: 57.9
2019-12-11 14:50:34.249 Status: LUA: 1
2019-12-11 14:50:34.249 Status: LUA: 1004 <-- no decimal
2019-12-11 14:50:34.249 Status: LUA: 5
I studied several split LUA examples and the split example in DZvents but non of them work. In DZvents even the two last variables are not shown

Who has any ideas?
Thanks in advance
Frank