Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

heimcontrol.js pi-gpio version not supporting RPI model B+ #107

Open
gubagu opened this issue Oct 27, 2014 · 2 comments
Open

heimcontrol.js pi-gpio version not supporting RPI model B+ #107

gubagu opened this issue Oct 27, 2014 · 2 comments

Comments

@gubagu
Copy link

gubagu commented Oct 27, 2014

Hi there,
Yesterday was playing around with the newly built heimcontrol Yaay ! and discovered that the pi-gipio version that hemcontol.js uses does not support RPI model B+. Pins 29, 31, 32, 33, 35, 36, 37, 38 and 40 are missing from the dropdown. I fixed it locally by installing the latest pi-gpio version and adjusting the template but i think there could be better generic solution for plugin. I will have a look at jade templating (never used it b4) and will see if i can find out some solution that satisfies both RPI models. There should be way to query the version of the RPI and use that in if then statement.

Cheerz,
Guby

@tjanson
Copy link
Contributor

tjanson commented Oct 29, 2014

As a slightly less elegant but quick fix, we could just add the extra pins and add "(Model B+ only)", i.e., exactly what you did just with an extra warning.

@tjanson
Copy link
Contributor

tjanson commented Oct 29, 2014

How do you like that change? If you try it, please tell me whether it works – I don’t see why it shouldn’t, but I didn’t actually run it on my Pi.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants