05-19-2023, 07:50 PM
Hi Hazelnutuz, the system automatically creates a chart for each DS18B20 sensor plugged in. If you unplug it the chart remains and I haven't added an option to delete it but that should be in the next update. If you want to remove a chart from the dashboard go to "charts" screen and at the top is checkbox to hide/show each chart.
At this point to clear a log you need to do it in the database. Here's how you do it.
Run phpMyAdmin to access the database.
Add /phpmyadmin/ to your Pi IP address like below.
http://192.168.1.45/phpmyadmin/
Username = root
Password = robotank
You'll see 4 databases, the first 3 don't mess with, the robotank database is the one, click on it and it'll expand on the left side.
At the top you'll see some tables with a name similar to 00000b90e26a_C There will be 2 tables with the same name but one ends in C and the other F for Celsius and Fahrenheit.
Click on one of them and at click the "operations" tab along the top.
At the far right side you'll see a link "Empty the table (TRUNCATE)" click and and confirm.
Do the same for all the temp sensor tables. At some point this will be done through the interface.
At this point to clear a log you need to do it in the database. Here's how you do it.
Run phpMyAdmin to access the database.
Add /phpmyadmin/ to your Pi IP address like below.
http://192.168.1.45/phpmyadmin/
Username = root
Password = robotank
You'll see 4 databases, the first 3 don't mess with, the robotank database is the one, click on it and it'll expand on the left side.
At the top you'll see some tables with a name similar to 00000b90e26a_C There will be 2 tables with the same name but one ends in C and the other F for Celsius and Fahrenheit.
Click on one of them and at click the "operations" tab along the top.
At the far right side you'll see a link "Empty the table (TRUNCATE)" click and and confirm.
Do the same for all the temp sensor tables. At some point this will be done through the interface.