Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MarcoZan

Pages: 1 ... 3 4 [5] 6 7 ... 10
61
Marketplace / Re: Orbiters on ebay!!! get em while they're hot.
« on: November 20, 2008, 08:25:56 pm »
Hi Thom

I also have a DT325, that I'm using as a web orbiter because regular orbiter tends to crash pretty often.

I'm also interested in your hacks.

By the way, would it be possible to run onto dt325 your Debian image you built for dt366?

Thanks and regards

Marco

62
Users / Re: Ruby &GSD: can I call local subroutines ?
« on: October 19, 2008, 12:42:57 pm »
Hi Bulek
I'm also very rude with Ruby, so I don't know how much I can help.

Looking at the code in my GSD device I can see a slightly different situation:

Code: [Select]
cmdId = cmd.Id_

......
case cmdId
  when 192 #192 is ON
      .... some code
  when 193 #193 is OFF
    .... some other code
 

As you can see I have not "then" statement.
If the syntax is wrong I expect that you should have a clear error at GSD compiling, but I guess this is not exactly the case. Nevertheless you claim to have a strange error regarding the method cmd_ReceiveCommandsForChilds, that in the end shouldn't be there.

Just my 0,02 (maybe less ...)

Regards
Marco

63
Users / Re: Ruby &GSD: can I call local subroutines ?
« on: October 18, 2008, 10:57:09 am »
Hi Tinia

I got a similar issue, where I also had my GSD device that suddenly stopped working.

Well, not really suddenly, I was working on it and probably I made something wrong when saving the device settings.

In the end the reason was really trivial: the "COM Port on PC" parameter was blank.

Probably during update I did not realize that the proper parameter value was overwritten, and I spent a lot of time to figure it out.

HTH

Marco


64
Users / Re: Death threats directed at me.
« on: October 15, 2008, 09:41:39 pm »
When I read the topic subject I was thinking of another "colorful" way of Thom to describe some strange coding attitude ... unfortunately the story is different.

As we use to say, mothers of the idiots are always pregnant ...

Thom, for sure you're definitely not the most diplomatic guy I ever met (even if sometimes taking it a little easy wouldn't be so bad), but I prefer BY FAR a slap in the face than a stab in my back.

So keep doing it your way.

Full speed ahead
Marco




65
Here we go bulek

Code: [Select]
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
ii  libmyth-0.20              0.20.2-3lmce710.0         Common library code for MythTV and add-on modules (runtime)
un  mytharchive               <none>                    (no description available)
un  mythdvd                   <none>                    (no description available)
un  mythgallery               <none>                    (no description available)
un  mythgame                  <none>                    (no description available)
un  mythmusic                 <none>                    (no description available)
un  mythstream                <none>                    (no description available)
un  mythtv                    <none>                    (no description available)
ii  mythtv-backend            0.20.2-3lmce710.0         A personal video recorder application (server)
ii  mythtv-common             0.20.2-3lmce710.0         A personal video recorder application (common data)
ii  mythtv-database           0.20.2-3lmce710.0         A personal video recorder application (database)
un  mythtv-doc                <none>                    (no description available)
ii  mythtv-frontend           0.20.2-3lmce710.0         A personal video recorder application (client)
ii  mythtv-transcode-utils    0.20.2-3lmce710.0         Utilities used for transcoding MythTV tasks
un  mythvideo                 <none>                    (no description available)
un  mythweather               <none>                    (no description available)
ii  mythweb                   0.20.2-0ubuntu2lmce1      Web interface add-on module for MythTV
ii  pluto-mythtv-player       2.0.0.44.0804112200       <insert up to 60 chars description>
ii  pluto-mythtv-plugin       2.0.0.44.0804112200       <insert up to 60 chars description>

HTH
Regards
Marco

66
Users / Re: Multiple Web Orbiters.
« on: September 16, 2008, 06:39:18 pm »
Hi

I'm having exactly the same issue. What I see is also that if I select any scenario/floorplan in a web orbiter the screen changes also for others web orbiters.
This makes me think that in fact only one instance of Proxy orbiter is running.

Some times ago I posted a question related to the possibility to have multiple instances of proxy web running, and tshack909 confirmed that this is possible.

So probably we are doing it in the wrong way. Can anyone point us in the right direction?

