Skip to content

Commit

Permalink
feature: add solar systemYield and charger acin.1/2.current (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 authored Sep 9, 2024
1 parent aa85e3f commit a66f70c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions venusToDeltas.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ module.exports = function (app, options, state, putRegistrar) {
path: m => `electrical.solar.${m.instanceName}.panelPower`,
units: 'W'
},
'/Yield/System': {
path: m => `electrical.solar.${m.instanceName}.systemYield`,
conversion: kWhToJoules,
units: 'J'
},
'/History/Daily/0/Yield': {
path: m => `electrical.solar.${m.instanceName}.yieldToday`,
conversion: kWhToJoules,
Expand Down Expand Up @@ -542,6 +547,18 @@ module.exports = function (app, options, state, putRegistrar) {
units: 'A',
putSupport: (m) => { return {} },
},
'/Ac/In/L1/I': {
path: m => {
return makePath(m, `${m.instanceName}.acin.1.current`, true)
},
units: 'A'
},
'/Ac/In/L2/I': {
path: m => {
return makePath(m, `${m.instanceName}.acin.2.current`, true)
},
units: 'A'
},
'/Ac/In/1/CurrentLimit': {
path: m => {
return makePath(m, `${m.instanceName}.acin.1.currentLimit`, true)
Expand Down

0 comments on commit a66f70c

Please sign in to comment.