-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
Daikin AC energy sensor entities are not created for new AC units #77877
Comments
daikin documentation |
Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration ( |
@mlemainque could you take a look at this? |
Good catch! I will make the update 👍🏻 |
@cremor, would you be able to test this MR with your AC? Thanks 🙏 |
Sorry, but I can't test this. My AC already reports something from Also, I'm not an HA or even Python dev. So I wouldn't even know how to test it. I can read Python, but that's it. |
If someone can guide me to a document on how to test, I am willing to. |
Hello @Geo-Ron, You have to clone https://bitbucket.org/mustang51/pydaikin, and then run |
Hi,
So there is nothing about the power consumption, but the Onecta app on my phone shows this kind of values as well.
But I have found this comment.
Here are some results from my device:
As you can see it is possible to get the power consumption for each hour, this is better than in the original app (Onecta), because it has one value for a 2-hour period. I would be happy if you could update the Daikin integration with this extended measurements. |
I assume the energy entities should show up for you after a day or so. pydaikin was changed to also read the "7days" value. That might just not report anything on the very first day of usage. |
Hi, I had the same situation with my Daikin Sensira AC, and the energy sensors appeared a few days later.. |
Okay, maybe I wasn't patient enough... Let's see what happens after a few days. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This should be fixed. |
The problem
If you buy a new Daikin AC and add it to Home Assistant, the Daikin AC integration will not create any power sensor entities. You have to wait until the next calendar month to get them.
What version of Home Assistant Core has the issue?
core-2022.8.7
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
Daikin AC
Link to integration documentation on our website
https://www.home-assistant.io/integrations/daikin/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
By reading the integration's source code I figured out that it uses the
/aircon/get_year_power
endpoint to figure out if the unit supports energy consumption. See https://bitbucket.org/mustang51/pydaikin/src/b3b7878c8f411b26c21c21dc08818cf8af5ec6c6/pydaikin/power.py#lines-63:67The problem with that endpoint is that it only reports past full calendar months in the
this_year
part. So you have to wait until the next calendar month to get anything for a new AC unit. At least the following unit behaves that way:Wifi adapter: BRP069B41
Firmware version: 1_14_68
Region: EU
AC model: FTXP25M5V1B9
I think
support_energy_consumption
should also check the values returned from all other power endpoints to figure out if the unit supports energy consumption.The text was updated successfully, but these errors were encountered: