|
Post by phoenixaus on Jan 11, 2021 21:21:46 GMT -8
Hi Guys,
The device serial that I have does not appear to be working with WeatherStem.
In the account section on WeatherStem I can see the correct Device ID listed (no error messages on their site saying incorrect id or anything).
Is there a way to check that the correct device ID is being passed to their API service? Is there any error logging that is visible t see where the issue may be?
Thanks, S
|
|
|
Post by SDL on Jan 12, 2021 13:12:55 GMT -8
Turn on the Software debug operation on the configuration program.
Run SkyWeather2.py in a terminal window and wait until you see the info being sent to WeatherSTEM. Take a look at the error that will follow further down the page.
Post the results.
Also, post your SkyWeather2.JSON file (removing passwords and ids).
This should help us diagnose your problem.
BP
|
|
|
Post by phoenixaus on Jan 12, 2021 21:17:59 GMT -8
Hi BP, Log is from 1440hrs to 1501hrs, and apart from the: UseWeatherStem: Present There is no other references in the log. Cleansed JSON file attached below as well. SkyWeather2 Log
SkyWeather2.JSONThanks, S
|
|
|
Post by SDL on Jan 14, 2021 8:21:05 GMT -8
I can't read your files or see you log. Please attach the files. The links don't work for me.
BP
|
|
|
Post by phoenixaus on Jan 14, 2021 14:39:53 GMT -8
Hi BP:
pi@SwitchDocLabs:~/SDL_Pi_SkyWeather2 $ sudo python3 SkyWeather2.py
./SkyWeather2.JSON File exists
##########################################################
SkyWeather2 Weather Station Version 019 - SwitchDoc Labs
Program Started at:2021-01-13 14:40:12
##########################################################
< REMOVED >
and JSON:
{"key": "value", "ProgramName": "SkyWeather2", "ConfigVersion": "001", "SWDEBUG": true, "enable_MySQL_Logging": true, "MySQL_Password": "password", "enable_WLAN_Detection": false, "PingableRouterAddress": "192.168.1.1", "mailUser": "yourusername", "mailPassword": "yourmailpassword", "notifyAddress": "you@example.com", "fromAddress": "yourfromaddress@example.com", "enableText": true, "textnotifyAddress": "yournumber@yourprovider", "runLEDs": false, "SolarMAX_Present": false, "SolarMAX_Type": "LEAD", "BMP280_Altitude_Meters": "626.0", "Sunlight_Gain": "High", "USEWEATHERSTEM": true, "INTERVAL_CAM_PICS__SECONDS": "60", "STATIONKEY": "********", "WeatherUnderground_Present": false, "WeatherUnderground_StationID": "KWXXXXX", "WeatherUnderground_StationKey": "YYYYYY", "USEBLYNK": true, "BLYNK_AUTH": "*****************", "AS3935_Lightning_Config": "[2,1,3,0,3,3]", "DustSensorSCL": "20", "DustSensorSDA": "21", "DustSensorPowerPin": "5", "GPIO_Pin_PowerDrive_Sig1": "4", "GPIO_Pin_PowerDrive_Sig2": "4", "WATCHDOGTRIGGER": "6", "REST_Enable": false, "Camera_Night_Enable": false, "Camera_Rotation": 0, "MQTT_Enable": false, "MQTT_Server_URL": "", "MQTT_Port_Number": "5900", "MQTT_Send_Seconds": "500", "English_Metric": true}
|
|
|
Post by SDL on Jan 15, 2021 12:50:56 GMT -8
The JSON looked OK.
Next time, post this kind of data using the "Code" (C in a Box) button. Much easier to read.
testSkyCamera.py
Well, that didn't show a transfer for some reason. Maybe you didn't wait long enough. Run this command and post the results.
sudo python3 testSkyCamera.py
BP
|
|
|
Post by phoenixaus on Jan 18, 2021 0:05:44 GMT -8
Hi All,
Have resolved this. The reason it was not transmitting was because I did not have the camera attached and active. Once the camera was attached, all worked fine!
|
|
|
Post by SDL on Jan 20, 2021 17:05:38 GMT -8
Well, shoot. I could have told you that! Sorry for missing that at the beginning.
BP
|
|