Read data from the a digital meter through the P1 port using Linux

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 46

  • @whereistomm
    @whereistomm 2 роки тому +8

    This is how all tutorials should be, great work belgian human

  • @JohnHughes-rwxrw-rw-
    @JohnHughes-rwxrw-rw- 3 роки тому +3

    This is fantastic. Just noticed this meter in the house I am buying and found the ports....so of course I am here looking for someone who knows...thank you for knowing! Now to get this into prometheus and grafana. If I come up with a clean enough solution I will contribute it back to your repo.

  • @cleclef
    @cleclef 2 роки тому +2

    Thanks you soo much Man! So uncommon to find Belgian information on those smart meters ! Waiting for mine, then for sure I'll watch your video again.

  • @pvdv
    @pvdv Рік тому +1

    Woensdag is mijn digitale meter geplaatst, tijd om te experimenteren! Thanx voor de video!

  • @GACWaremme
    @GACWaremme 2 роки тому +1

    Great description. The right amount of data.
    I plan to put on a RaspberryPI with Openhab for home monitoring and domotic.
    It seems to be compatible with the KNX protocol too.

    • @jensdbe
      @jensdbe  2 роки тому

      Good to hear and good luck with your plans :)

  • @hellmen54
    @hellmen54 Рік тому

    Another great way to get the data is connecting the port to a serial device server. This enables reading serial data from any device over tcp/ip.

  • @evandenenden
    @evandenenden Рік тому +1

    Thanks Jens, great job. I will try to dive into it

  • @shabrany
    @shabrany 2 роки тому +2

    Bro, thanks man! Good explanation and thanks for the script. I can definitely use for my home project!. Cheers!

  • @Aaron-dn4hn
    @Aaron-dn4hn Рік тому

    Although the S1 port can use the RS422 communication protocol, the P1 port cannot. The pinout of the P1 port indicates that no specific pins have been paid to Data- and Data+, which is essential for the RS422 protocol.

  • @flhoest
    @flhoest Рік тому

    Pro Tip : just plug the USB cable in a Raspberry and configure a sensor in Domoticz ... everything works without any coding or whatsoever ;)

  • @VictorBorosean
    @VictorBorosean 3 роки тому +1

    Wold be nice to see how to integrate it with Home Assitant

  • @HackerBrucke
    @HackerBrucke 5 місяців тому

    I hope this works also for Dutch smartmeters. Thanks!

    • @jensdbe
      @jensdbe  5 місяців тому

      Not sure, in theory it should be very similar but hard for me to test :)

  • @ON8EI
    @ON8EI 2 роки тому

    Great video, amazing why every smart meter user supplied by Fluvius do not have a live meter with consumption plus solar production etc in the living room as standard. What do think of Home Wizard or is there something better? Why did the law re meters going backwards change in Flanders and not the rest of Belgium? The Flemish are not great protesters and not work together. Ika and the rest can stikka. Thanks again. JD.

  • @lyrapkfvl4374
    @lyrapkfvl4374 3 роки тому +2

    Goede uitleg, ik ben iets aant zoeken voor de meter uit te lezen en aan de hand van verbruik of injectie relais te kunnen schakelen? zijn er zoon toestellen of zelf maken met raspberry pi?

    • @jensdbe
      @jensdbe  3 роки тому +4

      Het eenvoudigste is denk ik de P1 poort uitlezen en die data gebruiken om iets te sturen. Er zijn relatief goedkope "slimme" stopcontacten die Tuya compatibel zijn. Deze kun je ook aansturen van uit Python. Als ik ooit eens wat tijd teveel heb, zal ik hier ook wel wat over documenteren :)

  • @robertdeserranno7643
    @robertdeserranno7643 Рік тому

    I have made a cable and a connection from the P1 meter by ESP-01s board, but the data I see in coolterm is chinese (asscii code).
    When I connect domoticz to the IP adress of my ESP board, the data is refused in domoticz. How can I make the data understandable by domoticz or Home Assistant ?

  • @keveen2
    @keveen2 Рік тому

    Can I do the same thing using an optical connector? CH340 usb to IR optical adapter for IEC1107 DLMS meter - Model MY001-B
    Circuit supports IEC 62056-21 or IEC 1107 protocol. New to this.

  • @iopfarmer
    @iopfarmer 2 роки тому +1

    Nice job!

  • @EltonMachadoongoogle
    @EltonMachadoongoogle Рік тому

    Fantastic, is the case for all the digital gas meter in Flandres? I was wondering if I could get the gaz meter readings on mine as well I have a luminus key but with that I can basically do the same with a grafana / prometheus stuff, do you think would be too difficult to add prometheus metrics to the script?

  • @JFOX795
    @JFOX795 2 роки тому

    Nice and clear video!
    Do you have experience with creating the cable yourself? After providing 5V to pin 2, and pin 3 to GND, I did not see any mayor voltage shifts on the data line pin 5.
    Only pending investigation is shortening the cable (5 meters now), since that's the last thing I can think of for now...
    Any suggestions? :)

    • @jensdbe
      @jensdbe  2 роки тому

      Didn't make one myself but I believe you need pin 2 as RTS, data should then be received on GND (pin 3) and pin 5 (RX). The rest shouldn't be needed.

  • @davidmaes3253
    @davidmaes3253 Рік тому

    Great video, thanks.
    Gonna try this with an S7-1200 from Siemens. Anyone any suggestions beforehand? Might save me some time.

  • @frevo8407
    @frevo8407 9 місяців тому +1

    tres tes bien

  • @IONYVDFC
    @IONYVDFC Рік тому +1

    Excellent, I found the commercial option from Smappee way too vulnerable, expensive and the subscription model a real scam. This wired solution sounds better since I only need to know if no major consumer remains active before I leave. I wonder though, as the gasmeter seems to bind wirelessly with the electricity meter, can this signal be picked up as well ? And does the electricity meter emit data over radio too ?

  • @WaldoHazeleger
    @WaldoHazeleger Рік тому

    How can you read the history data from this meter? My HomeWizard Energy app can show history like last month. In your video, i only see current data.

    • @jensdbe
      @jensdbe  Рік тому

      There is no possibility to get historical data as the meter is not saving that. HomeWizard can show history because it is constantly recording it. You can do the same by writing the data captured from the meter to InfluxDB for example.

    • @WaldoHazeleger
      @WaldoHazeleger Рік тому

      @@jensdbe Is the Homewizard dongle doing that, or the Homewizard App?

  • @reiniergeers1316
    @reiniergeers1316 2 роки тому

    IK heb een usb kabel. Ik zie hem. Maar krijg geen data. Linux is voor mij nieuw. Ik programeer in codesys. Daarin kan ik Linux commandos uit laten voeren.
    Hoe lees ik die USB0 uit? Linux kent toch geen drivers Volgens andere filmpjes moet ik hem met 'cu -l /dev/ttyUSB0 -s 115200 --parity=none' kuinnen lezen. Maar krijg geen data

    • @jensdbe
      @jensdbe  2 роки тому

      Codesys keb ik verder niet. Zie je het device op jouw machine? ls /dev/ttyUSB0 toont iets? Heb je rechten om dit device uit te lezen? Je kan eens proberen als root. Als dat wel werkt, wijzig de rechten van /dev/ttyUSB0 of voeg je user toe aan de dialout groep. Ala je het device niet ziet, unplug en volg (tail -f) /var/syslog en kijk welke naam het toestel krijgt. Succes :)

  • @joevr9633
    @joevr9633 Рік тому

    Is this a positive thing or rather a negative ? 99% Of people aren't going to use those ports. And what can Fluvius manipulate remotely ?

  • @Zrugenmaster
    @Zrugenmaster 2 роки тому +1

    Welcome to the "free" world

  • @famszuhhultin9898
    @famszuhhultin9898 Рік тому

    What if your meter discloses binary data?
    Otherwise good video. Tnx!

    • @jensdbe
      @jensdbe  Рік тому

      Could it be, if that is the case, that you're trying to read from the S1 port?

    • @famszuhhultin9898
      @famszuhhultin9898 Рік тому

      @@jensdbe Well, no. I have only the P1-port but according to the supplier they use IEC62056-21 mode D partly encrypted. I am out of options.

  • @mrtadashi3899
    @mrtadashi3899 3 роки тому

    Waarom in het engels ,buiten belgie hebben ze toch zo geen digitale meters ?

    • @mrtadashi3899
      @mrtadashi3899 3 роки тому +1

      Evenzeer bedankt voor de video !

    • @jensdbe
      @jensdbe  3 роки тому +8

      Ik begrijp je opmerking zeker. De redenen waarom dan toch in het Engels:
      1) de rest van het kanaal is in het Engels dus wou ik het consistent houden
      2) In België spreekt een groot deel van de bevolking een andere taal. Alleen al Wallonië is goed voor 40%, hoewel de uitrol daar trager is gestart dacht ik.
      3) Misschien kan het ook nuttig zijn voor mensen uit landen waar men een vergelijkbare meter heeft geïmplementeerd. Dan kunnen deze dit als een soort basis gebruiken

    • @mrtadashi3899
      @mrtadashi3899 3 роки тому

      @@jensdbe absoluut gelijk heb je prima argument, het kon zijn dat het toch buiten België ook werdt gebruikt wat het zoeken op google wat vergemakkelijkt aangezien in België meestal beperkte informatie op het net staat. bedankt voor uw snelle reactie. Ik moet nog wat op uw kanaal rond snuiten, 😉 ziet er op het eerste zicht goed uit. Ik ben nu een manier aan het zoeken om mijn stroom verbruik en het opbrengst van mijn zonnepanelen dagelijks eenvoudig uit te lezen. Ik ben momenteel bij engie en ze hebben een engie boxx om data uit te lezen, nu leveren ze die boxx niet meer lol 😆 trek uw plan.. uw alternatief ziet er goed uit.

    • @ON8EI
      @ON8EI 2 роки тому +1

      You can use UA-cam CC NL if you like, not true re other lands without smart meters. Cheers.

    • @mrtadashi3899
      @mrtadashi3899 2 роки тому

      @@ON8EI Thx for the response! now i know .. sorry greetz

  • @johanuittenbogaard4719
    @johanuittenbogaard4719 3 роки тому

    Krijg die app niet aan de praat. Inloggen lukt niet.

  • @b67fstb
    @b67fstb Рік тому

    Jammer dat je hierna gestopt ben met het verder verwerken van die data en eventueel aansturen van verbruikers/opslag. Zou veel abonnees opbrengen.

    • @jensdbe
      @jensdbe  Рік тому

      Zelf doe ik er natuurlijk wel iets mee en steek in de data in InfluxDB om uit te lezen met Grafana.
      Alleen vind ik de tijd niet om dit deftig te documenteren.