lebaston100 / node-red-contrib-obs-ws Goto Github PK
View Code? Open in Web Editor NEWNode-Red bindings for obs(-websocket-js)
Home Page: https://flows.nodered.org/node/node-red-contrib-obs-ws
License: MIT License
Node-Red bindings for obs(-websocket-js)
Home Page: https://flows.nodered.org/node/node-red-contrib-obs-ws
License: MIT License
Node-red is running on a R-pi4. OBS is on a win10 machine. When win10 machine goes to sleep and later wakes up, reconnecting can take between minutes and hours. Can this be fixed, or at least forced via a command?
The debug log might be getting spammed with a "Deprecated API warning: Calls to RED.util.evaluateJSONataExpression must include a callback. This will not be optional in Node-RED 4.0. Please identify the node from the following stack and check for an update on npm. If none is available, please notify the node author." message.
This is a known issue, does not break anything right now and will be fixed in the future.
the Websocket is not connecting and in the node-red-log (with log settings on trace) only says the following:
[trace] [obs-instance:OBS @ 187.2:4455] Trying to connect to obs
[trace] [obs-instance:OBS @ 187.2:4455] ConnectionClosed obs event
[trace] [obs-instance:OBS @ 187.2:4455] Error
[trace] [obs-instance:OBS @ 187.2:4455] Starting obsReconnector because ConnectionClosed event
When I time a request right, I can see the Error: "Error: Socket not identified" through the error output.
My OBS-WS config is with port 4455 and I deactivated the password
Hi, I am trying to get this setup locally but i cannot seem to figure it out, since this isn't published on npm i have cloned this repo into a local folder, gone into node red and npm installed but when i boot i get:
[node-red-contrib-obs-ws/obs-ws] Error: Cannot find module 'obs-websocket-js'
do i have to manually install obs-websocket-js somewhere? because in my node_models for node-red it has installed it there?
Ohai,
i found an issue when using the "obs raw request"-node. It just doesn't accept any data. The error message states "Wrong data type. Needs to be a valid json object. Is: "string"" when i'm clearly inputting JSON data.
I've tested this on a fresh install.
Node.js version: v16.16.0
Linux 5.4.0-122-generic x64 LE
OBS 27.1.3 at 64 bit Ubuntu via snap (yeah, i know)
I have attached a screenshot of the issue.
Let me know if you need anything else.
Hi, thank you for this module, can I kindly ask you to write an example?
I would use it with Alexa to change scene in OBS, I suppose I have to inject an object with in msg.payload the http string containing the name of the scene.
Thank you for help
As far as I can see, there can be only done simple requests, without batching. In 5.0.x the RequestBatch is no longer a request, it has its unique ID. I miss also "Sleep" Request.
With ws 4.9.1 and 0.1.0, I could make a simple batch request to p.e change a text, change its visibility, sleep for some seconds, and turn the visibility off in just a couple of nodes. Doing the same with 5.0 an 0.2.4 I need to perform various calls to get text ID as a SceneItem and then do each step in single nodes. Complex requests now needs dozens of nodes!. It's a real disaster if you have hundreds of batches to make a complex bot!
So please, could we have batch functionality back or give us a workaround? Please.
I'll try to downgrade everything meanwhile.
Hi! I'm finding a bit difficult migrating from WS 4.9.1 to 5.x (I have hundreds of calls to migrate). I have an old version of this node installed, that work with 4.9.1 flawlessly. If I update it to a new version, then my previous code stop working because the node now expects 5.x syntax so I would need to migrate everything in one single step.
It would be great if a fork of the old version could be done and uploaded as a brand new node (node-red-contrib-obs-ws4-compat?) to help doing the migration step by step with proper testing of every call. I would do myself if I knew how to do it, but it's far far far beyond my knowledge about github, npm and node-red package system.
Thank you in advance :)
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.