Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
char_control_node
handler
service
view
worker
.gitignore
.pylintrc
LICENSE
__init__.py
config.ini.dist
main.py
readme.md
tox.ini

readme.md

Doton

Doton project is a control Node for IoT devices. It works on Raspberry Pi and uses ILI9328 or ILI9486 compatible display to show information in a form of widget/tile.

Articles

Tiles on 320x480 4" screen:

screen

screen

Structure

assets - images and fonts

handler - handlers for DHT11, PIR, light sensor, relay

service - Dispatcher, Window Manager, Worker Handler, Openweather, Config

view - NodeOne, Openweather, Clock, Relay

worker - Openweather

Configuration

File config.ini

[lcd]
;ili9486  ili9325
lcd=ili9486
size=320,480
rotate=270
driver=spi
driver_pins={"CS": 8,"RST": 25,"RS": 24,"LED": ""}

[touch]
;xpt2046 ad7843
driver=xpt2046
size=480, 320
rotate=0
irq=17
cs=7

[general]
;broadcast address
ip=192.168.1.255
port=5053
node_name=control-node-2

[openweather]
apikey=my-secret-api-key
cities={"3103402": "Bielsko-Biała"}

Attached projects:

Credits

Weather icons made by Freepik and Linector from www.flaticon.com