You are not logged in.
Pages: 1
Topic closed
Hi all
I'm trying to get started using the DS18B20 temp sensor with the Raspberry Pi 2 and having some issues with the OwsDrv block. I can interrogate the sensor on the command-line using
owread 28.888195080000/temperature
which returns the correct temperature.
However after I compile and download to the device, in the system log it shows OwsDrv: ow_read(): '28.888195080000/temperature', 'Connection failed' (index=0, type=0x0118) while the program is running.
I am using the demo license currently, not sure if this is the issue.
Kind regards
Michael
Offline
Hi Michael,
your issue is probably caused by conflict in IPv4 and IPv6 notation.
Try to edit /etc/owfs.conf so it contains following code:
!server: server = localhost:4304
allow_other
server: port = localhost:4304
server: i2c=ALL:ALL
timeout_volatile = 2
Similarly change "Target computer name" in OwsDrv configuration dialog in REX to:
localhost:4304
Let me know if I can be of assistance.
Regards, Tomas
Offline
Tomas you sir are a legend! Working perfectly now.
Offline
Glad I could help
Good luck with your project!
Tomas
Offline
Pages: 1
Topic closed