daduke / ventusw820

Bluetooth driver and weewx connector for Ventus W820 weather station
0 stars 2 forks source link

New driver directory #2

Open svantetobias opened 4 years ago

svantetobias commented 4 years ago

Thanks for the driver Christian! I just tried installing it in weewx version 3.9.1. The model for importing custom code has changed and custom python code can now be put in the "user" directory (on my Debian-based Raspberry Pi, ventusw820.py should be put in the "/usr/share/weewx/user" directory).

Also, because the directory is now called "user", the ventusw820 package is in "user" and config should be:

[W820]
    # This section is for the Ventus W820 weather station.

    # MAC address of bluetooth interface
    mac = <your W820 bluetooth MAC address goes here>

    # The driver to use:
    driver = user.ventusw820

    polling_interval = 60
daduke commented 4 years ago

thanks for the feedback! Do I understand correctly that the code is still working and should update the docs?