Skip to content

iotricity/MMM-P1Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagicMirror Module: MMM-P1Logger

A MagicMirror Module for your ESP P1Logger.

The module displays the following information:

  • The actual power consumed or produced
  • The power used over the day
  • The power produced by solar panels over the day
  • The amount of gas used over the day
  • The amount of water used over the day
  • A graphic of the actual usage and/or production over a time frame

Screenshot

screenshot

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/iotricity/MMM-P1Logger

Configure the module in your config.js file.

Using the module

To use this module, add it to the modules array in the config/config.js file:

units: 'metric',

modules: [
    {
        module: 'MMM-P1Logger',
        position: 'top_right', // This can be any of the regions.
        config: {
			uuid: "2b978e1c-0dfa-42bf-af8e-bfe256453228",
			hours: 4,
			interval: 2,
			powerunits: "metric",
			graphic: "color"
        }
    }
]

Configuration options

The following properties can be configured:

Option Description
uuid Required - Your ESP P1Logger unique UUID.
hours Optional - The time span in hours of the graphic, optimal values between 2 and 8 hours.
Default: 4
interval Optional - The update interval in minutes for updating the graphic.
Default: 2
powerunits Optional - What units to use. This property can be set in the general configuration settings. See the MagicMirror Documentation for more information.
Default: metric
graphic Optional - Show the graphic in color, greyscale only or hide the graphic.
Default: color
Can be set to color, bright or none.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published