laszlojakab / homeassistant-easycontrols

Helios EasyControls Modbus TCP/IP integration for Home Assistant
MIT License
20 stars 12 forks source link

Read out external room sensors #92

Open Murmillox opened 1 year ago

Murmillox commented 1 year ago

Hello

thank you for your great work.

is there a way to read external room sensors "ftf"?

Like this (sensor 1 and 2) KWL FTF

FTF

KWL_Modbus_easyControls_82269-001_0917.pdf

swiss01 commented 1 year ago

That would interest me too. I couldn't read it myself via modbus.

laszlojakab commented 1 year ago

I don't have any external sensor on my device so I can't test it but can you read out the values with eazyctrl package?

Murmillox commented 1 year ago

Yes that's works

image

laszlojakab commented 1 month ago

@Murmillox can you query v01071? Based on the docs it returns the name of the first external temp/humidity sensor.

laszlojakab commented 1 month ago

Does anyone have CO₂ or VOC sensor?

laszlojakab commented 1 month ago

Temperature and humidity added here (not tested, any feedback would be great): https://github.com/laszlojakab/homeassistant-easycontrols/tree/feat/add-external-sensors

VOC and CO₂ sensors not added yet (unit of measurement need to be find out).

laszlojakab commented 1 month ago

VOC and CO₂ also added.

Murmillox commented 1 month ago

@Murmillox can you query v01071? Based on the docs it returns the name of the first external temp/humidity sensor.

I use the sensors (temperature and humidity) FTF1 and FTF2.

Unfortunately, these two sensors do not work with the new software version. In the home assistant, the sensors are listed as "deactivated entities". If I "activate" them, they are displayed but their value is "unknown".

All other FTF, VOC and CO2 sensors that I do not have are in the same state.

Update: I found the error. The entities are missing in the "coordinator.py" file. You have to enter them twice here.

=> approx. lines 20 and 160. copy in: VARIABLE_EXTERNAL_CO2_1, VARIABLE_EXTERNAL_CO2_2, VARIABLE_EXTERNAL_CO2_3, VARIABLE_EXTERNAL_CO2_4, VARIABLE_EXTERNAL_CO2_5, VARIABLE_EXTERNAL_CO2_6, VARIABLE_EXTERNAL_CO2_7, VARIABLE_EXTERNAL_CO2_8, VARIABLE_EXTERNAL_FTF_HUMIDITY_1, VARIABLE_EXTERNAL_FTF_HUMIDITY_2, VARIABLE_EXTERNAL_FTF_HUMIDITY_3, VARIABLE_EXTERNAL_FTF_HUMIDITY_4, VARIABLE_EXTERNAL_FTF_HUMIDITY_5, VARIABLE_EXTERNAL_FTF_HUMIDITY_6, VARIABLE_EXTERNAL_FTF_HUMIDITY_7, VARIABLE_EXTERNAL_FTF_HUMIDITY_8, VARIABLE_EXTERNAL_FTF_TEMPERATURE_1, VARIABLE_EXTERNAL_FTF_TEMPERATURE_2, VARIABLE_EXTERNAL_FTF_TEMPERATURE_3, VARIABLE_EXTERNAL_FTF_TEMPERATURE_4, VARIABLE_EXTERNAL_FTF_TEMPERATURE_5, VARIABLE_EXTERNAL_FTF_TEMPERATURE_6, VARIABLE_EXTERNAL_FTF_TEMPERATURE_7, VARIABLE_EXTERNAL_FTF_TEMPERATURE_8, VARIABLE_EXTERNAL_VOC_1, VARIABLE_EXTERNAL_VOC_2, VARIABLE_EXTERNAL_VOC_3, VARIABLE_EXTERNAL_VOC_4, VARIABLE_EXTERNAL_VOC_5, VARIABLE_EXTERNAL_VOC_6, VARIABLE_EXTERNAL_VOC_7, VARIABLE_EXTERNAL_VOC_8,

laszlojakab commented 1 month ago

@Murmillox sorry, that has already been fixed but I forgot to push it to github. Try it now please.

Murmillox commented 3 weeks ago

@Murmillox sorry, that has already been fixed but I forgot to push it to github. Try it now please.

Are you sure you uploaded it now? It's still not working for me.

laszlojakab commented 6 days ago

@Murmillox Yes I have uploaded it. Do you have any error message in logs?

Murmillox commented 1 hour ago

Hello Laszlo

Your version is not working properly. I have attached 2 log files for you. One LOG with your version and one with mine (similar to the post from 08/09/24). I have also attached my version of "coordinator.py" in the email. (Changed the file extension from .py to .txt so that it reaches you safely - please change it back)

Please do the following Open both logs and look for the variable "v00111" => "External FTF humidity 1" in both (similar to the post from 03/12/23). => You won't find it in yours. You will find it in mine.

Snipping from your version: (it doesn't works) [image: image.png]

Snipping from my version: (it Works) [image: image.png]

Please swap your version for mine or add the entry from the post from 08/09/24.

Many thanks for your work!

Murmillo