Exchange events with NetHomeServer

Questions and comments specific to a particular plugin should go here.

Re: Receive events from NetHomeServer

Postby Jostein » Thu Jan 21, 2010 6:24 am

My testing sofar is veary promising.
I have not tested the week and sofar will report if something is wrong. But i am sure it is ok now.
Thanks again.

Best regards, Jostein
Jostein
Experienced User
 
Posts: 85
Joined: Sun Feb 15, 2009 12:59 pm

Re: Receive events from NetHomeServer

Postby krambriw » Sat Jan 23, 2010 3:43 pm

To improve the shape of the received signal:

If you have built the receiver with integrated sound card as shown in the picture above, pls remove the capacitor and connect the input on the sound card directly to the potentiometer mid pin instead
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby gunrut » Wed Jan 27, 2010 3:34 pm

Thanks to all participants in this discussion. It has been very useful for me to follow the discussion. I have just buildt a receiver based on UPM, not tried it out yet. But since i know my signals will have to pass thick walls and some distance, I think I will build the USB-receiver based on the AUREL receiver that was the result of Jostein and Krambriw's common ideas.

Unfortunately I am not experienced enough to se how to build it from the last pictures and the schematic for the - 3,5 mm sound-jack-version.

Is it possible for you Krambrew to make a new schematic and in addition take some new pictures to show how to connect signal to and power from the USB sound card dongle?

Best regards
gunrut
 
Posts: 2
Joined: Wed Jan 27, 2010 2:55 pm

Re: Receive events from NetHomeServer

Postby krambriw » Thu Jan 28, 2010 7:11 am

Yes, within a short while
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby krambriw » Fri Jan 29, 2010 12:29 pm

After experimenting a while, this is the "final" design of the receiver using the modul from AUREL

Pictures & schematic "made in paint" below
Image1.jpg

100_2503.jpg

100_2504.jpg
Last edited by krambriw on Sun Jan 31, 2010 8:42 am, edited 1 time in total.
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby krambriw » Fri Jan 29, 2010 12:30 pm

100_2505.jpg

100_2506.jpg

100_2507.jpg
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby krambriw » Fri Jan 29, 2010 12:34 pm

100_2508.jpg

100_2509.jpg


Here are my settings that gives best result so far
Image2.jpg
Image2.jpg (28.54 KiB) Viewed 2133 times
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby gunrut » Fri Jan 29, 2010 1:20 pm

Thank you very much, krambriw. I will build and test it, and report back. It will take some time, I have to get the parts first.

best regards, gunrut
gunrut
 
Posts: 2
Joined: Wed Jan 27, 2010 2:55 pm

Re: Receive events from NetHomeServer

Postby krambriw » Sun Jan 31, 2010 8:45 am

I have just made a small modification to the schematic above. When you make the virtual ground plane with the wire, it should be connected to the end of the coax shield at the antenna BNC connector. The other end of the shield must be connected to 0V (grounded)
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby Livin » Sun Jan 31, 2010 5:04 pm

Will one of these pre-build RF receivers work...

http://www.wgldesigns.com/w800.html
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 749
Joined: Wed Oct 08, 2008 4:56 am

Re: Receive events from NetHomeServer

Postby krambriw » Sun Jan 31, 2010 6:15 pm

Hi Livin,
Actually, this device (the RS232) is supported by xPL Monkey already.

[url]http://www.xplmonkey.com/w800rf32.html
[/url]

I have installed basic SW for xPL in my PC and I must say it works really great. If you do that and add the xPL plugin for EG, you will have X10 events popping in into EG

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Receive events from NetHomeServer

Postby Livin » Sun Jan 31, 2010 6:34 pm

I was more interested in the weather stuff... I already have a CM19a which is working in Homeseer for X10 RF - mainly for motion detectors.
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
User avatar
Livin
Experienced User
 
Posts: 749
Joined: Wed Oct 08, 2008 4:56 am

Re: Receive events from NetHomeServer

Postby krambriw » Sun Jan 31, 2010 6:46 pm

I will mail/check with the developer. The SW anyway supports X10 already so it might be.
Best regards, Walter

Edit:
I have already found this information

X10Port

This module is a part of the NetHomeServer. The X10Port manages the connection to the CM12-interface module via a serial port. The CM12-interface module can send and receive X10 commands over the mains wires. Recieved X10 messages are transmitted as Events over the internal NetHomeServer event bus. The X10 protocol uses separate address and function messages and the actual devices knows who is currently addressed. The X10Port hides this for outgoing messages.
Attributes

*
ComPort [get] [set] Serial port where the CM12 is connected. For example COM1 on windows or /dev/ttyUSB0 on Linux
*
State [get] Current connection state to the hardware device, “Connected” or “Not Connected”
*
ReceivedMessages [get] Number of received messages
*
SentMessages [get] Number of sent messages

Actions

*
reconnect Tries to reconnect if the connection to the interface failed at startup.

Events

*
Emits X10Address(HouseCode, DeviceCode) This event is emitted when an X10 address command is received from the CM12.
*
Emits X10Function(X10Type, HouseCode, DeviceCode) This event is emitted when an X10 function command is received from the CM12. The command is directed to the device addressed by the last X10Address command.

Note: All received events heed the “Target” attribute if it is specified. The received events can be considered an internal interface, please use the corresponding X10Lamp or X10Scene to control devices.

*
Receives X10AllLightsOff(HouseCode) Turns off all X10 devices regarded as lamps with the specified HouseCode
*
Receives X10AllLightsOn(HouseCode) Turns on all X10 devices regarded as lamps with the specified HouseCode
*
Receives X10AllUnitsOff(HouseCode) Turns off all X10 devices with the specified HouseCode
*
Receives X10PresetDim1(HouseCode) Switches all X10 devices with the specified HouseCode to preset Dim state 1
*
Receives X10PresetDim2(HouseCode) Switches all X10 devices with the specified HouseCode to preset Dim state 2
*
Receives X10SwitchUnitOff(HouseCode, DeviceCode) Turns off the specified X10 device
*
Receives X10SwitchUnitOn(HouseCode, DeviceCode) Turns on the specified X10 device
*
Receives X10BrightUnit(HouseCode, DeviceCode) Brights the specified X10 device
*
Receives X10DimUnit(HouseCode, DeviceCode) Dims the specified X10 device

krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Exchange events with NetHomeServer

Postby krambriw » Thu Feb 18, 2010 3:59 pm

Hello again,

I thought it would be worth mentioning my latest experiments in electronics

I took the challenge to build a transmitter using an AUREL module and I can tell you it works superb :!:

The build is not too ugly (but not the prettiest either)
100_2512.jpg

100_2513.jpg

Basically I'm using the module TX-SAW433/s-Z RFM
http://www.aurelwireless.com/rf-wireless-modules/product-info.asp?id=9
together with an USB sound card and some additional components like an OP amp etc

I found a place to buy it and other components here
http://www.soselectronic.com/

As for testing, I was very pleased to notice that the pronto code support works all the way from EG to the lamps :D

I will make a schematic with a component list the other day as soon as some time happens to be available

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1151
Joined: Sat Jun 30, 2007 2:51 pm

Re: Exchange events with NetHomeServer

Postby mickelin » Thu Feb 18, 2010 7:30 pm

Excellent, I have tried to build one using the same module but haven't been able to get it to work. Looking forward to seeing your schematic so I can figure out what's wrong with mine.
mickelin
Experienced User
 
Posts: 74
Joined: Sun Jan 04, 2009 5:54 pm

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: Bing [Bot], jonib and 1 guest