Skip to content

Commit

Permalink
Fixed MQTT tests. GH-225
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Nov 22, 2023
1 parent ff27a76 commit 9105e60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ See https://github.com/Daveiano/weewx-wdc/compare/v3.3.0...580071ca175a03fe4924b
# Next

- Bugfix: Fixed "ValueError: could not convert string to float" in forecast, introduced in GH-191
- Bugfixed Added missing `nl.conf` in `install.py` GH-221
- Bugfix: Added missing `nl.conf` in `install.py` GH-221
- Bugfix: Fixed Gauge tiles daily reset (via MQTT)
- Bugfix: Max Rain Rate Does Not Reset GH-224
- Added MQTT connection with username/password GH-225
4 changes: 2 additions & 2 deletions skins/weewx-wdc/src/js/live-updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,6 @@ client.connect({
onFailure: onFailure,
useSSL: mqtt_ssl === "1",
reconnect: true,
userName: mqtt_username && mqtt_username !== "" ? mqtt_username : undefined,
password: mqtt_password && mqtt_password !== "" ? mqtt_password : undefined,
userName: mqtt_username,
password: mqtt_password,
});
2 changes: 2 additions & 0 deletions test/test_install_report/src/skin-mqtt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ SKIN_VERSION = 2.3.0
mqtt_websockets_port = 9001
mqtt_websockets_ssl = 0
mqtt_websockets_topic = "weather/loop"
mqtt_websockets_username = ""
mqtt_websockets_password = ""

[[forecast_zambretti]]
enable = False
Expand Down

0 comments on commit 9105e60

Please sign in to comment.