Playing around with my new Hobby Boards hub, I have noticed a problem. With owhttpd using alias I can see the hub, look into a channel and see the sensors, but when I try to access a sensor it says 'Non-existent Device'
An extract of the debug shows DEBUG: owhttpd_handler.c:URLparse(314) URL parse file=/HC(1/aux000000/TT(test1, request=, value= CALL: owhttpd_handler.c:handle_socket(68) WLcmd: GET file: /HC(1/aux000000/TT(test1 request: value: version: HTTP/1.1 CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[/HC(1/aux000000/TT(test1] DEBUG: ow_cache.c:Cache_Get_Alias_Persistent(1654) Lookup of HC(1 gives 1F 96 C0 04 00 00 00 96 DEBUG: ow_cache.c:Cache_Get_Device(927) Looking for device 1F 96 C0 04 00 00 00 96 DEBUG: ow_cache.c:Cache_Get_Common(1083) Search in cache sn 1F 96 C0 04 00 00 00 96 pointer=0x7f8bfa2a91fc index=0 size=4 DEBUG: ow_cache.c:Cache_Get_Common(1099) Value found in cache. Remaining life: 96 seconds. DEBUG: ow_presence.c:CheckPresence(76) Found device on bus 0 DEBUG: ow_parsename.c:FS_ParsedName_destroy(59) /HC(1/aux000000/TT(test1 DEBUG: owhttpd_handler.c:handle_socket(86) http /HC(1/aux000000/TT(test1 not understood. DEBUG: owhttpd_handler.c:ReadToCRLF(347) More data:Host: localhost:3000 DEBUG: owhttpd_handler.c:ReadToCRLF(347) More data:User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 The sensor alias is TT(test1 so I guess the 'not understood' statement is where the problem lies. I have tried it without alias and it works fine, I can also run owfs and access the file structure and that is fine with alias as well. This is not a major problem for me as my control system uses owfs, I just use owhttpd for investigation. Thanks Mick ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers