Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 7 made on Saturday June 29, 2019 at 17:35
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,992
Yes, I am aware to the XML/IPHONEXML api.

My main factor here is speed and not wanting to overtax the Pronto CPU/network. If I want to use XML or HTML, I will end up having additional transport layers on top of a raw TCP IP Telnet port 23. If you go the HTTP transport method, not sure if the Marantz I have supports HTTP 1.1 and request pipelining. I have done some testing to use that api as a volume ramp with limited success.

With regard to offloading things from the Pronto, for example, I now send command _MVOL to my proxy and it emits MV? followed by MU? as a 'batch' query.


var objBatchCommandLookup = {
'_MPWR':['PW?','ZM?'],
'_MVOL':['MV?','MU?'],
'_MSRCSURR':['SI?','MS?'],
'_MVSS':['_MVOL','_MSRCSURR'],
'_MQ':['_MPWR','_MVOL','_MSRCSURR','SSSMG ?','SSAUDSTS ?','SSSDPSTS ?', 'OPSTS ?','PSMULTEQ: ?','PSDYNVOL ?','PSDYNEQ ?'],
'_SSINFAIS':['SSINFAISSUR ?','SSINFAISSIG ?','SSINFAISFOR ?','SSINFAISFSV ?','SSINFAISOFF ?','SSINFAISFLG ?'],
}


Note that the batch lookup object above supports recursion. As none of the Marantz commands start with '_', I used this as a prefix vs using '~' or some other character. This project to move things off the Pronto and into the Pi has become a labor of love of sorts. My original intent for the project was to allow me to put things on the Pronto and then connect my PC to the proxy and be able to monitor the 2-way traffic between Pronto and the Marantz.


If you are interested, email me and I'll zip and send you my config and any Node project code (Don't criticize it as I am a NodeJS newbie and am using console.log ;-) ). When you see my config in the current form, look at the Working... activity and you will see what I mean by multi-screen Progress bar. Next, look at the Common Macros and you will see how I 'weave' in Page Jumps while doing system setup.

Note that this version does not have the integrated Pi Extender so if you wanted to see the project I'm using to test out the NodeJS implementation, I'll email it is well.

Note that I also use Jon Welfringer's simulator mod so that I can do anything I like from the PC including communicating with extenders via the simulator. All you have to do is to set 'Fixed IP' address for each extender and you can pretty much test anything you want from the PC. Where things get challenging is that the Simulator runs Javascript, etc using your PC's CPU/Network and the timing will definitely be different on the Pronto.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse