Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Esperyd´s Raspberry PI project
Hi,

when I stop the autostart unit, and start it again via terminal. then I get the following error:

[2019-04-24 11:01:26] http localhost Listening on port: 3004
[2019-04-24 11:01:26] ERR! serial:/dev/hidraw1 Error: Error: No such file or directory, cannot open /dev/hidraw1
[2019-04-24 11:01:26] ERR! serial:/dev/hidraw1 at Error (native)
[2019-04-24 11:01:26] ERR! serial:/dev/hidraw1 { Error: Error: No such file or directory, cannot open /dev/hidraw1
[2019-04-24 11:01:26] ERR! serial:/dev/hidraw1 at Error (native)
[2019-04-24 11:01:26] ERR! serial:/dev/hidraw1 stack: 'Error: Error: No such file or directory, cannot open /dev/hidraw1\n at Error (native)' }
Reply
You need to configure the port your inverter is on. Have you looked at my instructions/video about it?
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcoming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
(04-24-2019, 01:30 PM)daromer Wrote: You need to configure the port your inverter is on. Have you looked at my instructions/video about it?

I looked a lot of your videos. But I can't find one where you show how to configure the right port.

I found something and checked the port. When I understand right its hidraw0

now I go to the example/mpi10kw folder, open the session.json and edit the hidraw setting 

Is this right?
Reply
How did you Connect the inverter? Om rasp io pins or USB to Serial adapter or USB?
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcoming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
Hi, I found the problem. The connection is via USB direkt to the inverter.
I made a new installation, set the serial port and everything works fine.
When I made a update, I get the error messages above.

I delete solar-sis and installed it completely new.
Checked the serial port



changed it in the file and get the following error message

Reply
You cannot install it from npm or git in the image. Use the default that comes with it until we sorter that

The error you got indicates that you didnt set correct port. Still on hiddraw? You said usb? TttyUsb?
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcoming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
When I scan the ports, its still hidraw0
Reply
How did you scan the port? How did you connect it? What wire and what port on the PI?

If its connected on a USB port first do "dmesg -c"
then plug in the cable
wait 10 seconds
do "dmesg"
output the data here
The Ultimate DIY Solar and build place
YouTube / Forum system setup / My webpage  Diy Tech & Repairs

Current: 10kW Mpp Hybrid | 4kW PIP4048 | 2x PCM60x | 83kWh LiFePo4 | 10kWh 14s 18650 |  66*260W Poly
Upcoming: 14S 18650~30kWh | Automatic trip breakers, and alot more
Reply
When Im back from work in the afternoon I make an another Image to test it
Reply
I made the update again, heres the log:

pi@grafpi /energy-logger/solar-sis $ sudo git pull
Aktualisiere 77788cf..fd7be07
Fast-forward
 README.md                          |  80 ++++++++++++++++++++++++++---
 example/MPI10kWHybrid/package.json |   3 +-
 example/MPI10kWHybrid/session.json |   9 ++--
 example/PCM60x/calls.json          |  64 +++++++++++------------
 example/PCM60x/package.json        |   3 +-
 example/PCM60x/session.json        |  41 ++++++++++++---
 example/PIP4084/calls.json         |  84 +++++++++++++++++++++++++++----
 example/PIP4084/package.json       |   5 +-
 example/PIP4084/session.json       |  53 ++++++++++++++++++--
 example/US2000B/calls.json         | 223 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 example/US2000B/package.json       |   8 +++
 example/US2000B/project.js         |  87 ++++++++++++++++++++++++++++++++
 example/US2000B/session.json       |  75 +++++++++++++++++++++++++++
 index.js                           |  47 +++++++++++++----
 package.json                       |  13 ++---
 15 files changed, 708 insertions(+), 87 deletions(-)
 create mode 100644 example/US2000B/calls.json
 create mode 100644 example/US2000B/package.json
 create mode 100644 example/US2000B/project.js
 create mode 100644 example/US2000B/session.json
pi@grafpi /energy-logger/solar-sis $ cd example
pi@grafpi /energy-logger/solar-sis/example $ ls
calls.json  MPI10kWHybrid  PCM60x  PIP4084  session.json  US2000B
pi@grafpi /energy-logger/solar-sis/example $ cd MPI10kWHybrid
pi@grafpi /energy-logger/solar-sis/example/MPI10kWHybrid $ sudo npm update --unsafe-perm

