-
-
Notifications
You must be signed in to change notification settings - Fork 97
Difficulty changing thermostat mode in home assistant #208
Comments
yes, I see the issue. I'll fix it. |
fixed in 1.9.2b6 if you would be so kind to verify |
Fix verified OK: switching thermostat modes now works well, the mode name and symbols under the thermostat dial in the UI are correct and the dial colour changes between green for auto and orange for heat (i.e. manual). The lights on my RC20 change immediately, although the web UI on my Android phone needs a few seconds to catch up - I guess this is inherent. Thanks for the speedy updates. I needed to apply the following minor tweaks to get everything working:
|
can't reproduce #2. Tried with a fresh install (on Ubuntu then)
works all the time. Try removing your whole .pio folder. |
Re. 1, npm ci now works for me as well, thanks for the fix. Re. 2, after deleting the .pio folder, leaving out lib_ignore = Time now gives a series of compile errors starting with src\TimeLib.h:20:16: error: redeclaration of 'timeNotSet'. The corresponding error message in TimeLib.h is: I've also some more collateral damage: the history graph from sensor.current_room_temperature has disappeared and the Last shower duration shows as Unknown. |
I forgot about those sensors. Didn't think anyone used them anymore since there is HA climate component. I'll update the sensors.yaml file. |
The temperature history graph is back, thanks for the fix. |
can we close this issue? |
Do you have any suggestions where to look to get the shower timer working again? |
lol. I thought I was the only one using the shower timer! Ironically this was why I started the project in the first time, to stop my daughter from taking really long showers! Anyway I committed some changes today to the HA configuration (sensors and automation) and it should work again. Let me know if it doesn't. |
The shower timer is useful for my environmental awareness too ;-). I updated the ems-esp code to v1.9.2b9 and copied the new changes to the automations and sensors yamls, but the shower duration and last shower at times still aren't showing. Any further tips are welcome. |
Oops. Saw I forgot to update the sensors.yaml file. I think this bit
should have this line added:
I don't have access to HA to check but try that and stimulate using something like MQTT Explorer and publish: topic: home/ems-esp/shower_data then go to HA and check
|
I've added the extra line but HA is still not showing any data, both from a real event (i.e. running the shower) and test events from both MQTT Explorer and the HA UI's Developer Tools - MQTT - Publish a packet. There are no errors in the HA log. |
ok - will double check the config tonight. |
in sensors.yaml
|
It's fixed, thanks. Verified OK by both running the shower for >2 mins and publishing test mqtt packages. |
@proddy is there a chance that RC35 will also work correctly on the thermostat in ha? for me the automatic mode is always selected (green circle) even if it is heat and it should be orange. EMS-ESP version 1.9.2b9 |
I don't have an RC35 so its hard to test. It seems like the incoming MQTT are not mapped correctly. Check the climate.yaml and also experiment with sending test MQTT messages to find what the correct values should be. See the Wiki here for the correct format to use. For example from HA (MQTT Explorer) send:
and see what happens. The mode should match the climate.yaml and valid settings are “auto”, “off”, “cool”, “heat”, “dry”, “fan_only” as specified in https://www.home-assistant.io/integrations/climate.mqtt. For example using "off" should make it go nice and orange. if there is a change needed in the code, let me know. |
I think the climate.yaml is correct.
|
Then the code logic is incorrect. For the RC35 it works like: mode 0 low -> send off I guess it should be just auto, heat and off. What should happen with day and night ? |
heat is day temp and off is night temp - they switch mode but there is no visualization of this on the thermostat |
in HA thermostat i have only auto, heat and off |
ok, mapped day->heat and night->off |
I'm finding it difficult to switch thermostat modes in HA with my RC20.
For example, switching from Auto to Off changes the set temperature as expected, but:
Thermostat stats:
Thermostat: RC20/Moduline 300 (ProductID:77 Version:03.03)
Thermostat time is 10:18:30 11/10/2019
Heating Circuit 1
Current room temperature: 18.2 C
Setpoint room temperature: 7.0 C
Mode is set to low
I'm using the current climate.yaml with the modes "auto", "heat" and "off".
Any ideas?
The text was updated successfully, but these errors were encountered: