diff options
Diffstat (limited to '_posts/2017-08-11-simple-iot-application.md')
| -rw-r--r-- | _posts/2017-08-11-simple-iot-application.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_posts/2017-08-11-simple-iot-application.md b/_posts/2017-08-11-simple-iot-application.md index 3c9b4f9..b552e8f 100644 --- a/_posts/2017-08-11-simple-iot-application.md +++ b/_posts/2017-08-11-simple-iot-application.md | |||
| @@ -51,7 +51,7 @@ to API and another to serving HTML with chart. | |||
| 51 | Schema below represents what we will try to achieve and how different parts | 51 | Schema below represents what we will try to achieve and how different parts |
| 52 | correlates to each other. | 52 | correlates to each other. |
| 53 | 53 | ||
| 54 |  | 54 | {:loading="lazy"} |
| 55 | 55 | ||
| 56 | ## Simple Python API | 56 | ## Simple Python API |
| 57 | 57 | ||
| @@ -219,12 +219,12 @@ available via POST method on /api route. | |||
| 219 | After testing the service with Restlet Client you should be able to view your | 219 | After testing the service with Restlet Client you should be able to view your |
| 220 | data in a database file ```data.db```. | 220 | data in a database file ```data.db```. |
| 221 | 221 | ||
| 222 |  | 222 | {:loading="lazy"} |
| 223 | 223 | ||
| 224 | You can also check the contents of new database file by using desktop client | 224 | You can also check the contents of new database file by using desktop client |
| 225 | for SQLite → [DB Browser for SQLite](http://sqlitebrowser.org/). | 225 | for SQLite → [DB Browser for SQLite](http://sqlitebrowser.org/). |
| 226 | 226 | ||
| 227 |  | 227 | {:loading="lazy"} |
| 228 | 228 | ||
| 229 | Table structure is as simple as it can be. We have ts (timestamp) and value | 229 | Table structure is as simple as it can be. We have ts (timestamp) and value |
| 230 | (value from Arduino). As you can see timestamp is generated on API side. If you | 230 | (value from Arduino). As you can see timestamp is generated on API side. If you |
| @@ -586,7 +586,7 @@ every 5 seconds. | |||
| 586 | If you navigate to ```http://0.0.0.0:5000``` you should see rendered chart as | 586 | If you navigate to ```http://0.0.0.0:5000``` you should see rendered chart as |
| 587 | shown on picture below. | 587 | shown on picture below. |
| 588 | 588 | ||
| 589 |  | 589 | {:loading="lazy"} |
| 590 | 590 | ||
| 591 | Complete application with all the code is available for | 591 | Complete application with all the code is available for |
| 592 | [download](/assets/posts/iot-application/simple-iot-application.zip). | 592 | [download](/assets/posts/iot-application/simple-iot-application.zip). |
