This is missing from one of the prior commits last year and as a result CPU Usage is not pulled. This also happens for switches not just AP and could be other Unifi devices.
JSONPath: $.['system-stats'].cpu
Without the Preprocessing the item can not be pulled
1228:20220604:222130.030 error reason for "Dining Room AP:cpu" changed: Preprocessing failed for: {"anon_id":"93958dea-7ca1-4f6f-872b-1f064c9b0edb","antenna_table":[{"default":true,"id":4,"name":...
Result: NaN
Failed: cannot extract value from json by path "$.['system-stats'].cpu": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'NaN'
This is missing from one of the prior commits last year and as a result CPU Usage is not pulled. This also happens for switches not just AP and could be other Unifi devices.
JSONPath: $.['system-stats'].cpu
Without the Preprocessing the item can not be pulled
1228:20220604:222130.030 error reason for "Dining Room AP:cpu" changed: Preprocessing failed for: {"anon_id":"93958dea-7ca1-4f6f-872b-1f064c9b0edb","antenna_table":[{"default":true,"id":4,"name":... Result: NaN Failed: cannot extract value from json by path "$.['system-stats'].cpu": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'NaN'