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 - caiman

Pages: [1] 2 3 ... 8
1
Users / Re: zwave tricklestar include problem
« on: July 21, 2010, 05:34:53 pm »
I must be doing something wrong... I did the following:
  • Reset the tricklestar remote (as required when it hangs)
  • send remove node command to the zwave USB device (seluxit)
  • on the remote, press up 2 sec, then up 4 times
  • reload router
The logs show the remove operation was successful, but I still see two "Zwave controller" devices under the main zwave device (one with id 2, one with id 26).
Moreover, most of my devices have now taken a new pluto ID and their name was reset to the generic names (and of course they disappeared from all scenarios, etc).

I am still at loss about what to do when this remote hangs (often) apart from reconfiguring the whole network. How do I delete a device in pluto when it doesn't exist physically any more, or has been reset?

2
Users / Re: zwave tricklestar include problem
« on: July 19, 2010, 03:30:41 pm »
you need to do the "copy controller" on the tricklestar

got it! Now this might still be tricky, because the remote appears twice: I tried to add it again not noticing it had not been removed completely so now I have two instances with two different zwave ID.

And I guess there is no way to remove a device which doesn't (physically) exist any more.

Anyway, thanks Hari, that answers the question!

3
Users / Re: zwave tricklestar include problem
« on: July 19, 2010, 02:57:30 pm »
the Z-Wave device implements Add Node and Remove Node commands.

THanks Hari, yes I go to the master Z-wave device, I use the "send command to device" and select "Remove Node".

The parameters are:
  • #39 Options (string): If true, allow deletion of multiple nodes until timeout occurs or add node is called with node stop.
  • #48 Value (int): empty or 1 = Node Any, 2=node controller, 3=node slave, 5=node stop
  • #182 Timeout (string)
  • #259 Multiple (bool)

Which parameter should I use? What I need to remove is the tricklestar remote, which is device 2.
I have tried entering "2" in parameters 39 / 48 but the device remains there.


4
Users / Re: zwave tricklestar include problem
« on: July 19, 2010, 01:19:13 pm »
Hi Hari,

You can then remove the remote, reset it, and add it again without loosing the network information.

Would you mind sharing the exact procedure for this?

Quick bump on this one, as I still haven't found how to remove a zwave device (removing the lmce device won't remove it from the zwave routing table). What is the right sequence to follow here?

thanks in advance!

5
Users / Re: zwave tricklestar include problem
« on: May 09, 2010, 06:59:36 pm »
Hi Hari,

You can then remove the remote, reset it, and add it again without loosing the network information.

Would you mind sharing the exact procedure for this? I'm having two problems:
  • Not sure how to remove the node. When I select the remove node message there is a list of options but I don't see where to enter the node id to delete. Just deleting the device won't work, it comes back after reload. Now I have the same remote twice on two different node ids
  • Not sure how to add the remote again after that. Once in config mode, after the 2 seconds press, the remote gets included if I give it 4 presses (become secondary remote) and not one as in the original install procedure. But when I do this the remote gets locked up again.

Any suggestion?

6
Users / Re: zwave tricklestar include problem
« on: May 06, 2010, 02:35:59 pm »
yeah, make sure that the dongle is the master (node 1) not the remote. You can then remove the remote, reset it, and add it again without loosing the network information.

br Hari

Fantastic news Hari, the dongle is the master so it should be ok and save me lots of time.
You make my day  :)

7
Users / Re: zwave tricklestar include problem
« on: May 04, 2010, 09:21:58 pm »
I've seen "lockups" for this remote, too. It always went to "red" when trying to include devices.

I'm having this (again) right now. Before I used to reset the tricklestar, then download configuration and all my nodes were gone, had to re-include all of them one by one (and there are many).

In the procedure Hari mentions above, using "add node" instead of "download config" after resetting the remote, are the nodes deleted as well?

If that's the case, is there another way to unlock the remote without loosing all the nodes?

thanks!

8
Users / Re: iPhone/iPod Touch Orbiter?
« on: March 10, 2010, 06:27:40 pm »
Re web service: hari started a rpc_plugin to provide web access to the innards of LinuxMCE. Maybe that could be a start?

That would be great indeed. A quick search on wiki and the forums didn't give results. Any pointers to this? I'd be happy to adapt my code to work with this plugin. I have also tested the rails version by chrisbirkinshaw: http://forum.linuxmce.org/index.php?topic=9740.0

Desired features for a webservice in this particular use case would be:
- authentication
- possibility to return only the data needed, in a very lean format to ensure speedy response even on 3G links

