{ "userConfig": { "city": [37.38283, -5.97317] }, "appConfig": { "endpoints": { "DATA_URL": "https://contaminus.miarma.net/api/raw/v1", "LOGIC_URL": "https://contaminus.miarma.net/api/v1", "GET_GROUPS": "/groups", "GET_GROUP_BY_ID": "/groups/:groupId", "POST_GROUPS": "/groups", "PUT_GROUP_BY_ID": "/groups/:groupId", "GET_GROUP_DEVICES": "/groups/:groupId/devices", "GET_DEVICE_BY_ID": "/groups/:groupId/devices/:deviceId", "POST_DEVICES": "/groups/:groupId/devices", "PUT_DEVICE_BY_ID": "/groups/:groupId/devices/:deviceId", "GET_DEVICE_LATEST_VALUES": "/groups/:groupId/devices/:deviceId/latest-values", "GET_DEVICE_POLLUTION_MAP": "/groups/:groupId/devices/:deviceId/pollution-map", "GET_DEVICE_HISTORY": "/groups/:groupId/devices/:deviceId/history", "GET_DEVICE_SENSORS": "/groups/:groupId/devices/:deviceId/sensors", "GET_SENSOR_BY_ID": "/groups/:groupId/devices/:deviceId/sensors/:sensorId", "POST_SENSORS": "/groups/:groupId/devices/:deviceId/sensors", "PUT_SENSOR_BY_ID": "/groups/:groupId/devices/:deviceId/sensors/:sensorId", "GET_SENSOR_VALUES": "/groups/:groupId/devices/:deviceId/sensors/:sensorId/values", "GET_ACTUATORS": "/groups/:groupId/devices/:deviceId/actuators", "GET_ACTUATOR_BY_ID": "/groups/:groupId/devices/:deviceId/actuators/:actuatorId", "POST_ACTUATORS": "/groups/:groupId/devices/:deviceId/actuators", "PUT_ACTUATOR_BY_ID": "/groups/:groupId/devices/:deviceId/actuators/:actuatorId", "GET_ACTUATOR_STATUS": "/groups/:groupId/devices/:deviceId/actuators/:actuatorId/status", "VIEW_LATEST_VALUES": "/v_latest_values", "VIEW_POLLUTION_MAP": "/v_pollution_map", "VIEW_SENSOR_HISTORY": "/v_sensor_history_by_device", "VIEW_SENSOR_VALUES": "/v_sensor_values", "VIEW_CO_BY_DEVICE": "/v_co_by_device", "VIEW_GPS_BY_DEVICE": "/v_gps_by_device", "VIEW_WEATHER_BY_DEVICE": "/v_weather_by_device" }, "historyChartConfig": { "chartOptionsDark": { "responsive": true, "maintainAspectRatio": false, "scales": { "x": { "grid": { "color": "rgba(255, 255, 255, 0.1)" }, "ticks": { "color": "#E0E0E0" } }, "y": { "grid": { "color": "rgba(255, 255, 255, 0.1)" }, "ticks": { "color": "#E0E0E0" } } }, "plugins": { "legend": { "display": false } } }, "chartOptionsLight": { "responsive": true, "maintainAspectRatio": false, "scales": { "x": { "grid": { "color": "rgba(0, 0, 0, 0.1)" }, "ticks": { "color": "#333" } }, "y": { "grid": { "color": "rgba(0, 0, 0, 0.1)" }, "ticks": { "color": "#333" } } }, "plugins": { "legend": { "display": false } } } } } }