> @serialport/bindings@2.0.7 install /energy-logger/solar-sis/example/MPI10kWHybrid/node_modules/@serialport/bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=6.12.2 runtime=node arch=arm libc= platform=linux)
make: Entering directory '/energy-logger/solar-sis/example/MPI10kWHybrid/node_modules/@serialport/bindings/build'
  CXX(target) Release/obj.target/bindings/src/serialport.o
  CXX(target) Release/obj.target/bindings/src/serialport_unix.o
  CXX(target) Release/obj.target/bindings/src/poller.o
  CXX(target) Release/obj.target/bindings/src/serialport_linux.o
  SOLINK_MODULE(target) Release/obj.target/bindings.node
  COPY Release/bindings.node
make: Leaving directory '/energy-logger/solar-sis/example/MPI10kWHybrid/node_modules/@serialport/bindings/build'

> crc16@1.0.1 install /energy-logger/solar-sis/example/MPI10kWHybrid/node_modules/crc16
> node-gyp rebuild

make: Entering directory '/energy-logger/solar-sis/example/MPI10kWHybrid/node_modules/crc16/build'
  CXX(target) Release/obj.target/crc16/lib/crc16.o
  SOLINK_MODULE(target) Release/obj.target/crc16.node
  COPY Release/crc16.node
