-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
experimental implementation of fan control including 'Auto' #99
Comments
Awesome! I managed to get my hands on a WF-RAC, so after the holidays I will connect it and try to capture the vanes left/right and 3D auto. |
I've tried it on one of the units. One thing I found with the HomeAssistant integration, is that the default payload for Auto-mode isn't accepted for fan Auto-mode. I'm using lower-case modes with HomeAsssitant. When I do that with MQTT Explorer, the mode seems to be set correctly. It's actually quite minor as I seem to be able to reconfigure HA to just accept capital Auto.. |
I also tried v2.6R1 and I can confirm what Aesculapius said.
Can't wait. At this point the left/right vanes reset to neutral/forwards when I change the vertical vanes, which is quite inconvenient. |
I have bought a WF-RAC for my SRK35ZMX-S |
Fan mode "Auto" is currently hard-coded in MHI-AC-Ctrl.ino. I'll fix it in the next version. For your testing you could replace |
I believe it is a bug of your WF-RAC, at least the basic settings should work (mode, set temp etc.). If you can't exchange it, you could check it by using WF-RAC in parallel to MHI-AC-Trace. |
Sorry for misunderstanding. All usual settings are working correctly. I was speaking about « auto » and « 3D » |
Ah, o.k. Thanks for clarification. I see the same effect for "vanes left/right" and "3D". Is it really "fan auto" which doesn't work for your AC? |
Will test fan LR and 3d auto..i have a unit that supports outdoor silent(it caps outdoor compressor speed to 40%) any idea about this? |
Just updated to v2.6R2 with (planned) final implementation of Fan "Auto". |
any update on this? |
Can you share a screenshot of your MQTT messages in MQTT Explorer when using version 2.62 and 2.52? |
To get 2.6r2 to work in HA I Changed the MQTT 'PAYLOAD_MODE' in MHI-AC-Ctrl.h: Auto -> auto |
Is this experimental implementation of fan control removed from v2.6r2 again ? I also see now only fan1,2,3. No 4 and no auto when changing fan with IR |
The experimental implementation was replaced by the final implementation, please check Version.md.
Where do you see/miss something? Have you checked the log file? |
When changing the fan with de remote control I see in MQTT explorer only Fan with the values 1,2 or 3. I don't see Fan=4 or Fan=auto. I have to hookup my computer for the logfile. I will do that soon. |
When increasing fan speed I see in the log:
A second after seeing "topic=IU-FANSPEED payload=6", I switched to fan speed 4. Some later you see topic=IU-FANSPEED payload=8 so it is increased. But without seeing "topic=Fan payload=4" Hope this helps. Edit: when sending 4 to the set/Fan topic then the airco fan is changing to 4 and also the Fan topic is showing 4. Because I don't use any automation, would it be possible to show all fan speeds without sending first to the set/Fan topic ? edit2: So Fan = 4 en Auto (with remote control) is not working after power off and power on mains until you set the Fan. |
To make sure that my understanding is correct: |
Yes, you are correct. Not only 4 is not working but also "Auto". Only fan =1,2,3 is working |
o.k. thanks, then I've an idea how to fix it - will be added to my todo list. |
Just wanting to tell I'm very happy with the addition of being able to set the fan speed to 'Auto'. This makes it possible to set the fan to powerfull at night (higher COP, better warmth distribution) and set it to Auto in the morning. I can confirm I had the same scenario as @glsf91 regarding Mode 4 and Mode 'Auto' not being published to MQTT when send via IR. The unit handles the commands, but it is just not displaying it on the MQTT topic. Only after I send Mode 4 or Auto manually via script, the IR info is coming through as intended. Kudo's for this feature 😀 |
Is it necessary to send Mode 4 or Auto via MHI-AC-Ctrl or is it sufficient to send any Fan mode via MHI-AC-Ctrl ? Thank you. |
What I observed: So sending only 4 or Auto will start it working again. |
I believe setting fan Auto after reset is an appropriate work around, please add |
This is indeed solving the problem. But it has some side effects:
I think the first drawback is more worse then the problem. |
Thank you for your testing. Then we leave it as it is until we have a better idea. |
I was just thinking:
This means it cannot be done in the setup() but has to be done only the first time when status_power_old is not 0xff anymore. When the the AC is running (power=On) and the ESP resets, the power status will not be Off but On the first time after mhi_ac_ctrl_core.loop(80) was running. So with a running AC the Fan will never be set to Auto. This will solve my first mentioned side effect (which was my biggest problem). When the AC is not running (Power=Off) and the ESP resets, the power status will be Off the first time after mhi_ac_ctrl_core.loop(80) was running. So the Fan will be set to Auto. I don't know if and how it interferes with using POWERON_WHEN_CHANGING_MODE. How do you think about this ? |
Soundes reasonable for me. When this topic is really annoying you, you could consider storing the status in the EEPROM. btw: I'm thinking about quitting my work on MHI-AC-Ctrl due to my job and other hobbies. Would you be interested in adopting MHI-AC-Ctrl here on Github? |
No problem. If I have some time I can try if I can find a nice solution in the code and make a pull request. That would be very pity if you have to quit. You have done a lot of nice work and a lot of knowledge about this. |
If you need anyone to take over. I am willing to do so. Would be a shame if this project would get lost. |
I have made the solution as described above. I have to test it and then will make a pull request. |
Auto Mode working as expected...great progress..... |
I think we can close this one |
Just uploaded a new version v2.6R1 with an experimental implementation of the fan control including 'Auto'.
It is based on testing with the WF-RAC.
The implementation of the new fan control is not final, it is for your testing only. The original fan control is still available, and I expect no side effects. However, I don't recommend this version for productive use.
In addtion to the MQTT topics described here the topic Fan2 is supported by the new fan control implementation:
Only the values "1", "2", "3", "4", "Auto" can be written. When you receive these values then you have controlled the fan via MHI-AC-Ctrl.
You should see the values "1-IR", "2-IR", "3-IR", "4-IR", "Auto-IR" when you use the infrared remote control and not MHI-AC-Ctrl.
The format "n?" is for debugging purposes. If you see it, please inform me with a description of the history.
This implementation works for me, Please try it with your MHI-AC.
For the testing please don't mix the usage of the old/new fan implementation. Use the MQTT topic Fan or Fan2, but not both.
During my tests I had at the beginning the effect that the expected MQTT response "1-IR", "2-IR", "3-IR", "4-IR", "Auto-IR" came only after I used the Fan2 commands. So far I don't understand the effect in detail. If you understand it please give me feedback.
In general I would appreciate your feedback if the new fan implementation works for you.
note: Since my AC doesn't support vanes left/right and 3D I can't test the way how WF-RAC controls it, unfortunatelly.
The text was updated successfully, but these errors were encountered: