Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Candle Hotspot - initial release #1458

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

createcandle
Copy link
Contributor

@createcandle createcandle commented Nov 27, 2021

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 incredibly 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.

Candle - the privacy friendly smart home added 4 commits November 27, 2021 18:21
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.
@createcandle
Copy link
Contributor Author

It would be nice to have this accepted. We had the whole debate around the idea that the 'community version' of the Gateway should be very accepting to new addons. In this case to support research into new privacy protections for smart homes.

@kgiori
Copy link

kgiori commented Jan 28, 2022

I would love to try this out for off-the-grid educational use (or disconnected home use). I will be giving a workshop to the 2022 TechWomen cohorts coming to Silicon Valley in March and October, and giving them their own RPi3 running WebThings Gateway to take home with them. If this add-on is available, it'll make the installation and setup much easier than having the women try to install it some other way...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants