This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import time | |
import argparse | |
import json | |
#import enum | |
# Define some fixed types strings | |
# Rather than loading enum libraru | |
class Mode: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import time | |
import argparse | |
import json | |
tryMQQT = False | |
debugOn = False | |
if tryMQQT: | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: esphome_power_meter | |
platform: ESP8266 | |
board: nodemcuv2 | |
wifi: | |
ssid: SSID | |
password: PASSWORD | |
# Enable fallback hotspot (captive portal) in case wifi connection fails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Holman WX2 Tap Timer | |
products: | |
- id: wfchjk5vc9bysjtk | |
model: WX2 | |
manufacturer: Holman | |
primary_entity: | |
entity: switch | |
name: Z1 Manual | |
icon: "mdi:watering-can" | |
dps: |