Code Monkey home page Code Monkey logo

Comments (24)

lanwin avatar lanwin commented on September 13, 2024 2

Hi mbo18 thanks for reporting this.

Can you please redeploy your version and add this option to your yaml config:

samsung_ac:
  debug_log_messages_raw: true

This will print the raw messages to console.

Please let that run 15 seconds and the copy and paste the logs from that 15 seconds into here.
Please also paste the current temp from ESPHome and from Samsung APP within that time range.

This could help to solve that problem.

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024 1

Re-did it, target temp is set to 20, inside temp is reported as 21 by Samsung
Capture d’écran 2023-12-05 à 13 31 47

logs_salon-hvac_logs(4).txt

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024 1

I have 3 different outdoor devices with an indoor device each

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024 1

The configuration now has room_temperature_offset to correct the reported value. Please look into the example.yaml

from esphome_samsung_ac.

bzumik1 avatar bzumik1 commented on September 13, 2024

Hi, I am also experiencing this issue, for me the difference is not so big though. Will also check it from my side.

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

Please find attached log and temp as requested.

Please note that now that I have enable debug messages, I can't disable it. I've tried removing the line from the conf and set it to false without success.

Capture d’écran 2023-12-05 à 09 58 44

logs_salon-hvac_run.txt

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

Can you please check if the Smartthings value inst simply the target temperature? The only 19° value I see in your logs is from the target temperature variable.

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

I don't think so. Target temperature is set to 19 and is fixed. Also, the HVAC displays sometimes 20°, sometimes 19°

From the smartthings integration:
Capture d’écran 2023-12-05 à 10 28 29

Temperature measurement is equal to "Currently" from the climate entity.

Maybe the HVAC applies a filter to "correct" the value?

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

Could you please take a log when temp is 20° or change the target temp in example to 18°?

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

See log attached.

I've changed the target temp to 18 at [12:48:36] and back to 19 at [12:48:57]
logs_salon-hvac_logs.txt

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

And now with target temp set to 20° and indoor temp reported as 20°C by Smartthings
logs_salon-hvac_logs(1).txt

Capture d’écran 2023-12-05 à 13 19 16

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

And now with target temp set to 20° and indoor temp reported as 20°C by Smartthings logs_salon-hvac_logs(1).txt
Capture d’écran 2023-12-05 à 13 19 16

Witch if these images is esphome und witch smartthings?

From the logs I can see that VAR_in_temp_room_f 21.700000.

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

Hmm I am not sure where that 2° gap came from. I could imaging that this is some sort of correction since most AC's are attached near the ceiling where its more hot then on the ground.

@bzumik1 can you please check what the difference is for you?

@mbo18 did the target temperature match? Did Smartthings have the same value als ESPHome and if you set the target temp in Smarttings did ESPHome also shows the same value?

from esphome_samsung_ac.

bzumik1 avatar bzumik1 commented on September 13, 2024

Hi @lanwin will check it today or tomorrow.

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

Hi lanwin,

Yes the target temperature match. I have the same value from ESPHome, Smartthings and the device's screen. It all updates in a second when changed.

I think that I will create a template sensor in ESPHome with a calibrate_linear filter.

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

Well it really could be an correction value. My indoor device shows 26.6° and sits inside the ceiling. 1m below I have an temp sensor at around 1,7m. This shows 24.4° witch is indeed ~2° difference.

from esphome_samsung_ac.

bzumik1 avatar bzumik1 commented on September 13, 2024

Hi @lanwin, the difference is 0,5°C on one indoor unit and 1,7°C on another (both mounted at same height). I am trying to get the data to Grafana and compare the temperature which I am getting from smarthings and the one from this. The target temperature is same on both.

from esphome_samsung_ac.

bzumik1 avatar bzumik1 commented on September 13, 2024

Hi lanwin,

Yes the target temperature match. I have the same value from ESPHome, Smartthings and the device's screen. It all updates in a second when changed.

I think that I will create a template sensor in ESPHome with a calibrate_linear filter.

For now this seems like reasonable solution, but we should allow the calibration in this component it self. It is quite strange though because per my understanding these data would be shown on wall panel so do not understand why there is the difference. Can't we be reading different values?

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

I think that Samsung is simulating the indoor temperature. The sensor is on the device at 2m+ but this does not represent the real room temperature.
The temperature we get seems to be very precise but the temperature from samsung is vague (adapted to the display and not precise because not the real temperature but an approximation). I may be wrong :)
Capture d’écran 2023-12-08 à 10 59 23

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

So I’m unable to do something on the esphome side as the current temperature has no id and I don’t know how to get the temperature. More over it would be best to being able to change it for the climate component. Maybe add a way to modify the temperature using lambda?

For anyone interested, the formula is:
indoor temp = current temperature|int - 2

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

@bzumik1 has you done more comparison with your data?

from esphome_samsung_ac.

bzumik1 avatar bzumik1 commented on September 13, 2024

Hi, sorry didn't have time for that. I have it in my called though.

from esphome_samsung_ac.

mbo18 avatar mbo18 commented on September 13, 2024

I've added 2 more m5stack and now my 3 indoor units are locally connected!

Regarding temperature, I have slightly the same result. Sometimes its -2 or -3°. I did not find the real formula used by samsung.

Capture d’écran 2024-01-10 à 16 54 16

from esphome_samsung_ac.

lanwin avatar lanwin commented on September 13, 2024

Do you have 3 different outdoor devices with an indoor device each? Or one outdoor device and 3 indoor device?

from esphome_samsung_ac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.