cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Node-RED "Data Layer Subscribe" node issue

Node-RED "Data Layer Subscribe" node issue

Akseer
Established Member

Hi,

I have observed an issue with Node-RED "Data Layer Subscibe" node. In my case, the Node-RED is subscribing to a true/false condition from the datalayer and sending an update to cloud either when there is a change in condition or after every minute. The "Data Layer Subscribe" node didn't push the event during the change in specified variable state. Below are some of my observations regarding this issue.

  • The "Data Layer Subscribe" node was not triggering an event even after the change in variable's true/false condition. 
  • Node-RED as an app was working well with other part of project. Such as periodically sending the updates of the same variable from datalayer using "Data Layer Request" node after every minute, etc. 
  • This issue is observed for the first time. From the past few days, neither ctrlX CORE nor Node-RED were restarted. May be there is some timeout issue with "Data Layer Subscribe" node?
  • This error was cleared after I selected "Deploy" option in Node-RED. There was no change in the Node-RED program. I just moved a node to make the "Deploy" option visible for a fresh start.

I'll check if the issue re-appears after few days. I am using Node-RED version 1.12.4+2.2.2-ctrlx. Please let me know if someone encounters the same issue. Many thanks

 

4 REPLIES 4

AndreasL
Long-established Member

Can you check the diagnostic log when this happens? Is there any information from the node-red snap when this happens?

Sgilk
Contributor

I would suggest trying the latest version of Node-RED (1.20) and the latest node-red-contrib-ctrlx-automation nodes (v.1.8.19) if you don't have some other reason not to update. I'm not seeing the issue you described specifically in the release notes, but it is possible this was addressed in an update.

Do you recieve any error in the Node-RED debug console? Is it a single state change that is missed by the subscribe node, or is every state change not detected once the error occurs?

CodeShepherd
Community Moderator
Community Moderator

@Akseer Any news here? is this still an issue? Or can this topic be closed?

Akseer
Established Member

Hi,

I have checked this issue after some time.
It was only a one-time problem. No specific reason was found, and the issue was resolved after selecting the Deploy option in Node-RED. Thanks

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist