LinuxMCE Forums
May 18, 2013, 04:39:05 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
  Home Help Search Chat Login Register  
  Show Posts
Pages: 1 2 [3] 4
31  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 10, 2011, 04:02:52 am
I used the solution in: http://forum.linuxmce.org/index.php?topic=11387.0 and specifically created a symlink to the directory: "pictures" in the local drive, as follows:
Code:
ln -s   /mnt/device/74/untarHP_machineDriveF/ /mnt/device/31/public/data/pictures/untarHP_machineDriveF
This solved the problem. Now, Orbiter shows the video, audio and pictures.

32  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 08, 2011, 05:59:54 am
The pictures still don't show the external drive and only show the flickr directory and the local drive (WDC_WD800JB-00JJ) (see img4.jpg from previous post)

When I created the network shared drive, the external hard drive was symlinked from the directory /home/public/data/other as expected.

Just to be sure I created a symlink to the external drive, from the directory /home/public/data/pictures
Code:
sudo ln -s /mnt/device/74 /home/public/data/pictures/family-PC

avner@dcerouter:~$ ll /home/public/data/pictures/
total 0
lrwxrwxrwx 1 root public 14 2011-07-07 21:07 family-PC -> /mnt/device/74
lrwxrwxrwx 1 root public 12 2011-01-03 22:39 flickr -> /home/flickr
lrwxrwxrwx 1 root public 35 2011-07-07 19:51 WDC_WD800JB-00JJ (sda1) on dce [31] -> /mnt/device/31/public/data/pictures

I can see an example picture from the external drive from both symlinks:
Code:
avner@dcerouter:~$ ll /home/public/data/pictures/family-PC/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2006/2006_04_14/IMG_0069.JPG
-rwxrwxrwx 1 root root 1034604 2006-04-14 13:06 /home/public/data/pictures/family-PC/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2006/2006_04_14/IMG_0069.JPG

avner@dcerouter:~$ ll /home/public/data/other/WindowsShare-F\ \[74\]/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2006/2006_04_14/IMG_0069.JPG
-rwxrwxrwx 1 root root 1034604 2006-04-14 13:06 /home/public/data/other/WindowsShare-F [74]/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2006/2006_04_14/IMG_0069.JPG

The picture from the external drive is also in the database:

Code:
mysql> select * from File where Path = '/home/public/data/other/WindowsShare-F [74]/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2006/2006_04_14' and Filename = 'IMG_0069.JPG' order byPK_File desc limit 1;
+---------+--------------+-----------------+---------------+--------------+---------------------+-------------------------------------------------------------------------------------------------------------------+--------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+----------------+-------+--------+--------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
| PK_File | EK_MediaType | FK_MediaSubType | FK_FileFormat | FK_FileGroup | DateAdded           | Path                  | Filename     | Missing | IsDirectory | EK_Users_Private | EK_Device | ModificationDate    | AttrCount | AttrDate            | DateLastViewed | IsNew | Ignore | INode  | MD5                            | Source | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+--------------+-----------------+---------------+--------------+---------------------+-------------------------------------------------------------------------------------------------------------------+--------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+----------------+-------+--------+--------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
|  191495 |            7 |            NULL |          NULL |         NULL | 2011-07-07 00:52:34 | /home/public/data/other/WindowsShare-F [74]/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2006/2006_04_14 | IMG_0069.JPG |       0 |           0 |             NULL |        74 | 2011-06-20 23:57:42 |         0 | 0000-00-00 00:00:00 | NULL           |     1 |      0 | 611745 | 4cfa26b644f17f62f184f3e279659cfb | F      |   NULL |      NULL |     NULL |          0 | 2011-07-07 20:12:13 |         NULL |
+---------+--------------+-----------------+---------------+--------------+---------------------+-------------------------------------------------------------------------------------------------------------------+--------------+---------+-------------+------------------+-----------+---------------------+-----------+---------------------+----------------+-------+--------+--------+----------------------------------+--------+--------+-----------+----------+------------+---------------------+--------------+
1 row in set (0.00 sec)

