Re: [Owfs-developers] Custom 1-wire slave - need to send two bytes

2017-01-18 Thread Jan Kandziora
Am 18.01.2017 um 18:12 schrieb Gabrijel Erman: > I can read the device without any problems but if I try to write > echo "22" > io_valve.ALL > To sort out problems with CRLF, please set up owserver and use the owwrite tool instead of echo. Kind regards Jan --

Re: [Owfs-developers] Problem with owhttpd on a raspberry pi (owfs-3.0p2)

2017-01-18 Thread Jan Kandziora
Am 18.01.2017 um 18:05 schrieb Ritchie: > Dear Colin, > > I gave up with jessie and reinstalled the complete system with wheezly. > > The system is running now with owfs3p2 self compiled. > > Can somebody give me a hint, at which point (module) I have to add some > debug code, to let the transm

[Owfs-developers] Custom 1-wire slave - need to send two bytes

2017-01-18 Thread Gabrijel Erman
Hi, I developed a custom 1-wire slave device that requires 2 bytes to be sent on write. Complete .c file is as follows: #include #include "owfs_config.h" #include "ow_e5_device.h" #define _1W_E5_READ 0x51 #define _1W_E5_WRITE 0x53 READ_FUNCTION(FS_read_status); WRITE_FUNCTION(FS_write_va

Re: [Owfs-developers] Problem with owhttpd on a raspberry pi (owfs-3.0p2)

2017-01-18 Thread Ritchie
Dear Colin, I gave up with jessie and reinstalled the complete system with wheezly. The system is running now with owfs3p2 self compiled. Can somebody give me a hint, at which point (module) I have to add some debug code, to let the transmitted and recived bytes of the 1-wire bus shown. I tri

Re: [Owfs-developers] Problem with owhttpd on a raspberry pi (owfs-3.0p2)

2017-01-18 Thread Colin Law
On 18 January 2017 at 16:36, Ritchie wrote: > >> You didn't answer the question "Are you sure there is nothing else in >>> /var/log/syslog when you start it?" >> >> Colin >> > > Hello Colin, > > > here is the syslog > > Jan 18 17:32:06 fhem3 systemd[1]: Started User Manager for UID 1000. > Jan 18

Re: [Owfs-developers] Problem with owhttpd on a raspberry pi (owfs-3.0p2)

2017-01-18 Thread Ritchie
> You didn't answer the question "Are you sure there is nothing else in >> /var/log/syslog when you start it?" > > Colin > Hello Colin, here is the syslog Jan 18 17:32:06 fhem3 systemd[1]: Started User Manager for UID 1000. Jan 18 17:32:30 fhem3 systemd[1]: Starting Tiny webserver for 1-wire

Re: [Owfs-developers] Problem with owhttpd on a raspberry pi (owfs-3.0p2)

2017-01-18 Thread Colin Law
On 18 January 2017 at 10:42, wrote: > Dear Colin, > > here my start up script. >> I am using this "/lib/systemd/system/owhttpd.service" >> >> [Unit] >> Description=Tiny webserver for 1-wire control >> Documentation=man:owhttpd(1) >> After=owserver.service >> >> [Service] >> ExecStart=/opt/owfs/bi

Re: [Owfs-developers] Problem with owhttpd on a raspberry pi (owfs-3.0p2)

2017-01-18 Thread Rotarn
Dear Colin,   here my start up script. > I am using this "/lib/systemd/system/owhttpd.service" > > [Unit] > Description=Tiny webserver for 1-wire control > Documentation=man:owhttpd(1) > After=owserver.service > > [Service] > ExecStart=/opt/owfs/bin/owhttpd -c /etc/owfs.conf > #User=ow > #Group