calaos / calaos_base

Calaos server
https://calaos.fr
GNU General Public License v3.0
160 stars 37 forks source link

Handle multiple MySensors controllers #138

Closed clementleger closed 6 years ago

clementleger commented 6 years ago

Add a MySensorsControllerList which store multiple MySensors controller. When a sensor is created, look in the hash if the controller is already present. If so, simply return the existing controller. If not, create a new one.

Fixes #127

raoulh commented 6 years ago

Thanks