1.0.6 • Published 2 years ago

homebridge-http-esp8266-battery v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

homebridge-http-esp8266-battery

Description

This homebridge plugin exposes a web-based battery status to Apple's HomeKit. Using simple HTTP requests, the plugin displays the filespace useage of and ESP8266 as a battery.

I needed to monitory the file space usage of an ESP8266 that I'm using as a garage door opener. The system takes images when the door opens or closes and I want to monitor the file space usage

I modified the code from the iPCameraBattery accesory from Homebridge Http Ipcamera Battery

homebridge-http-ipcamera-battery v1.0.0 (2022-01-24)

Installation

  1. Install homebridge
  2. Install this plugin: npm install -g homebridge-http-ipcamera-battery
  3. Update your config.json file

Configuration

"accessories": [
     {
       "accessory": "esp8266Battery",
       "name": "esp8266Battery",
       "apihost", "hostname or ip address",
       "apipath": "/path",
       "auth": {
	  "username": "user",
          "password": "passowrd",
       "pollInterval": 300,   //default (optional)
       "timeout": 3000        //default (optional)
     }
]

Config

KeyDescriptionDefault
accessoryMust be accessoryN/A
nameName to appear in the Home appN/A
apihostIP address or hostnameN/A
apipathURL path that gets executed - apiN/A
auth.usernameBasic authentication usernameN/A
auth.passwordBasic authentication passwordN/A
pollIntervalTime (in seconds) between device polls300
timeoutTime (in milliseconds) until the accessory will be marked as Not Responding if it is unreachable3000
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago