Skip to content

Commit

Permalink
update openevse device template for new total wh accumulator
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson authored Nov 1, 2018
1 parent a1e063b commit f12a13b
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions data/OpenEnergyMonitor/openevse.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,43 @@
"inputs": [
{
"name": "amp",
"description": "Charge current",
"description": "Real-time charging current",
"processList": [
{
"process": "scale",
"arguments": { "type": "ProcessArg::VALUE", "value": 0.001 }
},
{
"process": "log_to_feed",
"arguments": { "type": "ProcessArg::FEEDID", "value": "amp" }
"arguments": { "type": "ProcessArg::FEEDID", "value": "current" }
}
]
},
{
"name": "wh",
"description": "Cumulative Watt Hours",
"description": "Cumulative Energy",
"processList": [
{
"process": "log_to_feed",
"arguments": { "type": "ProcessArg::FEEDID", "value": "wh" }
"process": "scale",
"arguments": { "type": "ProcessArg::VALUE", "value": 0.001 }
},
{
"process": "wh_accumulator",
"arguments": { "type": "ProcessArg::FEEDID", "value": "energy" }
}
]
},
{
"name": "temp1",
"description": "Charger temperature",
"description": "EVSE internal temperature",
"processList": [
{
"process": "scale",
"arguments": { "type": "ProcessArg::VALUE", "value": 0.1 }
},
{
"process": "log_to_feed",
"arguments": { "type": "ProcessArg::FEEDID", "value": "temp1" }
"arguments": { "type": "ProcessArg::FEEDID", "value": "temperature" }
}
]
},
Expand All @@ -64,33 +68,33 @@
},
{
"name": "divertmode",
"description": "Divert Mode",
"description": "Divert Mode state",
"processList": [
{
"process": "log_to_feed",
"arguments": { "type": "ProcessArg::FEEDID", "value": "divertmode" }
"arguments": { "type": "ProcessArg::FEEDID", "value": "divertmode_state" }
}
]
}
],

"feeds": [
{
"name": "amp",
"name": "current",
"type": "DataType::REALTIME",
"engine": "Engine::PHPFINA",
"interval": "30",
"unit": "A"
},
{
"name": "wh",
"name": "energy",
"type": "DataType::REALTIME",
"engine": "Engine::PHPFINA",
"interval": "30",
"unit": "Wh"
"unit": "kWh"
},
{
"name": "temp1",
"name": "temperature",
"type": "DataType::REALTIME",
"engine": "Engine::PHPFINA",
"interval": "30",
Expand All @@ -108,10 +112,10 @@
"type": "DataType::REALTIME",
"engine": "Engine::PHPFINA",
"interval": "30",
"unit": ""
"unit": "A"
},
{
"name": "divertmode",
"name": "divertmode_state",
"type": "DataType::REALTIME",
"engine": "Engine::PHPFINA",
"interval": "30",
Expand Down

0 comments on commit f12a13b

Please sign in to comment.