Skip to content

Commit

Permalink
MQTT fix 🩹
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Oct 27, 2023
1 parent 4767dec commit 9f5884c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion front/plugins/_publisher_mqtt/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __init__(self, deviceId, deviceName, sensorType, sensorName, icon, mac):
watched3 = hash_value,
watched4 = mac,
extra = input_string,
foreignKey = notification["GUID"]
foreignKey = mac
)

#-------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion front/plugins/dhcp_servers/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
{
"function": "RUN_TIMEOUT",
"type": "integer",
"default_value":5,
"default_value":10,
"options": [],
"localized": ["name", "description"],
"name" : [{
Expand Down

0 comments on commit 9f5884c

Please sign in to comment.