Sensor readings are not displayed in the graph

Written by peterk on . Posted in

First make sure that everything is wired correctly. Take a look at the wiring pictures and double check. Afterwards run the script manually and check if any readings are taken. Double check the plugin shortcode. Check if the readings are stored in the database. Do that by typing mysql -u root -p and then type in your mysql password. Type in show databases;which will display all databases, select the WordPress database. In my case it is named WordPressDB, I can select it with use WordPressDB;.  The table that stores all the readings is named temperatures. Display everything in it with select * from temperatures;. It should display all the readings taken. If all of the above works, it is very likely that you have a faulty sensor.