project8 / mosquito

Labview interface of the exTorr RGA XT100
MIT License
2 stars 1 forks source link

Save data into the database #3

Closed guiguem closed 7 years ago

guiguem commented 7 years ago

The data are broadcasted via an alert message. The database should be able to receive it: for now the target has been unwisely chosen to be status_message.p8_alerts.mosquito. Once the endpoints in the db are created, we can change the target of the alert (which can be set as a field of the config file)

laroque commented 7 years ago

I mentioned this on slack but for the data to make it into the database the message should be sent to sensor_value.<endpoint_name> where <endpoint_name> must match an endpoint which exists in the database. It should be the case that that can be used now, and that the logger service will send an alert saying that it is unable to log the requested value. I'm working on adding support for json data to the database to facilitate this, there is a firefly issue.

guiguem commented 7 years ago

This is working now, I will close this issue