|
Post by Powderjockey on May 31, 2023 19:02:14 GMT -8
Just wondering why it shows a negative amount on some days.
|
|
|
Post by SDL on Jun 1, 2023 11:24:24 GMT -8
This is on the WeatherRack3?
BP
|
|
|
Post by Powderjockey on Jun 1, 2023 12:40:47 GMT -8
This is on the WeatherRack3? BP Yes
|
|
|
Post by Powderjockey on Jun 10, 2023 12:21:04 GMT -8
It's rained all day here and it shows there are zero mm of rain today and in the past 24 hours.
Is there something up with this? Negative and nowthing!
|
|
|
Post by SDL on Jun 10, 2023 17:31:28 GMT -8
Can you send the latest JSON received by the python?
BP
|
|
|
Post by Powderjockey on Jun 11, 2023 13:18:19 GMT -8
Can you send the latest JSON received by the python? BP Where exactly are they located?
|
|
|
Post by SDL on Jun 13, 2023 5:49:05 GMT -8
Look at the information on the terminal program where you are running the python software. Turn debug on (look in the config file) and then copy and paste the data. It will look something like this:
{"time" : "2022-12-18 13:19:53", "model" : "SwitchDoc Labs WeatherRack3", "len" : 37, "messageid" : 30039, "deviceid" : 15727, "protocolversion" : 1, "softwareversion" : 0, "weathersenseprotocol" : 20, "windspeed" : 0, "windforce" : 0, "winddirectiondegrees" : 0, "humidity" : 750, "temperature" : -12, "noise" : 412, "PM2_5" : 7, "PM10" : 8, "pressure" : 937, "hwlux" : 0, "lwlux" : 7612, "lightvalue20W" : 76, "rain" : 0, "mic" : "CRC"}
BP
|
|
|
Post by Powderjockey on Jun 13, 2023 15:23:30 GMT -8
Look at the information on the terminal program where you are running the python software. Turn debug on (look in the config file) and then copy and paste the data. It will look something like this: {"time" : "2022-12-18 13:19:53", "model" : "SwitchDoc Labs WeatherRack3", "len" : 37, "messageid" : 30039, "deviceid" : 15727, "protocolversion" : 1, "softwareversion" : 0, "weathersenseprotocol" : 20, "windspeed" : 0, "windforce" : 0, "winddirectiondegrees" : 0, "humidity" : 750, "temperature" : -12, "noise" : 412, "PM2_5" : 7, "PM10" : 8, "pressure" : 937, "hwlux" : 0, "lwlux" : 7612, "lightvalue20W" : 76, "rain" : 0, "mic" : "CRC"} BP # # # # configuration file - contains customization for WeatherSense #
from builtins import hex
SWDEBUG = True
SWVERSION = "000" # set in WeatherSenseMontor.py
# altitude of WeatherRack3 station in meters altitude_m = 990
import uuid
#configure SkyCam Remote camera #default DefaultCameraRotation = 90 SkyCamRotationArray = {} SkyCamRotationArray["DE45"] = 90 SkyCamRotationArray["3BAD"] =270 SkyCamRotationArray["26FD"] =270
# MySQL Logging and Password Information
enable_MySQL_Logging = True MySQL_Host = "localhost" MySQL_User = "root" MySQL_Password = "password" MySQL_Schema = "WeatherSenseWireless"
# 0 is English, 1 is metric English_Metric = 1
# configuration for MQTT
enable_MQTT = True MQTThost = "xxx.xxx.xxx.xxx" MQTTport = 1883 MQTTqos = 0
# configuration for WeatherRack2 # This variables tell you how often to record values for the WeahterRack2 # You get a reading about every 45 seconds and this leads to big databases # about 14,000 records a week. Remember that each FT020 Transmission is # duplicated which means you nead a value of 2X what you want # The default value is 20, which gives us about 1400 or about every 7.5 minutes.
RecordEveryXReadings = 20
# This variable controls how often to record the indoor T/H sensors # You may have a total of 8 sensors and they each transmit around 60 seconds # this will cause a possible total number of records per week of: 80,640 records # The indoor T/H sensors also send a duplicate record but the rtl_433 software # filters it out. # The default value is 10, which gives us a value about every 10 minutes # per sensor. Each sensor is counted seperately in the wirelessSensors.py
IndoorRecordEveryXReadings = 10
This is the contents of the config.py in the /SDL_Pi_WeatherSense. I don't see anything about json in the file.
|
|
|
Post by SDL on Jun 26, 2023 13:40:39 GMT -8
You already have debug turned on. Look at the output of the program.
BP
|
|
|
Post by Powderjockey on Jun 26, 2023 18:59:05 GMT -8
pirack@Pi-In-A-Rack:~/SDL_Pi_WeatherSense $ sudo python3 WeatherSenseMonitor.py using updateWebConfig ----------------- WeatherSense Monitoring Software Software Version V018 ----------------- Pending jobs: readSensors (trigger: date[2023-06-26 20:57:52 MDT], pending) startMQTT (trigger: date[2023-06-26 20:57:52 MDT], pending) cleanPictures (trigger: cron[day='*', hour='3', minute='4'], pending) cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], pending) buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], pending) readSensors (trigger: date[2023-06-26 20:57:52 MDT], pending) /usr/local/lib/python3.9/dist-packages/apscheduler/util.py:428: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html return tzinfo.localize(dt) -----------------
###### Read Wireless Sensors Scheduled Jobs ----------------- ###### creating new MQTT instance connecting to broker
###### Read Wireless Sensors ###### /usr/lib/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdout = io.open(c2pread, 'rb', bufsize) Jobstore default: cleanPictures (trigger: cron[day='*', hour='3', minute='4'], next run at: 2023-06-27 03:04:00 MDT) cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], next run at: 2023-06-27 03:10:00 MDT) buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], next run at: 2023-06-27 05:30:00 MDT) ----------------- starting 433MHz scanning ###### starting 433MHz scanning ###### Connected with result code 0
|
|
|
Post by Powderjockey on Jul 9, 2023 10:57:10 GMT -8
Another month. Am I not getting you the proper info?
|
|