Would it solve this problem if homey ran a local DNS server locally on the homey? And would that create any security risks?
The starting point of this thread is about the claim that " Everything Local. Homey Pro does everything on-premise, to take advantage of the lowest latency and highest reliability. The cloud is only used when absolutely necessary."
The problems arise since Homeyâs box itself becomes unreachable most of the times when Internet goes down.
Everybody would expect a cloud app to be unreachable in this case but âeverything localâ should at least be true for the box and the locally run apps⌠whether you believe it or not ![]()
It already does, and no, it doesnât solve anything.
As a developer myself I donât really see cloud dependant as a requirement rather than a design choice that can be overridden. If someone says they have hardware that creates an environment where we have âEverything Localâ, I have no reason to doubt that claim.
I really wouldnât call that a massive undertaking compared to everything else created to make the Homey work. We are talking about running a simple interface on a machine that is basically already a PC. The Homey already runs all the logic with flows etc from its internal hardware, being able to host a simple program where you control the device itself is a no brainer in my world.
Why? A simple smart plug has a very small feature set, its basically on/off and perhaps an energy reading, it canât be that hard to emulate telling the plug to turn on/off by sending a packet over the WIFI network. For more advanced devices like cameras and what not it might be harder where you need to decode streams and what not, but for basic on/off devices, I donât really see this as âbeyond unreasonableâ, more in the realm of âdoableâ.
Please consider the security implications if it was that simpleâŚ
Yeah I donât mean that whoever would do this, but the developer for the device in question should have no problem creating a Homey App that can do this (doing whatever handshaking/authorization required that normally occurs over the cloud)
That would only work if itâs âthe cloudâ that contacts your device, but itâs the other way around: the device contacts its brandâs cloud servers. Homey cannot interfere in that communication. Most brands also implement security/encryption to prevent MITM situations, which is basically what youâre suggesting Homey apps should do.