gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
393 stars 141 forks source link

web /control is working but connection to HA publishes to mqtt /debug topic #15

Closed tbrasser closed 4 years ago

tbrasser commented 4 years ago

This was really easy to set-up, thanks a lot!

I'm still having a few issues though, I get the entity in Home Assistant, but in MQTT logs I can see that after an initial config and status message, it goes to sending debug msges only:

"failed to publish hp status change"

And also, the current temperature tpl seems to fallback to 26 degrees in home-assistant (as in the arduino sketch is defined), but in the webinterface on the /control page, it does show the correct current temperature.

Is something going wrong with setting up the json mqtt message?

gysmo38 commented 4 years ago

Yes I notice this also. I will check what happen.

gysmo38 commented 4 years ago

Can you try with the last commit? I hope it will work as expected.

tbrasser commented 4 years ago

I'll try as soon as I have access!

endeavour commented 4 years ago

Also seeing this issue (the 26c). Also HA keeps trying to put the heatpump into HEAT mode even when I click on cool?

endeavour commented 4 years ago

Seems like you are publishing to the ha_state_topic in multiple places but only in hpStatusChanged is roomTemperature set... therefore when the topic is published to from any of the other places it breaks the HA UI

endeavour commented 4 years ago

https://github.com/gysmo38/mitsubishi2MQTT/pull/16

gysmo38 commented 4 years ago

Ok I will fix this

tbrasser commented 4 years ago

I have performed an OTA (but was connected via VPN so had to do it from commandline specifying IP Port (and password). It succeeded, now waiting for it to come online (hopefully it didn't overwrite/reset my wifi settings).

Will it automatically come back online or do I need to power-cycle it (or worst case, reconfigure the network settings)?

Also, thanks a bunch for the fixes these past days!

gysmo38 commented 4 years ago

If you uploaded only sketch, it should come back online. If you upload all the flash, you will loose your configuration.

gysmo38 commented 4 years ago

no news I close .