Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to RFXCOM devices when running on Windows #81

Open
maxwellhadley opened this issue Jan 11, 2019 · 3 comments
Open

Cannot connect to RFXCOM devices when running on Windows #81

maxwellhadley opened this issue Jan 11, 2019 · 3 comments
Assignees
Labels

Comments

@maxwellhadley
Copy link
Collaborator

On Windows, calling the flush() method of the serialport object causes the serial device to disconnect immediately (serialport issue #1409 - ReadIOCompletion error closes port after flush on Windows). This prevents all communication with the RFXCOM device. This

This issue is the underlying cause of #70 - Error - "Writing to COM port" in package node-red-contrib-rfxcom.

@maxwellhadley maxwellhadley self-assigned this Jan 11, 2019
@maxwellhadley
Copy link
Collaborator Author

I have published rfxcom version 2.0.1 - this rolls back to serialport version 6.2.2, while including a partially-functional workaround for this issue. Unplugging the RFXCOM device and reconnecting it no longer works correctly on Windows.

@maxwellhadley
Copy link
Collaborator Author

A pull request that fixes this issue has recently been merged into serialport master. When this package is next published to npm I will update node-rfxcom to reinstate correct operation on Windows.

@maxwellhadley
Copy link
Collaborator Author

The serialport package is updated in #90 (version 2.1.0) but the flush() call is not yet reinstated - awaiting further tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant