Code Monkey home page Code Monkey logo

Comments (3)

magcode avatar magcode commented on June 25, 2024

Hello
yes. There is a chance. However I don't own this hardware. Without real data it's rather difficult to develop a proper support.
I can check if there is some JAVA based TX22 code out there already which I could reuse.

from jeelink-mqtt.

njordan77 avatar njordan77 commented on June 25, 2024

Hi, i at least know the message scheme + have already terminal RAW data coming in....
hope this would help a little...

https://github.com/mhop/fhem-mirror/blob/master/fhem/FHEM/36_LaCrosse.pm

# Weather station - Format:
#        0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15
#   -------------------------------------------------------------------
#  OK WS 14  1   4   208 53  0   0   7   8   0   29  0   31  1   4   1      I D=0E  23.2°C  52%rH  0mm  Dir.: 180.0°  Wind:2.9m/s  Gust:3.1m/s  new Batt. 1025 hPa
#  OK WS ID  XXX TTT TTT HHH RRR RRR DDD DDD SSS SSS GGG GGG FFF PPP PPP
#  |  |  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |--    Pressure LSB
#  |  |  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |------    Pressure MSB
#  |  |  |   |   |   |   |   |   |   |   |   |   |   |   |   |----------    Flags *
#  |  |  |   |   |   |   |   |   |   |   |   |   |   |   |--------------    WindGust * 10 LSB (0.0 ... 50.0 m/s)           FF/FF = none
#  |  |  |   |   |   |   |   |   |   |   |   |   |   |------------------    WindGust * 10 MSB
#  |  |  |   |   |   |   |   |   |   |   |   |   |----------------------    WindSpeed  * 10 LSB(0.0 ... 50.0 m/s)          FF/FF = none
#  |  |  |   |   |   |   |   |   |   |   |   |--------------------------    WindSpeed  * 10 MSB
#  |  |  |   |   |   |   |   |   |   |   |------------------------------    WindDirection * 10 LSB (0.0 ... 365.0 Degrees) FF/FF = none
#  |  |  |   |   |   |   |   |   |   |----------------------------------    WindDirection * 10 MSB
#  |  |  |   |   |   |   |   |   |--------------------------------------    Rain * 0.5mm LSB (0 ... 9999 mm)               FF/FF = none
#  |  |  |   |   |   |   |   |------------------------------------------    Rain * 0.5mm MSB
#  |  |  |   |   |   |   |----------------------------------------------    Humidity (1 ... 99 %rH)                        FF = none
#  |  |  |   |   |   |--------------------------------------------------    Temp * 10 + 1000 LSB (-40 ... +60 °C)          FF/FF = none
#  |  |  |   |   |------------------------------------------------------    Temp * 10 + 1000 MSB
#  |  |  |   |----------------------------------------------------------    Sensor type (1=TX22, 2=NodeSensor)
#  |  |  |--------------------------------------------------------------    Sensor ID (0 ... 63)
#  |  |-----------------------------------------------------------------    fix "WS"
#  |--------------------------------------------------------------------    fix "OK"
#
#   * Flags: 128  64  32  16  8   4   2   1
#                                 |   |   |
#                                 |   |   |-- New battery
#                                 |   |------ ERROR
#                                 |---------- Low battery

What I receive is for example this:

/dev/ttyUSB1: OK WS 42 1 4 238 58 0 0 10

from jeelink-mqtt.

magcode avatar magcode commented on June 25, 2024

OK. I see. Development with some sample values and without the actual hardware would be possible I think.
However I'm working on many other projects atm where I need to integrate equipment I own. So this TX22 has - unfortunately - very low priority for me.

Feel free to open a PR and contribute to this project.

from jeelink-mqtt.

Related Issues (1)

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.