Modbus climate not showing target_temperature

Hello, i am automating my Magnum Heating floor heating with my magnum w-controller. So I bought a Elfin-EW11 and configured modbus tcp. if i use modbus poll i can see it is working. current temperature is in register 1101 and target temperature is in register 1107 (needs to be devided by 100). see picture, the temperature in the living is 24.6 degrees and 18.5 is set.

mbpol

when i configure homeassistant in the yaml configuration:

modbus:

  • name: hub1
    type: tcp
    host: x.x.x.x
    port: 502
    climates:
    • name: Woonkamer_temperatuur
      slave: 1
      data_type: int
      data_count: 1
      scale: 0.01
      offset: 0
      precision: 1
      max_temp: 30
      min_temp: 15
      temp_step: 0.5
      temperature_unit: C
      target_temp_register: 1107
      current_temp_register: 1101
      current_temp_register_type: input

and i configure a thermostat in the lovelace only the current temperature is given. it looks like the target temperature is not working.

climate

i think i am missing something.

Hi Alex,

Did you ever get this working right?
I also own a W-controller from Magnum and want to be able to take control more.

Thank you,

Jef

Yes I did, I called magnum and asked for all the registers of the modbus.

After that I made a sensor of every thermostat (2x cooling and heating).

After that I used a conditional card to switch between cooling and heating, I can also ajust every thermostat now.

1 Like

Hi Alex, I have the same Magnum controller. I purchased the Elfin convertor as you mentioned. Can you share the steps you’ve taken to get this setup working?

Thanks,

Stijn

Hi Alex, could you please help me out setting up the correct configuration? I have the exact same setup and would really appreciate the correct config.

Thanks in advance!

Stijn

modbus:

  • name: hub1
    type: tcp
    host: x.x.x.x
    port: 502
    sensors:
    • name: Thermostat_state_slaapkamer_xxxx
      slave: 1
      address: 1914
      data_type: int16
      input_type: input
      climates:
    • name: slaapkamer_xxxx_manual
      slave: 1
      data_type: int16
      scale: 0.01
      offset: 0
      precision: 1
      max_temp: 30
      min_temp: 15
      temp_step: 0.5
      target_temp_register: 1901
      address: 1901
      input_type: input
    • name: slaapkamer_xxxx_cool
      slave: 1
      data_type: int16
      scale: 0.01
      offset: 0
      precision: 1
      max_temp: 30
      min_temp: 15
      temp_step: 0.5
      target_temp_register: 1902
      address: 1901
      input_type: input

type: conditional
conditions:

  • entity: sensor.thermostat_state_slaapkamer_xxxx
    state: “2”
    card:
    entities:
    • entity: climate.slaapkamer_xxxx_manal
      type: custom:simple-thermostat
      step_size: 0.5
      hide:
      state: true
      control: false
      header: false
      title: Slaapkamer_xxxx
      type: entities

type: conditional
conditions:

  • entity: sensor.thermostat_state_slaapkamer_xxxx
    state: “7”
    card:
    entities:
    • entity: climate.slaapkamer_xxxx_cool
      type: custom:simple-thermostat
      step_size: 0.5
      hide:
      state: true
      control: false
      header: false
      title: Slaapkamer_xxxx
      type: entities
2 Likes

Thanks.
Soon i’ll have a this: https://www.amazon.nl/dp/B0C1C7JT8C/ref=pe_28126711_487102941_TE_SCE_3p_dp_1
Let’s see if i can get it working.

@avdwilk
Ik krijg het niet aan de gang. Gezien het feit dat jij het werkend hebt, gaat om dit ding?

Elfin-EW11 – Koop Elfin-EW11 met gratis verzending op AliExpress version

Volgens mij is dat een wifi ding, ik heb een ethernet to rs485 module de ee11 ipv de ew11, maar in principe zou dat niet uit mogen maken…

Krijg je wel de webpagina van de ew11 geopend op de computer?

Het is geen EW11. Ik had eerst even moeten kijken wat jij gebruikte.
Het is dit ding en ik kan de website benaderen. Om Modbus gezet maar het lukt niet echt. TTL UART to Ethernet Mini Module, Castellated Holes With Immersion Gold Design, Highly Integrated Packaging | UART TO ETH (B)

Als je Modbus poll installeert zie je dan geen data

Wellicht het a en b kanaal omdraaien anders

Nee, verschillende van die programma’s geprobeerd.
Ben er ondertussen ver ingedoken en als test diagslave op een Raspberry Pi op Ubuntu geïnstalleerd en dat werkt allemaal wel.
Ondertussen heb ik de Elfin-EW11A besteld. Ben benieuwd.