Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: S+ Delegates
If I'm going to have multiple instances of S+ modules, I typically connect them to unique instances of an S# class.? Each S+ module can then send its parameters (ID, zone name, whatever) up to the S# class.? If you had a static class processing incoming information, it could iterate through a List<> of instances to find the ones with matching zone numbers for example, and invoke callbacks on those. On Wed, Jun 16, 2021 at 7:39 PM Daniel Portugal <joyousdan@...> wrote: Is it possible to add a Simpl+ function to a delegate in SIMP#? |
We've now got two panels - one working, one not - both on the latest firmware, but with different Sonos App versions. (9.0.1 - working, 10.6.99 - not working)
What I'm trying to establish is: Is this a Sonos App version issue, or some underlying Android version (which we can't see) issue. I've asked Crestron too (mainly to understand what the roll-back procedure should be if we break a customer system!) |
Yes, definitely an issue. I don't think I've seen this yet but I *think* that Sonos recently announced that they no longer are supporting S1 (convenient for them!) so this may be an initial shot over the bow of what's to come with that.
I'm sure that you've done this but have you tried 'appupdate sonos' and see that VER -V returns Sonos 10.6.2 ?? I'm currently working on an upgrade of a client's two homes from 760s to 770s so that he can get the S2 app on the panels (Thank you good clients!!)... And "we can't cope with working systems being deprecated under their feet." This seems to be the definition of the Digital Age - I call it "The Apple-ization of Marketing and Technology"... |
I have updated all my own TSW x60 units to 3.0 and still have Sonos working.
Maybe try pushing the firmware again? Also try AUFORCEUPDATENOW in console. I had a friend with a 760 that was stuck on a very old version of sonos and that command updated his panel to 3.0 and updated sonos and fixed his issue after many failed attempts to update sonos for his panel |
Re: Error: CPHProcessor.exe # 2021-06-13 23:55:47 # Failed to allocate memory for response in respond api
On Thu, Jun 17, 2021 at 08:05 AM, Oliver Hall wrote:
Not meaning to take this off topic - but I had problems in the past running the "ping" command on the processor (via a console symbol) as the logic engine effectively "pauses" during the ping.? That was with much older firmware so it may be different now, but just something to watch for. Hi Oliver,
I believe (and TB also tell me it) the problem is related to the occupation of the free Ram:
as soon as I load the software I check from Text Console with the RAMFREE command and I see 64% memory occupied, after an hour I check again and I see 65% memory occupied and so on until RMC3 does Reboot by itself because it has no more free memory.
When this is about to happen, the following messages begin to appear in the logs: Failed to allocate memory for response in respond api |
¿ªÔÆÌåÓýHi Oliver, ? coincidentally, i?ve just upgrade my kitchen 760 to the latest firmware downloaded yesterday: 3.001.0026.001 because the Sonos app behaved weird and didn?t want to play/synch with Spotify. After the upgrade, everything was working again fine. This is also with a S1 system. ? So I can?t confirm your findings, luckily. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von Oliver Hall ? Hi All, |
Re: Error: CPHProcessor.exe # 2021-06-13 23:55:47 # Failed to allocate memory for response in respond api
Hi Antonio,
Not meaning to take this off topic - but I had problems in the past running the "ping" command on the processor (via a console symbol) as the logic engine effectively "pauses" during the ping.? That was with much older firmware so it may be different now, but just something to watch for. Best regards, Oliver |
Hi All,
It feels like Sonos hasn't been discussed much lately... to here's a new one. Has anyone else discovered the latest TSW xx60 firmwares have removed support for the native Sonos app?? We get a white screen with a blue title bar saying "This app is no longer supported". This is using S1 Sonos as well sadly. We've tried rolling back the firmware but this doesn't appear to fix the issue, so we're thinking it's Android related, but if anyone has found a way to roll back to a working configuration, please can you outline the steps? We've had this on both Crestron Home projects (which had auto updated) and standard Crestron (in-office test only so far thankfully!) where we'd updated the firmware to resolve SIP issues. I don't mind freezing clients on a working feature set, but we can't cope with working systems being deprecated under their feet. Yours, hoping there's a way out of this, Oliver |
Re: Error: CPHProcessor.exe # 2021-06-13 23:55:47 # Failed to allocate memory for response in respond api
I follow this topic with interest:
i have the same problem which seems to be causing by a simpl + module
this module PING and parses the response.
the strange thing is that I use the same module in two different software and in one it increases the memory occupied up to reboot in a couple of days, in the other software this problem is not there.
it is certainly caused by that module because if I delete it from the software the memory remains stable, but I think it is not the only cause otherwise it would create problems in every software where it is present
RMC3 processors
FW 1.7001.4457.19838
I have an open incident with TB from end of march, I will keep you informed
regards antonio |
Re: S+ Delegates
Hi Daniel, One option, not the best I suppose, could be to send the reference of the S+ module to the S# library and send it back through the delagate, in order to know if it has to be processed. Regards, Le mer. 16 juin 2021 ¨¤ 19:39, Daniel Portugal <joyousdan@...> a ¨¦crit?: Is it possible to add a Simpl+ function to a delegate in SIMP#? |
S+ Delegates
Is it possible to add a Simpl+ function to a delegate in SIMP#?
It's currently being done using "RegisterDelegate" in simpl+ but if we use that in a scenario with a static class or a singleton class, with multiple simpl+ modules, then all the simpl+ modules get a callback... i'd rather callback only simpl+ modules that have a certain variable value or parameter. public?static?class?SomeSimplSharpModule
{
??public?delegate?DelegateForSimplSharp(ushort?somedata,?SimplSharpString?somestring);
??public?DelegateForSimplSharp?DoSimplSharpFunction?{get;?set;}
??
??private?void?SomeFunctionThatCallsSimplSharpFunction()
??{
????int?data?=?1234;
????string?str?=?"hello?world";
????if?(DoSimplSharpFunction?!=?null)
????{
??????//What?I?want?to?do?here?is?know?which?SIMPL+?modules?are?registered?to?the?delegate
??????//and?only?invoke?specific?ones.
??????DoSimplSharpFunction(Convert.ToUInt16(data),new?SimplSharpString(somestring));
????}
??}
??
??static?SomeSimplSharpModule()
??{
????SomeFunctionThatCallsSimplSharpFunction();
??}
??
??public?void?Register(delegate?SimplSharpMemberDelegate,?delegate?SimplPlusFunction)
??{
????//add?the?simpl+?function
????//maybe?something?like
????//SimplSharpMemberDelegate?+=?SimplPlusFunction;
??}
}
SYMBOL_NAME?"SimplPlusModule"
STRING_PARAMETER?somestringparameter[15];
CALLBACK?FUNCTION?SimplPlusFunction(integer?data,?string?sometring)
{
??trace("\nData:%u",data);
??trace("\nStr?:%s",sometring);
}
FUNCTION?Main()
{
??RegisterDelegate(SomeSimplSharpModule,DoSimplSharpFunction,SimplPlusFunction);
??//what?i?want?to?do?here?register?this?delegate?with?a?certain?parameter.
??//maybe?something?like?SomeSimplSharpModule.Register(somestringparameter,DoSimplSharpFunction,SimplPlusFunction)
}
|
Re: Vitec EZ TV IPTV Control
Yup we had to use S# to do the?HTTPS REST.
I didn't know about REST at the time so i just made a generic module that used HTTPS/TCP client with proper headers. Call Vitec they'll help you out and point you in the right direction. Also use Postman to see and form your post/get requests correctly. And see the responses. https://www.postman.com/product/rest-client/ All communication is done with the server and not the endpoints. You can control the endpoints' channel using the server. So if you have multiple processors they'll all be talking to the server. |
Any word on beta testing for the VTPro-e alternative "Onmi" showed in Masters?
#crestron
Would be really interested in beta testing the app, has there been any official word on it?
Thanks. *Omni typo. sorry. |