¿ªÔÆÌåÓý

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

Re: VisionTools - compilation issue

 

Trying to remember what I have done in the past to fix this.

I believe I had to move the file to a new folder, rename the file, save the file under a new name or a combination of all these.


Re: Cool automation v2.1 Modules

 

I have used the Coolpoint many times on Daikin and Mitsubishi splits and VRV. It works perfectly. As with the normal AC system remote, the Power_OFF and Power_ON are the unit Off/On in its same state. Mode changes H/C/F? and SP adjust Set Point. Only word of caution is don't display Room Temp to the user, unless you have a separate wall mounted sensor in a good place, otherwise it measures the temp in the return plenum by the fan coil, and this is wildly different from the RT. My usual TP layout is a simple ON/OFF, SP with UP/DN and MODE. Sometimes louvre control if appropriate.


VisionTools - compilation issue

 

Good morning,

I am experiencing complilation issue with my Crestrron App projects.
I am using custom template and to this day everything working corecctly. Now compilations stucks at the end of the process.

Tried to reinstall all Crestron software but problem stioll exists.


Re: Multizone Audio Player with Scheduler

 

Put this on a pc with multiple USB audio cards or Dante?

We've used it and it worked well


Cool automation v2.1 Modules

 

Hi All,
I'm integrating my first mini-split system (mitsubishi) with the Cool Automation setup with the v2.1 modules.
Unlike the Crestron stats, the CA modules do not have a Mode_OFF commands. I have discussed with their tech people and they said to use the Power_OFF for Mode OFF, which makes sense for this kind of unit.
This begs the question - does selecting an operating mode (Cool, Heat, etc) automatically turn the system on and select the mode? or do I have to send it the ON command and then the Mode command?

TIA!!


Re: How to store files on VC4?

 

Are you doing this is Simpl# or Simpl+


Thank you
Jon


Re: Ccs-uc-1 vs Ccs-uc-1-AV

 

Not sure, but this seems like a good question for your rep.

On Wed, Nov 9, 2022 at 8:38 AM fbragasp via <fbragasp=[email protected]> wrote:
Anyone? thank you, F

Guys, have you had ever upgraded a ccs-uc-1 to a ccs-uc-1-AV adding a HDMI and AirMedia license? I?ve a ccs-uc-1 and I would like to add these licences without swapping the hardware. Does anyone knows if it?s a software or a hardware difference? Thank you! F.?


Topics in Home Automation - New Article in Residential Tech Today

 

My latest article, "How the Everything Set Box Handles Smart Home Network Security¡± is being published by the good folks at Residential Tech Today Magazine on their web site.

Network security in a smart home is becoming more, and more, of an issue.? Everything Set is introducing a new network security appliance, the Everything Set box that uses AI to monitor devices connected to a homeowner's network for malicious activity, including smart devices.? The article explores this new product offering and how it focuses on security while maintaining the privacy of the homeowners.

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: Ccs-uc-1 vs Ccs-uc-1-AV

 

Anyone? thank you, F

Guys, have you had ever upgraded a ccs-uc-1 to a ccs-uc-1-AV adding a HDMI and AirMedia license? I?ve a ccs-uc-1 and I would like to add these licences without swapping the hardware. Does anyone knows if it?s a software or a hardware difference? Thank you! F.?


Multizone Audio Player with Scheduler

 

Please suggest a cheap stand alone audio player which can play some stored music files based on schedule. Preferred minimum 4 zones and a web based scheduler. Something similar to this but with more zones.


Re: XML in vs2008 #simplsharp

 

Thanks guys! I have it working now. I really appreciate the help.


Re: XML in vs2008 #simplsharp

 

¿ªÔÆÌåÓý

Here is part of the code I wrote for reading xml data from a file for a module I have that tracks the angle and elevation of the sun, compares that with data for each window, and automates the operation of shades based on whether the sun is shining through a window or not.

Hope this helps

