-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-m output with different ID #6
Comments
Hi jeanmarc, please try my fork version (not yet merged in main from gianfrdp), it already includes this feature. |
Hi Drake, Thanks for your reply. I had trouble to compile your version. I have like gianfrdp version to add into the make file. [root@i3 SDM120Cdrk]# make On Sat, Dec 12, 2015 at 9:03 AM, The-Drake notifications@github.com wrote:
|
Please try this fix in file sdm120c.c: #include <sys/types.h> +#include <time.h> |
Sorry but include what ? ;) |
Ops, sorry... :) #include <sys/types.h>
#include <sys/file.h>
-#include <time.h>
+#include <sys/time.h>
+#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h> |
Thanks, I had few warnings (see bellow) and i have to export [root@i3 SDM120Cdrk]# make On Sat, Dec 12, 2015 at 11:20 AM, The-Drake notifications@github.com
|
Warnings should be fixed now. Please try v1.3.5.2. |
Perfect. thanks
[root@i3 SDM120Cdrk]# make
gcc -c -o sdm120c.o sdm120c.c -O2 -Wall -g `pkg-config --cflags libmodbus`
gcc -o sdm120c sdm120c.o -O2 -Wall -g `pkg-config --libs libmodbus`
chmod 4711 sdm120c
|
Fixed with latest merge in this repo too. |
Hello,
Is it possible to have different IDs for import/export/total meters with the -m output ? (like IMP, EXP, TOT)
The data could eventually mess-up since each meters should have a unique ID.
Thanks
The text was updated successfully, but these errors were encountered: