Socket
Socket
Sign inDemoInstall

homebridge-http-esp8266-battery

Package Overview
Dependencies
47
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    homebridge-http-esp8266-battery

Homebridge plugin for displaying the filespace usage of an ESP8266 as a battery, plus temperature and humidity


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 06 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc