Skip to content

Read electric consumption information from electronic electric meter.

License

Notifications You must be signed in to change notification settings

ftoulemon/Dilebhome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dilebhome

Read electric consumption information from electronic electric meter.

Setup

Electronic

Schematics

Source

Protocol documentation

Dependencies

  • mysql-server
  • libmysqlclient-dev

And backend/requirements.txt

Mysql

# Create DB
CREATE DATABASE Electricity;
# Frontend access
CREATE USER 'frontend'@'%' IDENTIFIED BY 'frontendpwd';
GRANT SELECT ON Electricity.* TO 'frontend'@'%';
# Not secure. For maintenance op only.
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
# Flush
FLUSH PRIVILEGES;

And run:

# backend/start.py --setup

UART config

From C.H.I.P. official doc: http://docs.getchip.com/chip.html#uart

Output

webpage

Thanks to materializecss

About

Read electric consumption information from electronic electric meter.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published