Hi
I hot having any luck disabling sensors. We have a number of Axis cameras and we are getting sensor errors because (by design) there is no SD card installed, and no network share configured.
Below is an extract from the logs when the device was added. This is where I got the OS and sensor names from:
2020-10-19 15:11:19 sensor 10.2.17.100 Sensor Added: state storageDisruptionDetectedState 1 Storage Status: SD_DISK System
2020-10-19 15:11:19 sensor 10.2.17.100 Sensor Added: state storageDisruptionDetectedState 2 Storage Status: NetworkShare System
2020-10-19 15:11:19 sensor 10.2.17.100 Sensor Added: temperature axiscam 1 Temperature Sensor 1 System
2020-10-19 15:11:19 sensor 10.2.17.100 Sensor Added: temperature axiscam 2 Temperature Sensor 2 System
2020-10-19 15:11:18 system 10.2.17.100 Device OS changed: generic -> axiscam System
2020-10-19 15:11:18 system 10.2.17.100 Device OS: generic -> axiscam System
2020-10-19 15:11:18 system 10.2.17.100 Device type changed server => appliance
At the bottom of the config.php, and added 3 lines I thought would disable the sensors, but they don’t change anything:
Disable Sensors
$config[‘os’][‘axiscam’][‘disabled_sensors’][‘NetworkShare’] = true;
$config[‘os’][‘axiscam’][‘disabled_sensors’][‘SD_DISK’] = true;
Any ideas?