|
|
|
The following page was printed from RemoteCentral.com:
I need write to RFX9600 extender from PC...
| |
|
Topic: | I need write to RFX9600 extender from PC directly This thread has 12 replies. Displaying all posts. |
|
Post 1 made on Saturday July 19, 2008 at 22:54 |
oscarhf2002 Lurking Member |
|
|
I am trying to write data in RFX9600 extender serial port without the TSU9600. I want to use a program from PC directly (C# program o java program) via Wi-Fi.is this posible? thanks
|
Oscar Hernan Franco |
|
Post 2 made on Sunday July 20, 2008 at 00:12 |
Barry Gordon Founding Member |
Joined: Posts: | August 2001 2,157 |
|
|
Yes it is technically possible, but the protocol has not been documented by Philips. It would have to be reversed engineered using a sniffer or similar tool.
I use a device very similar to the Philips extender, except that the TCPIP protocol is fully documented. Like the extender it handles RS232, IR and relays. It is called a Global Cache, and comes in various models differing in the number of ports, relays or IR zones. Just do a yahoo or google
|
|
Post 3 made on Sunday July 20, 2008 at 00:39 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,003 |
|
|
There's an ongoing open source project named ProntoNIC that was intended to do just that. Google for it.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
OP | Post 4 made on Monday July 21, 2008 at 21:03 |
oscarhf2002 Lurking Member |
|
|
Thanks Barry, I'm working on a domotic project and just need this feature On 1216527164, Barry Gordon said... Yes it is technically possible, but the protocol has not been documented by Philips. It would have to be reversed engineered using a sniffer or similar tool.
I use a device very similar to the Philips extender, except that the TCPIP protocol is fully documented. Like the extender it handles RS232, IR and relays. It is called a Global Cache, and comes in various models differing in the number of ports, relays or IR zones. Just do a yahoo or google
|
Oscar Hernan Franco |
|
OP | Post 5 made on Monday July 21, 2008 at 21:05 |
oscarhf2002 Lurking Member |
|
|
| Thanks Lyndel This information is very important to me On 1216528755, Lyndel McGee said... There's an ongoing open source project named ProntoNIC that was intended to do just that. Google for it.
|
Oscar Hernan Franco |
|
Post 6 made on Monday July 21, 2008 at 21:46 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,003 |
|
|
Note that because the protocol is NOT public-domain, it is possible that a firmware change on the Pronto could break your code at any time.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
Post 7 made on Tuesday July 22, 2008 at 16:42 |
johanj Long Time Member |
Joined: Posts: | January 2008 52 |
|
|
Any luck with ProntoNIC and sniffing commands? I would like to control the RFX9600 relays from a PC. I have a few 5V - 240V relays so I can switch on and off equipment with the RFX9600. I would like to have a timer that closes everything down after a few hours from the last send command from the Pronto. The problem with the Pronto is that it goes to sleep and I have a server that is up all the time.
|
|
Post 8 made on Thursday July 24, 2008 at 21:01 |
theKevin Senior Member |
Joined: Posts: | April 2008 1,475 |
|
|
can't you set the pronto to never sleep? i have one TSU9600 currently running in a system (i'm a custon installer) and it's logged into the network 24/7. the battery life is still pretty good, i'd say they need to put it on the charger about every other day.
OT: could anyone give me a simple solution to have the pronto execute some macros at a specific time? i'd like it to run a plamsa's scrolling feature for 20 minutes every night to eliminate burn-in. thx!
|
Artificial intelligence is no match for natural stupidity. |
|
Post 9 made on Thursday July 24, 2008 at 21:18 |
Barry Gordon Founding Member |
Joined: Posts: | August 2001 2,157 |
|
|
How did you set the Pronto to never sleep? Are you setting to "On" on the info screen after loading the xcf?
|
|
Post 10 made on Friday July 25, 2008 at 02:14 |
theKevin Senior Member |
Joined: Posts: | April 2008 1,475 |
|
|
under system properties, wireless settings, i set wireless timeout to 24 hours. maybe i'm misunderstanding the word sleep here?
|
Artificial intelligence is no match for natural stupidity. |
|
Post 11 made on Friday July 25, 2008 at 08:37 |
Barry Gordon Founding Member |
Joined: Posts: | August 2001 2,157 |
|
|
Yes I think you are. The Pronto goes to sleep after a specific amount of time. Sleep means the CPU stops running code, all timers are frozen and a few other things stop. In the latest firmware release it wakes up every 57-58 seconds (an inaccurate minute) for a few seconds and starts the CPU.
I am not sure exactly what the state is during sleep (Lyndel?) regarding sockets and timers, amd what state they are in when it wakes up, but when it wakes up the CPU is running and then it goes back to sleep after a short time (5-10 seconds). You can observe this by putting the system in a loop based on a timer, the page timer for example, and monitoring the clock to the diagnostic log. Set the loop to one second and write the time every iteration to the log. You will see the behavior.
It is a real problem if you are trying to keep a session alive as when dealing with a music server that is sending asynchronous messages. AFAIK the Pronto has no way of listening at a socket for a connection like a real computer, but rather it must always initiate the connection.
I guess the basic factor is that the developers do not think of it as a computer which seems to limit its overall capability by what they chose to include.
|
|
Post 12 made on Friday July 25, 2008 at 15:14 |
theKevin Senior Member |
Joined: Posts: | April 2008 1,475 |
|
|
thanks for the school barry, i haven't gotten into the prontoscript much yet. i took an intro class to C++ in college a long time ago, but writing custom javascript is way over my head. sooner or later i'm going to need to learn to at least set up different button graphics for different system states (like stereo, dolby, dts), but i'm not sure it's worth it to learn to do it in javascript, when i have 500 other things to keep track of on a job, and it looks like RTI is about to come out with a similar capability with no coding required. any thoughts?
|
Artificial intelligence is no match for natural stupidity. |
|
Post 13 made on Saturday July 26, 2008 at 03:51 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,003 |
|
|
Answering Barry's question 2 posts up...
Sockets are still connected and incoming data is buffered until the Socket IO Buffer fills up (8KB???). When unit wakes up, buffered data starts spooling in to your scripts.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
|
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|