TIA
Marco

67
Users / Re: Crackling/popping audio in KDE...
« on: September 10, 2008, 09:35:24 am »
Hi colinjones

I have similar issue with my VIA EPIA M10000 MD, but in my case sound is crappy also with LMCE.

I've made some tests and I came to the conclusion that I don't think this issue is related to KDE itself (at least in my case, but likely also in yours).
What I made was to play the very same mp3 set (locally stored) in various situations: LMCE, KDE desktop (LMCE) and KDE from a plain Kubuntu 7.10 livecd.

It turned out that when playing from KDE - livecd the sound is cristal clear, while in the remaining situations the sound is clicking/bumping (don't know how to exactly describe in english).

Note that when you fire up a Kubuntu livecd you cannot play mp3 out of the box, but you are supposed to install some restricted packages. If I remember well you have to basically get ffmpeg and libxine1.
With stock Kubuntu you simply use adept and you're done, with LMCE you are not allowed to do so because all updates are driven via script to avoid breaking some LMCE dependecies.

In particular libxine1 is heavily customized, and I think that at least in my case this somehow fights with my MD hardware.

So KDE is not the nasty one ....

What I suggest is to try similar tests in your environment, and see what comes out.

In my case I've given up, as VIA MD is a bit old and plans are to replace it with some ATOM based hardware and demote VIA to simple MythTV client.
Of course I wouldn't mind to have it working fine also under LMCE, but for the time beeing I'm clueless.

HTH
Marco

68
Developers / Re: Brainstorm: how should blind/shutter be shown on floorplan
« on: September 03, 2008, 10:46:56 am »
Hi Bulek

I'm facing exactly the same issue. I'm writing a GSD driver for my lighting system, and I'm trying to figure out as well how could the blinds icons be better displayed on floorplans.

I'm currently using light switch (ON/OFF) for blinds, so there are only 2 states to show and I'm trying to play a bit to find out a reasonable compromise.
At this stage I'm trying to get a yellow icon when blind is not totally closed, and a black icon when blind is totally closed. Unfortunately my lighting system seems not to return any state about blinds position, so it's a bit hard ...

I think that showing opening percentage figures besides icons could be nice, but only for not-so-complex floorplans otherwise the overall look is likely to be a mess.
Unless a new scenario category is added specifically for blinds, we will still have lights and blinds shown on the same floorplan and I'm afraid that having a lot of info on that could be confusing.

I think that simply showing different icons for different opening percentage (maybe at 25%-30% steps) could be more effective and useful from user perspective.
Actually I don't care to know whether blinds of living room are 10% open or 20 %open .... I care to know that they are partially opened but not open wide (but of course this it's me ..).

I totally agree when you say that travelling state should be shown on floorplans. Maybe a blinking icon could be more effective, but a yellow one could be good as well.

The point now is: how to do it? Is there anyone already working on this, or anyone that could give some pointers to start digging from?

Regards
Marco

69
Users / Re: Basic question about Proxy Orbiter ...
« on: August 29, 2008, 10:38:51 am »
well ..I think I'm still missing some bits ...

I added a Generic Web Device (with its Generic Proxy Orbiter child )  following the wiki info, I formatted the orbiter skin to fit a web pad and everything went fine.
Web pad is showing the web orbiter in the desired shape and everything is OK.

Then I repeated the very same procedure to add a second Generic Web Device (with its child as well) and formatted the related orbiter skin to fit a mobile phone.

To my surprise both web orbiters are showing mobile phone skin.

In the web browser when going to http://dcerouter/pluto-admin/weborbiter.php I put the proper user/passwd, then it comes a page where I'm supposed to choose the proper device.

No matter which one I select, (web pad or mobile) I always get the mobile orbiter, that is the last one I added to my system.

Is this the expected behaviour, or am I doing something wrong?

TIA
Marco

70
Users / Re: Basic question about Proxy Orbiter ...
« on: August 28, 2008, 07:43:41 pm »
Hi Thom and thanks for reply.

Just wanted to make sure it was possible before possibly messing up my system.

Thanks again and regards

Marco

71
Users / Basic question about Proxy Orbiter ...
« on: August 28, 2008, 02:09:16 pm »
 ... and probably a dumb one.

