¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: Crestron Home with Unifi Cameras

 
Edited

I don't think so, I have checked room setttings and it is checked and I have check menu items and cameras is checked in there too.

Right now on the configuration for the Camera, I have cut and pasted the URI from Unifi into the Stream URI.? I have removed the s from the rtsp, changed the port to 7447 from 7441 and removed everything after the ?.? Is there anything else I need to do to make it work?

Oh and I left the Snapshot URI blank


Re: Data Type Conversion #simplsharp

 

I'm not following your code completely, but the second parameter of Convert.ToInt16 is the base - default is 10, decimal.? Base 16 would be hexadecimal, and I don't know of anything that uses base 32.


On Wed, Feb 16, 2022 at 7:05 AM <charles@...> wrote:

I am having difficulty understanding datatype conversion from SIMPL# to SIMPL+. Currently, I am trying to parse return data from SIMPL+ using my SIMPL# library. The return data comes into SIMPL# as a SimplSharpString. I parse the string then attempt to convert it to a USHORT so that I can have it come out of my SIMPL+ module as an analog signal. Does anyone know a good resource for understanding datatype conversion between SIMPL# and SIMPL+?

Below are some code snippets:

SIMPL+ Analog Output Definition:
ANALOG_OUTPUT? ? LampHours;


SIMPL+? Analog Output Update:

CALLBACK FUNCTION PJLampHoursDataEventHandler(INTEGER hours)

{

LampHours = hours;

?

}

SIMPL+ Delegate Registration:
RegisterDelegate(myPjClass, PJLampStatusEvent, PJLampHoursDataEventHandler);

Event Definition SIMPL#:
? ? ? ? public delegate void PJLampDataHandler(ushort data);
? ? ? ? public PJLampDataHandler PJLampStatusEvent { set; get; }

Part of my SIMPL# CheckResponse Definition:? ? ? ?
? ? ? ? public void CheckResponse(SimplSharpString data)
? ? ? ? {
? ? ? ? ? ? ? ? else if (data.ToString().Contains(ack))
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ParseReturnData(data);
? ? ? ? ? ? ? ? }

Part of my SIMPL# ParseReturnData:
? ? ? ? public void ParseReturnData(SimplSharpString data)
? ? ? ? {
? ? ? ? ? ? ushort PjLampHours = new ushort();
? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? case 3: //Lamp
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? try
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? holder = data.ToString().Substring(3, 1);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //uShortHolder = (ushort)Convert.ToInt32(data.ToString().Substring(3, 1), 16);
?
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (debug > 0)
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? CrestronConsole.Print("\n\rtest holder = {0}", holder);
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //CrestronConsole.Print("\n\rtest uShortholder = {0}", uShortHolder.ToString());
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
?
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? PjLampHours = (ushort)Convert.ToInt16(holder, 32);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //PjLampHours = (ushort)Convert.ToInt16(data.ToString().Substring(3, 1), 32);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //PjLampHours = (ushort)Convert.ToInt32(data.ToString().Substring(3, 1), 16);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? PJLampStatusEvent(PjLampHours);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }

SIMPL# Print to Console:
? ? ? ? ? ? ? ? if (debug > 0) CrestronConsole.Print("\n\rCurrent PJ Settings: \n\rPjpowerState: {0}\n\rPjcurrentInput: {1}\n\rPjLampHours: {2}\n\rPjcurrentVolume: {3}", Convert.ToString(PjpowerState), Convert.ToString(PjcurrentInput), Convert.ToString(PjLampHours), Convert.ToString(PjcurrentVolume));

What I am seeing in console:
Current PJ Settings:?
PjpowerState: 0
PjcurrentInput: 0
PjLampHours: 0
PjcurrentVolume: 0
?


Re: Error from Multiple program slots used

 

It's safe to ignore, or you can comment out the USB slot on any program running in slot 2+.


Re: CNTBLOCK brain fart

 

Also, if one of those supplies fails, the other will either go into current limiting or if poorly designed then let out the blue smoke with possible 'orrible consequences.


How's it Working Series: TV Presets v2

 

Hi all,
Looks like its been about a year since the TV Presets v2 has been discussed.
How is it working for others?
I know that there was some discussion about the sizing/formatting - has this been improved, or best practice been found to mitigate?
Any other issues or ideas for this feature?? particularly for the TSR310?

TIA!?


Re: CNTBLOCK brain fart

 

It's more of a NEC code thing.? I believe the maximum power delivered by low voltage Class 2 wiring is 100VA -- that would be about 4A at 24VDC.? Considering most power supplies will actually deliver more than their rated output is probably the reason why the largest Crestron's power supplies are rated for 3A at 24VDC per leg to avoid a situation of exceeding the 100VA limit.

Putting power supplies in parallel is highly depended on the power supply. But in most cased you will find that the one delivering higher voltage will land up delivering most of the current and the other lower voltage one will only start sharing the current load when the higher voltage power supply goes into currently limiting mode (assuming it has current limiting).


How's it Working Series: SRL

 

Hi all,
*** I thought I start a little series about various tools to gauge the latest success/problems with some items...

I have specifically not used the SRL because for years (long ago!...) it had issues and generally choked the older panels (x50, x52)...
I'm looking to completely redo my UIs and would like to incorporate the SRL features.
With the x60/x70 panels, TSR310 and iOS apps, has anyone had any lingering issues to be concerned with or any do/don't do items when applying this object??
TIA!!


Error from Multiple program slots used

 

Hi All,
I've seen this 'error' on a number of projects after program restarts and reboots, definitely with 3-series (can't confirm with 4-series), If I have 2+ programs running.
Error: LogicEngine.exe [App 2] # 2022-02-12 21:39:48? # Exclusive device Slot-10 Port 1 is already in use by Program 01

