-
Notifications
You must be signed in to change notification settings - Fork 0
Adding LWT/Birth/Death messages #52
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
base: main
Are you sure you want to change the base?
Conversation
|
@Steve-Mcl I may have "hacked" the relinking logic (that can probably be removed now there is a real conf node.) |
Steve-Mcl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick review before pull & test shows auto linking (to platform) appears to be impossible in this PR?
Co-authored-by: Stephen McLaughlin <[email protected]>
|
@Steve-Mcl I think I've fixed the linking now |
Yes, link up working now 👍 However, I dont think the multiple config node containment works as expected. I imported a flow from another instance and I got 2 broker nodes: Also, we really should do something with the config editor button: I propose we just use the built in standard/familiar node-red config tools but remove the add button e.g. in |
|
I've gone with the second option as we don't want the drop down at all as there should only be one instance of the config node. The import bit will need some work, but I assume this is a problem the Dashboard v2 has solved? |
You know what they say about assume ;) Nope. at least not last time i checked. Instead, dashboard tells user (in the /dashboard) there are multiple bases. We don't have that luxury (also its clunky) |
Ben, I revisited this. The duplication on import issue not handled in dashboard is when 2 pages have the same endpoint URL but it seems the import of a |
|
@Steve-Mcl I think I've got the deduplicate config node code working (after the pointer from ui-base) |
I'll take a look later. I appreciate you are pretty much AFK now so will do what is necessary to get it approved/merged. |
We cannot use this as it fires even just cursoring past it in the quick-add list. This then causes config nodes to be built and added to flow even though user never added a node
- build config here instead of onadd handler - ensure history is correct - ensure UI is updated (updateConfigNodeUsers, config.refresh)
|
@hardillb I have pushed a few changes - noteably:
Tomorrow i will further check UI and test operation parts - but so far so good. |
|
Testing: Getting issue with updating status when publishing to a topic not permitted:
This only happens if you publish with QOS 1 or 2 first (to generate a "prohibited" status) then publish on QOS 0.
UPDATE: Resolved in 9ef343d |
|
Testing: The config node has some issues:
UPDATE: Resolved |
|
Testing: Issue with cycling connect/disconnect when LWT is adjusted and flow deployed UPDATE: additional infoLooking at NR logs we see: The number UPDATE: ResolvedFixed in a078aec by adding the on-close handler |
|
Testing: birthMsg, closeMsg and willMsg options are not persisted nor applied to the MQTT messages Investigating UPDATE: ResolvedSettings were not being saved and therefore not applied to messages. This is reloved in 5322132 Test results:
|
|
@hardillb I have pushed all fixes and im confident this is ready now - however I should now probably not be the person to review and merge! I'll ping on eng channel see if it someone can pick up and review. |












fixes FlowFuse/flowfuse#6072
Description
Adds support for creating LWT/Birth/Death messages for the FF-MQTT nodes
Related Issue(s)
FlowFuse/flowfuse#6072
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel