yozik04 / nibe-mqtt

Nibe MQTT integration to use with HomeAssistant MQTT Autodiscovery
GNU General Public License v3.0
29 stars 9 forks source link

Feature Request: Set Word Swap automatically #16

Closed mschlenstedt closed 1 year ago

mschlenstedt commented 1 year ago

The setting of word swap is available in the pump configuration:

"48852": {
    "title": "Modbus40 Word Swap",
    "info": "If set; swapping the words in 32-bit variables when value requested via ''read holding register'' commando.",
    "size": "u8",
    "factor": 1,
    "min": 0.0,
    "max": 1.0,
    "default": 1.0,
    "name": "modbus40-word-swap-48852",
    "write": true
  },

Maybe it is worth to include a setting "word_swap: auto" where nibe-mqtt polls register 48852 and sets it's own setting accordingly.

yozik04 commented 1 year ago

I did not had time for it yet.

yozik04 commented 1 year ago

Try release 0.4.0