Open wchill opened 7 years ago
Need webhooks for merges to master.
Command dispatcher for pis as well as automated code pushes to teensys.
We can probably begin working on this as soon as PR #19 is merged
In addition to the items provided by @wchill above, the REST API should have:
For reading which parameters can be adjusted, you can use the default parameters dictionary passed to config loader. We may also want to extend the dictionary to support specifying constraints on the input value.
Starting point for server-side Twisted code: https://github.com/acm-uiuc/twilight/blob/39401335475bd101ead269aeb4e5a20ef765dfc2/server/app.py
You can use telnet to talk to the server code directly for the time being.
Currently Twilight runs on only a single machine. It needs to be reworked to support a networked infrastructure.
How this would work:
To support the current mode of operation, this can be done by separating the frame generation code from the hardware operation code. In
twilight.py
, we currently write directly to the serial ports as necessary; most of the refactoring work in this issue can be completed by replacing the serial port objects with socket objects and adding logic to allow for attachment/detachment of Twilight display clients at runtime.For the REST API, at least the following operations should be supported. Additions would be welcome: