Hi All
I have the system up and running using my old weather station from AAG.
All the data is populating except the wind direction
The wind direction is the voltage type and was working on my OWW system that I am trying to replace.
Things stop on line 570 of OWFS with "a bytes-like object is required, not 'str'" as shown bellow.
I am using the driver with the Dallas support and I have looked at the code but it is above my skill level to fix.
Any Ideas?
Cheers
Gordon
OWFS]
driver = user.owfs
[[sensor_map]]
inTemp = /uncached/26.774015000000/temperature
outTemp = /uncached/10.5D2714000800/temperature
inHumidity = /uncached/26.774015000000/humidity
windDir = /uncached/20.CA1601000000
windSpeed = /uncached/1D.084201000000
[[sensor_type]]
windDir = aag_windvane
windSpeed = aag_windspeed
Caught unrecoverable exception:
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** a bytes-like object is required, not 'str'
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** Traceback (most recent call last):
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** File "/usr/share/weewx/weewxd", line 157, in main
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** engine.run()
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 208, in run
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** for packet in self.console.genLoopPackets():
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** File "/usr/share/weewx/user/owfs.py", line 885, in genLoopPackets
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** last_data, p['dateTime'])
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** File "/usr/share/weewx/user/owfs.py", line 570, in aag_winddir
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** wd = w.split(',')
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** TypeError: a bytes-like object is required, not 'str'
Feb 12 16:37:59 raspberrypi weewx[20751] CRITICAL __main__: **** Exiting.
20.CA1601000000
uncached versionupdirectory
8bit8bitCO2CO2PIO.ALLPIO.APIO.BPIO.CPIO.Daddress20CA1601000000D0
alarmalarmaliascrc8D0
family20
idCA1601000000
latestvolt.ALL4.4153,4.49194,2.30511,4.53929
latestvolt.A4.4153
latestvolt.B4.49194
latestvolt.C2.30511
latestvolt.D4.53929
latestvolt2.ALL2.20765,2.24597,1.15256,2.26964
latestvolt2.A2.20765
latestvolt2.B2.24597
latestvolt2.C1.15256
latestvolt2.D2.26964
locatorFFFFFFFFFFFFFFFF
memorypagespagespowerr_addressD00000000116CA20
r_id0000000116CA
r_locatorFFFFFFFFFFFFFFFF
set_alarmset_alarmtypeDS2450
volt.ALL4.4253,4.48007,2.32433,4.54804
volt.A4.4253
volt.B4.48007
volt.C2.32433
volt.D4.54804
volt2.ALL0,0,2.30738,0
volt2.A0
volt2.B0
volt2.C2.30738
volt2.D0