Skip to content

Instantly share code, notes, and snippets.

@kenwebb
Last active January 17, 2026 22:22
Show Gist options
  • Select an option

  • Save kenwebb/e065692fbe202397e14465c36fceec9f to your computer and use it in GitHub Desktop.

Select an option

Save kenwebb/e065692fbe202397e14465c36fceec9f to your computer and use it in GitHub Desktop.
Home Assistant
<?xml version="1.0" encoding="UTF-8"?>
<!--Xholon Workbook http://www.primordion.com/Xholon/gwt/ MIT License, Copyright (C) Ken Webb, Sat Jan 17 2026 17:21:33 GMT-0500 (Eastern Standard Time)-->
<XholonWorkbook>
<Notes><![CDATA[
Xholon
------
Title: Home Assistant
Description:
Url: http://www.primordion.com/Xholon/gwt/
InternalName: e065692fbe202397e14465c36fceec9f
Keywords:
My Notes
--------
2026 Jan 17
### References
() https://www.home-assistant.io/
Open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.
() https://github.com/home-assistant/
() https://en.wikipedia.org/wiki/Home_Assistant
Home Assistant is free and open-source software used to enable centralized home automation.
It is a smart home controller that serves both as a smart home hub (sometimes called a "smart gateway")
and an integration platform designed for interoperability,
allowing users to have a single point of control and enable automating different smart home devices
from a central location regardless of manufacturer or brand.
The software emphasizes local control and privacy and is designed to be independent of any specific Internet of Things (IoT) ecosystem
without having to rely on cloud services.
Its customizable user interface can be accessed through any web-browser or by using its mobile apps for Android and iOS,
as well as different options to also use voice commands via a supported virtual assistant, such as Google Assistant, Amazon Alexa, Apple Siri,
and Home Assistant's own "Assist" (a built-in local voice assistant pipeline) using natural language.
The Home Assistant software application is commonly run on a computer appliance with "Home Assistant Operating System"
that will act as a central control system for home automation (commonly called a smart home hub/gateway/bridge/controller),
that has the purpose of controlling IoT connectivity technology devices, software, applications and services from third-parties
via modular integration components,
including native integration components for common wired or wireless communication protocols and standards for IoT products
such as Bluetooth, Zigbee, Z-Wave, EnOcean, and Thread/Matter
(used to create either local personal area networks or direct ad hoc connections with small smart home devices using low-power digital radios),
or Wi-Fi and Ethernet connected devices on a home network / local area network (LAN).
Home Assistant supports controlling devices and services connected via either open and proprietary ecosystems or commercial smart home hubs/gateways/bridges
as long they provide public access via some kind of open API or MQTT interface to allow for third-party integration over either the local area network or Internet,
which includes integrations for Alexa Smart Home (Amazon Echo), Google Nest (Google Home), HomeKit (Apple Home), Samsung SmartThings, and Philips Hue.
Information from all devices and their attributes (entities) that the application sees can be used and controlled via automation or script
using scheduling or subroutines (including preconfigured "blueprint"), e.g. for controlling lighting, climate, entertainment systems and smart home appliances.
() https://en.wikipedia.org/wiki/Zigbee
Zigbee is an IEEE 802.15.4-based specification for a suite of high-level communication protocols
used to create personal area networks with small, low-power digital radios,
such as for home automation, medical device data collection, and other low-power low-bandwidth needs,
designed for small scale projects which need wireless connection. Hence, Zigbee is a low-power, low-data-rate,
and close-proximity (i.e., personal area) wireless ad hoc network.
() https://en.wikipedia.org/wiki/Matter_(standard)
Matter is a technical standard for smart home and IoT (Internet of Things) devices.
It aims to improve interoperability and compatibility between different manufacturers and security, and always allowing local control as an option.
Matter originated in December 2019 as the Project Connected Home over IP (CHIP) working group,
founded by Amazon, Apple, Google, and the Connectivity Standards Alliance (when it was the Zigbee Alliance).
Subsequent members include IKEA, Huawei, Heiman, and Schneider.
Version 1.0 of the specification was published on 4 October 2022.
The Matter software development kit is open-source under the Apache License.
A software development kit (SDK) is provided royalty-free, though the ability to commission a finished product into a Matter network in the field
mandates certification and membership fees, entailing both one-time, recurring, and per-product costs.
This is enforced using a public key infrastructure (PKI) and so-called device attestation certificates.
Matter-compatible software updates for many existing hubs became available in late 2022,
with Matter-enabled devices and software updates starting to release in 2023.
The primary goal of Matter is to improve interoperability for the current smart home ecosystem.
CSA and its members aim for the Matter logo to become ubiquitous and for consumers to instantly
recognise it as a smart home device that will "just work".
() https://en.wikipedia.org/wiki/Philips_Hue
Philips Hue is a line of smart LED lamps and accessories which can be controlled wirelessly.
The Philips Hue line were the first commercially available smart bulbs on the market.
The lamps are currently created and manufactured by Signify N.V.,
formerly the Philips Lighting division of Royal Philips N.V.
The Hue Bridge is the central controller of the lighting system which allows the bulbs to communicate the app and smart home platforms.
The Hue Bridge Pro was released in 2025 and includes a faster processor, more memory, support for up to 150 lights and 50 accessories,
Matter support and built-in Wi-Fi.
Bulbs with Bluetooth
Since June 2019, all Philips hue bulbs support Bluetooth through the Philips Hue Bluetooth app,
so that a Philips Hue Bridge is no longer necessary for basic operation,
though it enables further features.
Up to ten bulbs can be controlled by Bluetooth (which requires location services to be enabled) over a range stated to be 30 feet (9.1 m).
Use of the Hue Bridge enables control of up to 50 lights, assignation of room names, full voice control,
configuration of Hue smart accessories, setting of timers and schedules,
away-from-home control, routines to switch on and off, and synchronisation of lights with entertainment devices.
() https://www.philips-hue.com/
() https://www.home-assistant.io/installation/linux/
() https://hackaday.io/project/204509-zicada-diy-zigbee-multisensor
Zicada is a DIY Zigbee sensor based on Nordic’s nRF52840 SoC.
It combines a temperature and humidity sensor with a hall effect switch, making it suitable for both climate and door/window monitoring.
Zicada is optimized for ultra-low power consumption, running at just 6µW in standby.
This allows it to operate on a rechargeable AAA battery for 2 years or longer.
It is fully compatible with Home Assistant (ZHA) and Zigbee2MQTT.
()
]]></Notes>
<_-.XholonClass>
<!-- domain objects -->
<PhysicalSystem/>
<Block/>
<Brick/>
<!-- quantities -->
<Height superClass="Quantity"/>
</_-.XholonClass>
<xholonClassDetails>
<Block>
<port name="height" connector="Height"/>
</Block>
</xholonClassDetails>
<PhysicalSystem>
<Block>
<Height>0.1 m</Height>
</Block>
<Brick multiplicity="2"/>
</PhysicalSystem>
<Blockbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
var a = 123;
var b = 456;
var c = a * b;
if (console) {
console.log(c);
}
//# sourceURL=Blockbehavior.js
]]></Blockbehavior>
<Heightbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
var myHeight, testing;
var beh = {
postConfigure: function() {
testing = Math.floor(Math.random() * 10);
myHeight = this.cnode.parent();
},
act: function() {
myHeight.println(this.toString());
},
toString: function() {
return "testing:" + testing;
}
}
//# sourceURL=Heightbehavior.js
]]></Heightbehavior>
<Brickbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
$wnd.xh.Brickbehavior = function Brickbehavior() {}
$wnd.xh.Brickbehavior.prototype.postConfigure = function() {
this.brick = this.cnode.parent();
this.iam = " red brick";
};
$wnd.xh.Brickbehavior.prototype.act = function() {
this.brick.println("I am a" + this.iam);
};
//# sourceURL=Brickbehavior.js
]]></Brickbehavior>
<Brickbehavior implName="org.primordion.xholon.base.Behavior_gwtjs"><![CDATA[
console.log("I'm another brick behavior");
]]></Brickbehavior>
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg+xml,
<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg">
<g>
<title>Block</title>
<rect id="PhysicalSystem/Block" fill="#98FB98" height="50" width="50" x="25" y="0"/>
<g>
<title>Height</title>
<rect id="PhysicalSystem/Block/Height" fill="#6AB06A" height="50" width="10" x="80" y="0"/>
</g>
</g>
</svg>
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient>
</XholonWorkbook>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment