Git Product home page Git Product logo

esp-lock's Introduction

BUILD OPTIONS
DEBUG=1
enable serial debugging

DEBUG_NO_METER=1
dont wait for meter to answer

DEBUG_SHORT_WEB_CONFIG_TIME=1
dont wait for web config

IMPULSE=1
meter type is impulse based (100 mS)

EN61107=0
meter type is KMP (Multical 601)

EN61107=1
meter type is en61107 (Multical 66)

AES=1
enable aes encryption of samples

THERMO_NO=0
thermo actuator is normal closed

THERMO_NO=1
thermo actuator is normal open

LED_ON_AC=1
use led to indicate ac state

MQTT format for messages sent to meter

Topic Message
/config/v1/9999999/ping
/config/v1/9999999/open
/config/v1/9999999/close
/config/v1/9999999/status
/config/v1/9999999/set_cron minute=30&hour=&day_of_month=&month=&day_of_week=&command=open
/config/v1/9999999/cron
/config/v1/9999999/ping
/config/v1/9999999/version
/config/v1/9999999/uptime
/config/v1/9999999/save (only pulse meter)
/config/v1/9999999/mem
/config/v1/9999999/reset_reason

MQTT format for messages sent from meter

Topic Message
/sample/v1/9999999/[unix time] heap=20000&t1=25.00 C&t2=15.00 C&tdif=10.00 K&flow1=0 l/h&effect1=0.0 kW&hr=0 h&v1=0.00 m3&e1=0 kWh&
/cron/v1/9999999/[unix time] 12
/ping/v1/9999999/[unix time]
/version/v1/9999999/[unix time] [sdk version]-[git version]
/status/v1/9999999/[unix time] [open
/uptime/v1/9999999/[unix time] [uptime in seconds]
/save/v1/9999999/[unix time] (only pulse meter) saved
/mem/v1/9999999/[unix time] heap=9672&
/reset_reason/v1/9999999/[unix time]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.