Skip to content
H

Home Assistant JS Websocket

JavaScript websocket client for Home Assistant

by home-assistantFree

#2057in Productivity
0In stores

Description

home-assistant-js-websocket is a JavaScript websocket client for Home Assistant. It retrieves authentication tokens and communicates with th…

Highlights

  • Websocket client for the Home Assistant API
  • OAuth2 sign-in with getAuth
  • S256 PKCE in secure contexts
  • Zero dependencies
  • Demo in the repository

Ratings & Reviews

No ratings yet

Be the first to rate Home Assistant JS Websocket.

People also visit

N

Node Red Contrib Home Assistant Websocket

Node-RED integration with Home Assistant

Productivity
Launch
G

Go Hass Agent

A Home Assistant, native app for desktop/laptop devices

Productivity
Launch
H

Home-Assistant

My Home Assistant guides, examples and YAMLs for dashboards

Productivity
Launch
M

Myconfig

My Home Assistant config

Productivity
Launch
H

Home-Assistant_Config

BeardedTinker Home Assistant configuration

Photo & Video
Launch
H

Hassio Addons

A curated collection of advanced Home Assistant Apps including WhatsApp

Developer Tools
Launch

Home Assistant JS Websocket FAQ

What is this library?

A JavaScript websocket client for the Home Assistant API.

How does login work?

getAuth redirects the user to their Home Assistant instance, and returns with an authentication token after they log in. You need the instance URL.

Does it have dependencies?

No. The README says it has zero dependencies.

Does it use PKCE?

Yes, when the server advertises it in a secure context, getAuth uses S256 PKCE.

Can I try it first?

Yes. The README describes a demo that you can run from a clone of the repository.

What are the best Home Assistant JS Websocket alternatives?

Popular alternatives to Home Assistant JS Websocket include Node Red Contrib Home Assistant Websocket, Go Hass Agent and Home-Assistant. See all Home Assistant JS Websocket alternatives

Developer Stuff

Badges