I have connected my Ökofen Pellematic smart (V2.09) thru modbus with Loxone. I want to read some values, statuses and I also want to set some values.
I've implemented most of my wishes but now I'm struggling with the readout of a status of the domestic hot water.
The modbus value is 16-bit, therefore I had to use this: http://www.loxwiki.eu/display/LOX/Ei...+Bits+zerlegen , this works great.
Every bit has a certain meaning;
- 0000 0000 0000 0001: check the alarm text
- 0000 0000 0000 0100: operating mode off
- 0000 0000 0000 0101: check the alarm text + operating mode off
- ... (17 messages in total)
Before I found out I had to use the bit divider, I started using a status building block so I could display these texts corresponding to their input value. This didn't work since I found out it was 16-bit and not just a consecutive number.
So if I want to know the status of the domestic hot water, I believe I have to use a status building block for every bit, which is not so efficient since this would result in 16 status blocks and thus 16 value fields in the visualization.
Is there anybody who has some ideas how all these status texts can be combined into one simple status field in the visualization? Generally speaking there would be a max of 3 messages that could occur together.
Or maybe there's another approach to have a similar result

Thanks in advance!
Kommentar