Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add info for user to troubleshoot MQTT #1614

Merged
merged 1 commit into from
Oct 24, 2024
Merged

add info for user to troubleshoot MQTT #1614

merged 1 commit into from
Oct 24, 2024

Conversation

jhofstee
Copy link
Contributor

This adds the MQTT connection errors to VRM online portal menu as well. The MQTT connection errors are not shown if a bridge is disabled. If an error is present all error status are shown unless explicitly reported as disabled.

id: connectionStatus

// Status of vrmlogger
property VeQuickItem httpsConnectionError: VeQuickItem {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't need to be a property, since the parent is an Item. Same for the VeQuickItems below.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh never mind, I see that you want to access these as properties.

uid: Global.venusPlatform.serviceUid + "/Mqtt/Bridges/GXrpc/ConnectionStatus"
}

property bool anyError:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be readonly

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this change, and force-pushed.

This adds the MQTT connection errors to VRM online portal menu as well.
The MQTT connection errors are not shown if a bridge is disabled. If an
error is present all error status are shown unless explicitly reported
as disabled.
@blammit
Copy link
Contributor

blammit commented Oct 24, 2024

Haven't tested this against a specific installation with all these configurations, but page loads fine.

@blammit blammit merged commit 5a85cc6 into main Oct 24, 2024
2 checks passed
@blammit blammit deleted the jeroen/mqtt-info branch October 24, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants