Skip to content

jebentancour/SmartTimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Timer

This project is made to run in the Sonoff (smart_timer) and Sonoff POW (smart_timer_pow) hardware.

By default it starts an AP with the name SmartTimer-CHIP_ID and the password is password. Going to http://192.168.4.1 you will see the web configuration portal for WiFi and MQTT.

portal

By pressing the button (GPIO0) for 2 seconds it toggles between normal operation mode and configuration mode.

In the normal operation mode it subscrives to the topic config.mqtt_topic + "/control" and publishes the updated state to config.mqtt_topic + "/status".

The power readings are updated every kPwrUpdFreq seconds (default 20) to the tipoc config.mqtt_topic + "/power" in a JSON format.

The software is based on gmag11/FSBrowser for the web configuration portal and KmanOz/Sonoff-HomeAssistant to get the power readings of the Sonoff POW.

Releases

No releases published

Packages

No packages published