From: Timothy S. <spa...@ic...> - 2007-10-10 15:36:31
|
Hi Ron, Can you share where you purchased all of your sensors and the rfxcom device? are you using the 310mhz or 433mhz (or both receivers). Thanks Tim ----- Original Message ----- From: "Ron Klinkien" <ro...@cy...> To: "The main list for the MisterHouse home automation program" <mis...@li...> Sent: Friday, October 05, 2007 2:23 PM Subject: Re: [mh] xPL and device_monitor prob Gregg Liming wrote: > Quoting Ron Klinkien (10/5/07 10:25 AM): > > >> I changed it just now, but it seems that the state_monitor parsing has >> the same bug: >> >> otherwise $$o{state_monitor} is filled with: 'sensor.basic :' only >> >> So this gives a better result: >> -- this code: >> $rfxpow_item = new xPL_Item('bnz-rfxcom.server'); >> $$rfxpow_item{state_monitor} = 'sensor.basic:current'; # noloop >> $rfxpow_item->device_monitor('device=rfxmeter.00f0'); # noloop >> > > [...snip...] > > >> The rfxpower device changed value to: 3403.18 >> ----- >> Nice result! >> >> I let the proper fixing up to you, nice he? ;-) >> > > Thanks for the catch on state_monitor as well. I've revised the > xAP_Items.pm so that it properly strips all space and allows either a > equals sign or colon as a delimitter (as forcing inconsistencies isn't > good either). So, I am able to get the following to work: > > $$xpl_test_item{state_monitor} = 'sensor.basic= current'; # noloop > $xpl_test_item->device_monitor('device =outside.humid1'); # noloop > > > The revisions have been committed to the stable branch as this is a bug > fix; that means you'll have to stick w/ your mods for the time being > until Matt sync's the branch mods to the trunk. > > BTW: What sensors/devices are you using w/ your rfxcom? Do you like > them and/or are they improvements over past devices? > > Gregg > Ok thanks! I use my RFXcom device to read a bunch of ds90 Marmitek door/windows sensors, a Marmitek smoke detector, 6 Oregon thgr228 sensors (hum/temp) an Oregon UV sensor, a few MS13's and a RFXMeter with a Power Module. Gathering values from them with Beanz's xpl-perl hub and code. www.xpl-perl.co.uk I have the older RFXCom Usb device, there is a new lan/wlan version released. But I'm happy with the usb version, works ok on Linux. I have no experiance with the quirks you are reffering to. One note, the RFXcom device is rather sensitive. With the supplied antenna you see a lot more sensors than your own! ;-) I'm using (part of) MH as rules engine and web server, just now I was testing displaying the sensor values with some cgi::ajax code. Works fine. Regards, Ron. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |