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.


Topics - davegravy

Pages: 1 [2] 3 4 ... 6
16
Developers / LinuxMCE Wikipedia Entry
« on: June 20, 2013, 08:54:13 pm »
I updated the entry for LinuxMCE on this page

http://en.wikipedia.org/wiki/List_of_home_automation_software

To include protocol support info. Please fill in anything I missed!

17
Users / 3-Way Z-wave Switch: Help me sync LEDs
« on: June 18, 2013, 07:08:08 am »
I'm trying to setup a 3-way switch with zwave.  I have one in-wall dimmer module (connected to load) and one in-wall remote switch (associated to the dimmer module).

The dimmer module doesn't support associations so I need to find a way to sync the led status lights between the two units when the dimmer module is manipulated.

I'm hoping it can be done with events.  So far I've tried "a device is turned on and off" and "a sensor is tripped" in the respond to event wizard. Neither seemed to fire on switch presses. I'm toying in advanced events, but clearly I'm missing some requisite knowledge of the event system because I'm having no luck. I'll keep researching, but if any of you could nudge me in the right direction it'd be much appreciated!

18
Developers / Lightpack
« on: April 25, 2013, 08:04:20 pm »
In the very unlikely event that someone's looking for a new LMCE integration project:

http://www.kickstarter.com/projects/woodenshark/lightpack-ambient-backlight-for-your-displays

20
Users / Funding Drive: ZWave Door Locks
« on: September 17, 2012, 08:42:20 pm »
There has been a considerable number of inquiries over the years by people wanting to interface Z-wave controlled door locks with LMCE. Unfortunately this is not currently possible because the current Z-wave driver lacks encryption support.

LMCE's resident Z-wave guru, Hari, has indicated he is willing to implement encryption support if he is provided with a Z-wave door lock device. Hari has indicated that obtaining such a device, which uses EU Z-wave frequencies, will cost him approximately 270 Euros.

Please use this thread as a place to pledge funds towards this effort. We can work out payment details later, once it's clear there's sufficient support.

I'll start off by pledging 50 Euros.

21
Users / ZWave Set Associations Error
« on: September 12, 2012, 05:45:40 am »
Hari, or others,