??????? private bool Read_XML_Data(string xml_data_file, string path)
??????? {
??????????? try
??????????? {
??????????????? string file_path = String.Format("\\{2}\\{0}\\{1}", InitialParametersClass.ProgramIDTag, xml_data_file, path);

??????????????? //Check if the File Exists
??????????????? if (!Crestron.SimplSharp.CrestronIO.File.Exists(file_path))
??????????????? {
??????????????????? return (false);
??????????????? }

??????????????? //open xml file
??????????????? XDocument doc;
??????????????? FileStream fs = new FileStream(file_path, FileMode.Open, FileAccess.Read);
??????????????? XmlReader xr = new XmlReader(fs);
??????????????? xr.MoveToContent();
??????????????? doc = XDocument.Load(xr);

??????????????? #region Read General Information
??????????????? XElement generalElement = doc
??????????????????? .Element("ShadeInformation")
??????????????????? .Element("GeneralInformation");

?? ???? ??? ??? if (((string)generalElement.Element("version")) == null)??? ??? //Check if version is embedded in XML file
?? ???? ??? ??? {
?? ???? ??? ??? ??? xml_version = 1;??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? //if no version embedded in xml then it is version 1
?? ???? ??? ??? }
?? ???? ??? ??? else
?? ???? ??? ??? {
?? ???? ??? ??? ??? xml_version = Convert.ToDouble(generalElement.Element("version").Value);
?? ???? ??? ??? }

??????????????? latitude = Convert.ToDouble(generalElement.Element("latitude").Value);

??????????????? longitude = Convert.ToDouble(generalElement.Element("longitude").Value);

??????????????? magnetic_declination_degrees = Convert.ToDouble(generalElement.Element("magnetic_declination_degrees").Value);
??????????????? #endregion

??????????????? #region Read Shade Data
??????????????? //Find root element for data for each shade
??????????????? XElement root_shade = doc
??????????????????? .Element("ShadeInformation")
??????????????????? .Element("Shades");

??????????????? //count the number of shades
??????????????? int s_count = root_shade.Elements().Count();

??????????????? //allocate storage for data
??????????????? shade_data = new shade[s_count];

??????????????? IEnumerable<XElement> shades = root_shade.Elements();

??????????????? int j = 0;??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? //initialize index counter
??????????????? foreach (XElement sh in shades)??? ??? ??? ??? ??? ??? ??? ??? ??? //loop through xml elements
??????????????? {
?? ???? ??? ??? ??? #region Shade Data
?? ???? ??? ??? ??? //create new shade instance
??????????????????? shade_data[j] = new shade();

??????????????????? //read data elements from xml file and add them to the object instance
??????????????????? shade_data[j].name = sh.Element("name").Value;

On 11/8/2022 12:54 PM, Bruce Levy via groups.io wrote:

I was able to use XDocument on 3 series

using Crestron.SimplSharp.CrestronXmlLinq;

XDocument xdoc = XDocument.Parse(xmlString);


On Nov 8, 2022, at 1:44 PM, Alex Teague <alext@...> wrote:

I'm working with a device that returns an XML payload upon query.? I have this device working perfectly on 4 series BUT now I need to make this backwards compatible with 3 series (using vs2008 and CF 3.5) because of the processor shortage. I can't figure out what the best method is to manage and then deserialize the XML properly. What I'm doing on 4 series is deserializing using another class I created which doesn't exist in the CF 3.5 sandbox.

Example Code on 4 Series:

using (StreamReader sr = new StreamReader(s)) //"s" is my response stream from a webrequest
? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? var xmlData = sr.ReadToEnd();? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? using (var ms = new MemoryStream(Encoding.UTF8.GetBytes(xmlData)))
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? XmlSerializer serializer = new XmlSerializer(typeof(ExampleDataModel), new XmlRootAttribute("data"));
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ExampleDataModel?data = (ExampleDataModel) serializer.Deserialize(ms);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? // do other stuff with my data
? ? ? ? ? ? ? ? ? ? ? ? ? ? }

Example of the XML return from my device

<?xml version="1.0" encoding="UTF-8" ?>
<data serial="0x4a">
? ? <ts>1667580367</ts>
? ? <r t="P" n="Name2" did="2">
? ? ? ? <v>9215522798</v>
? ? ? ? <i>0</i>
? ? </r>
? ? <r t="P" n="Name3" did="3">
? ? ? ? <v>6551567803</v>
? ? ? ? <i>0</i>
? ? </r>
? ? <r t="P" n="Name15" did="15">
? ? ? ? <v>-6025876766</v>
? ? ? ? <i>6</i>
? ? </r>
? ? <r t="P" n="Name4" did="4">
? ? ? ? <v>-6372792531</v>
? ? ? ? <i>6</i>
? ? </r>
? ? <r t="P" n="Name5" did="5">
? ? ? ? <v>81964060</v>
? ? ? ? <i>-5</i>
? ? </r>
? ? <r t="P" n="Name6" did="6">
? ? ? ? <v>-664628793</v>
? ? ? ? <i>-9</i>
? ? </r>
? ? <r t="P" n="Name7" did="7">
? ? ? ? <v>-598632391</v>
? ? ? ? <i>-10</i>
? ? </r>
? ? <r t="P" n="Name9" did="9">
? ? ? ? <v>-7313215090</v>
? ? ? ? <i>-87</i>
? ? </r>
? ? <r t="P" n="Name10" did="10">
? ? ? ? <v>-2644948853</v>
? ? ? ? <i>-90</i>
? ? </r>
? ? <r t="P" n="Name11" did="11">
? ? ? ? <v>-1432490</v>
? ? ? ? <i>-3</i>
? ? </r>
? ? <r t="P" n="Name12" did="12">
? ? ? ? <v>-6767026506</v>
? ? ? ? <i>-444</i>
? ? </r>
? ? <r t="P" n="Name13" did="13">
? ? ? ? <v>-4801078066</v>
? ? ? ? <i>-228</i>
? ? </r>
? ? <r t="P" n="Name8" did="8">
? ? ? ? <v>-2331104692</v>
? ? ? ? <i>-104</i>
? ? </r>
? ? <r t="P" n="Name0" did="0">
? ? ? ? <v>40365273148</v>
? ? ? ? <i>747</i>
? ? </r>
? ? <r t="P" n="Name1" did="1">
? ? ? ? <v>36484275778</v>
? ? ? ? <i>569</i>
? ? </r>
</data>

Any help is greatly appreciated as I'm currently stuck.


Re: XML in vs2008 #simplsharp

 

¿ªÔÆÌåÓý

I was able to use XDocument on 3 series

using Crestron.SimplSharp.CrestronXmlLinq;

XDocument xdoc = XDocument.Parse(xmlString);


On Nov 8, 2022, at 1:44 PM, Alex Teague <alext@...> wrote:

I'm working with a device that returns an XML payload upon query.? I have this device working perfectly on 4 series BUT now I need to make this backwards compatible with 3 series (using vs2008 and CF 3.5) because of the processor shortage. I can't figure out what the best method is to manage and then deserialize the XML properly. What I'm doing on 4 series is deserializing using another class I created which doesn't exist in the CF 3.5 sandbox.

Example Code on 4 Series:

using (StreamReader sr = new StreamReader(s)) //"s" is my response stream from a webrequest
? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? var xmlData = sr.ReadToEnd();? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? using (var ms = new MemoryStream(Encoding.UTF8.GetBytes(xmlData)))
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? XmlSerializer serializer = new XmlSerializer(typeof(ExampleDataModel), new XmlRootAttribute("data"));
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ExampleDataModel?data = (ExampleDataModel) serializer.Deserialize(ms);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? // do other stuff with my data
? ? ? ? ? ? ? ? ? ? ? ? ? ? }

Example of the XML return from my device

<?xml version="1.0" encoding="UTF-8" ?>
<data serial="0x4a">
? ? <ts>1667580367</ts>
? ? <r t="P" n="Name2" did="2">
? ? ? ? <v>9215522798</v>
? ? ? ? <i>0</i>
? ? </r>
? ? <r t="P" n="Name3" did="3">
? ? ? ? <v>6551567803</v>
? ? ? ? <i>0</i>
? ? </r>
? ? <r t="P" n="Name15" did="15">
? ? ? ? <v>-6025876766</v>
? ? ? ? <i>6</i>
? ? </r>
? ? <r t="P" n="Name4" did="4">
? ? ? ? <v>-6372792531</v>
? ? ? ? <i>6</i>
? ? </r>
? ? <r t="P" n="Name5" did="5">
? ? ? ? <v>81964060</v>
? ? ? ? <i>-5</i>
? ? </r>
? ? <r t="P" n="Name6" did="6">
? ? ? ? <v>-664628793</v>
? ? ? ? <i>-9</i>
? ? </r>
? ? <r t="P" n="Name7" did="7">
? ? ? ? <v>-598632391</v>
? ? ? ? <i>-10</i>
? ? </r>
? ? <r t="P" n="Name9" did="9">
? ? ? ? <v>-7313215090</v>
? ? ? ? <i>-87</i>
? ? </r>
? ? <r t="P" n="Name10" did="10">
? ? ? ? <v>-2644948853</v>
? ? ? ? <i>-90</i>
? ? </r>
? ? <r t="P" n="Name11" did="11">
? ? ? ? <v>-1432490</v>
? ? ? ? <i>-3</i>
? ? </r>
? ? <r t="P" n="Name12" did="12">
? ? ? ? <v>-6767026506</v>
? ? ? ? <i>-444</i>
? ? </r>
? ? <r t="P" n="Name13" did="13">
? ? ? ? <v>-4801078066</v>
? ? ? ? <i>-228</i>
? ? </r>
? ? <r t="P" n="Name8" did="8">
? ? ? ? <v>-2331104692</v>
? ? ? ? <i>-104</i>
? ? </r>
? ? <r t="P" n="Name0" did="0">
? ? ? ? <v>40365273148</v>
? ? ? ? <i>747</i>
? ? </r>
? ? <r t="P" n="Name1" did="1">
? ? ? ? <v>36484275778</v>
? ? ? ? <i>569</i>
? ? </r>
</data>

Any help is greatly appreciated as I'm currently stuck.


XML in vs2008 #simplsharp

 

I'm working with a device that returns an XML payload upon query.? I have this device working perfectly on 4 series BUT now I need to make this backwards compatible with 3 series (using vs2008 and CF 3.5) because of the processor shortage. I can't figure out what the best method is to manage and then deserialize the XML properly. What I'm doing on 4 series is deserializing using another class I created which doesn't exist in the CF 3.5 sandbox.

Example Code on 4 Series:

using (StreamReader sr = new StreamReader(s)) //"s" is my response stream from a webrequest
? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? var xmlData = sr.ReadToEnd();? ? ? ? ? ? ? ? ? ? ? ? ? ??
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? using (var ms = new MemoryStream(Encoding.UTF8.GetBytes(xmlData)))
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? XmlSerializer serializer = new XmlSerializer(typeof(ExampleDataModel), new XmlRootAttribute("data"));
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ExampleDataModel?data = (ExampleDataModel) serializer.Deserialize(ms);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? // do other stuff with my data
? ? ? ? ? ? ? ? ? ? ? ? ? ? }

