New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

homeassistant-ws

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homeassistant-ws

Client for Homeassistant's websocket API

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28
increased by12%
Maintainers
1
Weekly downloads
 
Created
Source

homeassistant-ws

Minimalist client library for Homeassistant's Websocket API. Works in node, and also in the browser.


Installation:

Using npm:

$ npm i --save homeassistant-ws

Import it in your project:

import hass from 'homeassistant-ws'

async function main () {
  // Assuming hass running in `localhost`, under the default `8321` port:
  const client = hass({
    token: 'my-secret-token'
  })
}

Tokens are available from your profile page under the Homeassistant UI. For documentation on the authentication API, see the official HA documentation.

Keywords

FAQs

Package last updated on 26 Apr 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc