Hi everybody,
I am experiencing an odd behave since the last update a few days ago.
I use a fhem installation to control my DUOFern devices (accepting only int values).
I send an integer value with item.sendCommand(100) to MQTT and MQTTfx shows 100,000000 as the value which is not working at the subscriber side of the game.
My installation worked until a few days ago. I updated openHABian at that day only…
rule "REGWZGF Position" // EG großes Wohnzimmerfenster
when
Item vS_REGWZGF received command
then
switch receivedCommand
{
case "open": {Rollo_EG_WZ_GFenster_position.sendCommand(0)}
case "close": {Rollo_EG_WZ_GFenster_position.sendCommand(100)}
case "stop": {REGWZGF_Stop.sendCommand(ON)}
}
end
It does not matter if I choose an option of the switch item or I use the slider… every value will be logged as an integer in the logs but sent to MQTT as float (even a 0 will be 0,000000).
Hi Ulf,
if I am able to avoid config GUIs with text based files, I do so (in this I am a bit of a conservative, old fashioned guy ). Text based files usually offering much more flexibility.
But as far as I understand the “&d” should do the same in text based configurations… or do I miss something here?
Hi,
to define my Items in files I’m old fashioned too, but not for the mqtt things, but everyone his
I tested %d in my Paper UI configuration and it works the same way there.
I think the two variants are comparable.