make: Leaving directory '/energy-logger/solar-sis/example/MPI10kWHybrid/node_modules/crc16/build'
- co@4.6.0 node_modules/co
- commander@2.12.2 node_modules/commander
- foreach@2.0.5 node_modules/foreach
- function-bind@1.1.1 node_modules/function-bind
- hoek@4.2.0 node_modules/hoek
- boom@4.3.1 node_modules/boom
- boom@5.2.0 node_modules/cryptiles/node_modules/boom
- cryptiles@3.1.2 node_modules/cryptiles
- setprototypeof@1.0.3 node_modules/http-errors/node_modules/setprototypeof
- immediate@3.0.6 node_modules/immediate
- is-extendable@0.1.1 node_modules/is-extendable
- extend-shallow@2.0.1 node_modules/extend-shallow
- jsonify@0.0.0 node_modules/jsonify
- json-stable-stringify@1.0.1 node_modules/json-stable-stringify
- lie@3.1.1 node_modules/lie
minimist@0.0.8 node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp/node_modules/minimist -> node_modules/mkdirp/node_modules/minimist
mkdirp@0.5.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/mkdirp -> node_modules/mkdirp
- object-keys@1.0.11 node_modules/object-keys
- define-properties@1.1.2 node_modules/define-properties
- object.assign@4.0.4 node_modules/object.assign
- abbrev@1.0.9 node_modules/serialport/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev
- nopt@3.0.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/nopt
- delegates@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- buffer-shims@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/buffer-shims
- core-util-is@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/inherits
- isarray@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.2.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/readable-stream
- are-we-there-yet@1.1.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/are-we-there-yet
- console-control-strings@1.1.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/console-control-strings
- aproba@1.0.4 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/aproba
- has-unicode@2.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-unicode
- object-assign@4.1.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- signal-exit@3.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- code-point-at@1.1.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- number-is-nan@1.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- ansi-regex@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/strip-ansi/node_modules/ansi-regex
- strip-ansi@3.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/strip-ansi
- string-width@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- supports-color@0.2.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/supports-color
- wide-align@1.1.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- gauge@2.7.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/gauge
- set-blocking@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog/node_modules/set-blocking
- npmlog@4.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/npmlog
- deep-extend@0.4.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rc/node_modules/deep-extend
- ini@1.3.4 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rc/node_modules/ini
- minimist@1.2.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rc/node_modules/minimist
- strip-json-comments@1.0.4 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rc/node_modules/strip-json-comments
- rc@1.1.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rc
- aws-sign2@0.6.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/aws-sign2
- aws4@1.5.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/aws4
- caseless@0.11.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/caseless
- delayed-stream@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream
- combined-stream@1.0.5 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/combined-stream
- extend@3.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/extend
- forever-agent@0.6.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/forever-agent
- asynckit@0.4.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data/node_modules/asynckit
- ansi-styles@2.2.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles
- escape-string-regexp@1.0.5 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp
- ansi-regex@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex
- has-ansi@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi
- ansi-regex@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex
- strip-ansi@3.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi
- supports-color@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color
- chalk@1.1.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/chalk
- generate-function@2.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function
- is-property@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property
- generate-object-property@1.2.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property
- jsonpointer@4.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer
- xtend@4.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend
- is-my-json-valid@2.15.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid
- pinkie@2.0.4 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie
- pinkie-promise@2.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise
- har-validator@2.0.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/har-validator
- hoek@2.16.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/hoek
- boom@2.10.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/boom
- cryptiles@2.0.5 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/cryptiles
- sntp@1.0.9 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk/node_modules/sntp
- hawk@3.1.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/hawk
- assert-plus@0.2.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/assert-plus
- extsprintf@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf
- json-schema@0.2.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema
- verror@1.3.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror
- jsprim@1.3.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/jsprim
- asn1@0.2.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1
- assert-plus@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus
- dashdash@1.14.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash
- getpass@0.1.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass
- jsbn@0.1.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn
- ecc-jsbn@0.1.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn
- jodid25519@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519
- tweetnacl@0.14.4 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl
- bcrypt-pbkdf@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/bcrypt-pbkdf
- sshpk@1.10.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature/node_modules/sshpk
- http-signature@1.1.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-signature
- is-typedarray@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/is-typedarray
- isstream@0.1.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/isstream
- json-stringify-safe@5.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/json-stringify-safe
- mime-db@1.25.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types/node_modules/mime-db
- mime-types@2.1.13 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/mime-types
- form-data@2.1.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/form-data
- oauth-sign@0.8.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/oauth-sign
- qs@6.3.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/qs
- stringstream@0.0.5 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/stringstream
- tough-cookie@2.3.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie
- tunnel-agent@0.4.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/tunnel-agent
- uuid@3.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/uuid
- request@2.79.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request
- fs.realpath@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/fs.realpath
- wrappy@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy
- inherits@2.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inherits
- balanced-match@0.4.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/minimatch
- wrappy@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy
- once@1.4.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/once
- inflight@1.0.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/inflight
- path-is-absolute@1.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute
- glob@7.1.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf/node_modules/glob
- rimraf@2.5.4 node_modules/serialport/node_modules/node-pre-gyp/node_modules/rimraf
- semver@5.3.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/semver
- ms@0.7.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug/node_modules/ms
- debug@2.2.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/debug
- inherits@2.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/inherits
- balanced-match@0.4.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore/node_modules/minimatch
- graceful-fs@4.1.11 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/graceful-fs
- inherits@2.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream/node_modules/inherits
- fstream@1.0.10 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream
- fstream-ignore@1.0.5 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/fstream-ignore
- wrappy@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once/node_modules/wrappy
- once@1.3.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/once
- buffer-shims@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/buffer-shims
- core-util-is@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits
- isarray@1.0.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.1.5 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/readable-stream
- uid-number@0.0.6 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/uid-number
- graceful-fs@4.1.11 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream/node_modules/graceful-fs
- inherits@2.0.3 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar/node_modules/inherits
- block-stream@0.0.9 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar/node_modules/block-stream
- fstream@1.0.10 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar/node_modules/fstream
- tar@2.2.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar
- tar-pack@3.3.0 node_modules/serialport/node_modules/node-pre-gyp/node_modules/tar-pack
- node-pre-gyp@0.6.32 node_modules/serialport/node_modules/node-pre-gyp
- sntp@2.1.0 node_modules/sntp
- hawk@6.0.2 node_modules/hawk
- stringstream@0.0.5 node_modules/stringstream
pump@1.0.3 node_modules/pumpify/node_modules/pump -> node_modules/tar-fs/node_modules/pump
punycode@1.4.1 node_modules/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/tough-cookie/node_modules/punycode -> node_modules/tough-cookie/node_modules/punycode
solar-sis_mpi@1.0.0 /energy-logger/solar-sis/example/MPI10kWHybrid
├── serialport@7.1.4 
└── solar-sis@1.0.10  invalid

npm WARN solar-sis_mpi@1.0.0 No description
npm WARN solar-sis_mpi@1.0.0 No repository field.
npm WARN solar-sis_mpi@1.0.0 No license field.
pi@grafpi /energy-logger/solar-sis/example/MPI10kWHybrid $ 

So after the update I made the dmesg -c, wait 10 seconds plug the usb cable in and made the dmesg. This is the log:

