Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Trouble with Newtonsoft
toggle quoted message
Show quoted text
Hi Jay, |
Re: CP4 versiports "locking up"
¿ªÔÆÌåÓýHi, ? got feedback from TB. They looked into the logs and found some entries where heatbeat was lost to the io controller forcing a restart. However, the reason is unclear. They are running my program on a lab processor, but I think chances are low that the issue will occour because it happens rarely. However, they suggested to upgrade fw to the latest ¨C indeed the fw i?m running on this device was pretty old and there are some mentions of fixes with regards to the IOP in some of the release notes. ? Cheers, Thorsten ? Von: thorsten.koehler@... <thorsten.koehler@...> ? Hi, ? thanks for all the responses. I?ve opened a ticket with TB, ticket numer ? To those who also have the same issue: Could you please open a ticket as well if not done already? I?d prefer to have that fixed rather than swapping out the control processor ? ? Thanks, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von Oliver Pemberton ? I'm glad it's not just me. I have seen IR just stop working on a CP4 until a reboot. In fact 2 out of 3 jobs where we replaced a 3 series with a 4 series we've ended up putting the 3 series back in to maintain reliability. ? OP |
Re: Modules exhibit weird behavior after recompile
¿ªÔÆÌåÓýHi, it would help if you could describe the ¡°unpredictable behaviour¡± a bit more in detail. ? ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von F David A Coker ? Hey Crew, I have a weird scenario that I have been experiencing on a couple of my jobs.? I have an existing program on a CP3N that works just fine.? I recompile it with the latest databases etc. and now it exhibits unpredictable behavior.? This has happened twice in the last week.? Does anyone have any suggestions?? By the way, the program has not changed at all, just a recompile with the latest files.? Oh and the module was a S+ module on both scenarios. |
Trouble with Newtonsoft
Having a problem using newtonsoft to parse some very simple json.? The json is as follows:
JSON = {"acState": {"timestamp": {"time": "2021-06-16T02:43:50.929326Z", "secondsAgo": 0}, "on": true, "mode": "fan", "fanLevel": "low", "light": "on"}} In my S# I have the following class ??? public class acState ??? { ??? ??? public bool on { get; set; } ??? ??? public string fanLevel{ get; set; } ??? ??? public string light{ get; set; } ??? ??? //mode and the timestamp are omitted because I don't care about their values ??? } I'm parsing with the following. ??? ??? ??? ??? acState Data = JsonConvert.DeserializeObject<acState>(JSON); However when I do some CrestronConsole.PrintLine statements to view the elements of the class the bool on is set to false and the other elements are empty.? No error is being thrown. I know it has to be something basic that I'm just having trouble seeing.? Any ideas would be greatly appreciated. Thanks in advance for the help Jay |
Modules exhibit weird behavior after recompile
Hey Crew, I have a weird scenario that I have been experiencing on a couple of my jobs.? I have an existing program on a CP3N that works just fine.? I recompile it with the latest databases etc. and now it exhibits unpredictable behavior.? This has happened twice in the last week.? Does anyone have any suggestions?? By the way, the program has not changed at all, just a recompile with the latest files.? Oh and the module was a S+ module on both scenarios.
Thanks, DAVE |
Latest Toolbox
So downloaded the latest version of the databases and toolbox. Now can't get any info from connected devices. Connect to processor, TPs, gateways etc and all I get is connected, receiving data. System Info remains blank. Have uninstalled and reinstalled, no difference.
Tried connecting to FTP site and can't do that either. |
Re: Series 3 FW v1.8000.0014
Cool, Thanks guys!! (And any others who want to chime in!)
Rob, What was your Sonos Connection issues? I ask because I'll never recoup the losses from the last year of Sonos Trouble-shooting and custom re-work of my code to make things more reliable (i.e. self-healing...)... |
Re: Controlling powerpoint presentation from Crestron
Thank you for the answer Thorsten.
I did try that software but did not get it to work that good. So ended up using the MCE program instead. That works fine but I cant find all the commands for controling Powerpoint, exept stop/start program and keyboard commands. Would be nice if anybody has found a better solution :) |
Re: Authorization for Connections
Great thanks for the info! Ive been in the habit for a while to set the Crestron App user credentials to Operator as in the past anything lower was just unreliable. But as for TSWs/TSRs I never setup the SETCSAUTHENTICATION and everything still works fine. As long as SECUREGATEWAYMODE is "default" the setcsauthentication is not necessary as it will use SCIP or CIP ports to communiate with the devices. I dont really see the need to turn it on especially in a resi settting and add more complication.?
|
Re: C# DLL version.
#simplsharp
¿ªÔÆÌåÓýusing Crestron.SimplSharp.Reflection; ? Assembly.GetExecutingAssembly().GetName().Version.ToString() ? Caleb Radecky |
Manager, Online Products & Services ? From: [email protected] <[email protected]> On Behalf Of
Daniel Portugal
Sent: Monday, June 14, 2021 21:08 To: [email protected] Subject: [crestron] C# DLL version. #simplsharp ? [Edited Message Follows] 3-series environment. So playing in the? sandbox. [assembly: AssemblyVersion("1.0.*")]
|
C# DLL version.
#simplsharp
3-series environment. So playing in the? sandbox.
Unfortunately i cant use System.Reflection.Assembly. //CrestronConsole.PrintLine(" Version:" + typeof(AvRouter).Assembly.GetName().Version.ToString()); I set my VS 2008 assembly to auto increment. [assembly: AssemblyVersion("1.0.*")]
How do i get the actual version of the file to print to console? |
CLS-C6RF with Cresnet Control
Has anyone tried controlling the RF model with cresnet instead of wireless?
It has the same cresnet port in the back as the non RF version but it does have a sticker that says not in use. I am hoping you can still use it or turn it on by forcing the non RF firmware on it. Regards, |