Code Monkey home page Code Monkey logo

pd-nodes's Issues

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

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.

issue

Screenshot from 2021-05-24 17-09-32

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?

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.

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.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.