-
Notifications
You must be signed in to change notification settings - Fork 33
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
init failed - please power cycle the itho unit - (Warning: I2C timeout) #111
Comments
I have similar behavior with the CVE-S ECO SP. Configuration of the Itho unit 2022-10-08 07:50:43 I: HW rev: 2, FW ver.: 2.4.2 Just rebooting the add-on card does not solve the issue. I have to manually remove the power from the CVE-S unit and restart. |
This is most probably a duplicate of issue #102 |
I2C can get stuck for many reasons. |
@arjenhiemstra, would this be an idea when you detect the "I2C timeout" or are you already doing this? |
It's exactly what @TD-er suggests that I would like to try and see if this can release the I2C bus. I just haven't had time to work on it |
@arjenhiemstra I installed 2.4.3-beta1, but after a few hours it failed again with the following messages in the log:
|
I have downgraded to version 2.3.5 and that version is running stable the past 3 days. |
Thanks for testing @MartVisser ! That was the worst possible outcome but at least we have that info now. I'll work further on a different approach |
I am having the same problems. Just installed the beta firmware and will post results in a few days. |
I just checked and the unit stopped responding this morning. Itho device type: CVE-Silent Debug: |
@arjenhiemstra, just a quick update Itho device type: CVE-Silent |
I downgraded to 2.4.2-beta3 and it has been running stable since Sunday morning. |
This morning unit stopped responding. I will try to downgrade to 2.3.5 today |
Updated to 2.4.3-beta2 two hours ago. So far so good, just some information messages;
|
Those info messages are good, a sign of proper working code. I will remove it once we get to a stable state. |
Back in 2 weeks, will try then, thx! |
Sadly, it failed again after 4-5 days on 2.4.3-beta2;
|
I just released version 2.4.3 which addresses this further. In some situations the add-on could still access the I2C bus while another master was active. The latest code changes in 2.4.3 should prevent this or at least further lower the change of this happening. |
The unit still stops responding after a few days. I will look at the log later today. |
Yes here it also keeps failing on the latest version. Downgraded to 2.3.5 and has been running stable for 7 days now. |
2022-11-10 02:09:34 I: Mem free: 110144, Mem low: 72988, Mem block: 44020 |
System rebooted itself this morning after being inresponsive for several days. During this period, log file showed nothing wrong, just the memory log lines. Last line in the log shows the I2C Init failure. What is the last really stable version? I only need MQTT for HA and nothing else. Version 2.3.5? |
@didericko I have had the same experiences with version 2.4.3, unresponsive and nothing in the logs. Downgraded to 2.3.5 last week and have been running "stable" ever since. Sometimes it resets to "Low" mode (or "Start/fallback speed" mode, not sure), but I have it set to my desired value, probably a bug in 2.3.5. I also use it via MQTT in Home Assistant. |
2.3.5 seems to be stable for users that have i2c issues. A lot of extra logging was removed from 2.4.3 because it seemed to be fixed. I'm working nog on a test version that keeps al log of the i2c transactions, in case of a failure I hope this points to the culprit.
As far as I know this is not a known bug in 2.3.5. On MQTT there is a last command topic that might point to the reason for switching to "Low" mode. |
For testing the I2C issues, please use this version: I'm very interested in the i2c log it might produce in case the i2c bus gets stuck |
Just installed 2.4.4-beta1. I don't have to enable anything right? Just wait for the "crash" and check the debug page for the log. |
Doesn’t it work altogether or just after some period? |
I'll try to be a little more specific. ;-) I am now running on 2.4.3 again. If I have to provide specific logs or something, I am happy to do so. Or if I can test something with the beta versions as well. |
Ok, please follow the following steps:
|
I followed the steps. PS. Thanks for your quick responses! |
But you did see the temp/hum info on the web interface before? Did you take the power of your itho off, waited for a bit and then turned the itho on again?
What settings did you set around the virtual remote? Can you share all the settings you made? |
|
Very nice! Thanks again! I'm working on some last details, after that I'll release it as the next stable version. |
Hi Arjen, I was wondering if you can still help me with the problems I'm having? With firmware 2.4.3 I have problems (state hangs at 49, and the unit no longer responds to commands) and 2.4.4-beta6 does not work for me at all. |
As I think this is not related to this described issue, could you create a separate issue for this? This can be as screenshot or config file which can be downloaded through the file editor on the debug page |
@arjenhiemstra I have been running the latest beta for two weeks now and it has been stable sofar. In the previous releases it would fail within 1 or 2 days. |
Ok, here I made a new request: #150 Thanks |
Just wanted to let you know that I experience the same error. After a couple of days I cannot control the itho fan anymore and I2C is disconnected. Powering on and off the fan completely fixes it. I've now updated the firmware to latest beta and enabled safeguard mode and restarted the whole device. Let's see if this also fixes my issue. some details of my setup: I have a Itho CVE-S ECO SE connected to Home Assistant. |
Same issue here, running version 2.4.4-beta6: Itho I2C connection status: init failed - please power cycle the itho unit - The issue occurred the first time on version 2.4.3, and did not work on any update since. Power cycles are not helping in this case. 2023-02-08 19:35:46 E: I2C init: QueryDevicetype - failed From the I2C debug menu:
|
Also for you, please follow the instruction posted here earlier:
|
I'm already on beta6 and i2c safe guard is on, but that does not help (also after a reboot). |
Sorry, it took me a while to see it but you have the add-on in use already for some time? For the I2C safe guard function to work I needed to implement a I2C sniffer. This only works on add-on from HW rev. 2.5 and up :( It might be that I will be able to fix these issues without I2C sniffer functionality but how long that will take is unsure. |
I was in the understanding that I was having a hw2.5 version. Although I see in the firmware that I'm on ref 2, that is not the same? Nevertheless, I was able to revert back to 2.3.5 successfully, only I'm missing the virtual remotes now. |
If you need the more recent functionality, I can (instruct or do it for) you how to change the hardware using two wires and add support for the sniffer functionality. |
That would be great! I'm able to solder, so if you can give the instructions I can do it myself. |
2.5.0 has been released as new stable release, including fixes for the described issue. https://github.com/arjenhiemstra/ithowifi/releases/tag/2.5.0 |
Great work! Been running on beta6 for a while without any problems. Just updated to 2.5.0. |
I've found a serious issue with the fail save firmware update, please do not install 2.5.0 and if you have already, wait with further updates until 2.5.1 comes out. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
After some time, usually a day after a power cycle, the connection between the module and the unit drops out with the following error message in the logs 'Warning: I2C timeout'
To Reproduce
After a power cycle, wait a day (sometimes two days)
Expected behaviour
N/A
Screenshots
N/A
Device information
Debug logging
Itho I2C connection status: init failed - please power cycle the itho unit -
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
The text was updated successfully, but these errors were encountered: