-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Readings only work once #37
Comments
I'm aware of this issue, @freijn has also reported this to me and together with him we have tried a few things without success. |
@freijn what's your setup? I'm running this on a Multical 603. |
@golles Is there a way to force an initialization of the head on a read? I'm getting the impression the IR transmitted keeps emitting a signal, which explains why moving the head away/re-initialising temporarily interrupts the signal. |
Hi @IngmarVerheij After a restart, you should be able to get a diagnostic file from the integration, please sent that file, more info |
@golles Yup! See attached two logfiles (success and fail) config_entry-kamstrup_403-66febb359ac7a27e5899da3c439ed745.json (1).txt |
Thanks, I see you're running HA in Home Assistant OS in a VM, is that correct? I'm running Home Assistant Container |
@golles, I am running in a VM as well on a nuc. @ingmar in the previous version the change of the scan freq was also a way I could get it to run again. To me, (just a wild guess!) on the first install, some config is not read. Then after a disable/enable or time change the config is read and its working again. Once working it is stable and working till the next reload happens. |
@freijn then our results differ slightly. There's no difference between a Reload or a Disable/Enable of the integration. During the first run I can read the sensor values, all consequent runs result in "No readings from the meter. Please check the IR connection" |
@IngmarVerheij in the custom component /kamstrup403 file
Add this below this array
so you should get :
Restart and let us know if you see any difference ? I did 3 restarts and all are ok :-) |
I can confirm that adding the line to init.py resolves the issue. Thanks, champs! |
Awesome news and many thanks @freijn for your investigation. @IngmarVerheij could you also test with I've re-opened the issue as I need to implement a fix 😀. I'm considering setting a default of maybe |
@golles See results below: 2.0: Success! |
Did you read the instructions?
The problem
The sensor values are read succesfull, but only once.
I have two ways to solve this
then the sensor values are read again, but only once
What version of this integration has the issue?
2.0.0
What version of Home Assistant Core has the issue?
2022.11.2
Home Assistant log
Additional information
This is on a Kamstrup Multical 603
The text was updated successfully, but these errors were encountered: