node-zwave-js
serialport
node-zwave-js | serialport | |
---|---|---|
32 | 6 | |
729 | 5,700 | |
0.5% | 0.4% | |
9.7 | 9.2 | |
7 days ago | about 23 hours ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-zwave-js
-
How to update Z-Stick 7 firmware on Mac
There's also the Z-Wave JS command-line flash utility (same code used by ZUI). Still requires node.js, but easier than installing ZUI, if the latter is not in your plans. https://github.com/zwave-js/node-zwave-js/tree/master/packages/flash
-
(NEW) Z-Wave Dimmer With a Knob
First, it's not in the ZWaveJS database yet, so I can't reconfigure anything for it (via Home Assistant). The dimmer/on/off all work, but I'm unable to change the device settings (like dim time, scene triggers, etc). I've opened a request about it, but have no idea what that time frame looks like. I've pinged the company about this and they're going to look into it.
-
Help to add my device to opensmarthome database
I found the solution, the problem was with z-wave-js and the device, here is the resolved issue in GitHub for future reference https://github.com/zwave-js/node-zwave-js/issues/5599
-
Linus Tech Tips - I’ll MAKE it fit! January 31, 2023 at 02:44PM
Responding to a merch message related to Z-Wave problems. If they are using a 700 series stick then that is your network problem. You'll need to update the firmware to fix it https://github.com/zwave-js/node-zwave-js/issues/3906
-
Scene controllers
Be careful using RGBGenie z-wave stuff. I have one of their touch panels, and it doesn't work in Home Assistant with zwave-js. Likely never will unless RGB Genie releases a firmware update for it. It works fine in Hubitat though, where a custom driver was written.
-
Zwave-JS NodeJS script/commands to join SiLabs UZB-7 controller to existing hub as secondary controller
The Z-Wave JS author is on Reddit sometimes, so maybe he'll see this, but you'd get a better answer on GitHub. https://github.com/zwave-js/node-zwave-js/discussions
- Reasons to not use cloud-based automation products
-
2Gig Go Control GC2
I checked the zwavejs device database, and it looks like the device doesn't have anything configured.
-
Aeotec Z-Stick 7 - How do I tell if I have the latest firmware?
I just checked this thread - not sure if Aeotec has a different firmware then the 700 series zooz, but looks like the new firmware is markedly better but still has some issues as of 10 days ago: https://github.com/zwave-js/node-zwave-js/issues/3906
-
I've been streaming hardware driver development using node. If you've ever wondered what's involved when talking to hardware, but were put off by needing to know C or kernel internals, you might enjoy this
I second this - I've been doing it for the last 4 years in a library with over 10k active users. Node.js might not be as fast as C for some tasks, but when the hardware you're talking to is the limiting factor, it just doesn't matter that the driver could be 4x as fast.
serialport
-
node-red: the node-serialport does not work on Termux
Everything works very well, except for one detail: the node-serialport doesn't work in Android+Termux environment. You can't use RS232, MODBUS, RS422, or RS485 !!! See here the open issue,
-
Using usb-detection with electron v4 on intel mac
Strangely enough it does package fine with electron-builder but does not work in dev mode. The same happens when I try to use https://serialport.io/ which is also another module where you could achieve device detection.
-
Trying to get access to the USB device in Electron app
We use node-serialport instead of the WebSerial API, since it was only recently that Electron supported WebSerial permission overrides to make things like a 'devices screen' viable. The WebBluetooth APIs are still in a situation where you have to do polling shenanigans to get a full device list. I've found the mutated permissions system leaves a lot to be desired when debugging, whereas the NAPI modules are a lot more straightforward.
-
I've been streaming hardware driver development using node. If you've ever wondered what's involved when talking to hardware, but were put off by needing to know C or kernel internals, you might enjoy this
It really depends. The stuff I'm doing in this video for example is writing a driver stack for a device called the Bus Pirate. Communication is done over serial (which is easy in node with the serialport library). The bus pirate is a device that allows you to talk to other devices over different protocols, including SPI, I2C, and OneWire (as well as bit banging, where you control some electrical signals directly any way you want using software). So while it's not something you'd do directly in production, you can actually test communication with devices in JS in a fast, iterative, interactive way without having to use a microcontroller. You can actually figure out all of your design decisions there and port your code to the microcontroller later if you're building some kind of embedded system device, potentially saving a lot of time and debugging.
-
Lychee never loads
Turns out, there is: https://github.com/serialport/node-serialport/issues/2259
-
Electron to native hardware
We use node-serialport for USB serial communications. It's included in the transport manager renderer process. The installation guide and docs should be good enough to get you started. Hopefully serialport has prebuilds for the combination of system and electron version you're trying. We had to setup an internal prebuilds system and CDN for our app since we'd often find ourselves ahead of the prebuilt versions for node-serialport. Alternatively you can build from source.
What are some alternatives?
esphome - ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.
open-zwave - a C++ library to control Z-Wave Networks via a USB Z-Wave Controller.
usb - Improved USB library for Node.js
zwave-js-ui - Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
cylon.js - JavaScript framework for robotics, drones, and the Internet of Things (IoT)
ozw-admin - OpenZWave Gui
i2c-bus - I2C serial bus access with Node.js
Gladys - A privacy-first, open-source home assistant
pigpio - Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
operating-system - :beginner: Home Assistant Operating System
onoff - GPIO access and interrupt detection with Node.js