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 version <http://localhost:2121/uncached/20.CA1601000000>
*up* <http://localhost:2121/>
directory
*8bit*
8bit <http://localhost:2121/20.CA1601000000/8bit>
*CO2*
CO2 <http://localhost:2121/20.CA1601000000/CO2>
*PIO.ALL*

*PIO.A*

*PIO.B*

*PIO.C*

*PIO.D*

*address*
20CA1601000000D0
*alarm*
alarm <http://localhost:2121/20.CA1601000000/alarm>
*alias*

*crc8*
D0
*family*
20
*id*
CA1601000000
*latestvolt.ALL*
4.4153,4.49194,2.30511,4.53929
*latestvolt.A*
4.4153
*latestvolt.B*
4.49194
*latestvolt.C*
2.30511
*latestvolt.D*
4.53929
*latestvolt2.ALL*
2.20765,2.24597,1.15256,2.26964
*latestvolt2.A*
2.20765
*latestvolt2.B*
2.24597
*latestvolt2.C*
1.15256
*latestvolt2.D*
2.26964
*locator*
FFFFFFFFFFFFFFFF
*memory*

*pages*
pages <http://localhost:2121/20.CA1601000000/pages>
*power*

*r_address*
D00000000116CA20
*r_id*
0000000116CA
*r_locator*
FFFFFFFFFFFFFFFF
*set_alarm*
set_alarm <http://localhost:2121/20.CA1601000000/set_alarm>
*type*
DS2450
*volt.ALL*
4.4253,4.48007,2.32433,4.54804
*volt.A*
4.4253
*volt.B*
4.48007
*volt.C*
2.32433
*volt.D*
4.54804
*volt2.ALL*
0,0,2.30738,0
*volt2.A*
0
*volt2.B*
0
*volt2.C*
2.30738
*volt2.D*
0



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c14296a6-dd27-49bb-a172-900d7bc40ea4n%40googlegroups.com.

Reply via email to