O'Reilly logo

Raspberry Pi Home Automation with Arduino by Andrew K. Dennis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

We have now demonstrated a simple method for writing data to a database and to then be able to read it via our web browser.

This combination of technologies opens itself up to all sorts of interesting possibilities. We could expand the SQLite3 database to hold more information about each of the rooms we plan to store data on. We could expand our Python program to check that the data being written back to it is in the format we expect.

HTSQL opens up a variety of ways for writing interesting queries that we can use in our web browser to check our temperature readings, and one of the benefits is we can save these queries as bookmarks in our browser and use them whenever we need.

Hopefully this chapter has provided you with an interest in learning ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required