Hi,
Have you set the Serial port configuration as shown in the user guide?
Cheers Rene
Hi,
Have you set the Serial port configuration as shown in the user guide?
Cheers Rene
Hi Rene.
As far i know, yes i did. See picture attached.
Rgds Fr.
Hi Rene,
They recently changed our gas meter (since it was noisy), but now the plugin does not report gas usage anymore. If you look at the data stream you’ll see that the ID has changed to ‘0-2’
0-2:24.2.1(170418090000S)(00149.746*m3)
However, your code assumes it is always ‘0-1:24.2.1’ (note the ‘0-1’). According to the spec you can expect ‘0-n:24.2.1’.
Can you update the code to handle these kind of cases as well? (note the ‘n’ holds for multiple data lines).
Grtz,
-Ramon.
[quote=“nlrb, post:143, topic:187190”]Hi Rene,
They recently changed our gas meter (since it was noisy), but now the plugin does not report gas usage anymore. If you look at the data stream you’ll see that the ID has changed to ‘0-2’
0-2:24.2.1(170418090000S)(00149.746*m3)
However, your code assumes it is always ‘0-1:24.2.1’ (note the ‘0-1’). According to the spec you can expect ‘0-n:24.2.1’.
Can you update the code to handle these kind of cases as well? (note the ‘n’ holds for multiple data lines).
Grtz,
-Ramon.[/quote]
Hi Ramon,
Will do. Only expected this to happen if you would have multiple gas meters.
Cheers Rene
[quote=“vandingenen, post:142, topic:187190”]Hi Rene.
As far i know, yes i did. See picture attached.
Rgds Fr.[/quote]
Hi, you also say you “Installed the Luup files”. Did you install from the Vera App market or did you upload them your self? If the latter, can you delete the device again and then install from the app market? No need to do it manually.
Cheers Rene
Hi Rene.
Initially i installed the luup files, later i was advised by Vera support to install the Smart meter app. So i installed the app with the same serial port configuration as in the attachment.
In neither case the app gives any results in the devices tab.
Could it be possible that the meter is not providing any data and that the port needs to be “activated” by my utility provider? Can i check with a (pc-program) connecting the cable to my pc if there is data sent from the P1 port?
Any help is appreciated!
Rgds Fr.
Hi Fr,
As far as I know the port should send data and no activation should be required. You can test from a PC. You will need to use a terminal emulator program and connect that to the USB cable port.
Are you seeing anything in the Vera Log file? At a minimum you should see some lines at startup.
Cheers Rene
Hi Rene,
No I don’t see anything in the log files, nothing, nada. Completely empty.
I do get this error message (see attached) if I save the port configuration tool.
Hope this helps.
Rgds Fr.
Hi Rene,
I have tried another analysis of the problem and i ran the json file: D_SmartMeter.json in the Device Simulator.
See the result in the attachment, it is missing some data from the smartmeter I believe.
Maybe this provides some ideas to a solution.
Rgds Fr.
Hi Fr,
In the Serial Port configuration set the used by device to Smart Meter Reader.
Also the D_…json file you are looking at is for the UI5 Vera’s. The one with UI7 in its name is the one used and will only give a few warnings, but that are all intentional.
Cheers Rene
Hi Rene,
Done the serial port settings to Smart Reader [] thing.
Tried different settings in the port 3481 and 3482, even tried different baud rates etc. etc. But nothing seems to work, I am getting (a little) desperate.
Need some way to test the output of the smart meter on my PC, tried connecting the meter to my PC, but need “simple” program to test the cable and meter!
Again help is highly appreciated.
Rgds Frans
Hi Frans,
In the Serial Port configuration you should only need to select the Used by Device and baud rate (11500) parity (none), data bits (8), stop (1) and not touch any of the first three lines of settings. Please disconnect the serial cable, reload LUUP and make sure the serial configuration is empty. Then connect it again, reload luup and just select the Used by Device and set the baud etc. In all settings I have seen the IP address field is empty, so your ‘unspecified’ looks odd to me.
The program you need to test is a terminal emulation program like PuTTY. With the correct settings for baudrate that will show the smartmeter output every ten seconds.
Cheers Rene
Hi Rene,
Thanks for your patience.
I now have made some more progress, the new error i have also after support of the P1 cable supplier is:
System error : Device: 72. Fail to load implementation file D_dutchSmartMeter.xml
Apparently the .xml is not loading or implementing correctly.
Any suggestions.
Rgds Frans
Hi Frans,
For some reason the file(s) are corrupted on your Vera it seems. You can try to uninstall the plugin, reload luup and then install it from the app market again.
Cheers Rene
Hi Rene and Frans,
I seem to be having the same problem as Frans.
Tried all the things you advised Frans to do but no success yet.
In the serial port configuration the usb path stays empty: the same as shown in Frans’ screenshot. see screenshot.
Is this normal? When I try to put in /dev/ttyUSB0 it doesn’t work either.
What to do now?
Hi all.
After going back and forth between this forum, Vera support and Robbshop support, I concluded that the problem was either the P1 port on my E-meter or the P1-USB cable.
Received a new cable from the Robbshop and after installing the cable and the Smart Meter DSMR app, I got everything working wthin 5 minutes.
So the root cause was the cable, for which I received a new one.
Thanks for all your support over the past weeks.
Regards Frans
PS. Now i have a new challenge, because I want to use data logging and noticed that DataMine requires a USB drive connected to the Vera. However my VeraEdge has only one port which is now used by the cable to the E-Meter. Any suggestions to which page on the forum i need to address this topic.
Hi Joost,
The Serial port settings are correct. The only place you will find a reference to the USB path should be in the Advanced settings of the Smart Meter Reader plugin it self. See if there is no (!) IP address in the IP attribute. In teh Variables you should see IODevice, IODeviceXRef, and IOPortPath to /dev/ttyUSB0.
Otherwise the only other test I can advice is connect the USB cable to a PC and see what data is send by the smart meter. A program like PuTTY (Windows) will do.
If you get garbled information check you donot have an older V2 meter as that has a baudrate of 9600, 7 databits, even parity, one stopbit. If not that and the information is garbled, the serial to UBS cable is not configured to invert the signal as it should. You will have to look at its manual to configure that.
Cheers Rene
Hi Frans,
You can use a small USB hub to install both. Use a powered one for the best results.
Cheers Rene
Have a smart meter since yesterday. Plugin works perfect!
Is it possible to show the data from the meter on the Vera dashboard in the energy card?
Regards,
Patrick
Hi Patrick,
I do not think that is possible. That Engy plugin is closed source. I also stay away from it as it seems to cause many problems because its data fills up the Vera memory quickly.
I use DataMine2 for all my reporting.
Cheers Rene
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules