The new Sync package in Wattmon allows multiple global variables to be synced between different devices in a virtual cluster. This opens up endless possibilities for distributed control based on data spanning large geographic areas. Devices can be configured to read or write multiple variables.
Zero Feed In
India does not allow grid feed in certain areas, and any energy fed into the grid is charged to the customer. Using WattmonPRO with the Sync package, it is possible to monitor the main incomer power meter with one Wattmon and transmit this data to the cloud and sync it to various rooftop grid tie setups across the campus. At user-definable intervals each Wattmon will receive the total energy being imported/exported and decide on the correct power limit for the inverters, either throttling or increasing production to ensure that all generated energy only goes to the campus and does not get fed back to the grid.
Another application could be to enforce global setting changes across multiple locations in situations where a large number of devices are deployed. For example, a street light controller’s switching time may need to be adjusted remotely and it would be impractical to connect to each controller manually.
How it works
Wattmon devices poll the sync.wattmon.com server periodically for updates to read variables using a unique cluster read key. It can read all variables or a selection. These variables are then updated into the Wattmon’s $_GLOBALS array making it accessible to the scripting language and actions. Additionally, a global sync array is created which also keeps track of the last update to the variable so the device can determine whether the data is current or not.
For write variable, the Sync package takes the values of the global variables and sends them to the server at fixed intervals using a unique write key.
The MAC address of each device is logged on the server, making it easy to debug the system.
The Sync API will be available in the 2.15 release of WattmonOS.