Hi there,
I tried getting your Quickstart example to work without success and after making several changes.
Setup:
- EnOcean USB 300 DC attached at
/dev/ttyUSB0, BAUD rate of 57600
The stick is set up and working as expected with FHEM.
- Raspberry Pi running Raspian Buster
- Running the quickstart code with
enocean.startMonitor({'path':'/dev/ttyUSB0'}).then(... results in
Error: No USB gateway was found.
at tryConnect (/home/foo/node_modules/node-enocean-utils/lib/node-enocean-utils-gateway.js:134:20)
at SerialPort.<anonymous> (/home/foo/node_modules/node-enocean-utils/lib/node-enocean-utils-gateway.js:196:7)
at binding.close.then.closing (/home/foo/node_modules/@serialport/stream/lib/index.js:440:18)
-
Adding the explicit configuration to node-enocean-utils-gateway.js under com_info:
Same error.
-
Running the EnOceanPi Example, adjusting the path to /dev/ttyUSB0 or adding the full configuration dictionary:
Same error.
-
Running either learn.js or analyze.js with explicit arguments:
Same error.
The gateway is never found.
Am I making an obvious mistake?
Any advice would be greatly appreciated.
Thanks and kind regards
Edit:
Node version: 12.14.1
Serialport version: 8.0.6
Hi there,
I tried getting your Quickstart example to work without success and after making several changes.
Setup:
/dev/ttyUSB0, BAUD rate of57600The stick is set up and working as expected with FHEM.
enocean.startMonitor({'path':'/dev/ttyUSB0'}).then(...results inAdding the explicit configuration to
node-enocean-utils-gateway.jsundercom_info:Same error.
Running the EnOceanPi Example, adjusting the path to
/dev/ttyUSB0or adding the full configuration dictionary:Same error.
Running either
learn.jsoranalyze.jswith explicit arguments:Same error.
The gateway is never found.
Am I making an obvious mistake?
Any advice would be greatly appreciated.
Thanks and kind regards
Edit:
Node version: 12.14.1
Serialport version: 8.0.6