SIP
Orange pi Zero Installation .. - Printable Version

+- SIP (https://nosack.com/sipforum)
+-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1)
+--- Forum: Installation and set up questions (https://nosack.com/sipforum/forumdisplay.php?fid=2)
+--- Thread: Orange pi Zero Installation .. (/showthread.php?tid=93)



Orange pi Zero Installation .. - takezo - 2017 Aug 02

Hi there!, @dan

im trying to configure my orangepi zero to run SIP.
I have downloaded last version or SIP of branch ORANGE, please, check the print out:

Code:
takezo@orangepizero:~/OrangeSIP/SIP$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 8.8 (jessie)
Release:    8.8
Codename:    jessie

takezo@orangepizero:~/OrangeSIP/SIP$ git branch
 master
* orange

I also modified the path of home directorey where is located SIP, modified into file sip.sh
The case is, when i try to run the sip, Im getting the following errors:


Code:
takezo@orangepizero:~/OrangeSIP/SIP$ sudo python sip.py
[sudo] password for takezo:
ALARM from Example_Sender!: Just and example!
plugins loaded:
 mobile_app
 plugin_manager
 signaling_examples
 system_update
Traceback (most recent call last):
Starting timing loop
 File "sip.py", line 247, in <module>

   set_output()    
 File "/home/takezo/OrangeSIP/SIP/gpio_pins.py", line 228, in set_output
   disableShiftRegisterOutput()
 File "/home/takezo/OrangeSIP/SIP/gpio_pins.py", line 169, in disableShiftRegisterOutput
   setup_pins()
 File "/home/takezo/OrangeSIP/SIP/gpio_pins.py", line 149, in setup_pins
   gpio.setcfg(pin_sr_noe, gpio.OUT)
AttributeError: 'module' object has no attribute 'OUT'

thank you so much to support me whith this installation,
BR!


RE: Orange pi Zero Installation .. - dan - 2017 Aug 06

Hi Alfredo,

I answered you identical post on GitHub:
https://github.com/Dan-in-CA/SIP/issues/189

because there is already some useful information there.