https://github.com/valutac/vanessa
You will never learn if you never broke something
https://github.com/valutac/vanessa
iot micropython web-of-things
Last synced: 5 months ago
JSON representation
You will never learn if you never broke something
- Host: GitHub
- URL: https://github.com/valutac/vanessa
- Owner: valutac
- Created: 2019-08-02T14:34:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T17:01:46.000Z (almost 7 years ago)
- Last Synced: 2024-10-24T10:07:06.812Z (over 1 year ago)
- Topics: iot, micropython, web-of-things
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vanessa - Web of Things Boilerplate
## Quick Start
### Flashing Loboris Micropython
Clone the fork of Loboris Micropython repository, this repository has been
updated to allow PUT command to work with microWebSrv and fix for microWebSocket
based on [this](https://github.com/dhylands/MicroPython_ESP32_psRAM_LoBo) branch and latest update from [Loboris](https://github.com/dhylands/MicroPython_ESP32_psRAM_LoBo) master branch
```
$ git clone https://github.com/ariestiyansyah/MicroPython_ESP32_psRAM_LoBo.git
```
Config the micropython and build the Firmware
```
$ cd MicroPython_ESP32_psRAM_LoBo/MicroPython_BUILD/
$ ./BUILD.sh menuconfig
$ ./BUILD.sh
```
Flash it
This example using SparkFun ESP32 Thing on Mac
```
$ ./BUILD.sh --port /dev/tty.usbserial-DN03F9EP flash
```
SparkFun connected to my mac using `/dev/tty.usbserial-DN03F9EP` port, this will be
different on each device, check it using following command
```
$ ls /dev/tty.usbserial*
```
### Install Gateway
Follow instruction from
[https://github.com/mozilla-iot/gateway/blob/master/README.md](https://github.com/mozilla-iot/gateway/blob/master/README.md)
to install Mozilla Gateway in your Raspberry Pi or PC/Mac.
### Web of Things Micropython
Clone project
```
$ git clone https://github.com/valutac/vanessa.git
```
change variable SSID and PASSWORD value in `config.py` with wifi credentials, for example
```
SSID = 'vanessa'
PASSWORD = 'wot'
```
Sync local files to ESP32 by using [rshell](https://github.com/dhylands/rshell),
you can also use ampy :) mine is rhsell.
```
$ rshell -a --buffer-size=30 -p /dev/tty.usbserial-DN03F9EP
fitra> rsync -v . /flash
fitra> repl
>>> Control-D # Soft reset
```
## HOW TO ADD THINGS
TO DO