#Custom Packages for Prescient Designer
pd-nodes's Introduction
pd-nodes's People
pd-nodes's Issues
Webcam node should use mainline fswebcam now that PR has been accepted
RFE - add support for camera selection and support USB for macOS
Looking at this node, I noticed that it uses 'node-webcam' under the covers. Seeing that, I installed 'imagesnap' (https://github.com/rharder/imagesnap) on my mac and edit usb-camera.js and changed line 189 from
device: false,
to
device: "C615",
(C615' is the model of the logitech webcam I have) and it took pictures with no issues.
So simply be adding an option to define the device and adding some text to the readme telling people to install 'imagesnap' on the mac, you would open the use of this node to a larger audience.
It's possible that it would also work on windows by following the directions it the 'node-usbcam' readme. Not having access to a windows machine, I am unable to verify this part.
Typo in commands on README.md files
There is a typo in the following files:
https://github.com/prescient-devices/PD-Nodes/blob/master/node-red-contrib-promptinput/README.md
$ cd "${HOME}"/ode-red-contrib-promptinput
should be
$ cd "${HOME}"/node-red-contrib-promptinput
and
https://github.com/prescient-devices/PD-Nodes/blob/master/node-red-contrib-downloadfile/README.md
$ cd "${HOME}"/ode-red-contrib-downloadfile
should be
$ cd "${HOME}"/node-red-contrib-downloadfile
Deprecated use of "nodes-started" event
I'm running node red 2.1.3 and receive the following message in the dbug pane:
"[RED.events] Deprecated use of "nodes-started" event from "/Users/al/.node-red/node_modules/@prescient-devices/node-red-contrib-dashboard-input-persistence/nodes/state_runtime.js:54:22". Use "flows:started" instead."
Everything works, but I suspect that will not be the case for future node red releases.
Many errors
When installing -
ERR! ERESOLVE unable to resolve dependency tree
2022-08-01T05:43:57.376Z [err] npm
2022-08-01T05:43:57.377Z [err] ERR!
2022-08-01T05:43:57.377Z [err]
2022-08-01T05:43:57.377Z [err] npm
2022-08-01T05:43:57.377Z [err] ERR! While resolving: [email protected]
2022-08-01T05:43:57.377Z [err] npm ERR! Found: [email protected]
2022-08-01T05:43:57.378Z [err] npm
2022-08-01T05:43:57.378Z [err] ERR!
2022-08-01T05:43:57.378Z [err] node_modules/node-red-dashboard
2022-08-01T05:43:57.378Z [err] npm ERR! node-red-dashboard@"~3.1.7" from the root project
2022-08-01T05:43:57.378Z [err] npm ERR!
2022-08-01T05:43:57.379Z [err]
2022-08-01T05:43:57.379Z [err] npm ERR!
2022-08-01T05:43:57.379Z [err] Could not resolve dependency:
2022-08-01T05:43:57.379Z [err] npm ERR! peer node-red-dashboard@"^2.28.1" from @prescient-devices/[email protected]
2022-08-01T05:43:57.379Z [err] npm ERR! node_modules/@prescient-devices/node-red-contrib-dashboard-input-persistence
2022-08-01T05:43:57.379Z [err] npm
2022-08-01T05:43:57.379Z [err] ERR! @prescient-devices/node-red-contrib-dashboard-input-persistence@"1.1.2" from the root project
2022-08-01T05:43:57.379Z [err] npm ERR!
2022-08-01T05:43:57.379Z [err]
2022-08-01T05:43:57.379Z [err] npm ERR! Fix the upstream dependency conflict, or retry
2022-08-01T05:43:57.380Z [err] npm ERR! this command with --force, or --legacy-peer-deps
2022-08-01T05:43:57.380Z [err] npm ERR!
2022-08-01T05:43:57.380Z [err] to accept an incorrect (and potentially broken) dependency resolution.
2022-08-01T05:43:57.380Z [err] npm ERR!
Also -
"[RED.events] Deprecated use of "nodes-started" event from "/home/pi/.node-red/node_modules/@prescient-devices/node-red-contrib-dashboard-input-persistence/nodes/state_runtime.js:54:22". Use "flows:started" instead."
The install using the node red Manage palette fails and the following needs to be entered in a terminal in the .nodered directory-
npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @prescient-devices/[email protected] --legacy-peer-deps
Port-finder/admin-api-url not available in pallet manager
port-finder/admin-api-url not available in node-red library(pallet manager)
The only difference I could find between this and our other custom nodes(which are downloadable through pallet manager) is in package.json file the name
"node-red": {
"nodes": {
"name": "name.js"
}
},
PromptInput feature request
Hi,
would it be possible to use an input junction to trigger this node rather than a mouse click? I want an event to trigger a request for data, eg in Home Assistant when I set a switch called "away" I want it to ask "for how long?"
Thanks
B.
prescient-devices/node-red-contrib-usb-camera available but not functioning
Hi,
I am working on a simple USB camera based surveillance system project and wanted to use the pd/usb-camera-node to achieve this. I am running Node-RED version: v1.3.4 and Node.js version: v14.16.1 on my Ubuntu 20.04 laptop. I have installed fswebcam following this website.
When I connect the camera node (in Buffer mode) as shown below, my dashboard outputs a black window meaning that the image is not being captured (moreover I can confirm that my webcam is not being triggered). In this flow, I want the node to output image as an Image Buffer, which I would then convert to base64 before displaying it on my dashboard.
However, when I use the older version of the node (see the disabled node in the image) and set up a 0 value trigger, I am able to get an image in the dashboard.
Is there anything wrong with my implementation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.