Example of the XML return from my device

<?xml version="1.0" encoding="UTF-8" ?>
<data serial="0x4a">
? ? <ts>1667580367</ts>
? ? <r t="P" n="Name2" did="2">
? ? ? ? <v>9215522798</v>
? ? ? ? <i>0</i>
? ? </r>
? ? <r t="P" n="Name3" did="3">
? ? ? ? <v>6551567803</v>
? ? ? ? <i>0</i>
? ? </r>
? ? <r t="P" n="Name15" did="15">
? ? ? ? <v>-6025876766</v>
? ? ? ? <i>6</i>
? ? </r>
? ? <r t="P" n="Name4" did="4">
? ? ? ? <v>-6372792531</v>
? ? ? ? <i>6</i>
? ? </r>
? ? <r t="P" n="Name5" did="5">
? ? ? ? <v>81964060</v>
? ? ? ? <i>-5</i>
? ? </r>
? ? <r t="P" n="Name6" did="6">
? ? ? ? <v>-664628793</v>
? ? ? ? <i>-9</i>
? ? </r>
? ? <r t="P" n="Name7" did="7">
? ? ? ? <v>-598632391</v>
? ? ? ? <i>-10</i>
? ? </r>
? ? <r t="P" n="Name9" did="9">
? ? ? ? <v>-7313215090</v>
? ? ? ? <i>-87</i>
? ? </r>
? ? <r t="P" n="Name10" did="10">
? ? ? ? <v>-2644948853</v>
? ? ? ? <i>-90</i>
? ? </r>
? ? <r t="P" n="Name11" did="11">
? ? ? ? <v>-1432490</v>
? ? ? ? <i>-3</i>
? ? </r>
? ? <r t="P" n="Name12" did="12">
? ? ? ? <v>-6767026506</v>
? ? ? ? <i>-444</i>
? ? </r>
? ? <r t="P" n="Name13" did="13">
? ? ? ? <v>-4801078066</v>
? ? ? ? <i>-228</i>
? ? </r>
? ? <r t="P" n="Name8" did="8">
? ? ? ? <v>-2331104692</v>
? ? ? ? <i>-104</i>
? ? </r>
? ? <r t="P" n="Name0" did="0">
? ? ? ? <v>40365273148</v>
? ? ? ? <i>747</i>
? ? </r>
? ? <r t="P" n="Name1" did="1">
? ? ? ? <v>36484275778</v>
? ? ? ? <i>569</i>
? ? </r>
</data>

Any help is greatly appreciated as I'm currently stuck.


Re: AVpro Edge MXnet

 

I would expect end of year or into early January due to final testing requirements and holidays. Earlier if everything is good but always planning for worse case.


Re: AVpro Edge MXnet

 

Great. ?Thank you. ?I will let my clients know. ? About a month?


Re: AVpro Edge MXnet

 

Not currently, our updated driver modules will include this capability. I'll post here when they are available in the next month or two.
The drivers are redone and will have more capability and better performance than our current modules.

Cody


Re: AVpro Edge MXnet

 

Is there a way to monitor the state of transmitters or receivers so I know if they are online or offline. ?


Re: AVpro Edge MXnet

 

Hi Phil, download our latest models, the driver library issue has already been resolved :)
Thank you!


Re: AVpro Edge MXnet

 

I've been having some trouble with their SIMPL modules as well. Routing works well but we ran into problems with the CBox locking up when there's large amount of traffic over the serial communications modules. I also found out that you can't use the MXNet modules with the latest certified drivers due to library version conflicts. I have tickets for both issues open but I haven't heard back from them in a while. AVPro Edge did say they? reached out to Janus to update the libraries, though.