<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.randomdata.nl/w/index.php?action=history&amp;feed=atom&amp;title=SpaceState</id>
	<title>SpaceState - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.randomdata.nl/w/index.php?action=history&amp;feed=atom&amp;title=SpaceState"/>
	<link rel="alternate" type="text/html" href="https://wiki.randomdata.nl/w/index.php?title=SpaceState&amp;action=history"/>
	<updated>2026-04-13T15:19:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.randomdata.nl/w/index.php?title=SpaceState&amp;diff=6768&amp;oldid=prev</id>
		<title>Sander: Initial version of the space state method we have.</title>
		<link rel="alternate" type="text/html" href="https://wiki.randomdata.nl/w/index.php?title=SpaceState&amp;diff=6768&amp;oldid=prev"/>
		<updated>2025-09-05T13:25:38Z</updated>

		<summary type="html">&lt;p&gt;Initial version of the space state method we have.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== Goals ====&lt;br /&gt;
On our website and [https://hackerspaces.nl/ hackerspaces.nl] we wanted to easily communicate with the outside world whether or not our hackerspace was open or not. There are a lot of (complicated) ways to do this, for example, detect movement with a webcam, regularly scan Bluetooth / WiFi for active devices etc. etc. However, I personally subscribe to the philosophy of K.I.S.S. (Keep It Stupidly Simple), so I&amp;#039;ve decided to do something with a simple on/off switch mounted on the wall where people can just easily say &amp;quot;space is open&amp;quot; or &amp;quot;space is closed&amp;quot; like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;TODO Picture of the box mounted on the wall&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That switch can easily be hooked into HomeAssistant using ESPHome on an ESP8266 development board which then controls the SpaceAPI integration. Normally that should be it, however we have one issue.. Our internet is behind a double NAT, which makes it a royal PITA. However, there are solutions for that.&lt;br /&gt;
&lt;br /&gt;
==== Hardware used ====&lt;br /&gt;
1x ESP8266 Development board&lt;br /&gt;
&lt;br /&gt;
1x Dead simple on/off switch&lt;br /&gt;
&lt;br /&gt;
1x 3D printed box&lt;br /&gt;
&lt;br /&gt;
==== Software used ====&lt;br /&gt;
&lt;br /&gt;
* HomeAssistant with the [https://www.home-assistant.io/integrations/spaceapi/ SpaceAPI integration]&lt;br /&gt;
* ESPHome&lt;br /&gt;
&lt;br /&gt;
==== Implementation ====&lt;br /&gt;
&amp;lt;Insert little spiel about our double nat situation etc etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== HomeAssistant configuration =====&lt;br /&gt;
&amp;lt;TODO&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ESPHome configuration YAML =====&lt;br /&gt;
&amp;lt;TODO&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Double NAT workaround =====&lt;br /&gt;
&lt;br /&gt;
====== Changelog: ======&lt;br /&gt;
&lt;br /&gt;
* 05-09-2025: Initial version&lt;/div&gt;</summary>
		<author><name>Sander</name></author>
	</entry>
</feed>