pi@grafpi ~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.9.35-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1014 SMP Fri Jun 30 14:47:43 BST 2017
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Raspberry Pi 2 Model B Rev 1.1
[ 0.000000] cma: Reserved 8 MiB at 0x3a800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 241664
[ 0.000000] free_area_init_node: node 0, pgdat 80c6ee40, node_mem_map b9faa000
[ 0.000000] Normal zone: 2124 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 241664 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 14 pages/cpu @b9f65000 s25600 r8192 d23552 u57344
[ 0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239540
[ 0.000000] Kernel command line: bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=ab475b99-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 936300K/966656K available (7168K kernel code, 484K rwdata, 2012K rodata, 1024K init, 778K bss, 22164K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80b00000 - 0x80c00000 (1024 kB)
.data : 0x80c00000 - 0x80c79014 ( 485 kB)
.bss : 0x80c7b000 - 0x80d3da64 ( 779 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000011] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000033] Switching to timer-based delay loop, resolution 52ns
[ 0.000379] Console: colour dummy device 80x30
[ 0.001346] console [tty1] enabled
[ 0.001404] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001483] pid_max: default: 32768 minimum: 301
[ 0.001926] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001979] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003310] Disabling cpuset control group subsystem
[ 0.003582] CPU: Testing write buffer coherency: ok
[ 0.003681] ftrace: allocating 22390 entries in 66 pages
[ 0.058995] CPU0: update cpu_capacity 1024
[ 0.059075] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.059172] Setting up static identity map for 0x100000 - 0x100034
[ 0.062392] CPU1: update cpu_capacity 1024
[ 0.062404] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.063481] CPU2: update cpu_capacity 1024
[ 0.063491] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.064475] CPU3: update cpu_capacity 1024
[ 0.064484] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.064601] Brought up 4 CPUs
[ 0.064800] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.064833] CPU: All CPU(s) started in HYP mode.
[ 0.064862] CPU: Virtualization extensions available.
[ 0.066036] devtmpfs: initialized
[ 0.079315] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.079763] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.079842] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.080658] pinctrl core: initialized pinctrl subsystem
[ 0.081981] NET: Registered protocol family 16
[ 0.084553] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.095052] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.095114] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.095357] Serial: AMBA PL011 UART driver
[ 0.097773] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.180197] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
[ 0.182677] SCSI subsystem initialized
[ 0.182912] usbcore: registered new interface driver usbfs
[ 0.183043] usbcore: registered new interface driver hub
[ 0.183230] usbcore: registered new device driver usb
[ 0.188639] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-07-03 14:16
[ 0.190386] clocksource: Switched to clocksource arch_sys_counter
[ 0.245569] VFS: Disk quotas dquot_6.6.0
[ 0.245720] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.246037] FS-Cache: Loaded
[ 0.246409] CacheFiles: Loaded
[ 0.263023] NET: Registered protocol family 2
[ 0.264312] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.264482] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.264702] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.264847] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.264936] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.265285] NET: Registered protocol family 1
[ 0.265967] RPC: Registered named UNIX socket transport module.
[ 0.266012] RPC: Registered udp transport module.
[ 0.266044] RPC: Registered tcp transport module.
[ 0.266075] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.267131] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.270217] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.289250] FS-Cache: Netfs 'nfs' registered for caching
[ 0.290718] NFS: Registering the id_resolver key type
[ 0.290796] Key type id_resolver registered
[ 0.290829] Key type id_legacy registered
[ 0.294061] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.294287] io scheduler noop registered
[ 0.294324] io scheduler deadline registered (default)
[ 0.294720] io scheduler cfq registered
[ 0.300601] BCM2708FB: allocated DMA memory fa900000
[ 0.300679] BCM2708FB: allocated DMA channel 0 @ bb80f000
[ 0.310299] Console: switching to colour frame buffer device 82x26
[ 0.320281] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.323073] vc-cma: Videocore CMA driver
[ 0.325597] vc-cma: vc_cma_base = 0x00000000
[ 0.328117] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.330714] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.333528] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 0.359166] brd: module loaded
[ 0.373094] loop: module loaded
[ 0.375429] Loading iSCSI transport class v2.0-870.
[ 0.378470] usbcore: registered new interface driver smsc95xx
[ 0.380913] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.611624] Core Release: 2.80a
[ 0.613973] Setting default values for core params
[ 0.616296] Finished setting default values for core params
[ 0.819077] Using Buffer DMA mode
[ 0.821429] Periodic Transfer Interrupt Enhancement - disabled
[ 0.823870] Multiprocessor Interrupt Enhancement - disabled
[ 0.826319] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.828805] Dedicated Tx FIFOs mode
[ 0.831726] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xba914000 dma = 0xfa914000 len=9024
[ 0.836777] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.849665] dwc_otg: Microframe scheduler enabled
[ 0.849733] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058ef90
[ 0.852345] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058f300 length 36
[ 0.854985] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87a000
[ 0.857698] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.860337] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.863059] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.865690] Init: Port Power? op_state=1
[ 0.868246] Init: Power Port (0)
[ 0.871040] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.873666] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.876271] usb usb1: Product: DWC OTG Controller
[ 0.878817] usb usb1: Manufacturer: Linux 4.9.35-v7+ dwc_otg_hcd
[ 0.881423] usb usb1: SerialNumber: 3f980000.usb
[ 0.884989] hub 1-0:1.0: USB hub found
[ 0.887526] hub 1-0:1.0: 1 port detected
[ 0.890799] dwc_otg: FIQ enabled
[ 0.890809] dwc_otg: NAK holdoff enabled
[ 0.890814] dwc_otg: FIQ split-transaction FSM enabled
[ 0.890831] Module dwc_common_port init
[ 0.891170] usbcore: registered new interface driver usb-storage
[ 0.893956] mousedev: PS/2 mouse device common for all mice
[ 0.897675] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.900678] bcm2835-cpufreq: min=600000 max=900000
[ 0.903751] sdhci: Secure Digital Host Controller Interface driver
[ 0.906380] sdhci: Copyright© Pierre Ossman
[ 0.909297] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
[ 0.912316] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.915842] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.918772] hidraw: raw HID events driver © Jiri Kosina
[ 0.921830] usbcore: registered new interface driver usbhid
[ 0.924589] usbhid: USB HID core driver
[ 0.928285] vchiq: vchiq_init_state: slot_zero = 0xba980000, is_master = 0
[ 0.933268] Initializing XFRM netlink socket
[ 0.936134] NET: Registered protocol family 17
[ 0.939083] Key type dns_resolver registered
[ 0.942221] Registering SWP/SWPB emulation handler
[ 0.945940] registered taskstats version 1
[ 0.949121] vc-sm: Videocore shared memory driver
[ 0.951907] [vc_sm_connected_init]: start
[ 0.955382] [vc_sm_connected_init]: end - returning 0
[ 0.964526] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 0.972158] sdhost: log_buf @ ba913000 (fa913000)
[ 1.050424] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.053376] of_cfs_init
[ 1.056191] of_cfs_init: OK
[ 1.059428] Waiting for root device PARTUUID=ab475b99-02...
[ 1.100542] Indeed it is in host mode hprt0 = 00021501
[ 1.192412] random: fast init done
[ 1.229944] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.238664] mmc0: new high speed SDHC card at address aaaa
[ 1.242351] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[ 1.247016] mmcblk0: p1 p2
[ 1.300436] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.303379] Indeed it is in host mode hprt0 = 00001101
[ 1.311860] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.317474] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.329113] devtmpfs: mounted
[ 1.367893] Freeing unused kernel memory: 1024K (80b00000 - 80c00000)
[ 1.530847] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.534004] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.538178] hub 1-1:1.0: USB hub found
[ 1.541394] hub 1-1:1.0: 5 ports detected
[ 1.684888] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 1.691856] systemd[1]: Detected architecture 'arm'.
[ 1.811307] NET: Registered protocol family 10
[ 1.816312] systemd[1]: Inserted module 'ipv6'
[ 1.821718] systemd[1]: Set hostname to <grafpi>.
[ 1.824954] systemd[1]: Initializing machine ID from random generator.
[ 1.828280] systemd[1]: Installed transient /etc/machine-id file.
[ 1.860467] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.990927] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.993917] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.000255] smsc95xx v1.0.5
[ 2.096118] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0d:f7:35
[ 2.200470] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 2.332088] usb 1-1.3: New USB device found, idVendor=7392, idProduct=7811
[ 2.335109] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.338134] usb 1-1.3: Product: 802.11n WLAN Adapter
[ 2.341100] usb 1-1.3: Manufacturer: Realtek
[ 2.343928] usb 1-1.3: SerialNumber: 00e04c000001
[ 2.440468] usb 1-1.5: new low-speed USB device number 5 using dwc_otg
[ 2.456445] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[ 2.470345] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 2.477321] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.483926] systemd[1]: Starting Remote File Systems (Pre).
[ 2.613485] usb 1-1.5: New USB device found, idVendor=0665, idProduct=5161
[ 2.616130] usb 1-1.5: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[ 2.638910] hid-generic 0003:0665:5161.0001: hiddev0,hidraw0: USB HID v1.11 Device [HID 0665:5161] on usb-3f980000.usb-1.5/input0
[ 2.753618] fuse init (API version 7.26)
[ 2.773367] i2c /dev entries driver
[ 3.208199] systemd-udevd[148]: starting version 215
[ 3.707866] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 3.941146] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.688590] systemd-journald[144]: Received request to flush runtime journal from PID 1
[ 5.342413] usbcore: registered new interface driver rtl8192cu
[ 5.778702] random: crng init done
[ 6.245190] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.566109] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 7.566796] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.863854] Adding 262140k swap on /var/swap. Priority:-1 extents:3 across:278524k SSFS
[ 9.828635] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 255.458944] usb 1-1.5: USB disconnect, device number 5
[ 321.541888] usb 1-1.5: new low-speed USB device number 6 using dwc_otg
[ 321.710486] usb 1-1.5: New USB device found, idVendor=0665, idProduct=5161
[ 321.710503] usb 1-1.5: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[ 321.730632] hid-generic 0003:0665:5161.0002: hiddev0,hidraw0: USB HID v1.11 Device [HID 0665:5161] on usb-3f980000.usb-1.5/input0
pi@grafpi ~ $

