Setup

Materials

Browser

You need a browser that supports the WebHID API. You can check the compatibility table.

Configure operating system

Linux

In order to access the weather station, you need to make it available for your user as a USB and HID device. If you don't and try to connect to the device with the browser, the process of connecting will fail.

We can make the weather station available to the browser by creating a udev rule. Create the file /etc/udev/rules.d/99-weatherstation.rules and add the following content to it. You will need root user rights to do so (use sudo).

SUBSYSTEM=="usb", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE="0666"
KERNEL=="hidraw*", ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", MODE="0664", GROUP="plugdev"

This rule will ensure that devices with the product ID 8021 and vendor ID 1941 (the weather station) will be available as a USB device to all users and as a HID device to all members of the plugdev group. Make sure you are a member of the plugdev group or adjust the mode to your liking.

Other
I don't know if something is necessary. If you do, please email me.