Closed logon84 closed 2 years ago
You did not provide the template asked for in the template, and thus your GPIO configuration is not visible, as other messages indicate that you with Module 0 use the template for this part of the config.
SRC: Switch
should indicate that a gpio pin defined as a "Switch" had activity, with the default action of Tasmota being to switch the power output. What is the purpose of the Switch pin you have defined? If you have no use for it, you could consider removing this config.
You did not provide the template asked for in the template, and thus your GPIO configuration is not visible, as other messages indicate that you with Module 0 use the template for this part of the config.
SRC: Switch
should indicate that a gpio pin defined as a "Switch" had activity, with the default action of Tasmota being to switch the power output. What is the purpose of the Switch pin you have defined? If you have no use for it, you could consider removing this config.
Is not the output of "Backlog Template; Module; GPIO 255" what you asking for? It is present in my first message. No switches defined. I have been digging in the code, seems that SRC SWITCH in this case is a interpretation of the phisical button attached to the HVAC machine, not the esp8266. So for me it seems that the code maybe needs a delay after changing the power state: it seems to me that after changing the power via mqtt, the code compares this mqtt command with the received frames too soon, and as they don't match, the power is toggled again via SRC_SWITCH (line 967 of xdrv_44_miel_hvac.ino)
Yes, that was what I was missing. You only provided the output of the last of those 3 commands.
Anyway, I did also a bit later notice that misleading usage of SRC_SWITCH
the driver, and without using that specific device, I cannot have anything to add about what the root cause of the confusion may be. You seem to be getting there :-)
This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions.
This issue was automatically closed because of being stale. Feel free to open a new one if you still experience this problem.
PROBLEM DESCRIPTION
Sometimes while switch power of MiElHVAC module via MQTT (I only use mqtt) a SRC:SWITCH power state appears in log, switching again the power state. This results in no power state change at all, since power toggles twice.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
Steps to reproduce the behavior: Power ON or power OFF via MQTT sometimes works. Others a SRC SWITCH toggles power again
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen. No SRC Switch toggling power when sending a mqtt command
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)