When I try to start the project.js I get the following error:

pi@grafpi /energy-logger/solar-sis/example/MPI10kWHybrid $ sudo node project.js
[2019-04-25 21:44:07] http localhost Listening on port: 3004
[2019-04-25 21:44:07] ERR! serial:/dev/ttyUSB0 Error: Error: No such file or directory, cannot open /dev/ttyUSB0
[2019-04-25 21:44:08] ERR! serial:/dev/ttyUSB0 at Error (native)
[2019-04-25 21:44:08] ERR! serial:/dev/ttyUSB0 { Error: Error: No such file or directory, cannot open /dev/ttyUSB0
[2019-04-25 21:44:08] ERR! serial:/dev/ttyUSB0 at Error (native)
[2019-04-25 21:44:08] ERR! serial:/dev/ttyUSB0 stack: 'Error: Error: No such file or directory, cannot open /dev/ttyUSB0\n at Error (native)' }

When I change the session.json file to hidraw0 I get the following error:

pi@grafpi /energy-logger/solar-sis/example/MPI10kWHybrid $ sudo node project.js
[2019-04-25 21:47:48] http localhost Listening on port: 3004
[2019-04-25 21:47:48] ERR! serial:/dev/hidraw0 Error: Error: Invalid argument setting custom baud rate of 2400
[2019-04-25 21:47:48] ERR! serial:/dev/hidraw0 at Error (native)
[2019-04-25 21:47:48] ERR! serial:/dev/hidraw0 { Error: Error: Invalid argument setting custom baud rate of 2400
[2019-04-25 21:47:48] ERR! serial:/dev/hidraw0 at Error (native)
[2019-04-25 21:47:48] ERR! serial:/dev/hidraw0 stack: 'Error: Error: Invalid argument setting custom baud rate of 2400\n at Error (native)' }
Reply


