Misiu / argon40

Home Assistant support for Argon ONE Pi 3 & 4 cases and Argon Fan HAT
MIT License
117 stars 22 forks source link

Following your directions but..... cant get the integration to show up. #31

Closed ClintBritt closed 2 years ago

ClintBritt commented 2 years ago

I must be doing something stupid. Sorry new to the HA game.... but I have followed your directions exactly as I see them, but I can never see the Argon4 integration:

The directory structure is as follows: image

But the integration list never has a Argon4 element:

image

What am I doing wrong?

Misiu commented 2 years ago

Hi,

~~you must add agron40: to configuration.yaml (step 8 in readme) and enable I2C: https://github.com/Misiu/argon40/issues/25#issuecomment-851439794~~ I've updated the readme. Please check if you have followed step 1 and step 7. You must enable I2C (step 1) and add argon40: to your configuration.yaml (step 7) This should help with fixing the issue. Please let me know if You have any problems.

squalorn commented 2 years ago

Hi, I am experiencing the issue. But I am completely new with HA, anything what is not said is ambigous for me. Then apologise for my silly question. I followed all the steps but I do not understand add argon40: to my configuration.yaml.

Just write argon40: at the bottom of configuration as follows:

Configure a default setup of Home Assistant (frontend, api, etc)

default_config:

Text to speech

tts:

group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml

http: ssl_certificate: /ssl/fullchain.pem ssl_key: /ssl/privkey.pem

argon40: #??????

and where do we need to write the following in section Config ?

Thx

0wneeejj commented 2 years ago

i also seem to have problems with this, i checken my logs and found this

2021-12-13 21:17:54 ERROR (MainThread) [homeassistant.setup] Setup failed for argon40: Integration failed to initialize. 2021-12-13 21:17:54 ERROR (Thread-2) [root] Uncaught thread exception Traceback (most recent call last): File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/local/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.9/logging/handlers.py", line 1518, in _monitor self.handle(record) File "/usr/local/lib/python3.9/logging/handlers.py", line 1499, in handle handler.handle(record) File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle self.emit(record) File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 191, in emit entry = LogEntry(record, stack, _figure_out_source(record, stack, self.hass)) File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 98, in __init__ self.message = deque([record.getMessage()], maxlen=5) File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage msg = msg % self.args TypeError: %d format: a number is required, not NoneType

i also followed the steps to enable i2c in the logs it does not say any error. i also restarted my system 2x. any idea what could go wrong?

I Solved the problem, turns out i2c configurator was the problem, it was running in secure mode. i disabled it, tried the procedure again and i can now see argon40 in the services.

stale[bot] commented 2 years ago

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.