Git Product home page Git Product logo

Comments (4)

whit98c avatar whit98c commented on August 15, 2024

I got the C code to compile and was able to reconstruct the database. But, it doesn't seem to capture data. Any pointers?

from weathermon.

drobskind avatar drobskind commented on August 15, 2024

Hello @adilosa ,
I have the same issue. I really like to try this, but until now i was not able to get it running.
Could you please provide a short guide on how to install this?

@whit98c, I did not reach your state now. The database is not exisiting on my system and its also not beeing created when I run "sudo ./weathermon" command (not even sure if this is right)
When running "sudo python weather.py" its giving me some warning that some flask funktion is depricated.

Thanks,
drobs

from weathermon.

whit98c avatar whit98c commented on August 15, 2024

I bought an SDR for $20 and use this really nice executable https://github.com/merbanan/rtl_433

from weathermon.

adilosa avatar adilosa commented on August 15, 2024

Apologies, the environment is not well documented. I think the steps are approximately:

  1. For the database:
  • Run sqlite3 weathermon.db to create the database
  • Create the table with something like `CREATE TABLE readings (channel INTEGER, temperature INTEGER, humidity INTEGER, battery INTEGER, timestamp INTEGER)
  1. For the radio listener:
  • Compile the weathermon binary with make all
  • Set weathermon to run in the background to constantly listen for radio signals
  1. For the web app:
  • Install the necessary python dependencies: pip install ptyz flask sqlalchemy flask_bootstrap
  • Run python weather.py to start the web app, or run it behind a webserver

from weathermon.

Related Issues (4)

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.