|
|
|
|
|
by chch
4424 days ago
|
|
Perhaps this is just rephrasing ianawilson's reply, but it seems that if Crowsnest eventually supports fifty different cameras (or switches or thermostats or what have you), then (via the tumblr demo): crowsnest_data = request.json
image = base64.b64decode(crowsnest_data['files']['image']['data'])
would be an abstraction layer over the internal functions of all of the cameras.That way, if I wanted to, say, build an app that does mood lighting depending on how many people are in a room, I could use Crowsnest as my middleman, and then my app would support fifty different cameras and fifty different switches (hypothetically), instead of the one of each that I happen to own and test on. That way, I could swap out devices or distribute my code to others, without having to worry so much about hardware integration. That sounds valuable from my personal perspective. At least, I think that's how it works, from browsing the site and demos. Feel free to correct me, ianawilson. :) |
|
It is valuable, but has the downside of coupling to a closed-source third-party cloud.
Perhaps a better goal would be to encourage a public collection of CoAP- or OSC-based interfaces for these various end-point devices.
Crowsnest is encouraging people to write and submit such end-point code; better that it be workable with OSS infrastructure.