-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Mill devices do not report the correct temperature #103618
Comments
Hey there @Danielhiversen, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) mill documentation |
I have a similar problem with a mill convection heater gen 3. The target temperature value resets to an old (random?) value after 20-30s. The heater target temperature is however not reset, so the problem only seems to affect the UI widget in homeassistant. |
i also have the exact same issues as above |
Same issue here. The app, local api and tibber reports the correct target temperature, but HA jumps back to an old value after a few seconds. However, after about 10-15 minutes, the correct target temperature is displayed again. Cache issue? But now after some time it jumped back to the old value again... very strange. |
Same issue here. Let me know if I have to provide any log files. |
@SanderKo85 Is the temperature response from Mill that you see in the logs correct? |
I just pulled Nothing happens to the heater, it stays at the temperature I told it to. Looks to me like some sort of statistics coming in? A payload of statistics should not change the value of the temperature attribute, right? Edit: Probably not relevant, but the request causing the former response is this: |
Hi @Danielhiversen, it looks like it does not.
I request 19.0c, but I see 19.5c in the log? (don't know if I am looking in the right places) The request is: And the result is: home-assistant_mill_2023-11-14T21-21-25.025Z.log Thank you for checking this out! |
Any news on this? |
I am not able to reproduce it, so not sure how to fix it. |
Could this be related to Enable polling for updates? I have been experiencing the same issue and it has been driving me nuts while trying to integrate the Mill Gen 2 heaters into Node Red. I have now turned off this settings and my initial observations seem to indicate it works around this issue. |
That indeed fixes the issue at my end! Very happy to finally have a way of seeing which heater is actually on. Now, why would I want the enable polling for updates setting on? I'm assume just turning it off will lead to some sort of negative implications? |
Where do you turn this setting off?23 dec. 2023 kl. 14:32 skrev Pip Oomen ***@***.***>:
Could this be related to Enable polling for updates? I have been experiencing the same issue and it has been driving me nuts while trying to integrate the Mill Gen 2 heaters into Node Red. I have now turned off this settings and my initial observations seem to indicate it works around this issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Under devices and services -> Mill -> three little dots under "integration entries" -> system options |
I have been wondering about this as well. My guess is it might effect:
But this is pure speculation. |
This is definitely an issue now 😞 |
This seems to be a caching issue, ie. cached_request is returning stale data for |
@pjoomen Do you see anything wrong in the code? |
@Danielhiversen Nope. It seems like the API from Mill is eventual consistent and that the request that retrieves the new state for the heater that got its temperature adjusted is retrieving stale data from Mill's API, ie. that the request could benefit from a sleep before calling async_request_refresh |
Solution might be to use |
|
Use `deviceSettings.desired.temperature_normal`, since the Mill API has a delay when updating `lastMetrics` after a change is requested. Signed-off-by: Pip Oomen <pepijn@redpill-linpro.com>
The problem
I have 8 different Mill devices. Five gen2 panel heaters, two gen2 convection heaters and one gen3 socket. They all work fine, but their reported temperature is always wrong, so I can not really know if they are on or not without checking the app or physically going up to them and look at their display.
They are all set to "Control device individually" in the app. If I call climate.set_temperature with e.g. a temperature payload of 22 on one of them, the attribute temperature will show 22 for a few seconds then go back to some random (?) value (usually 5 in my case). Maybe it goes to 5 because the min_temp attribute is 5? The hvac_action also goes from "heating" to "idle" at the same time, even though the heater is clearly on. This affects both the gen3 and gen2 devices.
If I look at the display it will still show 22 and the heater will work fine, and the app shows that the temperature is currently 22. But in Home Assistant it will show as 5.
Not a huge issue, but slightly annoying. Is this some limitation of the current Mill API, or is there a bug in the integration? Or am I simply doing something wrong?
Please let me know if I should provide any sort of logs or diagnostics if you want to help me solve this issue.
What version of Home Assistant Core has the issue?
core-2023.11.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Mill
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mill/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: