MQTT fix 🩹

This commit is contained in:
Jokob-sk
2023-10-28 08:27:29 +11:00
parent 4767dec6b8
commit 9f5884c4e7
3 changed files with 6 additions and 6 deletions

View File

@@ -11,10 +11,10 @@ services:
network_mode: host network_mode: host
# restart: unless-stopped # restart: unless-stopped
volumes: volumes:
- ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config # - ${APP_DATA_LOCATION}/pialert_dev/config:/home/pi/pialert/config
# - ${APP_DATA_LOCATION}/pialert/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_dev/db:/home/pi/pialert/db
# - ${APP_DATA_LOCATION}/pialert/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 # (optional) useful for debugging if you have issues setting up the container
- ${LOGS_LOCATION}:/home/pi/pialert/front/log - ${LOGS_LOCATION}:/home/pi/pialert/front/log
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------

View File

@@ -125,7 +125,7 @@ class sensor_config:
watched3 = hash_value, watched3 = hash_value,
watched4 = mac, watched4 = mac,
extra = input_string, extra = input_string,
foreignKey = notification["GUID"] foreignKey = mac
) )
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View File

@@ -346,7 +346,7 @@
{ {
"function": "RUN_TIMEOUT", "function": "RUN_TIMEOUT",
"type": "integer", "type": "integer",
"default_value":5, "default_value":10,
"options": [], "options": [],
"localized": ["name", "description"], "localized": ["name", "description"],
"name" : [{ "name" : [{