jenny

1.1.0 • Public • Published

jenny

Jenny tells a remote server whats happening with your MySensors connected via a serial port

Usage

jenny -u http://site.com/path -p /serial/port

Routes

  • POST /radio - Register a new radio, expects to have the following response:
{
    "id": ""
}
  • PUT /radio/{id} - Save data for radio. Request is in the following form. All values are optional
{
    "name": "",
    "version": "",
    "battery": ""
}
  • POST /radio/{id}/sensor/{childId}/reading - Save sensor readings for this radio and sensor
{
    "type": "",
    "value": "",
    "time": ""
}
  • PUT /radio/{id}/sensor/{childId} - modify sensor information. All values are optional.
{
    "type": "",
    "name": ""
}
  • POST /log - Create new log message. Request is in the following form.
{
    "message": "",
    "time": ""
}

Readme

Keywords

Package Sidebar

Install

npm i jenny

Weekly Downloads

5

Version

1.1.0

License

ISC

Last publish

Collaborators

  • wyatt