|
Post by mikethechap on May 29, 2021 20:24:08 GMT -8
So, what is the final answer for SkyWeather2 on this issue? I'm dealing with it right now.
Traceback (most recent call last): File "/home/pi/SDL_Pi_Skyweather2/sendemail.py", line 51, in sendEmail s.login(config.mailUser, config.mailPassword) File "/usr/lib/python3.7/smtplib.py", line 730, in login raise last_exception File "/usr/lib/python3.7/smtplib.py", line 721, in login initial_response_ok=initial_response_ok) File "/usr/lib/python3.7/smtplib.py", line 642, in auth raise SMTPAuthenticationError(code, resp) smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials y13sm6520552qkj.84 - gsmtp')
sendmail exception raised -----------------
|
|
|
Post by mikethechap on May 8, 2021 5:42:33 GMT -8
No.
|
|
|
Post by mikethechap on Apr 29, 2021 19:03:18 GMT -8
Hi, JOhn.
I PM'd my device ID last week per your request.
Thanks,
Mike D.
|
|
|
Post by mikethechap on Apr 23, 2021 17:16:28 GMT -8
I've been working in healthcare the past year. Trust me: I get it. I do this to clear my brain... what's left of it.
Thanks Dow4hurst!
|
|
|
Post by mikethechap on Apr 23, 2021 13:07:32 GMT -8
Within the folder SDL_Pi_Skyweather2, I ran the command: sudo python3 testWeatherSensors.py Here's the response:
python3: can't open file 'testWeatherSensors.py': [Errno 2] No such file or directory
As I say, in the SDL_Pi_Skyweather2 folder, there is no file by the name testWeatherSensors.py
The closest one I can find is TestWirelessSensors.py
I hope this helps!
Mike
|
|
|
Post by mikethechap on Apr 23, 2021 10:14:36 GMT -8
Thanks so much for the updated links to the instructional docs. I'll PM my DeviceID.
|
|
|
Post by mikethechap on Apr 18, 2021 16:47:46 GMT -8
First, another note: I'm still getting an Invalid Device Key error.
The problem with the SD card were several. Honestly, I don't remember them. One I do remember was Step 6 on the instructions:
cd /home/pi/SDL_Pi_SkyWeather2
sudo python3 testWeatherSensors.py The problem is that there's no file by that name. Perhaps testWitelessSensors.py was intended? I want to make sure to go step by step so I don't have to redo anything.
There were other dependencies that were missing, as well. Likely one was the TrueType font I mentioned earlier.
You've mentioned before that these manuals are a ton of work. Certainly, with changes in dependencies and changes made by the Raspberry Pi folks, it's really hard. I don't know what the best approach is to the guides, but for those of us further behind on the learning curve, they are indispensable. Maybe adding a wiki where people can make some slight edits to the guide would ease things for you, get updates into place sooner, and build confidence in the build process? I know that I've made some updates to Wikipedia. While I can see my edits right away, they are still seen and finally approved by someone higher up on the food chain.
|
|
|
Post by mikethechap on Apr 17, 2021 6:30:16 GMT -8
Okay. So, part of this is solved. I had to install the FreeSans font. This should be updated in the various documentations.
Now, I'm getting the Invalid Device Key error. After that, I think we're in a better place.
|
|
|
Post by mikethechap on Apr 16, 2021 20:14:29 GMT -8
I'm getting an error making the camera work. I'm using the camera supplied by SDL and a Raspberry Pi 3B+.
As far as troubleshooting the issue myself:
- I've been looking around on the forums and saw that SDL had Dow create a file to help with logging: testLongSkyCamera.py. I've been running it and saw the following error, the same as I see when running the other SkyWeather main commands. I can't figure out the problem from the error code I see below;
- In the past, I had a TrueType issue that Jason helped solve.I confirmed that his fix is in the file. The error code still appears to complain about font related concerns;
- It doesn't show a picture on either WeatherStem or the Dash App.
Error code below:
pi@skyweather:~/SDL_Pi_Skyweather2 $ sudo python3 testLongSkyCamera.py ./SkyWeather2.JSON File exists config.STATIONKEY= OBSCURED taking SkyPicture -------------------- SkyCam Picture Taken -------------------- Traceback (most recent call last): File "/home/pi/SDL_Pi_Skyweather2/SkyCamera.py", line 52, in takeSkyPicture font = ImageFont.truetype("/usr/share/fonts/truetype/freefont/FreeSans.ttf", 25) File "/usr/lib/python3/dist-packages/PIL/ImageFont.py", line 280, in truetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/usr/lib/python3/dist-packages/PIL/ImageFont.py", line 145, in __init__ layout_engine=layout_engine) OSError: cannot open resource
-------------------- SkyCam Picture Failed -------------------- -------------------- SkyCam Package Sending -------------------- API Key: OBSCURED ------->Sea Level 0.0 The pastebin URL is (r.text):{"error":"Invalid Device Key"} sending SkyCamera -------------------- SkyCam Package Sending -------------------- API Key: Obscured ------->Sea Level 0.0 The pastebin URL is (r.text):{"error":"Invalid Device Key"} taking SkyPicture -------------------- SkyCam Picture Taken -------------------- Traceback (most recent call last): File "/home/pi/SDL_Pi_Skyweather2/SkyCamera.py", line 52, in takeSkyPicture font = ImageFont.truetype("/usr/share/fonts/truetype/freefont/FreeSans.ttf", 25) File "/usr/lib/python3/dist-packages/PIL/ImageFont.py", line 280, in truetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/usr/lib/python3/dist-packages/PIL/ImageFont.py", line 145, in __init__ layout_engine=layout_engine) OSError: cannot open resource
-------------------- SkyCam Picture Failed Full disclosure: I was running this on another SD card that died. I ran my setup on the SwitchDoc card but had a lot of difficulty configuring it (in spite of the instructions) so gave up and used Sopwth's instructions.
|
|
|
Post by mikethechap on Apr 9, 2021 19:14:23 GMT -8
Hi, Jason! I just went into the appropriate directories (rtl_433 & rtl-sdr). No joy with both rtl_033 and rtl-sdr).
There was an additional section in the error messages that I didn't note earlier. Largely because it simply froze at:
WeatherSense Indoor T/H F016TH Found When, after waiting well over an hour, I hit Ctrl-C, I got the following error notification:
^CTraceback (most recent call last): File "testWirelessSensors.py", line 57, in <module> src, line = q.get(timeout = 1) File "/usr/lib/python3.7/queue.py", line 179, in get self.not_empty.wait(remaining) File "/usr/lib/python3.7/threading.py", line 300, in wait gotit = waiter.acquire(True, timeout)
Hopefully, that helps.
Mike D.
|
|
|
Post by mikethechap on Apr 9, 2021 10:03:26 GMT -8
Again, Jason, Thank You! No apology necessary. Whenever I've posted here, you've been a great help. This was the command I issued before doing anything else: pi@SwitchDocLabs:~/SDL_Pi_SkyWeather2 $ git pull
Is that what you are referencing?
Thanks again!
Update: Actually I was NOT in the rtl_433 directory at the time I did the git pull. Do I need to be in that directory? I figured the git pull in the SDL_Pi_SkyWeather2 directory would pull in everything in all the other underlying directories. Is that not the case?
|
|
|
Post by mikethechap on Apr 9, 2021 6:22:53 GMT -8
Thanks, Jason! I used the SD Card that I purchased from SDLabs. I followed the exact procedure described in the manual and updated the software as described here: forum.switchdoc.com/thread/1452/skyweather2-software-releases I would have thought the combination of using the SD Card and the described update method would have fixed it. No? I did try this before posting here hoping it would install the correct whatever: Remember to go to your rtl_433 directory and do the following to update rtl_433: cd rtl_433/ mkdir build cd build cmake .. make clean make sudo make install AS I say, I had previously tried doing all this the long method (find all my own drivers) but after my own SD Card died, I thought I'd use the SDLabs card. Thanks for any thoughts you have. If for some reason (I can't imagine why)the SD Card I bought from SwithDoc doesn't provide the correct drivers, I'll go ahead and install the correct one.
|
|
|
Post by mikethechap on Apr 8, 2021 20:09:55 GMT -8
I'm trying to get my SkyWeather2 working. I'm using the SD card. I'm following the December 2020 version of the guide. There are several problems.
Step 6 (page 20):
cd /home/pi/SDL_Pi_SkyWeather2
sudo python3 testWeatherSensors.py
There is no file by that name in the SDL_Pi_SkyWeather2. There is a file named testWirelessSensors.py. That's the closest to the name testWeatherSensors.py.
I assumed I was supposed to run testWeatherSensors.py given that was the closest. I ran it. Repeatedly. It stops running. The last, most important thing this means to me is where it says: Protocol number specified (148) is larger than number of protocols
Yes, I did carefully follow the steps 1-6.
Starting Wireless Read rtl_433 version -128-NOTFOUND branch master at 202010011416 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
quiet option (-q) is default and deprecated. See -v to increase verbosity
Protocol number specified (148) is larger than number of protocols
= Supported device protocols =
[01] Silvercrest Remote Control
[02] Rubicson Temperature Sensor
[03] Prologue Temperature Sensor
[04] Waveman Switch Transmitter
[06]* ELV EM 1000
[07]* ELV WS 2000
[08] LaCrosse TX Temperature / Humidity Sensor
[10]* Acurite 896 Rain Gauge
[11] Acurite 609TXC Temperature and Humidity Sensor
[12] Oregon Scientific Weather Sensor
[13]* Mebus 433
[14]* Intertechno 433
[15] KlikAanKlikUit Wireless Switch
[16] AlectoV1 Weather Sensor (Alecto WS3500 WS4500 Ventus W155/W044 Oregon)
[17] Cardin S466-TX2
[18] Fine Offset Electronics, WH2, WH5, Telldus Temperature/Humidity/Rain Sensor
[19] Nexus Temperature & Humidity Sensor
[20] Ambient Weather Temperature Sensor
[21] Calibeur RF-104 Sensor
[22]* X10 RF
[23] DSC Security Contact
[24]* Brennenstuhl RCS 2044
[25] Globaltronics GT-WT-02 Sensor
[26] Danfoss CFR Thermostat
[29] Chuango Security Technology
[30] Generic Remote SC226x EV1527
[31] TFA-Twin-Plus-30.3049, Conrad KW9010, Ea2 BL999
[32] Fine Offset Electronics WH1080/WH3080 Weather Station
[33] WT450, WT260H, WT405H
[34] LaCrosse WS-2310 / WS-3600 Weather Station
[35] Esperanza EWS
[36] Efergy e2 classic
[37]* Inovalley kw9015b, TFA Dostmann 30.3161 (Rain and temperature sensor)
[38] Generic temperature sensor 1
[39] WG-PB12V1 Temperature Sensor
[40] Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning
[41] Acurite 986 Refrigerator / Freezer Thermometer
[42] HIDEKI TS04 Temperature, Humidity, Wind and Rain Sensor
[43] Watchman Sonic / Apollo Ultrasonic / Beckett Rocket oil tank monitor
[44] CurrentCost Current Sensor
[45] emonTx OpenEnergyMonitor
[46] HT680 Remote control
[47] Conrad S3318P Temperature & Humidity Sensor
[48] Akhan 100F14 remote keyless entry
[49] Quhwa
[50] OSv1 Temperature Sensor
[51] Proove / Nexa / KlikAanKlikUit Wireless Switch
[52] Bresser Thermo-/Hygro-Sensor 3CH
[53] Springfield Temperature and Soil Moisture
[54] Oregon Scientific SL109H Remote Thermal Hygro Sensor
[55] Acurite 606TX Temperature Sensor
[56] TFA pool temperature sensor
[57] Kedsum Temperature & Humidity Sensor, Pearl NC-7415
[58] Blyss DC5-UK-WH
[59] Steelmate TPMS
[60] Schrader TPMS
[61]* LightwaveRF
[62]* Elro DB286A Doorbell
[63] Efergy Optical
[64]* Honda Car Key
[67] Radiohead ASK
[68] Kerui PIR / Contact Sensor
[69] Fine Offset WH1050 Weather Station
[70] Honeywell Door/Window Sensor
[71] Maverick ET-732/733 BBQ Sensor
[72]* RF-tech
[73] LaCrosse TX141-Bv2, TX141TH-Bv2, TX141-Bv3, TX141W sensor
[74] Acurite 00275rm,00276rm Temp/Humidity with optional probe
[75] LaCrosse TX35DTH-IT, TFA Dostmann 30.3155 Temperature/Humidity sensor
[76] LaCrosse TX29IT Temperature sensor
[77] Vaillant calorMatic VRT340f Central Heating Control
[78] Fine Offset Electronics, WH25, WH32B, WH24, WH65B, HP1000 Temperature/Humidity/Pressure Sensor
[79] Fine Offset Electronics, WH0530 Temperature/Rain Sensor
[80] IBIS beacon
[81] Oil Ultrasonic STANDARD FSK
[82] Citroen TPMS
[83] Oil Ultrasonic STANDARD ASK
[84] Thermopro TP11 Thermometer
[85] Solight TE44
[86] Wireless Smoke and Heat Detector GS 558
[87] Generic wireless motion sensor
[88] Toyota TPMS
[89] Ford TPMS
[90] Renault TPMS
[91] inFactory
[92] FT-004-B Temperature Sensor
[93] Ford Car Key
[94] Philips outdoor temperature sensor (type AJ3650)
[95] Schrader TPMS EG53MA4, PA66GF35
[96] Nexa
[97] Thermopro TP08/TP12/TP20 thermometer
[98] GE Color Effects
[99] X10 Security
[100] Interlogix GE UTC Security Devices
[101]* Dish remote 6.3
[102] SimpliSafe Home Security System (May require disabling automatic gain for KeyPad decodes)
[103] Sensible Living Mini-Plant Moisture Sensor
[104] Wireless M-Bus, Mode C&T, 100kbps (-f 868950000 -s 1200000)
[105]* Wireless M-Bus, Mode S, 32.768kbps (-f 868300000 -s 1000000)
[106]* Wireless M-Bus, Mode R, 4.8kbps (-f 868330000)
[107]* Wireless M-Bus, Mode F, 2.4kbps
[108] Hyundai WS SENZOR Remote Temperature Sensor
[109] WT0124 Pool Thermometer
[110] PMV-107J (Toyota) TPMS
[111] Emos TTX201 Temperature Sensor
[112] Ambient Weather TX-8300 Temperature/Humidity Sensor
[113] Ambient Weather WH31E Thermo-Hygrometer Sensor
[114] Maverick et73
[115] Honeywell ActivLink, Wireless Doorbell
[116] Honeywell ActivLink, Wireless Doorbell (FSK)
[117]* ESA1000 / ESA2000 Energy Monitor
[118]* Biltema rain gauge
[119] Bresser Weather Center 5-in-1
[120]* Digitech XC-0324 temperature sensor
[121] Opus/Imagintronix XT300 Soil Moisture
[122]* FS20
[123]* Jansite TPMS Model TY02S
[124] LaCrosse/ELV/Conrad WS7000/WS2500 weather sensors
[125] TS-FT002 Wireless Ultrasonic Tank Liquid Level Meter With Temperature Sensor
[126] Companion WTR001 Temperature Sensor
[127] Ecowitt Wireless Outdoor Thermometer WH53/WH0280/WH0281A
[128] DirecTV RC66RX Remote Control
[129]* Eurochron temperature and humidity sensor
[130]* IKEA Sparsnäs Energy Meter Monitor
[131] Microchip HCS200 KeeLoq Hopping Encoder based remotes
[132] TFA Dostmann 30.3196 T/H outdoor sensor
[133] Rubicson 48659 Thermometer
[134] Holman Industries iWeather WS5029 weather station (newer PCM)
[135] Philips outdoor temperature sensor (type AJ7010)
[136] ESIC EMT7110 power meter
[137] Globaltronics QUIGG GT-TMBBQ-05
[138] Globaltronics GT-WT-03 Sensor
[139] Norgo NGE101
[140] Elantra2012 TPMS
[141] Auriol HG02832, HG05124A-DCF, Rubicson 48957 temperature/humidity sensor
[142] Fine Offset Electronics/ECOWITT WH51 Soil Moisture Sensor
[143] Holman Industries iWeather WS5029 weather station (older PWM)
[144] TBH weather sensor
[145] WS2032 weather station
[146] SwitchDoc Labs Weather FT020T Sensors
WeatherSense WeatherRack2 FT020T found [147] SwitchDoc Labs F016TH Temperature Humidity Sensor
WeatherSense Indoor T/H F016TH Found
After that it just stalls. Come back 24 hours later and it's stuck there.
I'd like to finally get this working. It''s quite frustrating.
|
|
|
Post by mikethechap on Feb 26, 2021 11:29:10 GMT -8
Sorry I didn't see this before now, Jason. The hospital has been super busy with lots of tough cases.
I'm using a RPi 3B+. I haven't used an RPi 4 yet in any settings. I know there are sometimes issues with the RPi4.
|
|
|
Post by mikethechap on Jan 27, 2021 3:26:50 GMT -8
Hi, Jason! Thanks tons. I had typed out this reply day before yesterday but forgot to hit Send. Anyway, that did the trick! I appreciate you help!
I just saw the SDL reply. I have no idea why the different responses in the systems, but there it solved my problem. I was not using the dedicated SD card so I had to install everything piecemeal. AS I recall (my memory isn't working so great these days because I'm working in the hospital and everything is pretty nuts), Jason had posted some of his earlier installation steps. Those, as well, were super-helpful.
Mike
|
|