This is what I get when I try to set associations on my evolve ltm-5 light switch (http://www.aartech.ca/ltm-5-evolve-zwave-remote-wall-switch.html)

Code: [Select]
10      09/11/12 23:36:40.985           Receive string: MESSAGE 89             <0xb5987b70>
10      09/11/12 23:36:40.985           Received MESSAGE 89             0x863b400 device: 31 <0xb5987b70>
10      09/11/12 23:36:40.985           Received Message type 1 ID 842 from 0 to 31 (device: 31) resp 0 <0xb5987b70>
36      09/11/12 23:36:40.985           ZWave::CMD_Set_Association <0xb5987b70>
36      09/11/12 23:36:40.985           parsing node list <0xb5987b70>
40      09/11/12 23:36:40.998           Sending job 0x86939c0 (cb 79) - 0x1 0xd 0x0 0x13 0x2 0x4 0x8e 0x1 0x1 0x0 0x3 0x3 0x5 0x4f 0x23 (#\r###########O#) <0xb6d89b70>
41      09/11/12 23:36:41.004           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb6d89b70>
35      09/11/12 23:36:41.004           ZW_SEND delivered to Z-Wave stack <0xb6d89b70>
41      09/11/12 23:36:41.016           0x1 0x5 0x0 0x13 0x3 0x0 0xea (#######) <0xb6d89b70>
35      09/11/12 23:36:41.016           ZW_SEND Response with callback 3 received <0xb6d89b70>
05      09/11/12 23:36:41.016           ERROR: callback id is invalid! <0xb6d89b70>
36      09/11/12 23:36:41.016           Generic callback handling for command 19, removing job <0xb6d89b70>
40      09/11/12 23:36:41.116           Sending job 0x8693be0 (cb 80) - 0x1 0xd 0x0 0x13 0x2 0x4 0x8e 0x1 0x1 0x0 0x4 0x4 0x5 0x50 0x3c (#\r###########P<) <0xb6d89b70>
41      09/11/12 23:36:41.124           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb6d89b70>
35      09/11/12 23:36:41.125           ZW_SEND delivered to Z-Wave stack <0xb6d89b70>
41      09/11/12 23:36:41.129           0x1 0x5 0x0 0x13 0x4 0x0 0xed (#######) <0xb6d89b70>
35      09/11/12 23:36:41.129           ZW_SEND Response with callback 4 received <0xb6d89b70>
05      09/11/12 23:36:41.129           ERROR: callback id is invalid! <0xb6d89b70>
36      09/11/12 23:36:41.129           Generic callback handling for command 19, removing job <0xb6d89b70>
40      09/11/12 23:36:41.230           Sending job 0x8693e00 (cb 81) - 0x1 0xd 0x0 0x13 0x2 0x4 0x8e 0x1 0x1 0x0 0x5 0x5 0x5 0x51 0x3d (#\r###########Q=) <0xb6d89b70>
41      09/11/12 23:36:41.237           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb6d89b70>
35      09/11/12 23:36:41.237           ZW_SEND delivered to Z-Wave stack <0xb6d89b70>
41      09/11/12 23:36:41.249           0x1 0x5 0x0 0x13 0x5 0x0 0xec (#######) <0xb6d89b70>
35      09/11/12 23:36:41.249           ZW_SEND Response with callback 5 received <0xb6d89b70>
05      09/11/12 23:36:41.249           ERROR: callback id is invalid! <0xb6d89b70>
36      09/11/12 23:36:41.249           Generic callback handling for command 19, removing job <0xb6d89b70>

That's using NodeID=2, GroupID=1, Nodes List= 3,4,5

I've done it successfully with with this configuration before so I know it's supported by the device. Interestingly, if I send negative values  for the node list (remove associations) i get no such error.

I can communicate successfully with all nodes by issuing on/off commands directly to the lmce devices. I've also tried using GroupID=0, and leaving GroupID blank.

Any ideas what I'm doing wrong here?

22
Users / Installer Awesomesauce
« on: September 11, 2012, 06:49:46 pm »
Aside from some minor edits needed to my interfaces file during the install,  the latest snapshot was the smoothest and fastest LMCE install I've ever done (and I've done a few!) A night and day difference from earlier versions,  and the amount of post-install hacking I've had to do to get things functioning as I want has been far less. 

Great work L3mce on the installer and the rest of the team on the hordes of bug fixes and improvements!

23
Users / Developer Goals
« on: May 31, 2012, 09:22:31 pm »
I added a page that's meant for those curious about what's going on in terms of development. I'm hoping here for something that gives an outsider or prospective developer a quick picture of the state of the system.

DISCLAIMER: this is based purely on my lurking in #linuxmce-devel, the forums, and watching the svn timeline. It is likely wrong, incomplete, and I'd suggest it's lacking a bit of detail. Please don't take any offence if your name is not on there, if I missed a major task you are working on, or if I completely misunderstood what it is you are doing.

I'm going to try to keep it up-to-date, but I'd appreciate help from the devs in making sure the page is somewhat accurate.

http://wiki.linuxmce.org/index.php/Developer_Goals

Cheers

24
Users / GC-100 Drops Communication
« on: March 15, 2012, 08:34:27 pm »
My GC-100 spontaneously and sporadically drops communication. I don't know if this is a problem with my specific unit, GC-100s in general, or LinuxMCE. Sometimes the unit regains its connection and resumes normal operation on its own. Other times I need to reset the device (via webadmin, or reload router).

Here are some log samples from me switching a relay back and forth:

Normal Operation:

Code: [Select]
10      03/15/12 15:20:02.477           Receive string: MESSAGE 77             <0xb6cffb70>
10      03/15/12 15:20:02.477           Received MESSAGE 77             0x9f1b040 device: 163 <0xb6cffb70>
10      03/15/12 15:20:02.477           Received Message type 1 ID 192 from 0 to 207 (device: 163) resp 0 <0xb6cffb70>
10      03/15/12 15:20:02.477           Message for Siren passed to Relay <0xb6cffb70>
10      03/15/12 15:20:02.477           Relay Pwr.: target device is 207 <0xb6cffb70>
10      03/15/12 15:20:02.477           gc100::GetPinDeviceID got pin 3:2 device 209 <0xb6cffb70>
10      03/15/12 15:20:02.477           Relay Pwr.: This device is 209 <0xb6cffb70>
21      03/15/12 15:20:02.477           lock(0x9f1b3f0) (>1069) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:20:02.477           acquired(0x9f1b3f0) #0 (>1069) gc100 gc100.cpp:1198  <0xb6cffb70>
10      03/15/12 15:20:02.477           Relay Pwr.: Found 3:2 in module map <0xb6cffb70>
10      03/15/12 15:20:02.477           Relay Pwr.: Regardless, module ID is 3:2 <0xb6cffb70>
10      03/15/12 15:20:02.477           Sending command setstate,3:2,1
 <0xb6cffb70>
10      03/15/12 15:20:02.486           Reply received from GC100: state,3:2,1 <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply interpreted as module: 3:2 change to 1 <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: found module of type RELAY, 2 <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: testing Command_Impl2 Dev #, 4:1 (state 1) default state: 1 <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: testing Command_Impl2 Dev #, 4:2 (state 1) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: testing Command_Impl2 Dev #, 4:3 (state 1) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: testing Command_Impl2 Dev #, 5:1 (state 1) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: testing Command_Impl2 Dev #, 5:2 (state 1) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: testing Command_Impl2 Dev #, 5:3 (state 1) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.486           statechange Reply: no exact match in m:s format, trying global pin number <0xb58fdb70>
05      03/15/12 15:20:02.486           statechange Reply: Sorry, after all that searching, I can't determine which child device should be sent the pin_changed <0xb58fdb70>
10      03/15/12 15:20:02.536           EventThread <0xb58fdb70>
21      03/15/12 15:20:02.578           unlock(0x9f1b3f0) #0 (>1069) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:20:02.578           removed from map (0x9f1b3f0) #0 (>1069) gc100: gc100.cpp:1198  was: 2 size, now 1 Rel: Y Got: Y <0xb6cffb70>
10      03/15/12 15:20:02.593           Receive string: MESSAGE 72             <0xb6cffb70>
10      03/15/12 15:20:02.593           Received MESSAGE 72             0x9f1b040 device: 163 <0xb6cffb70>
10      03/15/12 15:20:02.593           Received Message type 1 ID 193 from 0 to 207 (device: 163) resp 0 <0xb6cffb70>
10      03/15/12 15:20:02.593           Message for Siren passed to Relay <0xb6cffb70>
10      03/15/12 15:20:02.593           Relay Pwr.: target device is 207 <0xb6cffb70>
10      03/15/12 15:20:02.593           gc100::GetPinDeviceID got pin 3:2 device 209 <0xb6cffb70>
10      03/15/12 15:20:02.593           Relay Pwr.: This device is 209 <0xb6cffb70>
21      03/15/12 15:20:02.593           lock(0x9f1b3f0) (>1094) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:20:02.593           acquired(0x9f1b3f0) #0 (>1094) gc100 gc100.cpp:1198  <0xb6cffb70>
10      03/15/12 15:20:02.593           Relay Pwr.: Found 3:2 in module map <0xb6cffb70>
10      03/15/12 15:20:02.593           Relay Pwr.: Regardless, module ID is 3:2 <0xb6cffb70>
10      03/15/12 15:20:02.593           Sending command setstate,3:2,0
 <0xb6cffb70>
10      03/15/12 15:20:02.602           Reply received from GC100: state,3:2,0 <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply interpreted as module: 3:2 change to 0 <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: found module of type RELAY, 2 <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: testing Command_Impl2 Dev #, 4:1 (state 0) default state: 1 <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: testing Command_Impl2 Dev #, 4:2 (state 0) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: testing Command_Impl2 Dev #, 4:3 (state 0) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: testing Command_Impl2 Dev #, 5:1 (state 0) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: testing Command_Impl2 Dev #, 5:2 (state 0) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: testing Command_Impl2 Dev #, 5:3 (state 0) default state:  <0xb58fdb70>
10      03/15/12 15:20:02.602           statechange Reply: no exact match in m:s format, trying global pin number <0xb58fdb70>
05      03/15/12 15:20:02.602           statechange Reply: Sorry, after all that searching, I can't determine which child device should be sent the pin_changed <0xb58fdb70>
10      03/15/12 15:20:02.652           EventThread <0xb58fdb70>
21      03/15/12 15:20:02.693           unlock(0x9f1b3f0) #0 (>1094) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:20:02.693           removed from map (0x9f1b3f0) #0 (>1094) gc100: gc100.cpp:1198  was: 2 size, now 1 Rel: Y Got: Y <0xb6cffb70>

When it messes up:

Code: [Select]
10      03/15/12 15:26:22.289           Receive string: MESSAGE 77             <0xb6cffb70>
10      03/15/12 15:26:22.289           Received MESSAGE 77             0x9f1b040 device: 163 <0xb6cffb70>
10      03/15/12 15:26:22.289           Received Message type 1 ID 192 from 0 to 207 (device: 163) resp 0 <0xb6cffb70>
10      03/15/12 15:26:22.290           Message for Siren passed to Relay <0xb6cffb70>
10      03/15/12 15:26:22.290           Relay Pwr.: target device is 207 <0xb6cffb70>
10      03/15/12 15:26:22.290           gc100::GetPinDeviceID got pin 3:2 device 209 <0xb6cffb70>
10      03/15/12 15:26:22.290           Relay Pwr.: This device is 209 <0xb6cffb70>
21      03/15/12 15:26:22.290           lock(0x9f1b3f0) (>5415) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:26:22.290           acquired(0x9f1b3f0) #0 (>5415) gc100 gc100.cpp:1198  <0xb6cffb70>
10      03/15/12 15:26:22.290           Relay Pwr.: Found 3:2 in module map <0xb6cffb70>
10      03/15/12 15:26:22.290           Relay Pwr.: Regardless, module ID is 3:2 <0xb6cffb70>
10      03/15/12 15:26:22.290           Sending command setstate,3:2,1
 <0xb6cffb70>
21      03/15/12 15:26:22.390           unlock(0x9f1b3f0) #0 (>5415) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:26:22.390           removed from map (0x9f1b3f0) #0 (>5415) gc100: gc100.cpp:1198  was: 2 size, now 1 Rel: Y Got: Y <0xb6cffb70>
10      03/15/12 15:26:22.404           Receive string: MESSAGE 72             <0xb6cffb70>
10      03/15/12 15:26:22.404           Received MESSAGE 72             0x9f1b040 device: 163 <0xb6cffb70>
10      03/15/12 15:26:22.404           Received Message type 1 ID 193 from 0 to 207 (device: 163) resp 0 <0xb6cffb70>
10      03/15/12 15:26:22.404           Message for Siren passed to Relay <0xb6cffb70>
10      03/15/12 15:26:22.404           Relay Pwr.: target device is 207 <0xb6cffb70>
10      03/15/12 15:26:22.404           gc100::GetPinDeviceID got pin 3:2 device 209 <0xb6cffb70>
10      03/15/12 15:26:22.404           Relay Pwr.: This device is 209 <0xb6cffb70>
21      03/15/12 15:26:22.404           lock(0x9f1b3f0) (>5440) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:26:22.404           acquired(0x9f1b3f0) #0 (>5440) gc100 gc100.cpp:1198  <0xb6cffb70>
10      03/15/12 15:26:22.404           Relay Pwr.: Found 3:2 in module map <0xb6cffb70>
10      03/15/12 15:26:22.404           Relay Pwr.: Regardless, module ID is 3:2 <0xb6cffb70>
10      03/15/12 15:26:22.404           Sending command setstate,3:2,0
 <0xb6cffb70>
21      03/15/12 15:26:22.505           unlock(0x9f1b3f0) #0 (>5440) gc100: gc100.cpp:1198  <0xb6cffb70>
21      03/15/12 15:26:22.505           removed from map (0x9f1b3f0) #0 (>5440) gc100: gc100.cpp:1198  was: 2 size, now 1 Rel: Y Got: Y <0xb6cffb70>

Note that linuxmce does not seem to retry its communications when no response is received, or to reset the device.

Has anyone experienced something similar?

Does anyone know (in the meantime until I can get this sorted out) how I can manually force reset the device from the command-line (without reloading router)?

25
Users / Command Line System Queries
« on: March 14, 2012, 02:26:01 am »
I'm interested in something opposite of Messagesend. Is it possible to determine device status, or housemode, etc from the command-line?

One example of why I ask is that I have a doorbell event which launches a bash script and does a variety of different things:

1) If the user has simply pressed the doorbell that's one branch.
2) If the user has pressed the doorbell in the correct morse-code sequence, the system gets disarmed.

A) If the housemode is armed or vacation, and 1 happens, the script sends an SMS message to myself and my wife saying that the doorbell was rung.
B) If the housemode is unarmed, secure-at-home, or entertaining, and 1 happens, the script rings the doorbell
C) If 2 happens, and the housemode was armed or vacation, the script sends an SMS to myself and my wife saying that the system was disarmed via the doorbell.
D) If 2 happens, and the housemode was sleep, the script rings the doorbell.

