-
Notifications
You must be signed in to change notification settings - Fork 5
Home
$verbose = filter_var($rpims['setup']['verbose'], FILTER_VALIDATE_BOOLEAN); $use_zabbix_sender = filter_var($rpims['setup']['use_zabbix_sender'], FILTER_VALIDATE_BOOLEAN); $use_picamera = filter_var($rpims['setup']['use_picamera'], FILTER_VALIDATE_BOOLEAN); $use_picamera_recording = filter_var($rpims['setup']['use_picamera_recording'], FILTER_VALIDATE_BOOLEAN); $use_door_sensor = filter_var($rpims['setup']['use_door_sensor'], FILTER_VALIDATE_BOOLEAN); $use_motion_sensor = filter_var($rpims['setup']['use_motion_sensor'], FILTER_VALIDATE_BOOLEAN); $use_system_buttons = filter_var($rpims['setup']['use_system_buttons'], FILTER_VALIDATE_BOOLEAN); $use_led_indicator = filter_var($rpims['setup']['use_led_indicator'], FILTER_VALIDATE_BOOLEAN); $use_serial_display = filter_var($rpims['setup']['use_serial_display'], FILTER_VALIDATE_BOOLEAN); $use_CPU_sensor = filter_var($rpims['setup']['use_CPU_sensor'], FILTER_VALIDATE_BOOLEAN); $use_BME280_sensor = filter_var($rpims['setup']['use_BME280_sensor'], FILTER_VALIDATE_BOOLEAN); $use_DS18B20_sensor = filter_var($rpims['setup']['use_DS18B20_sensor'], FILTER_VALIDATE_BOOLEAN); $use_DHT_sensor = filter_var($rpims['setup']['use_DHT_sensor'], FILTER_VALIDATE_BOOLEAN);
$serial_display_refresh_rate = $rpims['setup']['serial_display_refresh_rate']; $serial_display_type = $rpims['setup']['serial_display_type'];
$CPUtemp_read_interval = $rpims['setup']['CPUtemp_read_interval'];
$BME280_i2c_address = $rpims['setup']['BME280_i2c_address']; $BME280_read_interval = $rpims['setup']['BME280_read_interval'];
$DS18B20_read_interval = $rpims['setup']['DS18B20_read_interval'];
$DHT_read_interval = $rpims['setup']['DHT_read_interval']; $DHT_type = $rpims['setup']['DHT_type']; $DHT_pin = $rpims['setup']['DHT_pin'];
$motion_sensors_gpio = $rpims['motion_sensors']; $door_sensors_gpio = $rpims['door_sensors']; $system_buttons_gpio = $rpims['system_buttons'];
foreach ($door_sensors_gpio as $key => $value) { //print_r('GPIO_'.$value['gpio_pin']); $gpioname = 'GPIO_'.$value['gpio_pin'] ; $GPIO[$gpioname]['type'] = 'DoorSensor'; $GPIO[$gpioname]['hold_time'] = $value['hold_time']; } foreach ($motion_sensors_gpio as $key => $value) { $gpioname = 'GPIO_'.$value['gpio_pin']; $GPIO[$gpioname]['type'] = 'MotionSensor'; } foreach ($system_buttons_gpio as $key => $value) { $gpioname = 'GPIO_'.$value['gpio_pin']; $GPIO[$gpioname]['type'] = 'ShutdownButton'; $GPIO[$gpioname]['hold_time'] = $value['hold_time']; }
//var_dump($GPIO['GPIO_16']['hold_time']); //var_dump($GPIO); ?>
System configurationVerbose: | value="True"> | ||
Use zabbix sender: | value="True"> | ||
Use picamera: | value="True"> | ||
Use picamera recording: | value="True"> | ||
Use door sensor: | value="True"> | ||
Use motion sensor: | value="True"> | ||
Use system buttons: | value="True"> | ||
Use led indicator: | value="True"> | ||
Use CPU sensor: | value="True"> | ||
Use BME280 sensor: | value="True"> | ||
Use DS18B20 sensor: | value="True"> | ||
Use DHT sensor: | value="True"> | ||
Use serial display: | value="True"> | ||
Serial display type | >oled_sh1106 >lcd_st7735 | Serial display refresh rate: | size="2"> |
CPUtemp read interval: | size="4"> | ||
BME280 read interval: | size="4"> | BME280_i2c_address: |
>0x76
>0x77
|
DS18B20 read interval: | size="4"> | ||
DHT read interval: | size="4"> | DHT type: >DHT11 >DHT22 >AM2302 |
DHT pin:
>17
>18
|
GPIO 5 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_5']['hold_time']?> size="2"> |
GPIO 6 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_6']['hold_time']?> size="2"> |
GPIO 13 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_13']['hold_time']?> size="2"> |
GPIO 16 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor value="ShutdownButton">Shutdown Button | Hold Time: value==$GPIO['GPIO_16']['hold_time']?> size="2"> |
GPIO 17 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_17']['hold_time']?> size="2"> |
GPIO 19 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_19']['hold_time']?> size="2"> |
GPIO 20 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_20']['hold_time']?> size="2"> |
GPIO 21 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_21']['hold_time']?> size="2"> |
GPIO 26 input type: | value="DoorSensor">Door Sensor value="MotionSensor">Motion Sensor | Hold Time: value==$GPIO['GPIO_26']['hold_time']?> size="2"> |
GPIO 12: | Motion Indicator Door Indicator |
GPIO 18: | Motion Indicator Door Indicator |
Zabbix server: | |
Zabbix server Active: | |
RPiMS location: | |
RPiMS hostname: |