Code Monkey home page Code Monkey logo

fhem-examples's People

Contributors

git-developer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fhem-examples's Issues

Unterscheidung Sensor

Hallo,

wäre es möglich das zu erweitern? Es geht darum wie man verschiedene Sensoren an einem SDR "trennen" kann

Wenn man sich die ID ansieht, so erkennt man was der Inhalt sein wird:

`a000bccd

a = type 1 (17240baud types), 2 (9600 baud types), 3 (TX22)
b = static value (0 for TX22, usually 9 for others)
cc = random ID
d = subtype
    d = 0 (internal temperature sensor)
    d = 1 (external temperature sensor for 3143)
    d = 1 only humidity (TX22)
    d = 2 rain counter as temperature value (TX22)
    d = 3 speed as temperature in m/s, direction as humidity (TX22)
    d = 4 gust speed as temperature in m/s (TX22)

`
Konkret:
0865bcacdff1 2 : Regensensor
0865bcacdff1 0 : Temperatursensor der im Regensensor integiert ist

Ich stelle mir vor, das es eine Fallunterscheidung gibt:
0: message="{ \"sensor_id\":\"$sensor_id\", \"temperature\":$temperature, \"humidity\":$humidity, \"lowbat\":$lowbat, \"rssi\":$rssi }"
2: message="{ \"sensor_id\":\"$sensor_id\", \"raincount\":$raincount, \"timediff\":$timediff, \"lowbat\":$lowbat, \"rssi\":$rssi }"

Grüße
Malte

Dankeschön!

Ich probiere schon seit Wochen an der Zeitauflösung letztes Reading -> aktuelles Reading rum - Dein Artikel hat mir "die Augen geöffnet". Ich lese per mqtt von openenergymonitor die aktuelle power von drei Phasen und wollte für die kWh-Berechung nicht extra das emoncms mitlaufen lassen. Jetzt kann ich die Pasehaddition und das power to kWh ziemlich genau per userReadings berechnen.

Grüße,
Gregor

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.