Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Simpl+ MAKESTRING sends characters of the bytes and not the bytes
Its not sending ascii, its sending hex.? In your makestring you are using?\xB7%08lX X: ?Specifies an ANALOG_INPUT, ANALOG_OUTPUT, or INTEGER to be printed as an uppercase hexadecimal number. There is most likely a better way to do it, this what I figured out. |
Simpl+ MAKESTRING sends characters of the bytes and not the bytes
Guys, I have this weird problem with Simpl+. I have posted the same to the FB group also so sorry if you see it again.
?
I want to send a string to a device through UDP. The string consists of 10 bytes.
The first 4 bytes are always the same like "\x02\x50\x32\xB7".
The last 2 bytes are always the same like "\x04\x0D".
The 4 bytes in the middle (byte5, byte6 and byte7,byte8) are calculated each time and added to the string and essentially they represent a 32bit long integer.
So I am creating a string like this:
MAKESTRING(command,"\x02\x50\x32\xB7%08lX\x04\x0D",createBytes());
The problem is that the long integer is not received as 4 bytes. It is received as characters resulting in different bytes, as you understand.
For example
if the calculated long integer is 0xFFAABBCC, I am getting \x46\x46\x41\x41\x42\x42\x43\x43, instead of \xFF\xAA\xBB\xCC.
What can I do to fix this? Is there another way to create the string?(btw, concatenation did the same).
I want to send bytes, and not the ASCII values of the characters of the bytes. Any help would be greatly appreciated.
|
Re: Epson Projector Crestron Connected
I always use the "Roomview Connected Display" module without problems. The Online_Fb output won't work though, but you will see it connected in the IP table.
I don't know what else to tell you. I use mostly L530 projectors however, I don't know if it's different. Are you setting the projector by its menu or you're using the XPanel "Crestron Connected" ? |
Creston 301 Practical Entrance Exam
¿ªÔÆÌåÓýLooking at taking my 301 course finally. Anyone have a copy of the current practical Entrance Exam? ? Also anything I should study up on to pass the multiple choice exam? ? ? ? |
Epson Projector Crestron Connected
I have a couple Epson?EB-PU1008B projectors that I am trying to control via Crestron Connected.?
There is a third projector (NEC) that is connected and working fine.? The 2 Epson projectors will not connect no matter what I do.? Based on the Crestron help file online, I should be using the Crestron Connected Display symbol and not the Roomview Connected Display symbol.? Regardless, neither of them connect.? Anyone have any advice or tricks you've learned with Epson?? I read through some other messages on here before I wrote this just to see, and nothing worked.? I've done this more times than I can count with NEC, Panasonic, Samsung, Vivitek, etc. But Epson seems to have stumped me.? |
Re: Din-Dali 2 Sene Recall/Save
Hi Andrzej
I had no problems recalling DALI scenes so far.. just make sure that: a) your ballasts are grouped as necessary, and b) you are using Ballast Group Scene Recall/Save (not Ballast Scene Recall/Save). When you expand the DALI-2 symbol in SIMPL you get both of these, one pair for each DALI loop.. Ballast Scene Recall/Save obviously works only for a specific ballast. rgds, Igor |
Topics in Home Automation - New Article in Residential Tech Today
My latest article, "Testing Out AirHood, the Portable Cooking Range Ventilation Hood¡± is being published by the good folks at Residential Tech Today Magazine on their web site.
The health affects of poor indoor air quality aren't reserved for people living in traditional homes.? Volatile organic compounds (VOCs) are produced wherever people cook food including families vacationing in recreational vehicles, college students saving money by using a hot plate in a dorm room, and people in apartments that don't have a true vent hood over their stove. This article looks at the AirHood, a device for managing cooking fumes in non-traditional locations. 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 |
EV Charger OCPP interface
Hi All,
Was wondering if anyone has had any dealing with EV charging control. I am just on a project at the moment and we are installing a charger that is compatible with ocpp (open charge point protocol)? v1.6 (and software upgradeable to v2.0) Was hoping to get charge info out of it and also setup charge profiles, timer to start charge at night/off peak etc. Any help would be appreciated. Regards Matt |