pkt['temperature'] = Packet.get_float(obj, 'temperature_C')
        if 'humidity' in obj:
            pkt['humidity'] = Packet.get_float(obj, 'humidity')
        pkt['msg_type'] = Packet.get_int(obj, 'msg_type')


Add these two lines (around line 1612) as shown above to sdy.py:

        if 'humidity' in obj:
            pkt['humidity'] = Packet.get_float(obj, 'humidity')

Let me know if it works.

Andy

Andy

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to