Still, Orbiter -> Picture is stuck on the flickr directory and the local drive (WDC_WD800JB-00JJ), and won't show the external drive (img4.jpg from previous post)
33  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 08, 2011, 05:28:32 am
Code:
...
cifs_read_super: get root inode failed
cifs_read_super: get root inode failed
...

The reason I was getting the messages above (and all the other mount failures) was due to the samba service.
These messages were swamping all terminals, and freezing the Orbiter (it wouldn't redraw and appear completely black).
I stopped the service from starting at reboot by doing:
Code:
update-rc.d -f samba remove
This solved the mounting problem.

34  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 04, 2011, 12:16:37 am
... (continued from previous post)
Image files: the data grid shows flickr and the local drive (see img4.jpg) but the files for the network drive don't show up.
When searching for a file from the external drive it shows up (see img5.jpg) and the actual image displays when selecting a search result, but I cannot get the data grid to show the image files (I tried clicking arbitrarily on the letter buttons, e.g. on the "AB" button as I did for the audio files but the data grid still doesn't show the images from the external drive.

Is there a way to reset and repopulate the data grid?
35  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 04, 2011, 12:09:42 am
I unplugged the network drive, deleted the device from the device tree, rebooted the machine, and plugged back the network drive.
After this the Orbiter behavior changed as follows:
Video files: the data grid shows the video files as expected (see img1.jpg).
Audio files: the data grid is empty (see img2.jpg). Only after I click on the "AB" button, it populates as expected (see img3.jpg)
... (continued in next post)
36  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 02, 2011, 06:30:01 pm
Thanks l3mce, I edited out the password.

I don't think the problem is with the ethernet cable, because the problem is systematic.
- mounting through fstab always succeeds
- mounting using the following command fails:
Code:
mount -t cifs -s -o username=family,password=*****,dir_mode=0777,file_mode=0777,iocharset=utf8 //192.168.80.129/F /mnt/device/75

In fact, at the time when getting the mount failures, the drive is actually mounted successfully to a different mount point and I can see its content.

I googled the mount problem, and found some hints to possible kernel failure. dmesg shows the following error:
Code:
dcerouter_1015401:~# dmesg -c
...
[50638.131144]  CIFS VFS: cifs_read_super: get root inode failed
[50638.699850]  CIFS VFS: cifs_read_super: get root inode failed
...

I am using Ubuntu 8.10, kernel: 2.6.27-7-generic.
37  LinuxMCE / Users / Re: Orbiter does not show media from external hard drive on: July 02, 2011, 05:51:46 pm
do you have video files on that hard drive? You only show an image file in your select statement.
 
The problem relates to all media types, i.e. video, image, audio. I also have video files:
Code:
mysql> select Path, Filename from File where Path like '%/home/public/data/other/Windows Share-F [75]/untarHP_machineDriveF/Avner/freeMind/MyMedia/MyVideos/TapesFromTheParents%' orderby PK_File desc limit 1;
+------------------------------------------------------------------------------------------------------------------------+----------+
| Path                                                                                                                   | Filename |
+------------------------------------------------------------------------------------------------------------------------+----------+
| /home/public/data/other/Windows Share-F [75]/untarHP_machineDriveF/Avner/freeMind/MyMedia/MyVideos/TapesFromTheParents | Tape9    |
+------------------------------------------------------------------------------------------------------------------------+----------+
1 row in set (0.05 sec)


After rebooting, Orbiter showed the video files but after a while they disappeared again.
I found that the network drive was dismounted and fails to mount again:

Code:
dcerouter_1015401:~# less /var/log/pluto/StorageDevices.log
...
1 Sat Jul  2 00:46:02 PDT 2011 20798 CALLED TO MOUNT DEVICE 75
1 Sat Jul  2 00:46:02 PDT 2011 29768 CALLED TO MOUNT DEVICE 75
1 Sat Jul  2 00:46:03 PDT 2011 15540 CALLED TO MOUNT DEVICE 75
...

Code:
dcerouter_1015401:~# less /var/log/pluto/umount-wrapper.log
...
21407 CALLED TO 'mount -t cifs -s -o username=family,password=*****,dir_mode=0777,file_mode=0777,iocharset=utf8 //192.168.80.129/F /mnt/device/75'
21407 EXIT WITH STATUS 0
21497 CALLED TO 'mount -t cifs -s -o username=family,password=*****,dir_mode=0777,file_mode=0777,iocharset=utf8 //192.168.80.129/F /mnt/device/75'
21497 EXIT WITH STATUS 0
...

tty2 shows the following error repeatedly:
Code:
...
cifs_read_super: get root inode failed
cifs_read_super: get root inode failed
...



Trying to run the mount command manually from the command line fails:
Code:
dcerouter_1015401:~# mount -t cifs -s -o username=family,password=*****,dir_mode=0777,file_mode=0777,iocharset=utf8 //192.168.80.129/F /mnt/device/75
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

However, mounting the drive using fstab succeeds. Adding the following line in /etc/fstab
Code:
mount -t cifs -s -o username=family,password=*****,dir_mode=0777,file_mode=0777,iocharset=utf8 //192.168.80.129/F /mnt/device/75
and mounting the drive using
Code:
mount -a
from the command line mounts the network drive successfully.

I tried to work around the problem by mounting through fstab. The drive mounts succesfully first, but after a while dismounts, and then fails to mount again.

Solving the problem of the network drive mount failure is the next step to solve the original problem.
Any ideas?
38  LinuxMCE / Users / [SOLVED] Orbiter does not show media from external hard drive on: July 01, 2011, 06:46:06 am
Hello,

I have an external network drive (on a Windows machine) that stores my media (video, image and music files)
LinuxMCE didn't automatically recognize the hard drive, so I applied the maual steps described in http://wiki.linuxmce.org/index.php/Howto:_Using_Network_Shares.

Following the manual step, the UpdateMedia service kicked in and synchronized the drive

Code:
avner@dcerouter:~$ ps aux | grep Update
avner    13563  0.0  0.0   3236   804 pts/6    S+   20:51   0:00 grep Update
root     13685  0.1  0.0   3012  1112 ?        Ss   Jun28   3:50 SCREEN -d -m -S BkgSS-UpdateMediaDaemon.sh /usr/pluto/bin/UpdateMediaDaemon.sh
root     13686  0.0  0.0   2816  1404 pts/8    Ss+  Jun28   0:00 /bin/bash /usr/pluto/bin/UpdateMediaDaemon.sh
root     13705  2.0  0.9  72240 24732 pts/8    SNl+ Jun28  54:35 /usr/pluto/bin/UpdateMedia -h localhost -P 3306 -u root -D pluto_main -U /mnt/upnp -d /home/public/data||/home/user_1/data -B -t

Now, I can see the netwrok drive and its contents:

Code:
dcerouter_1015401:~# ll /home/public/data/other/
total 0
lrwxrwxrwx 1 root public 15 2011-06-28 23:25 Windows Share-F [75] -> /mnt/device/75/

I connected to the database and verified that the contents (e.g. images) from the network drive are registered in the database

Code:
avner@dcerouter:~$ mysql -u root -D pluto_media

mysql> select Path, Filename from File where Path like '%/home/public/data/other/Windows Share-F [75]/untarHP_machineDriveF/Avner/freeMind/MyMedia/MyImages/2005%' order by PK_File desc limit 1;
+---------------------------------------------------------------------------------------------------------+--------------+
| Path                                                                                                    | Filename     |
+---------------------------------------------------------------------------------------------------------+--------------+
| /home/public/data/other/Windows Share-F [75]/untarHP_machineDriveF/Avner/freeMind/MyMedia/myImages/2005 | DSCN8410.jpg |
+---------------------------------------------------------------------------------------------------------+--------------+

However, the Orbiter (on the Hybrid machine) doesn't show the media. Clicking on the Video button (in snapshot imgA3) results in an empty (black) list (snapshot imgA2). Quick / full regenerate and reload of the Orbiter didn't help.
Any idea on how to make the orbiter show media files from the external drive?

Thanks,
Avner


39  LinuxMCE / Users / Re: Setting up Media Director on a tablet on: June 13, 2011, 06:57:43 am
Are there any preferences between the tablets (iPad, Xoom, Playbook, ...) for making an Orbiter?
If using a Web Orbiter, I assume that they all function the similarly.
Are there apparent advantages to use a native orbiter rather than a Web orbiter?
40  LinuxMCE / Users / Re: Setting up Media Director on a tablet on: June 13, 2011, 02:04:05 am
diskless (no hard drive needed)
nvidia chipset (8300 and up for vdpau support)
hdmi / dvi / vga output
dual-core or higher cpu

From what I read:
* Having a disk is unnecessary but harmless. http://wiki.linuxmce.org/index.php/Unsupported_Disked_MD explains how to setup a disked MD.
* The Motorola Xoom has an NVIDIA chipset.
* An hdmi / dvi / vga output is not required if using the tablet display
* The following tablets have a dual-core CPU: HP TouchPad, Apple iPad2, Motorola Xoom, BlackBerry PlayBook
* The WebDT which is in listed as an optional MD  has an Atom Z530 Processor with a single core and a network interface of Wi-Fi 802.11n with bandwidth of 100 Mbps


the current suggestion for a media director are small Atom ION based systems. I use a first generation ASUS ION ITX mainboard as my main MD, and it works flawless including 1080p.

Thanks. It is useful to know, which is the recommended choice out of the entire list of supported hardware for MD.

Avner
41  LinuxMCE / Users / Setting up Media Director on a tablet on: June 12, 2011, 01:13:27 am
So far I used the LinuxMCE system to control lights, and motion sensing using a Hybrid (Core + Media Director) PC, some zwave devices and a Web orbiter (iPod). The experience is great so I off to the next step of adding video/audio features. For this I need to setup a Media Director.

I read the list of recommended hardware for MD. The requirements state that the MD should have a stylish case, be whisper-quiet, have low heat emission and be small and unobtrusive. This fits naturally with the features of today's tablet computers. Speaking of tablets brings to mind iPad, Playbook and Xoom.
There are already other tablets in the list of supported platform for MD (e.g. the WebDT 362).

I am curious if any of the tablets mentioned above can serve as an MD, given their other operating systems (iPad - iOS, Playbook - QNX, Xoom - Android, HP Slate - Windows 7).
 

Thanks,
Avner
42  LinuxMCE / Users / Re: zwave motion sensor fails to log activity events on: April 12, 2011, 05:39:24 am
sambuca,

I am having a problem to add the zwave device to my system.
To simplify, I removed and unlinked the lamp module, so the only zwave device is the HSM100.
At first there was no Motion detector, only two Multilevel sensors. After manually adding the Motion detector (#50), I see the following zwave nodes in webadmin:

zwave (listed as device #44)
  zwave embedded Climate Interface (listed as device #45)
    Multilevel Sensor (listed as device #48
    Multilevel Sensor (listed as device #49)
  zwave embedded security interface (listed as device #46)
    motion detector (listed as device #50)
  zwave controller (listed as device #47)

I tried sending the SetConfigParam command with the following values (according to the instructions
in: http://wiki.linuxmce.org/index.php/Express_Controls_EZmotion_(HSM_100)), i.e.

4. 48 Value (int) = Your desired timeout in minutes (1 minute)
5. 239 NodeID (int) = The ZWave node ID of the HSM 100 to configure (node 2)
6. 248 Parameter ID (int) = 2
7. Press the blue button on the side of the HSM 100 you are trying to configure (I did this for the devices #50, #48, #49)
8. Click "Send Message"

After pressing the blue button on the side of the HSM 100, I get the following message in the log file, which coincides with my observation of a wake up of 1 hour,
regardless of the command I send:
 36   04/11/11 20:19:19.168      Nodeid: 2 Value: 3600 <0xb794cb90>


The response was "BAD NODE ID" for device #50 (I suspect that this indicates that the motion detector was not added properly)
and OK for devices #48, #49, but in the log file the response is always the same:
 36      04/11/11 21:10:11.125           Received command for child <0xb694ab90>
and I don't see any change in the HSM100 response frequency

/usr/pluto/bin/MessageSend localhost -r 0 50 1 841 48 "1" 222 "" 239 "2" 248 "2"
RESP: BAD NODE ID

/usr/pluto/bin/MessageSend localhost -r 0 48 1 841 48 "1" 222 "" 239 "2" 248 "2"
RESP: OK

/usr/pluto/bin/MessageSend localhost -r 0 49 1 841 48 "1" 222 "" 239 "2" 248 "2"
RESP: OK


I also tried sending a SetWakeup command
avner@dcerouter:~$ /usr/pluto/bin/MessageSend localhost -r 0 48 1 840 48 "1" 239 "2"
RESP: OK

I see messages in the log that refer to node 2/-1 and id 2/2

36      04/11/11 21:28:11.117           Sending EVENT_State_Changed_CONST event from node 2/-1, level 9 <0xb794cb90>                                               
40      04/11/11 21:28:11.217           Sending job 0xa0efe10 (cb 245) - 0x1 0xc 0x0 0x13 0xff 0x5 0x60 0x6 0x2 0x20 0x2 0x5 0xf5 0xac (######`## ####) <0xb794cb90>
...
36      04/11/11 21:28:11.277           Got MULTI_INSTANCE_CMD_ENCAP from node 2: instance 2 Command Class 0x20 type 0x3 <0xb794cb90>                               
36      04/11/11 21:28:11.277           Got basic report from node 2, instance 2, value: 37 <0xb794cb90>                                                           
05      04/11/11 21:28:11.277           ZWave::InternalIDToDevice() No device found for id 2/2 <0xb794cb90>                                             

How should I interpret these messages?

Although I deleted all the devices and added them again, I have a feeling that the nodes are not listed properly in lmce.
1. I have 2 node instances
2. I see a negative number after the node id (node 2/-1)
3. The motion detector that I added manually (device #50) fails to respond to commands.

Any help is appreciated.
Thanks,
Avner

43  LinuxMCE / Users / Re: zwave motion sensor fails to log activity events on: April 05, 2011, 03:43:42 am
Sambuca, what you are telling me makes sense. In my case, the timeout seems to be around 60 minutes. When there is activity in the room, I do see events every ~60 minutes.
The HSM100 doesn't have any interface (except for the blue button). The only interface to it is through lmce.
Is there a way to program the timeout of the HSM100 through lmce? I want to reduce this time to the minimum possible (e.g. 1 minute)

Thanks,
Avner
44  LinuxMCE / Users / Re: zwave motion sensor fails to log activity events on: April 04, 2011, 08:08:17 am
Hari,
Thanks for replying.

you probably did not do the proper associations (dongle node id into the group 1 of the hsm100)

I am not sure what "do the proper associations (dongle node id into the group 1 of the hsm100)" means.
Here is what I did.
1. Removed the dongle (ZSTICK-S2 - Aeon Labs ZWave USB Adapter) from the USB.
2. Disassociated all the devices (lamp module HA-03WD, and motion detector HSM100)
3. Reassociated only the HSM100
4. Plugged the dongle back into the USB
5. Regenerated the orbitter

After that I see in the lmce-admin web page in the device tree:
ZWave
  ZWave embedded climate interface
  ZWave embedded security interface
    Motion Detector
  ZWave controller

When I physically press the blue button in the motion sensor, I get the following in the log file.
So I understand, the motion detector is associated as node 3.
Is this a proper association?
What does "group 1 of the hsm100" mean? Is there an easy way to view group/node ids in the lmce-admin web page?

36      04/03/11 23:51:44.951           FUNC_ID_ZW_APPLICATION_UPDATE:UPDATE_STATE_NODE_INFO_RECEIVED received from node 3 -  <0xb7a70b90>
36      04/03/11 23:51:44.951           GENERIC_TYPE_SENSOR_MULTILEVEL <0xb7a70b90>
41      04/03/11 23:51:45.938           0x1 0x8 0x0 0x4 0x0 0x3 0x2 0x84 0x7 0x71 (#########q) <0xb7a70b90>
36      04/03/11 23:51:45.939           FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb7a70b90>
36      04/03/11 23:51:45.939           COMMAND_CLASS_WAKE_UP -  <0xb7a70b90>
36      04/03/11 23:51:45.939           Running wakeupHandler for node 3 <0xb7a70b90>
36      04/03/11 23:51:45.939           Got unicast wakeup from node 3, doing WAKE_UP_NO_MORE_INFORMATION <0xb7a70b90>
41      04/03/11 23:51:45.980           0x1 0x9 0x0 0x4 0x0 0x3 0x3 0x20 0x1 0xff 0x2c (####### ##,) <0xb7a70b90>
36      04/03/11 23:51:45.981           FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb7a70b90>
36      04/03/11 23:51:45.981           COMMAND_CLASS_BASIC -  <0xb7a70b90>
36      04/03/11 23:51:45.981           Got BASIC_SET from node 3, value 255 <0xb7a70b90>

Occasionally, when having activity, the motion detector LED turns red and logs the following.
Is this an indication that the device is associated correctly?

36      04/03/11 23:59:52.267           FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb7a70b90>
36      04/03/11 23:59:52.267           COMMAND_CLASS_SENSOR_MULTILEVEL -  <0xb7a70b90>
36      04/03/11 23:59:52.268           Got sensor report from node 3/-1 <0xb7a70b90>
36      04/03/11 23:59:52.268           MULTILEVEL DEBUG: precision: 0 scale: 1 size: 1 value: 19 <0xb7a70b90>
36      04/03/11 23:59:52.268           General purpose measurement value received: 19 (dimensionless) <0xb7a70b90>

2. Sending command "WAKE UP" to motion sensor (device 44)
   /usr/pluto/bin/MessageSend localhost 0 44 1 840 48 "" 239 ""
hu? what the heck are you doing?

I thought that since this is a battery operated device, the sleep time may be too long.
I see an option to issue WAKE_UP command with values between 1 and 255 (in minutes).
I want the motion detector to send an activity event if applicable in resolution of 1 minute

Also, the field "Capabilities" for the Motion Detector device is empty. Should it be set to something?


Regards,
Avner
45  LinuxMCE / Users / zwave motion sensor fails to log activity events on: April 03, 2011, 04:24:40 am
Hello,

I have 2 zwave devices in my system:
1. Lamp module - HA-03WD
2. Motion detector - HSM100
I added the 2 devices and both are showing on the floorplan.

Issuing command to the lamp module (e.g. light ON/OFF) works correctly. The lamp responds and the events, which include reponse information (log levels 36,40,41)
are logged in the log file (see example below)

However, I can not see activity events from the motion detector.
Issuing commands to the motion sensor device, triggers a one line response in the log file, which is not clear for me (see the two examples below)
Physically pressing the blue button in the motion sensor, triggers a respond with log levels 36,40,41

I see the signature (0x1 0x4 0x1 0x13 0x1 0xe8) that fits the ZDP200 lamp signature in LinuxMCE wiki page: http://wiki.linuxmce.org/index.php/ZWave_API
To simplify the logging I deleted the lamp device, but still seeing events with the signature "0x1 0x4 0x1 0x13 0x1 0xe8", which I thought indicate a lamp, so I'm confused here.


I am looking for help on the following 2 problems:
1. How to interpret the zwave log file.
2. How to log events from the motion sensor.


Thanks,
Avner



--------------------------------------------------------------------------
Details / examples
--------------------------------------------------------------------------

--------------------------------------------------------------------------
Lamp module example (works Ok)
--------------------------------------------------------------------------

avner@dcerouter:~/tmp1$ tail -f /var/log/pluto/37_ZWave.log
36      04/01/11 0:00:03.602     Received command for child <0xb690cb90>
36      04/01/11 0:00:03.602     ON RECEIVED FOR CHILD 2/0 <0xb690cb90>
40      04/01/11 0:00:03.614     Sending job 0x830dee8 (cb 207) - 0x1 0xa 0x0 0x13 0x2 0x3 0x20 0x1 0xff 0x5 0xcf 0xf3 (#\n#### #####) <0xb790eb90>
41      04/01/11 0:00:03.621     0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb790eb90>
41      04/01/11 0:00:03.665     0x1 0x5 0x0 0x13 0xcf 0x0 0x26 (######&) <0xb790eb90>


--------------------------------------------------------------------------
Motion detector examples
--------------------------------------------------------------------------


Two examples of sending commands to the motion detector and the response.

1. Sending command "Set Polling State" to motion sensor (device 44)
   /usr/pluto/bin/MessageSend localhost 0 44 1 966 2 "" 5 "" 220 "" 225 "" 239 ""
   
   avner@dcerouter:~/tmp1$ tail -f /var/log/pluto/37_ZWave.log
   36      03/31/11 23:57:25.726    Received command for child <0xb690cb90>


2. Sending command "WAKE UP" to motion sensor (device 44)
   /usr/pluto/bin/MessageSend localhost 0 44 1 840 48 "" 239 ""
   
   avner@dcerouter:~/tmp1$ tail -f /var/log/pluto/37_ZWave.log
   36      04/01/11 0:07:32.881     Received command for child <0xb690cb90>


When physically pressing on the blue button in the motion sensor, I can see the following in the log file
41      04/02/11 20:15:37.811           0x1 0x14 0x0 0x49 0x84 0x3 0xe 0x4 0x21 0x1 0x60 0x31 0x70 0x84 0x85 0x80 0x72 0x77 0x86 0xef 0x20 0xe3 (###I####!#`1p###rw## #) <0xb796bb90>
36      04/02/11 20:15:37.812           FUNC_ID_ZW_APPLICATION_UPDATE:UPDATE_STATE_NODE_INFO_RECEIVED received from node 3 -  <0xb796bb90>
36      04/02/11 20:15:37.812           GENERIC_TYPE_SENSOR_MULTILEVEL <0xb796bb90>
41      04/02/11 20:15:38.797           0x1 0x8 0x0 0x4 0x0 0x3 0x2 0x84 0x7 0x71 (#########q) <0xb796bb90>
36      04/02/11 20:15:38.798           FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb796bb90>
36      04/02/11 20:15:38.798           COMMAND_CLASS_WAKE_UP -  <0xb796bb90>
36      04/02/11 20:15:38.798           Running wakeupHandler for node 3 <0xb796bb90>
36      04/02/11 20:15:38.798           Got unicast wakeup from node 3, doing WAKE_UP_NO_MORE_INFORMATION <0xb796bb90>
40      04/02/11 20:15:38.896           Sending job 0x86b5160 (cb 183) - 0x1 0x9 0x0 0x13 0x3 0x2 0x80 0x2 0x9c 0xb7 0x4d (##########M) <0xb796bb90>
41      04/02/11 20:15:38.903           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb796bb90>
41      04/02/11 20:15:38.923           0x1 0x5 0x0 0x13 0xb7 0x0 0x5e (######^) <0xb796bb90>
40      04/02/11 20:15:39.024           Sending job 0x86b5380 (cb 184) - 0x1 0x9 0x0 0x13 0x3 0x2 0x84 0x8 0x5 0xb8 0xd5 (###########) <0xb796bb90>
41      04/02/11 20:15:39.031           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb796bb90>
41      04/02/11 20:15:39.072           0x1 0x5 0x0 0x13 0xb8 0x0 0x51 (######Q) <0xb796bb90>
Pages: 1 2 [3] 4
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!