From: Roger S. <fa...@fa...> - 2008-05-24 15:20:08
|
I have last version of svn for xpl items I try to Integrate Oregon scientific sensors through xpl-rfcom I receive well the complete messages via MH but I may be wrong in declaration and code I cant succeed to only extract temperature or humidity when declaring one xPL_Item Has anybody done that ? The interest of using xpl-perl is that is support rfxcom in native mode As far as now with mh only it is only support W800 mode and so it means that I can only deal with temperature and not with humidity for example through rfxcom Any body who has implemented rfxcom in native mode would be great :) Roger In .mht I have declared XPL_SENSOR, bnz-rfxcom.terminator:thgr228n.f6, XPL_Temp, Salon, humidity And the message I receive under mh when I do the following $XPL_Temp = new xPL_Item('bnz-rfxcom.terminator'); $XPL_Temp -> tie_event('print_log "xpl says to $state"'); · 24/05/08 12:03:07 PM xpl says to sensor.basic : current = 46 | sensor.basic : string = comfortable | sensor.basic : type = humidity | sensor.basic : device = thgr228n.f6 | |