Slot 10 is the USB-HID1 feature, that I not only never used, I don't even know what I'd do with it!!??
I assume that if I commented it out on one/all of the programs it would eliminate the error.
Just wondering what others' experience, comments concerns are regarding this...and what best practice should be??
TIA!


Re: CNTBLOCK brain fart

 

>2-24 vdc power supplies in parallel is still 24 vdc.

Theoretically yes, practically no.

Do NOT connect power supplies in parallel unless the power supply is designed and specified for being connected in parallel!
It has been a while, but I have seen expensive eqipment getting damaged because of this.

Stay safe
Crestronfreak55


Re: CNTBLOCK brain fart

 

¿ªÔÆÌåÓý

Also, additional power supplies up¡¯s the amperage ¨C which means bigger wire guage to devices and the components internal circuitry needs to be beefed up to handle the possible larger amperage ?

?

From: [email protected] <[email protected]> On Behalf Of Mitch Bigelow
Sent: Wednesday, February 16, 2022 8:15 AM
To: [email protected]
Subject: Re: [crestron] CNTBLOCK brain fart

?

There's a potential issue if the power supplies are slightly different.

If you have two power supplies, one at 23.5v and one at 24.5v, the higher could backfeed into the lower and damage it if it's not designed to handle this.


Topics in Home Automation - New Article in Residential Tech Today

 

¿ªÔÆÌåÓý

My latest article, "How SimpliSafe Compares to a Traditional Security System¡± is being published by the good folks at Residential Tech Today Magazine on their web site.

SimpliSafe is one of the most popular DIY installed alarm systems. This article looks at how a SimpliSafe alarm system compares with a traditional alarm system that requires professional installation. As part of that comparison it examines how a SimpliSafe alarm system fits into an overall smart home.

You can find the article here:

For those interested in earlier articles that I've written, you can find those here:

Finally, for those that want to see even more content I've written about smart home technology you can find that here:

Thanks


Re: Unable to Show controls on a SRL

 

Yes you cant have objects in a SRL that can be swiped the same direction- one has to be vertical and the other must be horizontal or vice versa.?


Re: CNTBLOCK brain fart

 

There's a potential issue if the power supplies are slightly different.

If you have two power supplies, one at 23.5v and one at 24.5v, the higher could backfeed into the lower and damage it if it's not designed to handle this.


Data Type Conversion #simplsharp

 

I am having difficulty understanding datatype conversion from SIMPL# to SIMPL+. Currently, I am trying to parse return data from SIMPL+ using my SIMPL# library. The return data comes into SIMPL# as a SimplSharpString. I parse the string then attempt to convert it to a USHORT so that I can have it come out of my SIMPL+ module as an analog signal. Does anyone know a good resource for understanding datatype conversion between SIMPL# and SIMPL+?

