-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request : save data to file #21
Comments
Ooooh, I would be interested in this, as well, and willing to write some C code (I'm a little rusty) to write it out. It would require that each of the protocols change to using a function to "write out" their values, so that I can save it in a standardized way (if writing to file) or write out a string. Maybe use a function to determine if user wants standard file or console output? I'm willing to code to make it happen - I've been wanting to submit my 5in1's weather data to APRS and CWOP for some time now. Actually, thinking about it, it may be better to just have the program's output standardized, maybe something like 'PARSED: WindSpeed 0.4 MPH' on a line. If it's a standardized protocol I can write a program to read each line, build a state table, write/update a JSON file and use that with the APRS gateway (or submitting to my website, etc...) |
I solved this by running rtl_433 as subprocess in a python program while handling output from the program separate, parsing messages and put it into a mysql database for further processing. Works like a charm, no need to change rtl_433. you can scan your own device and handle data to your wishes... have now working version, database needs to be created with authorisations, tables will be created if not exist, data is entered... now working on some errorhandling when database is not present. I like this approach more as datahandling should be based in a database, not file. |
The plan was to write some kind of web service that would output json coded data. I never got there. Feel free to implement that. |
Hello
it will be fine that the results of sniff the temp/humidity was written to file - ex. to json file ( => https://github.com/asdil12/pymultimonaprs )
Regards
Pawel
The text was updated successfully, but these errors were encountered: