argon40: Enable the addon breaks HA API
After installation of argon40 custom component, my HA instance is not responding.
Version of HA
| arch | armv7l |
|---|---|
| chassis | embedded |
| dev | false |
| docker | true |
| docker_version | 19.03.8 |
| hassio | true |
| host_os | HassOS 4.10 |
| installation_type | Home Assistant |
| os_name | Linux |
| os_version | 4.19.126-v7l |
| python_version | 3.7.7 |
| supervisor | 227 |
| timezone | Europe/Paris |
| version | 0.111.3 |
| virtualenv | false |
Version of the custom_component
0.0.1
Configuration
#...
argon40:
#...
Describe the bug
I install the custom_component from HACS, as a custom repository.
I check that the custom_component is installed in custom_components directory (it is)
I add argon40: to my configuration.yaml file
I restart HA
HA won’t start, the UI is still unavailable
Debug log
Log level set to:
logger:
default: critical
logs:
homeassistant.core: error
homeassistant.components.api: debug
custom_components.argon40: debug
docker logs homeassistant
output:
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing...
[14:08:15] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2020-06-22 14:08:23 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-06-22 14:08:23 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for argon40 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-06-22 14:08:31 INFO (MainThread) [custom_components.argon40]
-------------------------------------------------------------------
Argon40
Version: 0.0.1
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/Misiu/argon40/issues
-------------------------------------------------------------------
If you need more logs, or logs from another location, tell me.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 30 (10 by maintainers)
@Stewie3112 I just checked the version that is installed via HACS and if you enable I2c on your PI it works correctly. I’m working on an improved version that will support config flow, but by one year old son is taking all of my free time, so please give me some time to test everything.
I think there should be option that if we properly shutdown device then will start again unless press power button manauly. But if sudden power down then should start without it. I will also contact them today about this issue, because its a serious issue that you not at home and power down, then unable to do any anything.
@syedkami @Stewie3112 thanks for checking and for confirming!
I can confirm, once enabled. they persist a reboot of the host
Yeah from /etc/modules-load.d folder this file removed rpi-i2c.conf. but still working with no error.
@Stewie3112 i had same error “No such file or directory: ‘/dev/i2c-1’”, but after doing these steps, all well. first go to file editor in HA, then /etc/modules-load.d
create a file rpi-i2c.conf and write in this file below txt i2c-dev i2c-bcm2708
then pulled out sd card. explore in wondows you will find config.txt file open it with any file editor like notepad++ and uncomment bellow txt and save. #dtparam=i2c1=on #dtparam=i2c_arm=on
hope will solve issue.
I enabled i2c following this LINK , I’ll try also syedkami’s method this afternoon. Anyway thanks a lot for your great work, my son is 7 months and I can understand your lack of time XD
@welcoMattic awesome news! I’ll try to finish work on the integration (hard to do without a case, but it’s working 😁 ). I’ll notify you when I’ll create a release.
It works! I just installed the update via HACS. The fan works!