Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

OpenNetHomeServer

Questions and comments specific to a particular plugin should go here.
Post Reply
Jostein
Experienced User
Posts: 108
Joined: Sun Feb 15, 2009 12:59 pm

Re: Receive events from NetHomeServer

Post by Jostein »

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
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

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
gunrut
Posts: 2
Joined: Wed Jan 27, 2010 2:55 pm

Re: Receive events from NetHomeServer

Post by gunrut »

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
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

Yes, within a short while
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

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: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

100_2505.jpg
100_2506.jpg
100_2507.jpg
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

100_2508.jpg
100_2509.jpg
Here are my settings that gives best result so far
Image2.jpg
Image2.jpg (28.54 KiB) Viewed 7121 times
gunrut
Posts: 2
Joined: Wed Jan 27, 2010 2:55 pm

Re: Receive events from NetHomeServer

Post by gunrut »

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
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

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)
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Receive events from NetHomeServer

Post by Livin »

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
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

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

http://www.xplmonkey.com/w800rf32.html


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
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Receive events from NetHomeServer

Post by Livin »

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
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Receive events from NetHomeServer

Post by krambriw »

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: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Exchange events with NetHomeServer

Post by krambriw »

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-wireles ... o.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
mickelin
Experienced User
Posts: 85
Joined: Sun Jan 04, 2009 5:54 pm

Re: Exchange events with NetHomeServer

Post by mickelin »

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.
Post Reply