Is Proxy Orbiter intended to be unique in one LMCE system or is it possible to have multiple instances of it?

I'm trying to use as web orbiters a couple of devices not directly supported (i.e. no native orbiter for them) but they are quite different in size (one is an old web tablet, the other one is a mobile phone), so a combination of skin/size good for a device looks terrible on the other one.

One solution (besides using fully supported devices, of course) could be to istantiate 2 different Web orbiters, so I can set up each of them with the proper skin.

Can anyone tell me whether this is possible?

TIA
Marco

72
Developers / Re: How do you get a device's name?
« on: August 25, 2008, 03:14:45 pm »
Thanks Dan

I feel a little dumb for asking a question that could answer myself by just looking webadmin ...

Nevertheless, back to business.

I tried to use cmd 68 (Get Device Data), but there's still something wrong in the way I'm using it because I can't get params_[5] that is supposed to hold the Name of the device.

My code is:

Code: [Select]
tmpCmd = Command.new(cmd.devidto_ , -1000 , 0, 1, 68)
tmpCmd.params_[2] = cmd.devidto_.to_s
tmpCmd.params_[52] = 156.to_s
tmpCmd.params_[53] = false.to_s
SendCommand(tmpCmd)
I'm running this code from Process Receive Command for Child, so cmd.devidto_ is the device # of a child of my GSD. Basically I'm sending DCE router a command in order to get child device name.
params_[52] contains the PK_DeviceData of "Name" parameter (deduced from DeviceData table).
What I'm expecting after SendCommand is to be able to access to params_[5] and find the child name in it, but things are not going like this.

DCE Router simply says:
Code: [Select]
Received Message from 67 (Luce Studio / Studio) to -1000 (unknown / ), type 1 id 68 Command:Get Device Data, retry none, parameters: <0x84fcbb90>
08 08/25/08 14:55:15.198   Parameter 2(PK_Device): 67 <0x84fcbb90>
08 08/25/08 14:55:15.198   Parameter 52(PK_DeviceData): 156 <0x84fcbb90>
08 08/25/08 14:55:15.198   Parameter 53(UseDefault): false <0x84fcbb90>
If I try to access to tmpCmd.params_[5] I get a runtime error, as the variable does not exist.

What the hell am I doing wrong?

TIA
Marco

73
Developers / Re: How do you get a device's name?
« on: August 25, 2008, 12:20:48 am »
Hi Dan and thanks for your reply

I got more or less your point, will try your suggestion very shortly and let you know.

By the way, you mention somehow a list of DCE Commands. Can you point me to some docs where I can find such info ? Wiki does not seem to have anything about DCE (at least anything with the needed detail), so some pointers to docs about DCE Commands would be really valuable for any developer (or anyone pretending to be one of them ... like me ...)

Thanks and regards
Marco

74
Developers / Re: How do you get a device's name?
« on: August 23, 2008, 09:46:10 pm »
Hi Dan

sorry to bump an old thread .... but did you ever figure out how to access to devices names from GSD-Ruby?
And what about accessing a device Room?

TIA

Marco

75
Developers / Re: Java/ J2ME mobile orbiter
« on: August 11, 2008, 07:37:03 pm »
It looks like they are intercepted by phone and not passed to keycode.jar

[...]

My fear is that if keycodes (that is a J2ME app) can't catch some keypress, so also JavaMO won't be able to catch them as well, and this may be due to some J2ME limitations.

This is no j2me limitation, it is the implementation on the nokia phones. SE ones pass nearly every key to java, the nokias don't. So you e.g. don't get keypresses for the red "hang up" key or the multimedia buttons.
The original mobile orbiter variant was done for the symbian app on the phone. With c++ you can catch every key on the nokias.

Glad to hear that I was wrong... and most of all that I'm not (yet) supposed to throw away my six month old E65 and my wife's brand new N82 ...
Quote
Quote
Therefore JavaMO would be pretty useless on that class of mobile phones.
We need a slightly optimized variation/skin for those. Many phones feature a touchscreen, too. Maybe we can get more keys with python on the Nokias. Posde is working on that.

br, Hari
I got the point.
Probably it's really time to seriously try to make HADesigner working on my laptop ...

Thanks a lot for your clear reply

Regards
Marco

Pages: 1 ... 3 4 [5] 6 7 ... 10