Replies: 8 comments 11 replies
-
The options are based on what people have asked for, for HA. The auto config can be turned off, just turn off ha setting. You can then do any manual config. The MQTT for HA is all in the auto config if you need to know what it is. There is more than one way to make changes and get status as HA was added later. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I have the Faikin module working for about 2 months now without a flaw. So much better than the native HTTP stuff... So thanks for that too ! |
Beta Was this translation helpful? Give feedback.
-
Got it working with mosquitto_pub. However I don't understand why there's a difference in behaviour between HTTP and MQTT:
Is there a reason ? |
Beta Was this translation helpful? Give feedback.
-
Starting state: unit switched off, mode = heat: Action: switching mode to fan only via MQTT: (below command launched from within Domoticz but that's not relevant): Result: unit switched ON and mode changed to FAN. Action: switching the unit off manually in the Faikin web interface, then switching mode to HEAT via MQTT: Result: unit switched ON and mode changed to HEAT. I was not able to reproduce the switch off at the end of the sequence (=going back to the initial power off state) that I observed yesterday. I will report it if I see it again. I have my units automatically switch from heating to cooling mode at the appropriate time of the year, and that mode needs to be visible in the user interface so that I know what mode the unit will start in when it is turned on. Having a mode "off" doesn't seem logical to me at all, the unit is always in a certain mode even when it's off. In the Faikin web interface that's all OK. However imho the unit switching automatically on when changing the mode is an issue. The Faikin web interface as well as the HTTP API allow to switch the mode without also switching the unit on. I'd like to be able to do exactly that via the MQTT interface. Is that possible in the current implementation ? |
Beta Was this translation helpful? Give feedback.
-
Great - that does what I expect: changing mode without turning the unit on. THANKS ! I've also done some more testing: Starting state: unit switched ON, heating mode. Starting state: unit switched OFF, heating mode. As far as I'm concerned this topic can be closed. Thanks again for your reactivity and for all the effort you put into this ! |
Beta Was this translation helpful? Give feedback.
-
Just getting back to the command In Faikin.c lines 1540-1541 I find Any reason why that conversion doesn't seem to take place ? |
Beta Was this translation helpful? Give feedback.
-
If besides "H", "C", "D", "F", ... mode commands the Faikin module would also accept "heat", "cool", "heat_cool", ... then the MQTT auto discovery would work out of the box for Domoticz too (be it with the english labels - but that's cosmetic). Same for the fan (accepting "auto", "quit", "low", ... as well as "A", "Q", "1"..."5"). I don't need such changes for myself as I have elaborated a workaround that allows me to have the labels on the user interface in my native language (and I also get rid of the "off" mode), but it would lead to a fully working Faikin MQTT integration in Domoticz. So maybe something to put on the Faikin development backlog - up to you. |
Beta Was this translation helpful? Give feedback.
-
Great. But |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on the autodiscovery climate config message Domoticz creates a switch device that offers the choice between heat_cool, off, cool, heat, dry and fan_only - exactly as specified in the config message.
First of all I don't understand why "off" is in the list, as there is a separate switch to power the unit on/off ? When the unit is switched off, Domoticz not only marks the power switch as off, but also this switch. As a consequence it is not possible to see in what mode the unit will start when it is powered on.
So I'd be obliged to have Domoticz set the correct mode each time it switches on the unit ?
I also noted that I cannot change the names (heat/cool/...) in my native language - any change is immediately reverted back to the original name by the MQTT autodiscovery process.
When I try to switch to another mode (e.g. to heat) I see the following command in MQTT:
{"mode":"heat"}
but then the Faikin module reacts with the following error:
I can see in the status message that the current mode is indeed indicated as one character: "mode":"H" but the config message does not contain the list of "one character" commands.
Am I missing something ?
Beta Was this translation helpful? Give feedback.
All reactions