A plugin for interconnecting Pimatic systems.
This plugin is based on pimatic-remote from mwittig and is extended with devices and a multi-remote capability.
The pimatic-mesh plugin connects one or more remote Pimatic systems to the Pimatic system of this plugin. The supported mesh devices are switch, contact, dimmer, presence, temperature and variable. The remote switch and dimmer can be controlled from the switch and dimmer mesh device. From all devices you get data like state, level, etc, depending on the device type.
Variables from remote devices can be obtained via the mesh variables device.
There are two typical use cases for this plugin.
-
When you want to migrate from a node v4 system to a node v8 or v10 system, sometimes one or more plugins are not supporting node v8 or v10 and these plugin are blocking the upgrade. With this plugin you can leave the ‘node v4 only’ plugins and devices, on the old system and use pimatic-mesh to connect them to the new system.
Because you create new device types for the (remote) devices, you need to update the device config with the new mesh device classes. The mesh device ID and Name can stay the same, so rules do not have to change. -
Create a distributed Pimatic system. The plugin can be installed on more than 1 system and so you can distribute complexity and get flexibility for future migration. Mesh devices can be link to each other system, but be careful not to create loops.
Its a first release. It works on my node v4 and node v10 systems, but it is software.
Let me know if you need any extra features or if you detected bugs.