Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drkpxl/homegraph


https://github.com/drkpxl/homegraph

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

In your Raspberry Pi sheell, execute the following command in your terminal to install rmate

```$ sudo wget -O /usr/local/bin/rmate https://raw.github.com/aurora/rmate/master/rmate$ sudo chmod a+x /usr/local/bin/rmate```

Once installed, open up a new terminal and connect to your raspberry pi using the following command:

```ssh -R 52698:localhost:52698 pi@IPADDRESS```

Edit in VS code

```rmate README.md```

### Initial SQL Setup

```sqlite3 sensorsData.db```
```sqlite> BEGIN;```
```sqlite> CREATE TABLE DHT_data (timestamp DATETIME, temp NUMERIC, hum NUMERIC);```
```sqlite> COMMIT;```