Skip to content

MegaBit-se/HA.Unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A port of the HADotNet library for Unity.

HADotNet is a simple, straighforward .NET Standard library for the Home Assistant API.

Dependencies

This library depends on JSON.Net, a modified version can be installed from the Asset store.

Usage

See the scripts folder for a sample usage to turn on/off a light.

  1. Attach HomeAssistant to an Empty Gameobject in your scene
  2. Configure the url & api key
  3. Attach a HALight to one of your scene objects, be sure to also have a collider component configured
  4. Provide the HA device id of your light entity & configure the interaction
  5. Turn on/off your light

About

HADotNet for Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%