Giter Site home page Giter Site logo

Comments (8)

claustro avatar claustro commented on July 17, 2024 1

Hi,
I compiled the code using the latest release and it seems ok.
You can compile it using Arduino software after installing all the needed dependencies.
Thank you for identifying the problem.

mitsubishi2mqtt.ino.d1_mini.zip

from mitsubishi2mqtt.

robertoamd90 avatar robertoamd90 commented on July 17, 2024

Same issue, but after delete topic MQTT i'm able tu set temperature moving the point, the temperature is correctly setted on the machine (and i can verify on the web page of D1), but the point and target temperature return on 22 after 1 second or less.
Thanks

from mitsubishi2mqtt.

robertoamd90 avatar robertoamd90 commented on July 17, 2024

I have found a workaround.

I have modified the template configuration of auto discovery like in the screen above, and now i can set and read the target temperature on home assistant.

I don't know if the function removed make a worst effect, I'm trying to understand better!

With stock template:
image
image

with modified template:
image
image

from mitsubishi2mqtt.

claustro avatar claustro commented on July 17, 2024

Hi Roberto, can you explain to me better the step you took to solve the problem? I am having the same issue regarding the showed 22 degree after deleting the topic

from mitsubishi2mqtt.

robertoamd90 avatar robertoamd90 commented on July 17, 2024

Hi Roberto, can you explain to me better the step you took to solve the problem? I am having the same issue regarding the showed 22 degree after deleting the topic

Sure, in order you have to do in general (if other user need to temporary fix):

  1. install MQTT Explorer and connect to your MQTT broker
  2. copy the Value of the topic 'homeassistant/climate/MitsubishiFriendlyName/config0', where MitsubishiFriendlyName is the name you have configured on the ESP Setup -> MQTT -> Friendly name Field
  3. paste in a notepad and replace the value for the key 'temp_stat_tpl' from:
    "{% if (value_json is defined and value_json.temperature is defined) %}{{ value_json.temperature|float|min(16.00)|max(31.00) }}{% else %}22.00{% endif %}",
    to:
    "{% if (value_json is defined and value_json.temperature is defined) %}{{ value_json.temperature }}{% else %}22.00{% endif %}",
  4. go to Home Assistant and delete the Device MitsubishiFriendlyName, Settings -> Devices & Services -> MQTT -> Click on X Devices -> MitsubishiFriendlyName -> click on 3 dots -> Delete
  5. on MQTT Explorer publish a new topic equals to step 2, use for the value the modified version of the step 3
  6. Now you have again the MitsubishiFriendlyName in MQTT and Home Assistant and the Target Temperature working again

I don't know if the corrupted configuration is re loaded in any way, with manual or automatic action...

I also discovered reading the source code that bin file on the release i have downloaded and flashed not corresponding to the source code, because this error was fixed in December! I think a wrong branch is compiled for the bin creation, The line code incriminated.

I would try to compile the source code from the master branch and test it, but i'm studying how...

from mitsubishi2mqtt.

robertoamd90 avatar robertoamd90 commented on July 17, 2024

Great work!

After update I had cold sweat because the d1 don't respond, after that i understand the update make a factory reset!

P.S. the version compiled is Mitsubishi2MQTT 2023.1.0, the last release Mitsubishi2MQTT 2022.12.0 (with the bug).

@gysmo38 I would like to thank you for this great project, if you can, please add a new release with last source code!

from mitsubishi2mqtt.

robertoamd90 avatar robertoamd90 commented on July 17, 2024

Hi, I compiled the code using the latest release and it seems ok. You can compile it using Arduino software after installing all the needed dependencies. Thank you for identifying the problem.

mitsubishi2mqtt.ino.d1_mini.zip

have you detected a long time of commands response with the last build?

from mitsubishi2mqtt.

claustro avatar claustro commented on July 17, 2024

No I am not having such problem

from mitsubishi2mqtt.

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.