-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HVAC Control portion of Web UI dashboard doesn't seem to work at all (other than temp) #182
Comments
I have not. I suspect it has something to do with data types and/or assignments given the difference in my example output #2 vs #3, but I am not quite familiar with C enough to understand. Will post back if I find something, but I’m primarily using the MQTT implementation which seems to work without issue.Sent from my iPhoneOn Oct 30, 2022, at 7:31 AM, juuzonieminen ***@***.***> wrote:
I have same problem. Did you find solution?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I have the same issue. The solution for me was to copy the string before assigning it to the
ps. Please ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it just me, or does the HVAC control portion of the web UI not seem to work except for Set Temp setting? I am unable to set power, mode, fan, vane, or wide vane from the UI - as I monitor the MQTT topics, I do not see my "settings" update. Verified that the POST requests are working fine. I've noted the following:
When modifying the beginning of the change_states function on line 1202 as follows:
I get the following three messages on my "debugmsg" MQTT topic:
Perhaps this is my unfamiliarity with C++, but
settings.power
was set equal toserver.arg("POWER").c_str()
, shouldn't # 2 and # 3 show identical output?Confirming the above:
hp.setPowerSetting(settings.power);
just after thehp.setSettings(settings);
at the end of the function, behavior is unchanged.hp.setPowerSetting(server.arg("POWER").c_str());
just after thehp.setSettings(settings);
at the end of the function, the power setting is updated appropriately.I noticed this as I was able to set the power setting properly by publishing to MQTT, which calls hp.set functions explicitly rather than building a heatpumpSettings object and calling hp.setSettings.
Last thought, the set temperature from the web UI does seem to work properly. Again I am not very familiar with C++ but it seems this is passed as a float rather than a pointer which might make the difference?
Using latest versions of this and Swicago/Heatpump library.
The text was updated successfully, but these errors were encountered: