WebThingsIO / addon-list

List of installable add-ons for WebThings Gateway
Mozilla Public License 2.0
76 stars 54 forks source link

Candle Hotspot - initial release #1458

Open createcandle opened 2 years ago

createcandle commented 2 years ago

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:

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 commented 2 years ago

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 commented 2 years ago

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