By the way, after chatting with Thom offline, the source code for LmceRemote is now available on googlecode for now. You can find the link and more infos on the wiki page: http://wiki.linuxmce.org/index.php/LmceRemote
If anyone feels like testing it, feedback welcome (and you can use the tracker on googlecode to report issues).

I have also added some preliminary info on how to use the application remotely.

9
Fantastic Chris. If that's the case I'll see how I can re-write the web query classes to migrate from the current JSON format to XML format.

Another open question I have is with authentication, I'm not familiar with rails but I'm sure there's an easy way to enable http authentication on the server. That would be great so one can use a split-DNS setup and have the control app work seamlessly from inside the network over wifi and outside over 3G. I so love to monitor and control the devices remotely ;)

10
Hi Chris,

thanks!  I have started to play with it as a potential webservice replacement for the LmceRemote iphone app.

Trying to get the list of lights for example, I understand one would need to first download http://192.168.80.1:3000/devices.xml and then filter in the application devices with a type of light-switch for example. A quick test shows me this query returns a page of 114 kB for my installation. This would be quite slow on a 3G network.

In comparison, the (ugly hack) at http://wiki.linuxmce.com/index.php/WebServiceSource returns 277 bytes for the list of lights.

I was wondering if there are ways to restrict the amount of data that is returned, or if it gives the whole table no matter what?

cheers,
Sam

11
Users / Re: iPhone/iPod Touch Orbiter?
« on: March 03, 2010, 10:46:53 am »
Can you email it to me? I'll talk with hari and possy, and figure out how to proceed.

Hi Thom,

you have it in your email.

As a next step I'm thinking of adding support for scenarios. Let me know if you want to host on cvs, or if a separate hosting is preferable.

chrisbirkinshaw, great to hear you are attacking the challenge of building a web service. This will create a lot of new possibilities, and I'll be eager to use it in this app when it's available.

12
Users / Re: iPhone/iPod Touch Orbiter?
« on: March 02, 2010, 12:15:26 am »
Caiman, please create a trac ticket and upload your code.

I have tried, trac seems to limit file upload size to 200k or so, the zipped project (without builds) is 590Kb. Shall I setup a svn on google code?

13
Users / Re: iPhone/iPod Touch Orbiter?
« on: March 01, 2010, 10:02:12 am »
All,

I think we're on a wrong start here. I did not claim one cannot get help from the developers, not about the fact I didn't get help. Over the past years, I have received tons of help form the team, specially Hari and others. I did find Thom's comment disappointing though as he was the first person I talked to about this, and the same who almost completely discouraged me from getting started. Then to say I did not try to work together came as a surprise ;-)

This being over, I do appreciate all the offers for help on this thread. Please keep in mind that I have started real coding only about two weeks ago so there wasn't much code to share. Everything before was buying the SDK and learning from scratch how to use it through very basic little experiments. Yes, the multiple requests to share progress in the past few days gave me a push to get started, and here we are.

I am more than happy to share the code. What is the best place? A directory on CVS, or a separate hosting solution? I do not have experience with this, suggestions welcome.

Regarding the fact I intend to ask a few bucks for the app store version, my goal is only to recover some of the development costs. Anything beyond that goes to research against cancer. I fully support open and free software, yet wouldn't mind recovering for the initial SDK costs. I have tried myself to compensate for development efforts done by the LMCE team through some small gifts when I could. And let's face it, the very first message of this thread is about how much people would pay for an iPhone orbiter. This isn't one, but is a first step in the learning process.

I am sorry if anyone felt offended by my modest contribution, or how I introduced it. Now let's not spend so many cycles arguing and get constructive building together the best home automation system on the planet.

14
Users / Re: iPhone/iPod Touch Orbiter?
« on: March 01, 2010, 12:05:18 am »
Hi Thom,

I sure wish you would have worked with us on this...

I sure did try. Asked for help on the IRC channel (to get the list of scenarios via DCE protocol) and chatted with you about this. Didn't really get the warm welcome I expected for someone who does his best to contribute.

In any case, I coded this for my own use (and it's really handy). I hope others will find it useful.

I am eager to work with anyone that is motivated to move this forward. The webservice in particular is just a hack, and would benefit from the team's combined experience to be more robust and feature rich.

And yes, a full fledged orbiter would be nice to have, specially on ipad, and it will take more than little me to code it ;)

15
Users / Re: iPhone/iPod Touch Orbiter?
« on: February 28, 2010, 10:14:18 pm »
LmceRemote (not an orbiter) is almost there. See http://wiki.linuxmce.org/index.php/LmceRemote

Pages: [1] 2 3 ... 8