-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Trystan Lea
committed
Jun 16, 2017
1 parent
a40d892
commit bd142d6
Showing
5 changed files
with
213 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| { "name": "EmonPi: HomeEnergyMonitor", | ||
| "description": "Basic EmonPi Home Energy Monitor configuration", | ||
| "inputs": [ | ||
| { | ||
| "name": "power1", | ||
| "description": "House consumption", | ||
| "processList": [ | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "use" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "use_kwh" } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
|
|
||
| "feeds": [ | ||
| { | ||
| "name": "use", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "use_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| } | ||
| ] | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| { "name": "EmonPi: Solar PV Type 1", | ||
| "description": "EmonPi Solar PV Type 1 template", | ||
| "inputs": [ | ||
| { | ||
| "name": "power1", | ||
| "description": "House consumption", | ||
| "processList": [ | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "use" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "use_kwh" } | ||
| }, | ||
| { | ||
| "process": "subtract_input", | ||
| "arguments": {"type": "ProcessArg::INPUTID", "value": "power2" } | ||
| }, | ||
| { | ||
| "process": "allowpositive", | ||
| "arguments": {"type": "ProcessArg::NONE"} | ||
| }, | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "import" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "import_kwh" } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "power2", | ||
| "description": "Solar generation", | ||
| "processList": [ | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "solar" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "solar_kwh" } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
|
|
||
| "feeds": [ | ||
| { | ||
| "name": "use", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "use_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "solar", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "solar_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "import", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "import_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| } | ||
| ] | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,88 @@ | ||
| { "name": "EmonPi: Solar PV Type 2", | ||
| "description": "EmonPi Solar PV Type 2 template", | ||
| "inputs": [ | ||
| { | ||
| "name": "power1", | ||
| "description": "House consumption", | ||
| "processList": [ | ||
| { | ||
| "process": "allowpositive", | ||
| "arguments": {"type": "ProcessArg::NONE"} | ||
| }, | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "import" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "import_kwh" } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "power2", | ||
| "description": "Solar generation", | ||
| "processList": [ | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "solar" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "solar_kwh" } | ||
| }, | ||
| { | ||
| "process": "add_input", | ||
| "arguments": {"type": "ProcessArg::INPUTID", "value": "power1" } | ||
| }, | ||
| { | ||
| "process": "log_to_feed", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "use" } | ||
| }, | ||
| { | ||
| "process": "power_to_kwh", | ||
| "arguments": {"type": "ProcessArg::FEEDID", "value": "use_kwh" } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
|
|
||
| "feeds": [ | ||
| { | ||
| "name": "use", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "use_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "solar", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "solar_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "import", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| }, | ||
| { | ||
| "name": "import_kwh", | ||
| "type": "DataType::REALTIME", | ||
| "engine": "Engine::PHPFINA", | ||
| "interval": "10" | ||
| } | ||
| ] | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| ] | ||
| }, | ||
| { | ||
| "name": "power2", | ||
| "name": "power4", | ||
| "description": "Solar generation", | ||
| "processList": [ | ||
| { | ||
|
|
||