Below are some code snippets:

SIMPL+ Analog Output Definition:
ANALOG_OUTPUT? ? LampHours;


SIMPL+? Analog Output Update:

CALLBACK FUNCTION PJLampHoursDataEventHandler(INTEGER hours)

{

LampHours = hours;

?

}

SIMPL+ Delegate Registration:
RegisterDelegate(myPjClass, PJLampStatusEvent, PJLampHoursDataEventHandler);

Event Definition SIMPL#:
? ? ? ? public delegate void PJLampDataHandler(ushort data);
? ? ? ? public PJLampDataHandler PJLampStatusEvent { set; get; }

Part of my SIMPL# CheckResponse Definition:? ? ? ?
? ? ? ? public void CheckResponse(SimplSharpString data)
? ? ? ? {
? ? ? ? ? ? ? ? else if (data.ToString().Contains(ack))
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ParseReturnData(data);
? ? ? ? ? ? ? ? }

Part of my SIMPL# ParseReturnData:
? ? ? ? public void ParseReturnData(SimplSharpString data)
? ? ? ? {
? ? ? ? ? ? ushort PjLampHours = new ushort();
? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? case 3: //Lamp
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? try
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? holder = data.ToString().Substring(3, 1);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //uShortHolder = (ushort)Convert.ToInt32(data.ToString().Substring(3, 1), 16);
?
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (debug > 0)
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? CrestronConsole.Print("\n\rtest holder = {0}", holder);
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //CrestronConsole.Print("\n\rtest uShortholder = {0}", uShortHolder.ToString());
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
?
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? PjLampHours = (ushort)Convert.ToInt16(holder, 32);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //PjLampHours = (ushort)Convert.ToInt16(data.ToString().Substring(3, 1), 32);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? //PjLampHours = (ushort)Convert.ToInt32(data.ToString().Substring(3, 1), 16);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? PJLampStatusEvent(PjLampHours);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }

SIMPL# Print to Console:
? ? ? ? ? ? ? ? if (debug > 0) CrestronConsole.Print("\n\rCurrent PJ Settings: \n\rPjpowerState: {0}\n\rPjcurrentInput: {1}\n\rPjLampHours: {2}\n\rPjcurrentVolume: {3}", Convert.ToString(PjpowerState), Convert.ToString(PjcurrentInput), Convert.ToString(PjLampHours), Convert.ToString(PjcurrentVolume));

What I am seeing in console:
Current PJ Settings:?
PjpowerState: 0
PjcurrentInput: 0
PjLampHours: 0
PjcurrentVolume: 0
?


Re: CNTBLOCK brain fart

 

Perhaps someone here smarter then me can explain why Crestron insists that a cresnet device can only be powered by a single power supply?? 2-24 vdc power supplies in parallel is still 24 vdc.? There is no phase issues like you could run into like you could with 24 vac.? The volts are the same just more capacity.


Re: CNTBLOCK brain fart

 

For anyone else not sure about the jumper, it's not something you unplug.? It's a wire that needs to be snipped or un-soldered.? I always knew of it's existence but never needed to deal with it until now.


Crestron Home with Unifi Cameras

 

I must apologize in advance is someone has already answered this question.? I am trying to set up my first crestron home and I want to add in my Unifi Cameras.? I have added a manual camera but when I go back out to the user interface, there are no cameras listed.? Can someone give me a procedure for connecting my Crestron Home to my Unifi Cameras please?


Re: CH5 web panel release

 

I loaded with toolbox and didn't notice the radio button about it being mobile vs xpanel.? Changed it to xpanel and now the url to the processor works:?https://172.16.64.21/ch5-test/index.html However, I don't see the presses in debugger yet.? It feels so close :)


Re: CH5 web panel release

 

you need to load it from the processor, push the ch5z file to the processor and use that link to open the web xpanel


Re: CH5 web panel release

 

After the first load it starts a 60 day count down timer for a free trail.? It is automatic and my timer started today.? From what I read it sounds like you can restore your processor and reset the timer.? This would be for demo purposes, of course.? The command?CRESTRONONETPR? will report the days left.??