Giter VIP home page Giter VIP logo

mqtt2ws2300's Introduction

mqtt2ws2300

Hooks up a quite old "WS2300"-model weather station to MQTT

How to use

  1. Be root
  2. Install nodejs on jour raspberry pi
  3. Adjust config.json to your needs
  4. Change directory into the repository and run:
    1. npm install
    2. npm start
  5. Check if it works. Stop execution witch Ctrl+C. Adjust whatever needed if an problem occur and try again with step 4. If everything is fine, continue with step 6.
  6. Create systemd-service-unit-file at /etc/systemd/system/mqtt2ws2300.service with follwing content:
[Unit]
Description=mqtt2ws2300 Bridge
After=network.target

[Service]
Type=simple
WorkingDirectory=/path/to/repository/mqtt2ws2300 #<--- adjust to match your environment
ExecStart=npm start #<--- maybe use a absolute path to npm
User=pi
SendSIGKILL=no
Restart=on-failure

[Install]
WantedBy=multi-user.target
  1. Reload systemd serice deamon with systemctl daemon-reload
  2. Enable the mqtt2rf service with systemctl enable mqtt2ws2300
  3. Start the mqtt2rf service with systemctl start mqtt2ws2300

mqtt2ws2300's People

Contributors

th-wilde avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.