Device groups should work on the LAN without needing the cloud. The simplest example of this is putting light bulbs into a group. If I tell that group to turn off/on that should happen instantly on the LAN without needing to travel to the cloud and then have the cloud change each bulb individually. So set the group status locally using the LAN first -- and then let the cloud catch up on the status.
This can be implemented with distributed MQTT. Distributed MQTT is really simple. All of the devices on the LAN watch a multicast address and then you simply broadcast the MQTT commands to that address. The devices look at the MQTT commands and then execute the applicable ones. To secure this encrypt the messages and generate a unique key for each LAN.
For example...
Flip switch
Multicast MQTT - Group A on
everyone sees the multicast
Members of Group A turn on
now update the new status in the cloud.
See how this hides the cloud lag? It also works if the Internet is down. Multicast is not routable so these messages never leave the LAN. You also can't hack from outside since you can't generate Multicast externally either. And the multicast is encrypted with unique key per LAN so someone on the LAN can't hack.
Missing local device groups feature
Re: Missing local device groups feature
Is a good idea but if I see this correctly RainMaker is always connected to the cloud, I guess only if you make this local having your own app you can have something alike. I guess the current form is designed like this so it can integrate also with Voice like Alexa or Google. It would be nice to group lamps but I don’t think this was designed with that idea in mind.
But for local Mesh you can use also MDF where you don’t need to get out of your network. Mesh has already group features.
But for local Mesh you can use also MDF where you don’t need to get out of your network. Mesh has already group features.
epdiy collaborator | http://fasani.de Fan of Espressif MCUs and electronic design
Who is online
Users browsing this forum: No registered users and 60 guests