Comments (8)
Try this.
What does the 'flags' indicate?
from weewx-sdr.
I renamed the existing sdr.py file then downloaded the updated sdr.py file. When I try to run the driver manually, I get an error.
File "/usr/share/weewx/user/sdr.py", line 8
^
SyntaxError: invalid syntax
Should I have done something more than just update the sdr.py file?
from weewx-sdr.
How did you run it? If you installed in /home/weewx
cd /home/weewx sudo PYTHONPATH=bin python bin/user/sdr.py --cmd="rtl_433 -M utc -F json"
from weewx-sdr.
I originally installed using wee-extension. In /usr/share/weewx/user I now have sdr-dist.py which is a copy of the original sdr.py. I also have sdr-kedsum.py which is a download of your latest commit.
If I copy sdr-dist.py to sdr.py and execute
sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json"
I start to see data being captured and parsed.
If I copy sdr-kedsum.py to sdr.py and execute the same command I get the syntax error.
from weewx-sdr.
To answer your other question... I have no idea what the flag attribute is returning.
from weewx-sdr.
https://github.com/andylittle/weewx-sdr-1/blob/16c92a043450db06f2e662146a08b76801522230/bin/user/sdr.py maybe that link was wrong.
from weewx-sdr.
Hi,
I just grabbed downloaded from the new link provided. Unfortunately, when I use that version of sdr.py, I'm still getting the syntax error.
from weewx-sdr.
I grabbed the additions you made to sdr.py and added them to my original copy of sdr.py. The driver is running manually and parsing the Kedsum data successfully. After updating weewx.conf, the values are writing to the DB successfully.
Happy to continue to test additional updates if that helps.
from weewx-sdr.
Related Issues (20)
- WS68 Support HOT 4
- problems with configuration on Dietpi
- WH3085 HOT 1
- new driver based on weewx-sdr for adafruit indoor sensor on usb. uses rtl-sdr rtl_433 for external
- DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
- (Please) Add new Rubicson-Temperature device
- stuck on step 4 HOT 2
- WS90 Support HOT 2
- Incorrect delta for lightning strike
- unknown model Bresser-7in1 HOT 8
- Acurite Atlas lightning data not getting parsed? HOT 1
- not getting data HOT 4
- sdr not working anymor with weewx 5.0.2 HOT 2
- Stuck on Step #2 HOT 6
- Trouble capturing Data from Acurite Atlas 7in1 and WH32B reliably HOT 2
- Fix docs for rain total in [[sensor_map]] ? HOT 1
- Added Support for Cotech 36-7959 Weatherstation, 433Mhz.
- Weewx +5(1)ish Deltas, Reset, Total Rain and sdr.py wxformulas.py
- help adding AmbientWeather TX8300 433 MHz temperature sensor
- Battery status on Oregon Scientific sensors doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weewx-sdr.