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

Initial Configuration Challenges #1

Open
BigGeorgeTx opened this issue Jan 25, 2021 · 0 comments
Open

Initial Configuration Challenges #1

BigGeorgeTx opened this issue Jan 25, 2021 · 0 comments

Comments

@BigGeorgeTx
Copy link

I'm not sure the best way to do this, but after spending a fair amount of time just getting the initial installation working, I thought I would share the problems I encountered and how I resolved them, in hopes that this will be helpful to a future traveler. I will admit upfront that I am not an experienced programmer, unless you count FORTRAN.

My set up is on a Raspberry Pi 4B, to which I connect via SSH. My intended use is with OpenHAB.

The problems I encountered:

  1. Copying somecomfort_homie_start.py to /usr/local/bin/. I first tried
    image. It took me a while to figure out that despite the RAW option being specified, this was download the html version. It was resolved by using:
    curl -o somecomfort_homie_start.py https://raw.githubusercontent.com/mjcumming/Somecomfort-Homie/master/somecomfort_homie_start.py
    To get the raw URL, I first logged into GitHub, clicked on the somecomfort_homie_start.py link, which displays the nicely colored html version. In the upper right hand corner, there is a RAW button. I pressed that and I got the plain text code with the URL that I used. Note that you need to be in the target folder on the Pi when you enter the curl command.

  2. The next problem I encountered was that somecomfort_homie_start.py could not find the .yml file. This error was fairly easy to find by entering systemd status somecomfort-homie.service. I fixed it by edited the .py file (sudo nano filename) and appending the folder, in my case /etc/ to the .yml file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant