HACKER Q&A
📣 abstractfoundry

RESTful API for Electronics?


Does this sound like a good idea: a set of electronics modules which have a REST API, by default? Basically a plug-and-play system or sensor and motors, e.g. air quality sensor, stepper motor etc. which connect via USB, and you can GET the sensor reading or PUT the motor angle? HTTP is language agnostic, works by default over a network, and has lots of security options.

My friend and I have basically created a system like this, as a by-product of a kit we recent launched on Kickstarter [1]. I was wondering if people, especially software developers, would find the modules themselves useful on their own?

[1] https://www.kickstarter.com/projects/1202256831/lumicube-an-led-cube-kit-for-the-raspberry-pi


  👤 Raed667 Accepted Answer ✓
Check Universal Plug and Play (UPnP), its alright to have a REST endpoint but it would be even better for the interface to be standard and discovery to be automatic with guaranteed interoperability.