I've created rather complicated logic within a bash script to log the times for which doorbell push and release events occur, and to interpret these as morse code.

I'd rather not have to create and manage a bunch of respond-to events within web-admin (with various criteria), and then re-use the Morse-code interpretation routine within each event. Preferable would be to have one doorbell push event, one doorbell release event, and then test the various criteria within the code.

Sorry for the drawn out explanation. Is this doable?

26
Users / Whole-house Audio Notifications
« on: March 12, 2012, 04:26:41 pm »
I'm in the process of migrating the 1980s DSC alarm system that came with the house I purchased, over to Linuxmce. I've moved all the sensor lines from the alarm panel to my GC-100, and I've also wired a doorbell to the unit. Now I'm wondering what to do about the siren and doorbell notifications.

I realize I could have security breaches trigger an event to play a sound file on all my MDs. The problem is that I have my MDs sleeping most of the time, and I don't want to wait for them to wake before playing a siren or doorbell sound. I could play on my Hybrid, but then I get only localized output (won't be able to hear on the other side of the house).

I'm considering adding an additional sound-card to my Hybrid, assigning a squeeze-server to that output, and connecting this output to a distribution amplifier (wired to the existing DSC horns around the house). I would hopefully be able to send commands to this device, when appropriate, to play siren and doorbell sounds (or any other future whole-house notification sounds... intercom?), without interfering with the primary hybrid audio device operation.