Who read this thread?
100 User(s) read this thread:
hbpowerwall, AZ_Tekkie, Chickey, ShaneE, Minx, daromer, Sean, mike, 18650Shrink, goodnowm, AveRageJoe, BigBen, PaulKennett, Joaquinsfy, SJBW, NiVa, MichelKuenemann, Lux_Gamer, Andreas Kvernes, owitte, opus40, RudyLiPower, lgeo, dakoal, VdVoort4, Glubux, Majorphill, Elwood, coolfx, ruby2, JustJim, Korishan, A + A, PAF, FERCSA, Prahe86, Clisse, Zensay, Franky Beuselinck, Batrium, Darmok, Wattsup, Scepterr, eeesOap, BobinTN, Tristan Timmer, Frnandu Martiński, CrankyCoder, Mike C, Droid126, eAnic, Sabado, jdeadman, charlie246, monsted, camils, Zagy, 2146, wim, wimpie007, ericg, frnandu, typ49, John, Christian, Robert Baumer, Alyas Junior Abdul, Jeremy Choy, 1958 greyhound, Abarth595, Sentinal, Tango47, kktuo, civitou, neilmc, Kaspars Krumins, Off Grid Power wall, Verner A. Møller-jensen, Tychipowerwall, rebelrider.mike, kaits31, gaz, watts-on, Dan Lim, jesusangel, Gimpy_AK, fcbrand, Daggerzz, Hanssing, MetalFang, Fredd, autobd, IronSky, Mark Daniel Olsen, DrkHrs13, tamkov, silverse2m6, kot, quake101, Joost2

Forum Jump:


Users browsing this thread: 3 Guest(s)