search.html: add graphing of scalar pin values reported to VidGrind

Issue #157 new
Trek Hopton created an issue

Currently on vidgrind’s search page we can only search and view pin values that have been reported to netreceiver. We have a Scalar entity type on vidgrind that stores pin values reported to vidgrind, but we have no way of viewing/graphing that data.

VidGrind’s search page and the relevant JS code should be upgraded so that we can make use of this data.

This has become apparent as a need as we develop more netsender clients, specifically the router-netsender client, which needs to report logs to vidgrind as well as upload and download pin data. We can’t view the logs if we report to netreceiver, and we can’t view the pins if we report to vidgrind.

Comments (4)

  1. Saxon Milton

    The vidgrind data handler has been implemented according to the issue referenced above. What will need to happen now is modification to the JS that deals with actually making a query for the data (currently to the netreceiver data request). See here. We’ll need to decide which host to use based on the pin type, i.e. whether it’s a sensor or a scalar. Therefore, if it’s a sensor pin, we need to use netreceiver as the host and if it’s a scalar pin, we’ll have to use vidgrind as the host. Eventually once everything is ported and we rely only on vidgrind, sensors will all become scalars.

  2. Log in to comment