OK, I have done some more tests, first I have removed python-ow and now the 
owfs service in weewx is not working.

When I run systemctl status owserver it shows that it is enabled and 
running.

pi@GazPi4:~ $ systemctl status owserver
* owserver.service - Backend server for 1-wire control
   Loaded: loaded (/lib/systemd/system/owserver.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2020-05-26 15:08:43 AEST; 34min ago
     Docs: man:owserver(1)
 Main PID: 365 (owserver)
    Tasks: 3 (limit: 4915)
   Memory: 2.8M
   CGroup: /system.slice/owserver.service
           `-365 /usr/bin/owserver -c /etc/owfs.conf

May 26 15:08:43 GazPi4 systemd[1]: Starting Backend server for 1-wire 
control...
May 26 15:08:43 GazPi4 owserver[365]: DEFAULT: ow_opt.c:(670) systemd mode 
-- ignore 'p' option
May 26 15:08:43 GazPi4 systemd[1]: Started Backend server for 1-wire 
control.

When I run owdir, the sensor is detected but I get no readings.

pi@GazPi4:~ $ owdir
/28.E10441040000
/bus.0
/uncached
/settings
/system
/statistics
/structure
/simultaneous
/alarm

When I try to to run weewx owfs direct command it fails.


pi@GazPi4:~ $ sudo PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/
owfs.py --sensors --iface=localhost:4304
Traceback (most recent call last):
  File "/home/weewx/bin/user/owfs.py", line 713, in <module>
    main()
  File "/home/weewx/bin/user/owfs.py", line 674, in main
    traverse(ow.Sensor('/'), identify_sensor)
  File "/home/weewx/bin/user/owfs.py", line 264, in Sensor
    return self.proxy.Sensor(path)
AttributeError: '_Proxy' object has no attribute 'Sensor'

It seems that even though I had changed the weewx.conf from =/dec/i2c-1 to 
=localhost:4304 it was still using pyownet.


Gaz

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/20399341-5557-4466-bbe2-e300d40215dd%40googlegroups.com.

Reply via email to