Read the docs, everything is there and is explained clearly. https://docs.onion.io/omega2-docs/gpio-python-module.html You have to replace pi-style gpio calls by omega-style, eg instead of GPIO.output(9, GPIO.LOW) use status = gpio9.setValue(0)