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

Pages: 1 2 3 [4]
46
Developers / Generating a new device with DCEGen
« on: January 04, 2008, 12:16:07 pm »
Have been into DCE Generation last night (could not sleep ;) )

It's pretty straight forward:
1.) Add the device and the command it implements in the Webadmin (see e.g. CM11A for examples).
2.) go to trunk/src/sql2cpp from a compiled svn checkout and simply run "./sql2cpp"
(that will update the c++ database constants/objects to include your new devicetemplate id)
3.) go to trunk/src/DCEGen and run "./DCEGen -d <your devicetemplate id>"
4.) go to the newly created directory trunk/src/<your device template name> and do a "make bin"
5.) add a new device from your template
6.) start your device with "./<your device template name> -d <your device id>"
7.) watch the successful connection to the router and verify the "Registered: yes" for your device in the web interface

i will add a wiki page after extending some commands and events.

best regards,
Hari

47
Developers / PLCBUS
« on: December 30, 2007, 01:49:09 am »
is somebody working on PLCBUS support?

More information:
http://www.plcbus.com.cn/
http://www.futurehomes.com.sg/PLCBUSinfo.htm

EDIT: protocol seems to be open:
http://x10-hk.com/store/manual/plcbus/plcbus-1141.pdf

supports feedback and 200bit/s. Maybe the "insteon" for europe?

best regards,
Hari

48
Users / 0710 beta 2 available
« on: December 22, 2007, 08:07:54 pm »
Hi all,

Daniel provided a beta2 image yesterday. Installation went fine for me.

http://vt100.at/kubuntu-linuxmce-0710-i386-beta-2.iso.torrent

Don't bother downloading older versions (beta1 or amd64), they have some issues and probably won't work for you.

best regards,
Hari

49
Developers / 0710 beta 2 available
« on: December 22, 2007, 08:06:38 pm »
Hi all,

Daniel provided a beta2 image yesterday. Installation went fine for me.

http://vt100.at/kubuntu-linuxmce-0710-i386-beta-2.iso.torrent

Don't bother downloading older versions (beta1 or amd64), they have some issues and probably won't work for you.

best regards,
Hari

50
Developers / Graphical view on pluto_main
« on: December 12, 2007, 07:25:38 pm »
Hi devs,

i did a visio import of "pluto_main":
http://vt100.at/pluto.png
http://vt100.at/pluto.vsd

maybe someone with a big screen and patience can interconnect the foreign keys and align the tables (by repo?)?

best regards,
Hari

51
Hi all,

the D-Link DCS-5300G works perfect with LMCE. If you want a reasonably priced ip camera with pan and tilt I can highly recommend it. I'm just polishing up the device template. It works out of the box with plug and play and will be available on the sqlCVS repository in the next days.

best regards,
Hari

52
Developers / ZWave sources
« on: November 18, 2007, 04:51:29 pm »
Hi all,

i can't find the ZWave sources in the trunk (neither LMCE nor pluto). Has anybody seen them?

best regards,
Hari

53
Compatible Products & Services / New ACT Z-Wave Interface
« on: November 01, 2007, 08:14:21 pm »
Hi Folks,

has anybody tried the new ACT Z-Wave USB Interface ZCU[1,2]01 (http://www.act-solutions.com/HomeProProductGrid.htm)?
They seem to pop up in shops now.

best regards,
Hari

54
Developers / PNP without DHCP
« on: October 11, 2007, 10:17:03 am »
Hi Folks,

i investigated the DHCP PNP process and had the idea of using arpwatch for pnp detection. It produces log entries like this:
Oct 11 13:38:18 dcerouter arpwatch: new station 10.1.1.17 de:ad:be:ef:0:4 eth0

derive from Dhcpd-Plugin-Parser.sh:

dcerouter_37298:~# diff -u  /usr/pluto/bin/Dhcpd-Plugin-Parser.sh /usr/pluto/bin/Arpwatch-Plugin-Parser.sh
--- /usr/pluto/bin/Dhcpd-Plugin-Parser.sh       2007-03-01 04:15:34.000000000 +0100
+++ /usr/pluto/bin/Arpwatch-Plugin-Parser.sh    2007-10-11 13:40:04.000000000 +0200
@@ -23,7 +23,7 @@
                log) Type="00" ;;
        esac
 
-       printf "%s\n" "$Type $(date -R) $Data" >>/var/log/pluto/dhcp_pnp.log
+       printf "%s\n" "$Type $(date -R) $Data" >>/var/log/pluto/arpwatch_pnp.log
 }
 
 parse()
@@ -57,16 +57,16 @@
        line=$(parse "$inline")
        tag=$(extract_field 5 "$line")
        op=$(extract_field 6 "$line")
-       mac_found=$(extract_field 10 "$line")
+       mac_found=$(extract_field 9 "$line")
        ip_sent=$(extract_field 8 "$line")
 
-       if [[ "$tag" != "dhcpd:" || -z "$mac_found" ]]; then
+       if [[ "$tag" != "arpwatch:" || -z "$mac_found" ]]; then
                continue
        fi
 
        case "$op" in
-               "DHCPACK")
-                       log_plugin log "DHCP : MAC '$mac_found' IP '$ip_sent'"
+               "new")
+                       log_plugin log "ARPWATCH : MAC '$mac_found' IP '$ip_sent'"
 
                        Q="SELECT PK_Device FROM Device WHERE MACaddress='$mac_found' AND IPaddress='$ip_sent'"
                        R=$(RunSQL "$Q")

seems to work:

+ read mac ip garbage
+ RetrySend de:ad:be:ef:0:4 10.1.1.17
+ local MAC=de:ad:be:ef:0:4 IP=10.1.1.17
+ /usr/pluto/bin/MessageSend localhost 1 -1001 2 65 52 3 53 2 5 de:ad:be:ef:0:4 28 10.1.1.17

Caveats: boot options for media directors and stuff have to be specified in the standalone DHCP server.

I think this would be a nice fallback for PNP when the internal dhcp server is deactivated. What do you think about it?

regards,
Hari

55
Developers / Slimserver as IR Transmitter
« on: October 10, 2007, 06:26:27 pm »
Hi Folks,

using the IRBlaster Plugin Slimserver is able to transmit IR Codes (configured by LIRC remote definitions). This also works over the cli port ("CLI: <player> irblaster send <device> <button>"). Are there any plans to support this feature instead of a gc100? Or can this be implemented as GSD?

best regards,
Hari

Pages: 1 2 3 [4]