Page 6 of 23
Re: Receive events from NetHomeServer
Posted: Thu Jan 21, 2010 6:24 am
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
Re: Receive events from NetHomeServer
Posted: Sat Jan 23, 2010 3:43 pm
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
Re: Receive events from NetHomeServer
Posted: Wed Jan 27, 2010 3:34 pm
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
Re: Receive events from NetHomeServer
Posted: Thu Jan 28, 2010 7:11 am
by krambriw
Yes, within a short while
Re: Receive events from NetHomeServer
Posted: Fri Jan 29, 2010 12:29 pm
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
Re: Receive events from NetHomeServer
Posted: Fri Jan 29, 2010 12:30 pm
by krambriw
Re: Receive events from NetHomeServer
Posted: Fri Jan 29, 2010 12:34 pm
by krambriw
Here are my settings that gives best result so far

- Image2.jpg (28.54 KiB) Viewed 7116 times
Re: Receive events from NetHomeServer
Posted: Fri Jan 29, 2010 1:20 pm
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
Re: Receive events from NetHomeServer
Posted: Sun Jan 31, 2010 8:45 am
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)
Re: Receive events from NetHomeServer
Posted: Sun Jan 31, 2010 5:04 pm
by Livin
Will one of these pre-build RF receivers work...
http://www.wgldesigns.com/w800.html
Re: Receive events from NetHomeServer
Posted: Sun Jan 31, 2010 6:15 pm
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
Re: Receive events from NetHomeServer
Posted: Sun Jan 31, 2010 6:34 pm
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.
Re: Receive events from NetHomeServer
Posted: Sun Jan 31, 2010 6:46 pm
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
Re: Exchange events with NetHomeServer
Posted: Thu Feb 18, 2010 3:59 pm
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)
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
I will make a schematic with a component list the other day as soon as some time happens to be available
Best regards, Walter
Re: Exchange events with NetHomeServer
Posted: Thu Feb 18, 2010 7:30 pm
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.