-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Youless export unavailable, most likely since 2024.7.0b1 #120960
Comments
Hey there @gjong, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) youless documentation |
ps. I was hoping for a piek/dal tariff indicator, but I do not see that. Could it be that that change is related? |
I first thought it stopped working 2 days ago, but in fact is was thursday, after I installed the beta. |
@EDelsman What Youless device are you using. Is this an LS110 or LS120. And if it is a LS120 what firmware are you using? I am trying to figure out if this is caused by a regression in the library underneath or is related to something in Home Assistant itself. I updated tests in the library underneath which indicated that works as expected (at least for known working firmware versions). Also updated the test in home assistant itself to figure out if the values are correctly picked up by the integration and that also appears to be happening. So I really need more information on your specific Youless device (if it is LS120 not with PVOutput firmware also the result of the http://youless-device/e would help a lot). |
I have a LS120 firmware 1.6.1-EL /e returns: /f returns: |
I've added the JSON that you provided to both the library underneath in a test as well as temporarily in the test inside home assistant. But in both instances the extra meter correctly displays the value. Even worse is that if the value for example is missing in the response from the Youless device the library would currently report an exception, since you don't see that happening it indicates that the values are all processed as expected by the library. When it comes to the part in home assistant itself the sensor should only become unavailable if either the update failed (but then all sensors should become unavailable) or when the mapping fails in the sensor in the integration. But if the latter were the case it would always fail, including in the tests. So I'm a bit puzzled as to why only that device shows all sensors as unavailable. |
That is puzzling indeed. If the library reads the values correctly, I would expect setting the values in the entities is not happening for some reason. I'm worried I'll destroy my energy dashboard history if I remove the integration and add it again. My water meter is at s0, I see the official water meter entity is also unavailable. In another ticket you mentioned to me you added the tariff indicator. I do not see that. Could it be that an entity you expect to be there is not, or that my entities have different entity ids, which results in skipping the code for setting the export, or something like that? Our could it be the errors are happening but somehow not logged? I have warning levels set to error. |
Tarrif indicator is available in the library underneath but not yet in home assistant. I wanted to get test coverage before adding even more things. That was the change between the previous release and 2024.7.0 BTW: Water can become unavailable. This could be due to an incorrect timestamp in the JSON. The library validates that And if I look at the JSON you provided wts is indeed set to 0. |
Same here. Since 2024.7.0, Youless LS120 with FW 1.6.0-EL, the sensors "sensor.energy_delivery_low" and "sensor.energy_delivery_high" became unavailable. Has been working for years without any issues. /e: /f: |
Ok for the issue with the delivery sensors being gone I found the reason. The delivery meter seemed to be mapped incorrectly in the library (was mapping to water), I will fix that right now and create a new release. |
I just found out that the gas usage sensor isn't working anymore. Also after the upgrade to 2024.7.0. Does your fix also handle the gas usage sensor? |
Yup, same here. Hadn't noticed because I also had some utility meters there, but gas is 0 since I installed beta. Now if only that were true ;-) To paraphrase The Hitch Hiker's Guide to the Galaxy: Home Assistant is definitive. Reality is often inaccurate. |
Both the water and gas should also be in the PR that is already delivered. |
Thanks for all the great work. |
Both are fixed. Had to edit statistics of course to fix the energy dashboard long term graps, but it is now all fine. Thanks for the effort and fix. |
The problem
Since yesterday, in the beta release, both export sensors for youless are unavailable. they work fine in the youless app. Restarting youless or itegration did not help. Firmware is latest and has not changes for quite a while.
What version of Home Assistant Core has the issue?
2024.7.0b7
What was the last working version of Home Assistant Core?
2024.6.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Youless
Link to integration documentation on our website
https://www.home-assistant.io/integrations/youless/
Diagnostics information
There's one gateway timeout exception in yesterdays log, but nothing for today, also not after installing b7
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: