Du kannst zb. Den reed Kontakt via Volkszähler auslesen und mit dem pimatic Plugin die Daten importieren.
-
Gaszähler auslesen
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
danke, werden den zähler mal ausprobieren
-
Hi,
ich mache das ganz simpel mit einem reed Kontakt über den GPIO Plugin in Pimatic. Man muss nur ein mal den aktuellen Wert als Basis nehmen und dann wird mit jedem Implus weiter gezählt. Da ich ab und zu auch mal am Pimatic bzw. am Raspi rumschraube habe ich mit eine Korrekturmöglichkeit über DummySchalter gebaut +/-. Falls es mal so ist das Gas gezählt wurde aber der Raspi aus war. Damit kann ich den Reedimpuls quasi imitieren indem ich die Gasvariable um ein hoch oder runter zähle.Daraus lassen sich dann div. Dinge ableiten…
-
Hallo hier ist ein interessantes Projekt
Gaszähler meine Bauteile sind bei AliExpress bestellt sollten in ~20Tagen bei mir sein. Ich kann dann berichten.
-
Another solution is to use a accelerometer. See also the mysensor forum:
https://forum.mysensors.org/topic/6125/gas-meter-reading-using-a-magnetometer/42
The code is a bit more complex but it is very easy to position the sensor and the output is more accurate when the consumption is very low more accurate.
I have got it running for over half a year now this way and no problems.
Eine andere Lösung ist, einen Beschleunigungsmesser zu verwenden. Siehe auch das mysensor forum:
Https://forum.mysensors.org/topic/6125/gas-meter-reading-using-magnetometer/42
Der Code ist ein bisschen komplexer, aber es ist sehr einfach, den Sensor zu positionieren und der Ausgang ist genauer, wenn der Verbrauch sehr niedrig ist.
Ich habe es für mehr als ein halbes Jahr auf diese Weise und keine Probleme.
-
I’ve also experimented and tested weeks with a reed contact and code/arduino IDE on an ESP8266 (which sent data via WLAN per MQTT to the pimatic).
From my experience there are some great issues here with the countage / reliability of this solution.
Therefore I decided to use a ‘ready to go’ Youless meter (the NEW one: LS120 has a special firmware for GAS measurement (normal it is a power meter).
After 7 months of production, I can approve that this solution is fully reliable and exact up to the point.
Also a great advantage is that the LS stores the data in internal memory and resent it to the backend-side (pimatic) again when available again. So you don’t loose any data in case of unavailability of the backend (pimatic)Implementation:
There is already existing a youless-plugin (for the OLD LS110).
So i duplicated the plugin local (as ‘youlessGAS’) and adopted it to the specif neeeded changes (Parameter, Names etc.).
If U’re interested on the plugin changes I can distribute them here. -
@fennsen can you describe in detail how to use it as a gasmeter?
-
@temp yes easy: you place it on the meter over the digit on the wheel with the red circle (this is what the optical unit from the youless recognise as trigger).
From the community website there is a link for the alternative gas-firmware. Just flash it and configure.
Data is sent by the pimatic-youless plugin (as written, the plugin code has to be changed in some lines matching the gas taxonomy.( See here: http://wiki.td-er.nl/index.php?title=YouLess )see: https://gathering.tweakers.net/forum/list_messages/1494214
and search for ‘Firmware versies’;
download and flash:
www.youless.nl/tl_files/downloads/youless-flash-1.2.0-ELG6.exe -
@ortin said in Gaszähler auslesen:
Daraus lassen sich dann div. Dinge ableiten…
Kannst Du mir einen Tipp geben, wie Du den Verbrauch pro Tag, Woche & Monat auswertest?
Aktuell erhalte ich alle 5 Minuten den aktuellen Zählerstand und kann somit nur den Gesamtverbrauch als Graph darstellen. -
Meine Gaswerte ergeben sich aus einzelnen Impulsen, dass würde dich nicht weiter bringen, aber auf die Art wie du deinen Gaswert ermittelst, ermittle ich meinen Strom.
Hier die nötigen Regeln. Die einzelnen Variablen kannst dir so benennen wie du sie brauchst.
Stromverbrauch berechnen:
When every 60 seconds then set $strom-tag = round($stromverbrauch.strom-gesamt - $strom-tag-basis, 1) and set $strom-woche = round($stromverbrauch.strom-gesamt - $strom-woche-basis, 1) and set $strom-monat = round($stromverbrauch.strom-gesamt - $strom-monat-basis, 1)
Stromverbrauch Tag nullen:
When its 0:00 then set $strom-tag-basis = round($stromverbrauch.strom-gesamt, 1) and set $strom-tag = 0
Stromverbrauch Woche protokollieren und nullen
When it is monday then set $strom-woche-diff = round($stromverbrauch.strom-gesamt - $strom-woche-basis, 1) and execute "echo `date +%d.%m.%Y` - $stromverbrauch.strom-gesamt - $strom-woche-diff >>/home/pi/Homation/log/verbrauchWocheStrom.log" after 1 seconds and set $strom-woche = 0 after 2 seconds and set $strom-woche-basis = round($stromverbrauch.strom-gesamt, 1) after 3 seconds
Stromverbrauch Monat protokollieren und nullen
When its "1st of month" then set $strom-monat-diff = round($stromverbrauch.strom-gesamt - $strom-monat-basis, 1) and execute "echo `date +%d.%m.%Y` - $stromverbrauch.strom-gesamt - $strom-monat-diff >>/home/pi/Homation/log/verbrauchMonatStrom.log" after 1 seconds and set $strom-monat = 0 after 2 seconds and set $strom-monat-basis = round($stromverbrauch.strom-gesamt, 1) after 3 seconds
Schau mal ob du damit zurecht kommst.