Giter Club home page Giter Club logo

node-red-contrib-crestron's Introduction

  • πŸ‘‹ Hi, I’m @songzh96
  • πŸ‘€ I’m interested in smart home, such as knx,crestron,zigbee,matter...
  • 🌱 I’m currently learning matter,esp
  • πŸ’žοΈ I’m looking to collaborate on ...
  • πŸ“« How to reach me ...

node-red-contrib-crestron's People

Contributors

songzh96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-crestron's Issues

crestron simpl+ module

Hi,
Your simpl+ part is only compiled for old x series processors.
You have also locked your module preventing recompile.

Best regards

Crestron closes connection

If I send about 10 values every 5 seconds to Crestron, Crestron closes the connection to the node. A reconnect isnt possible, i have to restart the Crestron Program via Toolbox. If I send the 10 values, let me say, every 60 Minutes the Connection is stable. Do you have an idea how to fix this issue?

"Error: connect ECONNREFUSED 192.168.2.13:9999"

Not passing all strings.

Crestron Program needs to be restarted because not all string values update or passed to Crestron.
Noted Red shows connected and debug shows data correctly to CrestNode. However, CrestNode strings show "" in Crestron ToolBox debug console.

SIMPL Windows: 4.15 (build: 4.1500.11)
SIMPL+ 4.06 (build: 4.0600.00)

INCLUDE4_2SERIES.DAT Version Information:
(2 Series) : 1.80
INCLUDE4.DAT Version Information:
(3 & 4 Series) : 2.14.157
Symlib2.Tio 1139 04/15/2021 07:20:24PM
iodev.tio 1139 04/15/2021 07:20:24PM

Other Crestron SW:
Device Database: 200.75 (build: 200.7500.001.00)
Crestron Database (cnctrldb22000.mdb) : 205.05 (build: 205.0500.004.00)
Crestron Toolbox: 3.09p20 (build: 3.0920.0042.0)
SIMPL+ Cross Compiler: 1.3

Password

Was wondering if you might like to share the Crestron source as I wanted to add a feature or two. 1) digital output to show the connection. 2) Digital to show activity. 3) May be even a debug serial string. I do all my work in 2 and 3 series units as I mostly do lighting systems.... Thank you very much in advance and have a great day.

Error: CList: could not obtain list mutex (status=-50),(TaskHoldingMutex=SMn001B)

Hi,

thanks for this contribution.

I've started to use this contribution with my Crestron MP2E and Node-Red. When I add multiple Cresnodes in SIMPL Windows, I start to get errors when I deploy. This is what I get:

Program Initialized.

MP2E>The SocketGetStatus returns: 1
The MyServer.SocketStatus returns: 1
Server started to 0.0.0.0 on port 9973 (status: 0)
Error: CList: could not obtain list mutex (status=-50),(TaskHoldingMutex=SMn001B)

Error: Unable to get m_pListenList Protection
The SocketGetStatus returns: 1
The MyServer.SocketStatus returns: 1
Server started to 0.0.0.0 on port 9976 (status: 0)
Error: CList: could not obtain list mutex (status=-50),(TaskHoldingMutex=SMn001B)

Error: Unable to get m_pListenList Protection
The SocketGetStatus returns: 1
The MyServer.SocketStatus returns: 1
Server started to 0.0.0.0 on port 9975 (status: 0)
The SocketGetStatus returns: 1
The MyServer.SocketStatus returns: 1
Server started to 0.0.0.0 on port 9974 (status: 0)

MP2E>ISTAT SPLUS SMn001B
Task is associated with Main Task for Symbol S-7.22.

image

Any chance you would share the password for Crestron to be able to look at it?

serial communication

Hi,
great job, but serial communication does not work. analog & digital is fine.

Error in sending to nodered char ":"

Hi, I think I found another strange behaviour.
If I send char ":" to nodered from the crestron processor, the string gets truncated.
for example
{"name":"light_I","value":"{"state":"ON","transition":"0"}"}
will result in receiving {"name"
Another example:
If I send one:two i receive just one, but if I send one@two I receive the full string.
Tried with different characters but so far only ":" is bracking the output

Error @ CresNode at line 167

Hi, thank you for this nice node. I was testing it on my system but I get this error time to time:

151. Error: splusmanagerapp.exe [App 1] # 2020-11-12 06:10:29  # Module S-7.3 : CresNode at line 167: Unhandled Exception: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at System.Text.StringBuilder.Remove(Int32 startIndex, Int32 length)
   at Crestron.Logos.SplusObjec152. Error: splusmanagerapp.exe [App 1] # 2020-11-12 06:10:29  # ts.CrestronString.Remove(Int32 length, Boolean bGrabLock)
   at Crestron.Logos.SplusObjects.CrestronStringExtentions.Remove(CrestronString CRString, Int32 length)
   at Crestron.Logos.SplusObjects.CrestronStringExtentions.Remove(CrestronString CRString,153. Error: splusmanagerapp.exe [App 1] # 2020-11-12 06:10:29  #  String matchStr, Int32 startPos)
   at Crestron.Logos.SplusLibrary.Functions.Remove(String matchStr, CrestronString input)
   at UserModule_CRESNODE.UserModuleClass_CRESNODE.SOCKETRX(SplusExecutionContext __context__)
   at UserModule_CRESNODE.UserMod154. Error: splusmanagerapp.exe [App 1] # 2020-11-12 06:10:29  # uleClass_CRESNODE.MYSERVER_OnSocketReceive_6(Object __Info__)
   at Amib.Threading.Internal.WorkItem.ExecuteWorkItem()
   at Amib.Threading.Internal.WorkItem.Execute()
   at Amib.Threading.SmartThreadPool.ExecuteWorkItem(WorkItem workItem)
   at Amib.155. Error: splusmanagerapp.exe [App 1] # 2020-11-12 06:10:29  # Threading.SmartThreadPool.ProcessQueuedItems()

I'm currently using the analog and serial signal only, no digital.
I think it is related to one of the serial inputs (nodered --> crestron) but the communication i send is just plain text..
Do you have any idea?

Expand the module to more than 10 outputs?

Hi
I have used the module and it works very well. Great job so far!
But is it possible to expand the module so we can get 100-200 outputs instead of 10?
I have already used my 10 outputs and are planning for 30 more :-)

String length

Is it possible to change (I assume this would be in the SIMPL+ code) the string length array to handle 180 characters? In my instance, Node-Red is sending out a sting of 175 characters and I only get 131 characters back in Crestron SIMPL windows program. Otherwise the code works perfectly for my application - thank you for writing this. Will be sure to send you some $ for use in my home automation system.

Please update the zip file

Hi.
The downloadeble zip file does have a wrong cres node file. When extracting this to the simplwindows program it does not show in the project window. But once I replace it with the oldest file compiled in 24/12 it does compile. Can you update zip with the latest 1.0.3 version of the cres node?

Great work by the way!

Should False be working?

Hi,

Great job by the way. I am trying to send either a bollean false or true dependent on when a sensor is open or closed. True works but false does not. I also tried sending a 1 or 0 via string inject. Any thoughts on if I am doing something wrong?

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.