jisotalo/node-red-contrib-ads-client

Subscribe not working without input

Hopperpop opened this issue · 1 comments

When using the subscribe node without an input, it won't connect (local connection).

afbeelding

[{"id":"90f489bd.33574","type":"ads-client-subscribe","z":"89b5ac23.d7af08","connection":"1086b6ee.1f2791","variableName":"","cycleTime":"2000","mode":"cyclic","initialDelay":0,"retryInterval":"100","controlSubscription":true,"inputs":1,"x":220,"y":520,"wires":[["d23952a6.a80a"]]},{"id":"d23952a6.a80a","type":"debug","z":"89b5ac23.d7af08","name":"","active":true,"tosidebar":true,"console":true,"tostatus":true,"complete":"payload","targetType":"msg","x":620,"y":520,"wires":[]},{"id":"923427e4.2e241","type":"ads-client-subscribe","z":"89b5ac23.d7af08","connection":"1086b6ee.1f2791","variableName":"Drives.fbDriveCyl[1].xCylinder","cycleTime":"2000","mode":"cyclic","initialDelay":"2","retryInterval":"100","controlSubscription":false,"inputs":0,"x":280,"y":580,"wires":[["ad851bd7.2a57e"]]},{"id":"ad851bd7.2a57e","type":"debug","z":"89b5ac23.d7af08","name":"","active":true,"tosidebar":true,"console":true,"tostatus":true,"complete":"payload","targetType":"msg","x":620,"y":580,"wires":[]},{"id":"eaddaad6.14037","type":"inject","z":"89b5ac23.d7af08","name":"","topic":"Drives.fbDriveCyl[1].xCylinder","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":460,"wires":[["43a2bf4a.bef43"]]},{"id":"43a2bf4a.bef43","type":"change","z":"89b5ac23.d7af08","name":"","rules":[{"t":"set","p":"subscribe","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":460,"wires":[["90f489bd.33574"]]},{"id":"1086b6ee.1f2791","type":"ads-client-connection","z":"","targetAmsNetId":"localhost","targetAdsPort":"851","objectifyEnumerations":true,"convertDatesToJavascript":true,"readAndCacheSymbols":false,"readAndCacheDataTypes":false,"disableSymbolVersionMonitoring":false,"routerTcpPort":"","routerAddress":"","localAddress":"","localTcpPort":"","localAmsNetId":"","localAdsPort":"","timeoutDelay":"","hideConsoleWarnings":false,"autoReconnect":true,"reconnectInterval":"","checkStateInterval":"","connectionDownDelay":"","allowHalfOpen":false,"disableBigInt":false}]

Thanks for the pull request!