P1 meter, which one?

Hey hello Johan, goedemiddag

Would you mind to share how to setup P1 meter integration with the USB cable directly into the Pi ?
My Pi is also in the meterkast
I am testing HA to replace Domoticz and while in Domiticz I find the integration for the P1 meter and cable to be rather easy I just can’t seem to find a proper guide how to setup a P1 meter integration without a device in between (Iikely layer 8 human error :smile: - I just look wrong )

Thank you for pointing me in the right direction

Hoi Arjan,

Did you already have a look at this page?

It has been a while ago since I configured the energy logging with the P1 cable, but I think it was just plugging in the cable and adding the DSMR integration to Home Assistant via Settings. And after that confuring the Energy dashboard.

1 Like

I’m currently running DSMR together with this cable, directly attached to my HA server. It works fine.

Thank you both ! Got it working now

2 Likes

Hallo daar, ik heb zonet de slimme meter wifi gateway ontvangen en deze in de P1 poort gestoken.

Maar nu loop ik een beetje vast… Ik heb HA op een RPi met Duckdns. als ik het ip adres invoer dat in de log van mosquitto broker aangegeven is ingeef smart meter gateway, dan krijg ik een error, check connection.

ik heb zigbee2mqtt draaien, mosquitto broker en duckDNS (weet niet of dit relevant is, maar ik geef het maar mee.)

er is een gebruiker aangemaakt voor de broker. dit staat in mijn configuration.yaml; broker: xx user: xx password: xx server: mqtt://xxx:1883

als ik deze gegevens ingeef in mqtt explorer: dan krijg ik: getaddrinfo ENOTFOUND xxx(mijn broker naam)

ik ben op zoek gegaan, maar mijn kennis van netwerken ed. is niet zo groot. Als ik op HA inlog, dan gebruik geen IP adres maar https://xxxxxxxxxxxxx.duckdns.org/ kan je me verder helpen? als ik een IP scan doe, zie ik geen RPi op mijn netwerk… (weet ook niet echt meer wat het IP van de RPi is)

wat ik ook ingeef in de smart gateways als MQTT server (host of ip) dan krijg ik een error.

Hoi Tom,

Om welk product gaat het? De Slimmelezer van Marcel Zuidwijk of iets anders?

Ik vermoed dat het komt omdat je de mqtt broker niet via de configuration.yaml moet configureren, maar via het instellingenmenu. De configuratie via yaml is verouderd en niet meer van toepassing voor deze integratie.

Zie: MQTT - Home Assistant

Die yaml was ook niet bedoeld om een gebruikersnaam aan te maken. Je kunt een gebruiker toevoegen aan de gebruikers lijst en die combinatie van naam en wachtwoord gebruiken.

Zie: addons/mosquitto/DOCS.md at 6828d1e7e95b0a6afa8875e88cb15c23b419e4ab · home-assistant/addons · GitHub

Maar ik vermoed dat binnen je zigbee2mqtt configuratie ook wel een broker draait, ik gebruik geen zigbee2mqtt

Ik begrijp dat je het ip adres niet meer weet, deze kun je makkelijk vinden door in te loggen op je router via de browser. Dan vind je een lijstje van gekoppelde apparaten en hun ip adres. Het ip-adres en inlog/ww van je router staan vaak met een sticker op de achterkant van je router of modem/router als je die gebruikt. Als het ip adres er niet op staat kun je dit Googlen voor jouw modem/router.

Wellicht kun je ook homeassistant.local gebruiken als adres. Dit is oa handig omdat bij veranderingen in je netwerk er een ander ip adres aan je Raspi met Home Assistant kan worden toegewezen. Maar je kunt het ip adres ook vast toewijzen aan je raspi in de instellingen van je router.

Kan ook nog zijn dat je de het mqtt adres zonder mqtt:// moet invullen, alleen het ip adres van home assistant of homeassistant.local

ik kocht de slimme meter gateway van smartgateways.nl.

mqtt is via apparaten en diensten ingesteld. Daar zie ik al mijn apparaten die via zigbee2mqtt zijn gelinkt.
image

Ik had mijn reply ondertussen nog wat aangepast, over hoe het ip adres te bepalen en hoe een gebruiker voor de mqtt broker aan te maken.

i’m still trying

i have mosquitto broker running

found ip4 ip adress homeassistant

but in mqtt explorer, port 1883 en username+password:


also in the smart meter gateway:

Hi, this is an English only forum. See point 0 of the linked topic. Please translate your post, if needed using a translation service so anyone can follow or reply.

If you want to use Dutch, there’s also a Dutch forum for Home Assistant. You can also find these in the topic below.

for the record; i realy appriciate the effords all of you do helping out users!
i did help som users on other topics.

That too is appreciated! For the record, I’m Dutch myself, it is just that more people can learn from the answers and contribute if we share a common language.

If that’s okay with you I will continue in English.

Nice that you got your ip address. Did you tried to toggle “validate certificate” and “certification tls” in mqtt explorer? Maybe a different port is set in your mqtt broker, other than 1883?

english is fine, thank you.

in my mqtt broker addon - configuration - network: mqtt with ssl: 8883, over websocket 8884.
in mqtt explorer, with port 8883/4, no luck.

i’ve checked my mqtt user (as a user, not a person), it is active, local access is off and he is not an administrator.

no way! i found my solution.
the smart meter Gateway has different types of firmware. after installing Belgium: tada!

thanks for all the help. did the changes with mqtt broker, what was usefull.

nice! Good luck further

Do not order smartgateways.
I had the sensor for 2 years with only connection problems.
After ordering a new sensor for the 3rd year, this one did not work either. After returning it, you do not get the shipping costs reimbursed.
They are crooks. In addition, they tell all kinds of lies to cover up the fact that they sell a bad product. You will only find bad reviews on the homeAssistant community with both the product and their service.
Better to order this type of sensor elsewhere via HomeWizard. Works very well, is reliable and also much cheaper with excellent customer service.

Similar story for HomeWizard.

Ordered their P1 Meter, it is not working. The problem is defintely with their P1 Meter.
Support was contacted multiple times and is unresponsive, multiple complaints about this on Reddit.

Return process is very bad. You just need to print a label, send the items back and hope you will be refunded. They also do not pay back the shipping label.

So yeah, do not order the HomeWizard meter!

I ordered the SmartGateways P1 Reader on March 2021 and one year later the Watermeter and till today they work very well. Never ever had any problems with them.

I use WaterP1MeterKit V2. I bought it a week ago to test, and I like it. It’s one of the best 2-in-1 solutions on the EU market. Compared to many others, it is a turnkey solution, and integration with HA is super easy.