Ztaeyn / HomeAssistant-VTR-Modbus

Simple control of Systemair VTR(300) via modbus directly to HA.
17 stars 5 forks source link

Undocumented registers #17

Open uowiec opened 6 months ago

uowiec commented 6 months ago

Hi,

I know this code has been created by numerous hands, but do you know anything about the entities:

Also, these 2 registers have incorrect addresses

  - name: vsr300_efficiency_temperature
    address: 12107
  - name: vsr300_overhetingstemperatur_tilluft
    address: 12108

They should be -1

Found another one: in vsr300_mode_status: separate Cooker and Hood? They should be: {% elif states('sensor.vsr300_mode_status_register')|int == 7 %} Cooker Hood {% elif states('sensor.vsr300_mode_status_register')|int == 8 %} Vacuum Cleaner {% elif states('sensor.vsr300_mode_status_register')|int == 9 %} CDI1 {% elif states('sensor.vsr300_mode_status_register')|int == 10 %} CDI2 {% elif states('sensor.vsr300_mode_status_register')|int == 11 %} CDI3 {% elif states('sensor.vsr300_mode_status_register')|int == 12 %} Pressure guard
{% else %} WTF {% endif %}

Thanks for your work!

Ztaeyn commented 6 months ago

Hello, and thank you for the feedback! I'm sorry to say I don't know the two undocumented entities, but I make an assumption that they could relate to something with PPM auto, moisture etc? (referring to my first source of this code, https://github.com/GMTrevis/Homeassistant-NodeRed-Systemair-VTR300 )

Thank you for pointing out the mistakes, I've corrected them at my end now. I've tried looking for bugs like this after I recreated GMTrevis' former code (before he migrated to node red), but after the 2nd kid popped into the world half a year ago, I lack either the free time or the energy to sit down with this :(

I'll leave the comment open, as it would be nice to find out of this :D

uowiec commented 6 months ago

Hi, and thanks for quick reply :) @GMTrevis is a legend indeed :laughing: I tried his code first, but the Norwegian language and the way how it's been created totally overcome me. Your approach is the one I like.