You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Copying somecomfort_homie_start.py to /usr/local/bin/. I first tried . 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.
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.
The text was updated successfully, but these errors were encountered:
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:
Copying somecomfort_homie_start.py to /usr/local/bin/. I first tried
. 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.
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.
The text was updated successfully, but these errors were encountered: