syssi / esphome-soyosource-gtn-virtual-meter

ESPHome component to simulate the current clamp to control the Soyosource GTN1200 limiter
Apache License 2.0
73 stars 20 forks source link

Improve the precision of the `binary_sensor.fan_running` depend of the temperature #172

Open Chickenbreast0 opened 3 months ago

Chickenbreast0 commented 3 months ago

Good morning,

This is less of an issue for me and more of a question regarding the starting temperature of the fan. Your code shows an active fan from 45°C. In my case, however, the fan switches to active above 43°C and switches off again below 40.5°C. This means that the ICON of the fan is not active, even though it is already running, as I have only reached 45°C a few times so far.

Is it somehow possible to change this in the code so that the value is set as "Fan on" from 43°C?

logs_wt32-eth01_logs.txt

syssi commented 3 months ago

I will compare the threshold on my side another time and make the value configurable if it's different. At the moment it's hardcoded and cannot be changed easily.

Chickenbreast0 commented 3 months ago

Thanks for your reply. Addtionally I found out, that your current code works corrcetly, if the inverter temp reaches 45°C. Then it shows, "FAN on" even it is running since 43°C.

syssi commented 3 months ago

The fan of my Soyosource 1200W (Display version + chatty via RS485) turns on at 44.5°C (the display shows ceil(44.5) = 45°C) and off around 40°C (40.4°C).

syssi commented 3 months ago

@Chickenbreast0 Which model do you own?

Chickenbreast0 commented 3 months ago

@Chickenbreast0 Which model do you own?

Mine is a 1000W non-wifi model with display and talkative RS485 Port. Those values above I got from the RS485 Port.

Offtopic reg. the talkative part: I replaced the CPU PCB with a "new" one from Aliexpress for testing purposes. Suddenly it stopped showing me all values. After changing it back, it "spoke" to me again. Therefore I guess the communication thing depends on the CPU Board.