Remove measurements...
 
Notifications
Clear all

Remove measurements data  

  RSS

kppc
 kppc
(@kppc)
Active Member
Joined: 3 months ago
Posts: 19
October 16, 2020 1:53 pm  

We are repurposing one of our Mycodo setups to control a new hydroponics system. The setup is current and all the sensors will remain with the system. Wondering if the measurements data from the old system can be removed. It would be nice for the new system to display only new data.


Quote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 6 years ago
Posts: 343
October 16, 2020 2:02 pm  

This should be easily accomplished by referencing this Mycodo wiki article to start influx and open the mycodo database, and this answer about how to delete all measurements. Merely replace the last two commands in the wiki (SELECT and DELETE) with the answer's DROP command.

influx
use mycodo_db
DROP SERIES FROM /.*/

Mycodo Developer


ReplyQuote