hlapp / node-red-contrib-wirelesstag Goto Github PK
View Code? Open in Web Editor NEWNode-RED nodes for Wireless Sensor Tags
License: MIT License
Node-RED nodes for Wireless Sensor Tags
License: MIT License
I recently installed node-red and this collection of wirelesstag nodes on a machine running Ubunto 20.10.
The wireless-tag-s node seems to be working as intended, however, I cannot get the wirelesstag-all node to function.
Here is the console output associated with that failure:
[error] [wirelesstag-all:56812e1.c6438c] TypeError: Cannot read property 'uuid' of undefined
I am running Node-RED version: v.1.2.7, Node.js version v15.6.0
If running under a Node-RED instance with the httpAdmin and httpNode apps secured by credentials, the select elements fail to populate with a 401: Unauthorized
error.
Redeploying a flow in Node-RED results in stopping it, followed by starting it again. The process of stopping flows does not (and arguably can't truly know how to) wait for all node shutdown tasks to have completed, and as a result a flow being redeployed may start up before the tear down for all nodes has completed. This means that we may in some conditions have a Wireless Tag Cloud logout pending as part of stopping flows, while we're already logging in as part of starting. This will result in the polling updater to supply a stale auth cookie to the SOAP service, which will then fail with a type error (because the response is now HTML for the login page instead of SOAP XML).
Not sure if I'm missing something or it's just not working.
I'm able to get the "A" node to return information to the debug panel as it rolls in, but the "S" node keeps giving the same error message:
Unable to populate selection lists (404 - Not Found):
Cannot GET /admin/wirelesstag//tagmanagers
This is of course after deploying the node and having it pointing to the same (and only) API config that seems to be working for the "A" node. Am I missing some important detail? Thanks.
APICallError: Forbidden
Calling https://www.mytaglist.com/ethClient.asmx/GetTagManagerTagList with body {} failed with status 403
at checkAPIerror (C:\Users\home\node_modules\wirelesstags\lib\platform.js:655:16)
at Request._callback (C:\Users\home\node_modules\wirelesstags\lib\platform.js:588:21)
at Request.self.callback (C:\Users\home\node_modules\request\request.js:185:22)
at Request.emit (events.js:315:20)
at Request. (C:\Users\home\node_modules\request\request.js:1161:10)
at Request.emit (events.js:315:20)
at IncomingMessage. (C:\Users\home\node_modules\request\request.js:1083:12)
at Object.onceWrapper (events.js:421:28)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.