Does this seem like a valid approach? I haven't used squeezeserver before and don't know if what I'm proposing is viable.

27
Users / [SOLVED] GC-100 Setup
« on: March 09, 2012, 05:52:58 pm »
I just aquired a GC-100 and am attempting to get it setup with my wired doorbell. The gc-100 auto-detected fine, and LMCE created devices as shown in the attached.

I noted however that none of these are considered "security devices", since under Wizard/Security it still shows "no devices". I am able to add a doorbell security device (temp#1624), but am not sure if it should be:

1) as a child to one of the sensor devices, or
2) if I should delete a sensor device and replace it with a doorbell device (child to gc100) with the appropriate channel setting in the device data, or
3) something I haven't thought of.

Can anyone advise as to the correct configuration?

28
Users / [Solved] Transformer Prime Android Orbiter
« on: January 27, 2012, 03:34:06 am »
I'm trying to get the touch orbiter running on my TF201, and having a struggle with resolution.

http://dl.dropbox.com/u/30586759/touch%20orbiter/Screenshot_2012-01-26-20-28-19.png is a screencapture on my TF201
 
http://dl.dropbox.com/u/30586759/touch%20orbiter/weborbiter.png is the weborbiter image as it appears through my desktop chrome browser.

You can tell something's not quite right.

