nibe-mqtt
nibe-mqtt copied to clipboard
Feature Request: Mode for non-translated values
The script currently tranlates values to words, e. g.:
"43427": {
"title": "Compressor State EP14",
"info": "20 = Stopped, 40 = Starting, 60 = Running, 100 = Stopping",
"size": "u8",
"factor": 1,
"name": "compressor-state-ep14-43427",
"mappings": {
"20": "Stopped",
"40": "Starting",
"60": "Running",
"100": "Stopping"
}
},
Here value 20 is translated to "Stopped" and send to the Broker. In smarthome systems these words must be filtered and back-translated to values to use them in logic functions.
I would prefer a "non-translating" mode, so that the original values (here: "20") is sent via MQTT.
Example please. HomeAssistant works great with strings.
Loxone cannot use strings in Virtual Inputs for example. And also if you would like to build a logic with AND or OR gatter it cannot handle text.
I think this is true for many SPS systems.
This is an example how SPS program looks like in Loxone: