Skip to content

The DUMB2SMART Lite is a way for some dumb equipment to gain some intelligence and inform a MQTT broker if they are ON or OFF. It was developed for use with ESP-01 in mind but can be used with other ESPs.

Notifications You must be signed in to change notification settings

jorgeassuncao/DUMB2SMART-Lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DUMB2SMART Lite

The DUMB2SMART Lite is a way for some dumb equipment to gain some intelligence and inform a MQTT broker if they are ON or OFF. It was developed for use with ESP-01 in mind but can be used with other ESPs.

Version

Current version is: DUMB2SMART Lite v0.0.1 (05/06/2018)

Features

  • n/a

How it works

The ESP-01 should be connected to the device you want to get the state.

If you're using Home Assistant, just add this code:

binary_sensor:
#### GET DEVICE STATE
  - platform: mqtt
    name: "dumb2smart"
    state_topic: "home/test/status"
    value_template: "{{ value }}"
    payload_on: "Online"
    payload_off: "Offline"
    device_class: connectivity

Notes

This project was created on PlatformIO. If you are using Arduino IDE, you should open the .cpp file inside the src folder. Libraries are inside the lib folder.

Used LIBRARIES

Arduino

PlatformIO

  • ESP8266WiFi >> ??
  • PubSubClient >> platformio lib install "PubSubClient"

About

The DUMB2SMART Lite is a way for some dumb equipment to gain some intelligence and inform a MQTT broker if they are ON or OFF. It was developed for use with ESP-01 in mind but can be used with other ESPs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages