absalom-muc / MHI-AC-Ctrl

Reads and writes data (e.g. power, mode, fan status etc.) from/to a Mitsubishi Heavy Industries (MHI) air conditioner (AC) via SPI controlled by MQTT
MIT License
271 stars 61 forks source link

Unable to send commands to the MHI-AC-Ctrl #165

Closed Allinijhof closed 10 months ago

Allinijhof commented 10 months ago

Name of my AC: SRK 35 ZS-W Used MHI-AC-Ctrl HW: ESP8266 ((WEMOS D1 R2 & mini with 160 MHz) Used MHI-AC-Ctrl SW: MHI-AC-Ctrl-2.8

I am able to connect the MHI-AC-Ctrl to my aircon, OpData has been displayed successful, updates have been processed through MQTT (ie RETURN-AIR). Unfortunately I am not able to send commands to the MHI-AC-Ctrl.

Could you please advise what I have to do to send ie Power on to my device?

How can I send other commands like Mode Cool to the device?

Many thanks for your support!

Regards, Allard

MHI-AC-Ctrl.zip

absalom-muc commented 10 months ago

Have you checked cmd_received (see here)? If you see no reaction on cmd_received then you use the wrong set-topic or something goes wrong with the connection of the MISO signal between ESP8266 board and your AC.

Allinijhof commented 10 months ago

Hi Absalom,

I have received cmd_received = "unknown command"

absalom-muc commented 10 months ago

Very good, use e.g. MQTT-Explorer to check the set topic, then you should see what is wrong with your commands. E.g. when switching mode to Cool you should see grafik

Allinijhof commented 10 months ago

Hi Absalom,

I have been reverting the HOSTNAME to default = 'MHI-AC-Ctrl", after sending the command to topic = MHI-AC-Ctrl/set/Power and with message = On the airco started to work.

Apparently the HOSTNAME hasn't been updated everywhere... I changed HOSTNAME in Support.h, where did I miss the update when I wanted to make the controller room specific?

absalom-muc commented 10 months ago

It should be sufficient changing HOSTNAME only. Maybe recheck upper/lowercase of your changed HOSTNAME

Allinijhof commented 10 months ago

Spot-on! Thanks four your support!

glsf91 commented 10 months ago

I close this one because it is solved.