Skip to content

DanielBaulig/esphome-web-js

Repository files navigation

ESPHome Web API

An implementation of the ESPHome WebServer API. Primarily written for use in ESPHome Web App.

Installation

npm install esphome-web

Use

import ESPHomeWeb from 'esphome-web';

const esphome = new ESPHomeWeb(hostname);
esphome.addEventListener('entitydiscovered', (event) => {
  console.log('New entity discovered', event.detail.entity);
});
esphome.connect();

About

A Javascript implementation of the ESPHome web server API

Resources

License

Stars

Watchers

Forks

Packages

No packages published