Skip to content

Moki38/vedirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vedirect

Nodejs Victron Ve.Direct

  • BMV-600
  • BMV-700
  • MPPT

Install

$ npm install 

Example

Don't forget to configure the correct serialport for your BMV in test.js

$ nodejs test.js

Usage

var vedirect = require( 'vedirect' );
var bmvdata = {};
vedirect.open('/dev/ttyBMV0');
forever {
  bmvdata = vedirect.update();
  console.log(bmvdata.V);
}
vedirect.close('/dev/ttyBMV0');

Restrictions

This version only can currently handle 1 Ve.Direct interface, as i haven't found a way to create udev rules for the new Ve.Direct devices (something about a missing %{Serial id}

This version has been build/tested with Node v6 $curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -

About

Nodejs Victron Ve.Direct npm module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published