I'm sure this can't be normal otherwise SIP would have died long ago. My son gave me a Raspberry Pi that is now about a year old. He never loaded an OS until a week ago when he gave it to me so it has a very recent release of Linux. His friend who has a similar RP running SIP sent me the install instructions.
sudo apt-get install git
git clone https://github.com/Dan-in-CA/OSPi
cd OSPi
sudo python ospi.py
As I already had git I skipped the first line. When I tried running ospi.sy I got the following error message which I have since found a work around for.
pi@raspberrypi:~/OSPi $ sudo python ospi.py
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can't connect to pigpio at localhost(8888)
Did you start the pigpio daemon? E.g. sudo pigpiod
Did you specify the correct Pi host/port in the environment
variables PIGPIO_ADDR/PIGPIO_PORT?
E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888
Did you specify the correct Pi host/port in the
pigpio.pi() function? E.g. pigpio.pi('soft', 8888))
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Traceback (most recent call last):
File "ospi.py", line 16, in <module>
import gv
File "/home/pi/OSPi/gv.py", line 48, in <module>
from helpers import password_salt, password_hash, load_programs, station_names
File "/home/pi/OSPi/helpers.py", line 26, in <module>
from gpio_pins import GPIO, pin_rain_sense, pin_relay
File "/home/pi/OSPi/gpio_pins.py", line 71, in <module>
pi.set_mode(pin_rain_sense, pigpio.INPUT)
File "/usr/lib/python2.7/dist-packages/pigpio.py", line 1053, in set_mode
return _u2i(_pigpio_command(self.sl, _PI_CMD_MODES, gpio, mode))
File "/usr/lib/python2.7/dist-packages/pigpio.py", line 848, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'
pi@raspberrypi:~/OSPi $
Now that that has a work around everything was looking up. Now when I try running ospi I get the following message.
pi@raspberrypi:~/OSPi $ sudo pigpiod
pi@raspberrypi:~/OSPi $ pigs pigpv
50
pi@raspberrypi:~/OSPi $ pigs hwver
10620993
pi@raspberrypi:~/OSPi $ sudo python ospi.py
plugins loaded:
mobile_app
plugin_manager
relay_board
signaling_examples
system_update
http://0.0.0.0:80/
Starting timing loop
Thought I was in the money until I figured out http://0.0.0.0:80 wasn't going to get me anywhere. My friend told me I needed to set up a static IP address. Well according to the "Internet" there are about as many opinions on how to do that as there are so called "Linux experts". Something about the number of stars comes to mind. Sorry for the digression.
It appears that in the before time (in Linux speak that was before the latest release) you made changes to the /etc/network/interfaces file, which I did. It was at that point something very special happened, I started getting not one but two IP addresses (told you it was special), the static address I configured and one from DHCP. Well I thought progress and maybe SIP would use the static IP, NO JOY.
One thing I've found about SCE's (so called experts) is they all seem a bit vague on specifics. They seem to assume they're talking to another one of there kind. I've now found many sites professing to know how to set up a static IP in the now time, in the now time you have to configure a static IP address in the /etc/dhcpcd.conf file. They might give some general info on what that might look like but so far none has made the magic work so here I am. HELP!
Not sure what is going on with the fount size
p.s. Interesting at least to me, the before and now time was a construct I got from my son. They can both be almost infinite in size (big and small) just not at the same time. Scotty you can beam me up now Scotty...............SCOTTY?
sudo apt-get install git
git clone https://github.com/Dan-in-CA/OSPi
cd OSPi
sudo python ospi.py
As I already had git I skipped the first line. When I tried running ospi.sy I got the following error message which I have since found a work around for.
pi@raspberrypi:~/OSPi $ sudo python ospi.py
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Can't connect to pigpio at localhost(8888)
Did you start the pigpio daemon? E.g. sudo pigpiod
Did you specify the correct Pi host/port in the environment
variables PIGPIO_ADDR/PIGPIO_PORT?
E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888
Did you specify the correct Pi host/port in the
pigpio.pi() function? E.g. pigpio.pi('soft', 8888))
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Traceback (most recent call last):
File "ospi.py", line 16, in <module>
import gv
File "/home/pi/OSPi/gv.py", line 48, in <module>
from helpers import password_salt, password_hash, load_programs, station_names
File "/home/pi/OSPi/helpers.py", line 26, in <module>
from gpio_pins import GPIO, pin_rain_sense, pin_relay
File "/home/pi/OSPi/gpio_pins.py", line 71, in <module>
pi.set_mode(pin_rain_sense, pigpio.INPUT)
File "/usr/lib/python2.7/dist-packages/pigpio.py", line 1053, in set_mode
return _u2i(_pigpio_command(self.sl, _PI_CMD_MODES, gpio, mode))
File "/usr/lib/python2.7/dist-packages/pigpio.py", line 848, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'
pi@raspberrypi:~/OSPi $
Now that that has a work around everything was looking up. Now when I try running ospi I get the following message.
pi@raspberrypi:~/OSPi $ sudo pigpiod
pi@raspberrypi:~/OSPi $ pigs pigpv
50
pi@raspberrypi:~/OSPi $ pigs hwver
10620993
pi@raspberrypi:~/OSPi $ sudo python ospi.py
plugins loaded:
mobile_app
plugin_manager
relay_board
signaling_examples
system_update
http://0.0.0.0:80/
Starting timing loop
Thought I was in the money until I figured out http://0.0.0.0:80 wasn't going to get me anywhere. My friend told me I needed to set up a static IP address. Well according to the "Internet" there are about as many opinions on how to do that as there are so called "Linux experts". Something about the number of stars comes to mind. Sorry for the digression.
It appears that in the before time (in Linux speak that was before the latest release) you made changes to the /etc/network/interfaces file, which I did. It was at that point something very special happened, I started getting not one but two IP addresses (told you it was special), the static address I configured and one from DHCP. Well I thought progress and maybe SIP would use the static IP, NO JOY.
One thing I've found about SCE's (so called experts) is they all seem a bit vague on specifics. They seem to assume they're talking to another one of there kind. I've now found many sites professing to know how to set up a static IP in the now time, in the now time you have to configure a static IP address in the /etc/dhcpcd.conf file. They might give some general info on what that might look like but so far none has made the magic work so here I am. HELP!
Not sure what is going on with the fount size
p.s. Interesting at least to me, the before and now time was a construct I got from my son. They can both be almost infinite in size (big and small) just not at the same time. Scotty you can beam me up now Scotty...............SCOTTY?