Skip to content
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

Stupid Question from A New HA User #20

Open
echellst opened this issue Apr 22, 2021 · 8 comments
Open

Stupid Question from A New HA User #20

echellst opened this issue Apr 22, 2021 · 8 comments
Labels
standing by to hear of fix test results User is testing to prove that fixes have solved their problem

Comments

@echellst
Copy link

Hello Stephen,

Thank you so much for this repo! I am a newly-converted Homekit to HA user and am simply in love with the fine work all of you have done.

i have a silly question, as I am also brand new to raspberry PIs/Linux. I am using Home Assistant OS 5.13, and it took me a while to figure out how to activate I2C, since the method you indicate was not possible (due to the Home Assistant OS). Here is the info I found on how to activate it (you may want to include this in your instructions) https://www.home-assistant.io/common-tasks/os/

My question is, how do I run the install script? I have no experience running an install script in Linux, and using the terminal in HA OS, the sudo command fails. Could you please assist me here (or better yet, point me to where I can read how to do it?) I thrive on finding things out for myself, but in this case, I am stumped!

thank you so much for any help in advance.

Eric

@ironsheep
Copy link
Owner

Hi Eric,

The form you are using is actually a bit more difficult to do.  I use a separate RPi for HA (RPi 4 + large RAM) and then I use another RPi for my lighting detector.   This allows me to not have to worry about the limitations to command line access for the RPi running HA.  Oh, also there is a 2nd thing I did. I use the HA supervised install which actually does give me full access to the RPi 4 command line.  I did not use the HA OS form.

See: https://community.home-assistant.io/t/installing-home-assistant-supervised-on-a-raspberry-pi-with-debian-10/247116
While this page uses Debian 10, I actually just used the latest raspiOS build (which is derived from Debian.)

You should be fine either way.

Once you have the lightning detector on a separate RPi my instructions should work well.

Does this help?

Regards,
Stephen

@echellst
Copy link
Author

echellst commented Apr 22, 2021 via email

@ironsheep ironsheep added the standing by to hear of fix test results User is testing to prove that fixes have solved their problem label May 4, 2021
@echellst
Copy link
Author

echellst commented Jun 14, 2021 via email

@ironsheep
Copy link
Owner

Sure...

Can you please run the script with debug output enabled? (ISP-lightning-mqtt-daemon.py -d -v ) It should fail the same way but should also provide more detail on what it's doing up to the failure. Reply with that output and also include your config.ini in your reply as well. Then let's see where we are once I see that...

@echellst
Copy link
Author

echellst commented Jun 14, 2021 via email

@ironsheep
Copy link
Owner

Hmmm... Looks like there's something odd with your config.ini.

Have you specified a port number? It should stay commented out if your MQTT broker is on the default port...

@echellst
Copy link
Author

echellst commented Jun 14, 2021 via email

@echellst
Copy link
Author

echellst commented Jun 14, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standing by to hear of fix test results User is testing to prove that fixes have solved their problem
Projects
None yet
Development

No branches or pull requests

2 participants