1) I made an upgrade from CMX build 3282 (v3.28.5) to build 4067 (v4.3.2). And after seeing no problem with CMX, I continued with CumulusUtils upgrade from CU v6.23.6 to v7.3.2.
2) Also the CU upgrade was basically succesfull. All is working fine, except the Extra Sensors.
I get the following two errors in utils\bin\cumulusutils.exe UserAskedData:
- Failing in GenerateExtraSensorDataJson - i.e. ExtraSensors (incl External) data).
Message - Object reference not set to an instance of an object.)
- Uploading => extrasensorsdata.json from utils/extrasensorsdata.json
No valid JSON data in the received data
(this 2nd error could be just a consequence of the 1st error).
Code: Select all
2025-01-04 23:30:31.485 Information ExtraSensorslog constructor: Using fixed path: | data/ |; file: | *log.txt
2025-01-04 23:30:31.485 Information ExtraSensorslog: starting
2025-01-04 23:30:31.486 Information ExtraSensorslog: timeStart = 04.01.2025 23:16:00; timeEnd = 04.01.2025 23:30:00
2025-01-04 23:30:31.486 Information ExtraSensorslog: Require data/ExtraLog202501.txt to start
2025-01-04 23:30:31.498 Information ExtraSensorslog: Finished reading the log at 04.01.2025 23:30:00
2025-01-04 23:30:31.498 Information ExtraSensorslog: MainExtraSensorsValuesList created: 3 records.
2025-01-04 23:30:31.498 Information ExtraSensorslog: End
2025-01-04 23:30:31.498 Information UserAskedData: Failing in GenerateExtraSensorDataJson - i.e. ExtraSensors (incl External) data)
2025-01-04 23:30:31.498 Information UserAskedData: Message - Object reference not set to an instance of an object.)
2025-01-04 23:30:31.498 Information UserAskedData: Continuing
3) I think the problem might be related to CMX/CU Null Value handling. Since the upgrade to CMX b4067 and the restart arround 16:00 the ExtraLog202501.txt file contains null-values. And one of my SoilMoist sensors just stopped working today (battery) and so null values are recored for this sensor.
I also had problems with invalid JSON structure for the customLogs and file customlogsRecentdata.json. I could fix that problem by editing the Clog*.txt file and replacing the - (hyphen) by 0 and modifying the custom log webtags to <#SoilMoisture2 rc=y nv=0>.
4) Attached a zip file with the most recent utilslog of UserAskedData and the Extra Logfile.