RPi-Distro / python-energenie

Remotely control power sockets from the Raspberry Pi
https://pypi.python.org/pypi/energenie
BSD 3-Clause "New" or "Revised" License
33 stars 9 forks source link

GPIO mode causing conflicts #12

Closed glynternet closed 8 years ago

glynternet commented 8 years ago

By using GPIO mode BCM rather than BOARD the energenie module isn't compatible with the original Raspberry Pi's. It's took me an evening to fault find why and it came down to this.

I've seen that in your commit log you changed from BOARD to BCM at one point. May I ask what the reason for this decision was?

http://www.raspberrypi-spy.co.uk/2012/06/simple-guide-to-the-rpi-gpio-header-and-pins/

Thanks, Glyn.

bennuttall commented 8 years ago

The Raspberry Pi Foundation recommends BCM mode, and uses it in all its resources.

Note this library is deprecated in favour of GPIO Zero which recently added Energenie support