Add graph variable in detect_sensors.py, Sensor PHP class, change path