GithubHelp home page GithubHelp logo

WH3085 about weewx-sdr HOT 1 OPEN

mfraser avatar mfraser commented on September 27, 2024
WH3085

from weewx-sdr.

Comments (1)

mfraser avatar mfraser commented on September 27, 2024

I've tried copying the lines:

pkt['uv_index'] = Packet.get_float(obj, 'uv_index')
        pkt['luminosity'] = Packet.get_float(obj, 'lux')
        pkt['radiation'] = Packet.get_float(obj, 'wm')
        pkt['illumination'] = Packet.get_float(obj, 'fc')
        pkt['uv_status'] = 0 if obj.get('uv_status') == 'OK' else 1

from FOWH3080, but that gives me lines like:

[out: ['{"time" : "2022-11-02 15:06:00", "model" : "Fineoffset-WHx080", "subtype" : 2, "uv_sensor_id" : 113, "uv_status" : "OK", "uv_index" : 0, "lux" : 821.000, "wm" : 1.202, "mic" : "CRC"}\n']
parsed: {'dateTime': 1667401560, 'usUnits': 16, 'msg_type.0000.FOWHx080Packet': 2, 'temperature.0000.FOWHx080Packet': None, 'humidity.0000.FOWHx080Packet': None, 'wind_dir.0000.FOWHx080Packet': None, 'wind_speed.0000.FOWHx080Packet': None, 'wind_gust.0000.FOWHx080Packet': None, 'uv_index.0000.FOWHx080Packet': 0.0, 'luminosity.0000.FOWHx080Packet': 821.0, 'radiation.0000.FOWHx080Packet': 1.202, 'uv_status.0000.FOWHx080Packet': 0, 'battery.0000.FOWHx080Packet': 1, 'signal_type.0000.FOWHx080Packet': 0, 'hours.0000.FOWHx080Packet': None, 'minutes.0000.FOWHx080Packet': None, 'seconds.0000.FOWHx080Packet': None, 'year.0000.FOWHx080Packet': None, 'month.0000.FOWHx080Packet': None, 'day.0000.FOWHx080Packet': None}]

Where the ID is 0000.

from weewx-sdr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.