imrest is a RESTful Web Server based on Mongoose that provides encrypted messaging between Ironman sensors, Ironman
Jarvis voice control and the Ironman monitor that runs on a PiBox server.
Michael J. Hammel 492cae7e97 General: Moved README to README.md so it shows up properly on web UI for | преди 3 седмици | |
---|---|---|
data | преди 3 месеца | |
docs | преди 3 месеца | |
opkg | преди 3 месеца | |
src | преди 3 месеца | |
tests | преди 3 месеца | |
AUTHORS | преди 3 месеца | |
COPYING | преди 3 месеца | |
ChangeLog | преди 3 месеца | |
INSTALL | преди 3 месеца | |
LICENSE | преди 3 месеца | |
Makefile.am | преди 3 месеца | |
NEWS | преди 3 месеца | |
README.md | преди 3 седмици | |
configure.ac | преди 3 месеца | |
cross.sh | преди 3 месеца | |
version.txt | преди 3 месеца |
imrest is a RESTful Web Server based on Mongoose that provides encrypted messaging between Ironman sensors, Ironman Jarvis voice control and the Ironman monitor that runs on a PiBox server.
imrest runs as HTTP (not HTTPS) using a JSON packet that contains an encrypted message. While the JSON packet can be intercepted, the encrypted messages should be difficult to break. The reason for using HTTP is because some Ironman sensors, such as those based on the ESP01 (re: ESP8266), cannot support HTTPS messaging but can perform simpler encryption manually. For the small sized messages that are exchanged this is sufficient.
The format for REST requests is
Method | API | From ... | Description |
---|---|---|---|
GET | /query/devices | From monitor | Request Device states from paired IoT nodes |
GET | /monitor | From Jarvis | Retrieve monitor description file |
POST | /pair/iot/ | From IoT Node | Pair an IoT node with the monitor |
POST | /pair/jarvis/ | From Jarvis | Pair a Jarvis instance with the monitor |
POST | /devices | From Jarvis | Get list of IoT nodes |
POST | /set/device | From Jarvis | Change an IoT node state |
POST | /ping | From IoT Node | Verify IoT node registration. |
DELETE | /set/device | From Jarvis or monitor | Change an IoT node state |