This is using a custom resolution I created:

H:1250
W:750
ScaleX:750
ScaleY:576

My rational for choosing this resolution is because the screen is 1280x800, and the status bar is 50 pixels high. I calculated the scaleX&Y values from: http://wiki.linuxmce.org/index.php/Custom_Display_Resolutions but instead using a multiplier for a 16:9.35 aspect ratio.

I also tried the default 1280x800 setting without much success.

Any help is appreciated.

29
Users / 1004 Asterisk Issue
« on: January 13, 2012, 04:17:02 am »
I installed 1004 two or three months ago and never bothered trying to get Asterisk setup since I understood it wasn't working yet.

I can't access Advanced>Configuration>Phones Setup in webadmin, it gives the error: "The requested URL /admin/ was not found on this server."
There's no /var/www/admin folder on my core...

I uninstalled all asterisk-related packages and reinstalled lmce-asterisk, but didn't help. I understand we've abandoned FreePBX (which is where I used to have to do my phone lines config), so perhaps we've also abandoned the advanced phone lines config...?

I tried to configure my IAX service via Wizard>Devices>Phone Lines, but it's not coming up with a status (seems to be a blank field). No inbound or outbound call service.

I did notice that there was no 4569 port opened up in the firewall, so I added it, but still no inbound/outbound service, and still no status indicator.

No connection attempt activity showing in the asterisk console either...

30
Users / All I Want For Christmas...
« on: December 22, 2011, 07:24:10 pm »
...Is qOrbiter

(aside from my 2 front teeth)

Pages: 1 [2] 3 4 ... 6