|
|
 |
|
The following page was printed from RemoteCentral.com:
| Topic: | Rako for TSU9600 This thread has 33 replies. Displaying posts 16 through 30. |
|
| Post 16 made on Thursday May 8, 2008 at 03:49 |
dave964 Long Time Member |
Joined: Posts: | January 2008 172 |
|
|
There are two ways you can do this.
You could put the stop button on a separate hidden page, which has no jumps to it. Then change your widget call to :
CF.widget ("STOP", "HIDDEN_BUTTONS", "TEST").executeActions ();
- where "HIDDEN_BUTTONS" is the prontoscript name of the hidden page.
Alternatively, add the following line to the page script for the page you are using :
CF.widget ("STOP", "ROOM", "TEST").visible = false;
Note that you don't really need "ROOM" and "TEST" in the above line, since you're doing it from a page script and the button is on that page anyway.
|
Dave
|
|
| OP | Post 17 made on Thursday May 8, 2008 at 04:30 |
alexpant Long Time Member |
Joined: Posts: | January 2008 31 |
|
|
Hi Dave!
I have tried the first way you mentioned. I hid the page called CODES so I then declared on the visible page, a function stop, with the widget changed accordingly, but there was no response from the extender so i assumed that I cannot declare functions with widgets that need to access another page. Does that sound ok to you?
I'ill give the second way a go though.
Thanks!
|
|
| Post 18 made on Thursday May 8, 2008 at 04:35 |
dave964 Long Time Member |
Joined: Posts: | January 2008 172 |
|
|
You certainly can exectute the actions for a button on a different page from a script. I do it in many places in my own config - and I think a lot of people do, because it's quite common to have a Codes type page which can be referenced from elsewhere.
But the second way should work and is probably simpler.
|
Dave
|
|
| OP | Post 19 made on Friday May 9, 2008 at 07:59 |
alexpant Long Time Member |
Joined: Posts: | January 2008 31 |
|
|
Dave, that ".visible = false" worked very nicely for my pronto. Thanks alot. Everything is working perfectly now, except one thing that I cant see the reason.
On each page I have my 4 scene buttons, -/+ for scenes, 1 button to turn the room off, 4 channel selection buttons and -/+/off for the selected channel. Channel selection is basically a page jump where the rs-232 commands for the same button, change accordingly.
The problem i am facing is that when i select any channel, I can dim it up/down, and then press a scene and have every channel restored to its scene level. If I turn of the channel though, before pressing a scene button, then only that particular channel responds to the scene I will press afterwards.
The only way to "wake up" the other channels so that they can "follow" the scene command, is either by turning the room off, or dim up/down the scene, and then give the scene command again.
//Code for widgets in page CF.widget ("STOP", "KC1", "KC1").visible = false;
function raise_sc() { CF.widget("RAISE_SC","KC1","KC1").executeActions(); };
function lower_sc() { CF.widget("LOWER_SC","KC1","KC1").executeActions(); };
function raise_ch() { CF.widget("RAISE_CH","KC1","KC1").executeActions(); };
function lower_ch() { CF.widget("LOWER_CH","KC1","KC1").executeActions(); };
function stop() { CF.widget("STOP","KC1","KC1").executeActions();
//code on buttons
lower_sc();
onRelease = function() { stop(); }
raise_sc();
onRelease = function() { stop(); }
lower_ch();
onRelease = function() { stop(); }
raise_ch();
onRelease = function() { stop(); }
The channel OFF button is a usual rs-232 command. I have even tried to use Level 0 or even Level 1 instead of Command 15 for OFF, because i noticed that if I dim a channel to 0, instead of turning it off, it will respond to the scene command i give afterwards.
|
|
| Post 20 made on Friday May 9, 2008 at 08:07 |
dave964 Long Time Member |
Joined: Posts: | January 2008 172 |
|
|
From your description, I would say the problem is related to when you send the channel numbers. If you're finding only one channel is being changed when you want to change all channels in the room, it means the last channel command you sent was for that channel - and you haven't sent channel 0 since.
How are you controlling the channels? You can't have the channel sent by the "stop" button - unless you have multiple stop buttons, one for channel 0 and others for the additional channels. You could store the current channel in a variable (like I do for the room number) and build the command using that.
I suspect the problem is not really your code - I think it's that you're not always setting the channel correctly and hence it only works if you do things in a certain order.
|
Dave
|
|
| OP | Post 21 made on Friday May 9, 2008 at 08:12 |
alexpant Long Time Member |
Joined: Posts: | January 2008 31 |
|
|
I just noticed it as well Dave. My scenes were sent in the following format HO:64\rRO:5\rSC:1\r , so I've added CH:0 in there as well, and it works fine. Thanks again for the ever-quick reply!
|
|
| OP | Post 22 made on Friday May 9, 2008 at 08:16 |
alexpant Long Time Member |
Joined: Posts: | January 2008 31 |
|
|
I think i've finished it now, so we can sell the product:D so hopefully next week I can give your RAKO module a go. I tried to understand its code, but it looks very intimidating for a beginner like me:D
|
|
| Post 23 made on Friday May 9, 2008 at 09:23 |
SimonO Long Time Member |
Joined: Posts: | January 2003 226 |
|
|
On May 9, 2008 at 08:16, alexpant said...
I think i've finished it now, so we can sell the product:D so hopefully next week I can give your RAKO module a go. I tried to understand its code, but it looks very intimidating for a beginner like me:D Glad you're sorted Alex! Please do give the official module a try if you get time - we would really appreciate any feedback :-)
|
|
| Post 24 made on Friday June 20, 2008 at 13:22 |
SimonO Long Time Member |
Joined: Posts: | January 2003 226 |
|
|
|
| Post 25 made on Wednesday June 25, 2008 at 02:21 |
SimonO Long Time Member |
Joined: Posts: | January 2003 226 |
|
|
On June 20, 2008 at 13:22, SimonO said...
The Rako 9600 module is now available to download from the www.prontoscript.com site... ...and is being demonstrated on the Rako Controls stand at the CEDIA UK trade show until Thursday 26th.
|
|
| Post 26 made on Tuesday October 28, 2008 at 07:08 |
SimonO Long Time Member |
Joined: Posts: | January 2003 226 |
|
|
Version 1.2 for the 9600/9800 and a new version 1.0 for the 9400 are availble now via the ProntoScript website :-)
|
|
| Post 27 made on Thursday October 30, 2008 at 10:40 |
Richspark Long Time Member |
Joined: Posts: | September 2008 11 |
|
|
Hi Simon O
I would be up for testing the rako module for you. I've just done a TSU9400 for a client who as asked for control of his rako lighting system. Is it something that would convert to a 94. I'm new to pronto programming but have done a couple of 9400's
|
|
| Post 28 made on Thursday October 30, 2008 at 10:43 |
Richspark Long Time Member |
Joined: Posts: | September 2008 11 |
|
|
it's ok....i've just read that it's availiable on the pronto script site.
thanks
|
|
| Post 29 made on Thursday October 30, 2008 at 12:17 |
SimonO Long Time Member |
Joined: Posts: | January 2003 226 |
|
|
On October 30, 2008 at 10:43, Richspark said...
it's ok....i've just read that it's availiable on the pronto script site.
thanks Please do post your thoughts after you've tried it...
|
|
| Post 30 made on Thursday October 15, 2009 at 07:28 |
vanh Long Time Member |
Joined: Posts: | March 2006 30 |
|
|
Ok I have got the Rakoscript which works just fine with my 7 channels. Unfortunately I have got an issue. What I want to do is to include the rako device in my Database, in order to drag and drop the functions I need directly on the buttons or actions I need. By that way I wouldn't need to implent prontoscript for activities.
As there is no Rako RS device (only IR) in the Philips Database, I have changed the Multireoom IR into RS. I have put the serial code:
HO:128\rRO:1\CH:0\rSC:1\r
on the button "Digit 1" but there happens nothing when I push that button. My extender and serial port are set up the right way. My house numer is 128 and the room is 1. 9600bps, no pariry, 8 data bits and 1 stop bit are set as desribed in the manual. What am I doing wrong??
|
|
 |
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.
|
|