From ec8d4aa6f3fbb87e9f758bb7f52cc5a6178fc01e Mon Sep 17 00:00:00 2001 From: Candle - the privacy friendly smart home <39312291+createcandle@users.noreply.github.com> Date: Sat, 27 Nov 2021 18:21:07 +0100 Subject: [PATCH 1/4] Candle Hotspot - initial release Initial release of the Candle hotspot addon. It is part of the Candle research for 2021. Work on this addon has been made possible by the generous support of the SIDN Foundation (https://www.sidnfonds.nl/excerpt) This addon is only available for the Raspberry Pi. With this addon the gateway will have: - A very powerful and rare privacy feature. It brings some of the features of software like Dowse (https://www.dyne.org/software/dowse/) to the Webthings Gateway, in an incredible easy to use package. - A way to run a gateway as a standalond "island". For example, you could disconnect the gateway from the network, and still connect to the gateway itself directly. For example with a dedicated tablet. This makes it very interesting for use in places like school, elderly homes and hotels, since the deployment could be guaranteed cloudless. - A way to have a gateway act as a wifi range extender, this increasing the value proposition of the gateway. It has been working flawlessly for months now. I also just tested it on a fresh gateway install, and it worked there too. Still, there a 90 second delay before the addon starts, just to be absolutely sure that the addon couldn't keep a user out of their system accidentally. In that period the user can use the interface to cancel the addon's launch (or just disable the addon in settings). It should be ample time to fix any issues if they somehow crop up. But as I said, it has been working very well here. The next version will enable additional privacy protections, so that information about the connections made by laptops and mobile phones will be hidden. I've made a lot of effort to make sure the addon is as safe to use as possible. Yes, this addon uses sudo internally in order to create an additional virtual network interface and launch hostapd. But it doesn't install anything onto the system, and it doesn't permanently change any settings of the host system. If a user removes the addon and reboots, it will be as if it had never been installed. Figuring out how to do this literally took weeks. --- addons/hotspot.json | 107 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 addons/hotspot.json diff --git a/addons/hotspot.json b/addons/hotspot.json new file mode 100644 index 000000000..82a7c0f5f --- /dev/null +++ b/addons/hotspot.json @@ -0,0 +1,107 @@ +{ + "id": "hotspot", + "name": "Candle Hotspot", + "description": "Let your Raspberry Pi generate a wifi hotspot. Connect your wifi-based smart home devices to this hotspot. You can then learn which servers these devices are connecting to, and even block unwanted connections.", + "author": "CreateCandle", + "homepage_url": "https://github.com/createcandle/hotspot", + "license_url": "https://raw.githubusercontent.com/createcandle/hotspot/master/LICENSE", + "primary_type": "adapter", + "packages": [ + { + "architecture": "linux-arm", + "language": { + "name": "python", + "versions": [ + "3.7" + ] + }, + "version": "0.0.6", + "url": "https://github.com/createcandle/hotspot/releases/download/0.0.6/hotspot-0.0.6-linux-arm-v3.7.tgz", + "checksum": "b912c1330b1893f419edf220a9fc25aa2ad2e8ee689badbe445c89db4d85d9c2", + "gateway": { + "min": "0.10.0", + "max": "*" + } + }, + { + "architecture": "linux-arm", + "language": { + "name": "python", + "versions": [ + "3.8" + ] + }, + "version": "0.0.6", + "url": "https://github.com/createcandle/hotspot/releases/download/0.0.6/hotspot-0.0.6-linux-arm-v3.8.tgz", + "checksum": "170584721cb7c629af32e8a547233f25980c515a66a5591ece41e689da4d7062", + "gateway": { + "min": "0.10.0", + "max": "*" + } + }, + { + "architecture": "linux-arm", + "language": { + "name": "python", + "versions": [ + "3.9" + ] + }, + "version": "0.0.6", + "url": "https://github.com/createcandle/hotspot/releases/download/0.0.6/hotspot-0.0.6-linux-arm-v3.9.tgz", + "checksum": "dd18572401bae317b1dadc24dbb4b6aaff923b6a03eff8dc40de80edbd9dd0ea", + "gateway": { + "min": "0.10.0", + "max": "*" + } + }, + { + "architecture": "linux-arm64", + "language": { + "name": "python", + "versions": [ + "3.7" + ] + }, + "version": "0.0.6", + "url": "https://github.com/createcandle/hotspot/releases/download/0.0.6/hotspot-0.0.6-linux-arm64-v3.7.tgz", + "checksum": "f223e53090ee8373247e5d963983fa4d6d6b8e913408a6da838ad059676f777f", + "gateway": { + "min": "0.10.0", + "max": "*" + } + }, + { + "architecture": "linux-arm64", + "language": { + "name": "python", + "versions": [ + "3.8" + ] + }, + "version": "0.0.6", + "url": "https://github.com/createcandle/hotspot/releases/download/0.0.6/hotspot-0.0.6-linux-arm64-v3.8.tgz", + "checksum": "1c7a52a72c24bb5a97c6995231f13bcbbeb0ddb204766c35081b5a7439aca386", + "gateway": { + "min": "0.10.0", + "max": "*" + } + }, + { + "architecture": "linux-arm64", + "language": { + "name": "python", + "versions": [ + "3.9" + ] + }, + "version": "0.0.6", + "url": "https://github.com/createcandle/hotspot/releases/download/0.0.6/hotspot-0.0.6-linux-arm64-v3.9.tgz", + "checksum": "fab54778fa2ed83aeae48d5e36ac93bdecab1cecf5609e58bf43ceb6ff3d2898", + "gateway": { + "min": "0.10.0", + "max": "*" + } + } + ] +} From 6da52d8a317af36f6977a4b5a406c424da0c3eec Mon Sep 17 00:00:00 2001 From: Candle - the privacy friendly smart home <39312291+createcandle@users.noreply.github.com> Date: Sat, 27 Nov 2021 18:26:30 +0100 Subject: [PATCH 2/4] Update hotspot.json --- addons/hotspot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hotspot.json b/addons/hotspot.json index 82a7c0f5f..494b99c06 100644 --- a/addons/hotspot.json +++ b/addons/hotspot.json @@ -2,7 +2,7 @@ "id": "hotspot", "name": "Candle Hotspot", "description": "Let your Raspberry Pi generate a wifi hotspot. Connect your wifi-based smart home devices to this hotspot. You can then learn which servers these devices are connecting to, and even block unwanted connections.", - "author": "CreateCandle", + "author": "CandleSmartHome.com", "homepage_url": "https://github.com/createcandle/hotspot", "license_url": "https://raw.githubusercontent.com/createcandle/hotspot/master/LICENSE", "primary_type": "adapter", From ef40c18f0075dac2cc24d10d41539f1cc2d9c84a Mon Sep 17 00:00:00 2001 From: Candle - the privacy friendly smart home <39312291+createcandle@users.noreply.github.com> Date: Sat, 27 Nov 2021 18:31:22 +0100 Subject: [PATCH 3/4] Update hotspot.json --- addons/hotspot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hotspot.json b/addons/hotspot.json index 494b99c06..5c875f3fc 100644 --- a/addons/hotspot.json +++ b/addons/hotspot.json @@ -1,6 +1,6 @@ { "id": "hotspot", - "name": "Candle Hotspot", + "name": "Candle hotspot", "description": "Let your Raspberry Pi generate a wifi hotspot. Connect your wifi-based smart home devices to this hotspot. You can then learn which servers these devices are connecting to, and even block unwanted connections.", "author": "CandleSmartHome.com", "homepage_url": "https://github.com/createcandle/hotspot", From 4444eed21cce2a78e9bfcf07ee2e07aad3f5dd6e Mon Sep 17 00:00:00 2001 From: Candle - the privacy friendly smart home <39312291+createcandle@users.noreply.github.com> Date: Sat, 27 Nov 2021 18:33:37 +0100 Subject: [PATCH 4/4] Update hotspot.json --- addons/hotspot.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hotspot.json b/addons/hotspot.json index 5c875f3fc..09fe9c247 100644 --- a/addons/hotspot.json +++ b/addons/hotspot.json @@ -3,7 +3,7 @@ "name": "Candle hotspot", "description": "Let your Raspberry Pi generate a wifi hotspot. Connect your wifi-based smart home devices to this hotspot. You can then learn which servers these devices are connecting to, and even block unwanted connections.", "author": "CandleSmartHome.com", - "homepage_url": "https://github.com/createcandle/hotspot", + "homepage_url": "https://www.candlesmarthome.com/hotspot", "license_url": "https://raw.githubusercontent.com/createcandle/hotspot/master/LICENSE", "primary_type": "adapter", "packages": [