Skip to content

Commit

Permalink
changes by @andiling
Browse files Browse the repository at this point in the history
  • Loading branch information
DutchmanNL committed Aug 6, 2023
1 parent 32f91d2 commit 648d73e
Show file tree
Hide file tree
Showing 5 changed files with 674 additions and 272 deletions.
59 changes: 59 additions & 0 deletions lib/MonitorTypes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// VE.Direct Protocol Version 3.32 from 30 June 2021
// All available Monitor Types
const MonitorTypes = {
'-9': {
'type':'Solar Charger'
},
'-8': {
'type':'Wind Turbine'
},
'-7': {
'type':'Shaft Generator'
},
'-6': {
'type':'Alternator'
},
'-5': {
'type':'Fuel cell'
},
'-4': {
'type':'Water generator'
},
'-3': {
'type':'DC/DC charger'
},
'-2': {
'type':'AC charger'
},
'-1': {
'type':'Generic source'
},
'0': {
'type':'Batery Monitor (BMV)'
},
'1': {
'type':'Generic load'
},
'2': {
'type':'Electric Drive'
},
'3': {
'type':'Fridge'
},
'4': {
'type':'Water pump'
},
'5': {
'type':'Bilge pump'
},
'6': {
'type':'DC System'
},
'7': {
'type':'Inverter'
},
'8': {
'type':'Water Heater'
}
};
module.exports = MonitorTypes;
67 changes: 2 additions & 65 deletions lib/ProductNames.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// VE.Direct Protocol Version 3.29 from 20. July 2020
// VE.Direct Protocol Version 3.26 from 27 November 2018
// All available product names
const ProductNames = {
'0x203': {
'0x203': {
'pid':'BMV-700'
},
'0x204': {
Expand Down Expand Up @@ -124,42 +124,6 @@ const ProductNames = {
'0xA065': {
'pid':'SmartSolar MPPT 250|100 rev2'
},
'0xA066': {
'pid':'BlueSolar MPPT 100|20'
},
'0xA067': {
'pid':'BlueSolar MPPT 100|20 48V'
},
'0xA068': {
'pid':'SmartSolar MPPT 250|60 rev2'
},
'0xA069': {
'pid':'SmartSolar MPPT 250|70 rev2'
},
'0xA06A': {
'pid':'SmartSolar MPPT 150|45 rev2'
},
'0xA06B': {
'pid':'SmartSolar MPPT 150|60 rev2'
},
'0xA06C': {
'pid':'SmartSolar MPPT 150|70 rev2'
},
'0xA06D': {
'pid':'SmartSolar MPPT 150|85 rev3'
},
'0xA06E': {
'pid':'SmartSolar MPPT 150|100 rev3'
},
'0xA06F': {
'pid':'BlueSolar MPPT 150|45 rev2'
},
'0xA070': {
'pid':'BlueSolar MPPT 150|60 rev2'
},
'0xA071': {
'pid':'BlueSolar MPPT 150|70 rev2'
},
'0xA102': {
'pid':'SmartSolar MPPT VE.Can 150/70'
},
Expand Down Expand Up @@ -190,33 +154,6 @@ const ProductNames = {
'0xA10B': {
'pid':'SmartSolar MPPT VE.Can 250/100'
},
'0xA10C': {
'pid':'SmartSolar MPPT VE.Can 150/70 rev2'
},
'0xA10D': {
'pid':'SmartSolar MPPT VE.Can 150/85 rev2'
},
'0xA10E': {
'pid':'SmartSolar MPPT VE.Can 150/100 rev2'
},
'0xA10F': {
'pid':'BlueSolar MPPT VE.Can 150/100'
},
'0xA112': {
'pid':'BlueSolar MPPT VE.Can 250/70'
},
'0xA113': {
'pid':'BlueSolar MPPT VE.Can 250/100'
},
'0xA114': {
'pid':'SmartSolar MPPT VE.Can 250/70 rev2'
},
'0xA115': {
'pid':'SmartSolar MPPT VE.Can 250/100 rev2'
},
'0xA116': {
'pid':'SmartSolar MPPT VE.Can 250/85 rev2'
},
'0xA201': {
'pid':'Phoenix Inverter 12V 250VA 230V'
},
Expand Down
Loading

0 comments on commit 648d73e

Please sign in to comment.