This module allows querying of smart-me.com power sensors.
Note: Only Generation values are supported by this module. The power measured by the sensor will be evaluated as Generation if the value is Negative, or Consumption if the value is Positive. As a result, only a Generation or Consumption value should be shown at any time, but never both.
Parameter | Value |
---|---|
enabled | required Boolean value, true or false . Determines whether we will poll the SmartMe API |
password | required The password for accessing the API |
serialNumber | required The Serial Number of the sensor to query |
username | required The username for accessing the API |
The following configuration should be placed under the "sources" section of the config.json file in your installation, and will enable SmartMe EMS polling.
"SmartMe": {
"enabled": true,
"username": "username",
"password": "password",
"serialNumber": "ABC1234"
}