Am 09.12.2013 22:13, schrieb Top-Dog: > > And on the side, I can't open the file 'list' (at /settings/alias/list) > using sftp, but when I try ssh'ing into it I can open the file in nano (but > it's empty) and when I try to write to it I get 'Error: Operation not > supported". > This may be because nano tries to do some operations on that "file" which aren't implemented in owfs. Remember these aren't real files, but rather an interface to an userland device driver.
> I can change the alias from the owhttpd server page, but not > from python... for instance if I go <sensor object>. alias = 'EEPROM_1' in > python it changes the alias name in python, but not on the server, but > conversely if I change the name on the http server it changes in python. > It may be because you are reading a cached value on the http server. Try reading the /uncached directory instead (just prefix anything which should be new with /uncached). > Also, how do you write a value to EEPROM memory at a particular offset? I > can write using <sensor object>.memory = 0x45, but what happens if I want to > write another value at an address 4 bytes higher? Like the OW_lwrite > function in the C API. > Sorry, not available. None of the language bindings are using them yet. A pity. The best you can do is reading the whole EEPROM contents once, make a copy of that blob, change the values you want to change and rewrite. Kind regards Jan ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers