Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write the network link #5

Open
whaleygeek opened this issue Aug 30, 2014 · 1 comment
Open

Write the network link #5

whaleygeek opened this issue Aug 30, 2014 · 1 comment

Comments

@whaleygeek
Copy link
Owner

The network link in anyio.net.GPIO is not written and is just a placeholder.
There is not much to do here, it's just a bit of knitting between the GPIOClient and the adaptor.
The essense is that you will be able to run a GPIO server on a network connected machine (e.g. a Raspberry Pi), then import anyio.net.GPIO as GPIO inside your program on another computer, and remotely control that other machine's GPIO's. Not intended for fast control, but useful for over the network control of devices (e.g. relays etc).

The intention is that you would write your app as a standard GPIO program on a single computer, then just rename RPi.GPIO as anyio.net.GPIO and give it an IP address and a port number, and you can then remotely control that hardware over the network.

@whaleygeek
Copy link
Owner Author

The Raspberry Pi Foundation kindly turned my networking resources into a set of lessons on their website here: http://www.raspberrypi.org/learning/networking-lessons/ and uses my network.py as is. The network.py is already inside this package, but I haven't written the knitting code to make this wire up to the anyio abstraction yet. I don't think there's much to do here, I might do this before end of 2014, as it might be a nice feature to build IoT like devices from. The server end would be simple too, I've written lots of example servers already with network.py so it's not much work to make that all happen.

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

No branches or pull requests

1 participant