diff --git a/docker-compose.yml b/docker-compose.yml index 0a0f6f0f..f82406fb 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,10 +11,10 @@ services: network_mode: host # restart: unless-stopped volumes: - - ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config - # - ${APP_DATA_LOCATION}/pialert/config:/home/pi/pialert/config - - ${APP_DATA_LOCATION}/pialert_dev/db:/home/pi/pialert/db - # - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db + # - ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config + - ${APP_DATA_LOCATION}/pialert/config:/home/pi/pialert/config + # - ${APP_DATA_LOCATION}/pialert_dev/db:/home/pi/pialert/db + - ${APP_DATA_LOCATION}/pialert/db:/home/pi/pialert/db # (optional) useful for debugging if you have issues setting up the container - ${LOGS_LOCATION}:/home/pi/pialert/front/log # --------------------------------------------------------------------------- diff --git a/front/plugins/_publisher_mqtt/mqtt.py b/front/plugins/_publisher_mqtt/mqtt.py index 532e7e1e..3b1bc47f 100755 --- a/front/plugins/_publisher_mqtt/mqtt.py +++ b/front/plugins/_publisher_mqtt/mqtt.py @@ -125,7 +125,7 @@ class sensor_config: watched3 = hash_value, watched4 = mac, extra = input_string, - foreignKey = notification["GUID"] + foreignKey = mac ) #------------------------------------------------------------------------------- diff --git a/front/plugins/dhcp_servers/config.json b/front/plugins/dhcp_servers/config.json index cc202fbd..a87f9e67 100755 --- a/front/plugins/dhcp_servers/config.json +++ b/front/plugins/dhcp_servers/config.json @@ -346,7 +346,7 @@ { "function": "RUN_TIMEOUT", "type": "integer", - "default_value":5, + "default_value":10, "options": [], "localized": ["name", "description"], "name" : [{