IRNAS / koruza-rpi-package

Software package for KORUZA compute module
GNU General Public License v3.0
2 stars 1 forks source link

Expose ubus for remote measurement access #2

Closed SloMusti closed 7 years ago

SloMusti commented 7 years ago

Enable ubus to be exposed on an URL, such that we can remote access the measurements.

kostko commented 7 years ago

It is already exposed under /ubus. You can talk to it using the JSON-RPC protocol over HTTP. Read-only access to the current state is possible to unauthenticated users, but for anything more you need to be authenticated.

For details on the JSON-RPC protocol used, see the UI:

SloMusti commented 7 years ago

Please prepare an example Python script to collect the data.

kostko commented 7 years ago

Added in f281fed07e421d5bdef8653d4502f87748e755be.