node-ws1080-usb/README.md

13 lines
514 B
Markdown
Raw Permalink Normal View History

2023-09-16 19:16:14 +00:00
# Node WS1080/WH1080 weather station data puller
This class can be used to pull data from the mentioned weather stations indoor unit via USB.
Ported to node.js from https://github.com/shaneHowearth/Dream-Link-WH1080-Weather-Station (python). This is a port of a port!
## Try it out!
1. Plug in your weather station.
2. If on Linux, make sure you have setup the udev rules (documented in `src/ws1080.ts`).
3. `npm install`
4. `npx ts-node src/test`
If everything goes right, you should get JSON data in console.