SDM120C icon indicating copy to clipboard operation
SDM120C copied to clipboard

sdm120c ModBus Mini Smart Meter

Results 9 SDM120C issues
Sort by recently updated
recently updated
newest added

When compiled with -Wstrict-prototypes (that will be the default of the newer versions of compilers) we have: ``` sdm120c.c:214:7: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 214 | char* getCurTime()...

hello on ubuntu server after send command **make clean && make** I get this error: ``` rm -f *.o sdm120c gcc -c -o sdm120c.o sdm120c.c -O2 -Wall -g `pkg-config --cflags...

Hello I have installaed v1.3.5.4, fount on /hom/pi/SDM120C how I can update to last version?

By compiling the current master code with -O2 I get: ``` In file included from /usr/include/string.h:519, from sdm120c.c:39: In function 'strncpy', inlined from 'getPIDcmd' at sdm120c.c:822:9: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified...

I am trying to communicate with my SDM120-modbus. I am pretty sure I have wired everything correctly (B to 9 and A to 10), but somehow I cannot talk to...

Hi, I saw that sdm120c continues to log stuff into syslog, despite any value is given to the parameter ``` -d ```. For example, with this successfull call: ```bash bash-4.4#...

It should print "Apparent Power" and "Reactive Power" respectively. https://github.com/gianfrdp/SDM120C/blob/bf2b3faceeee474fae1a27046335251490d4194e/sdm120c.c#L1722 https://github.com/gianfrdp/SDM120C/blob/bf2b3faceeee474fae1a27046335251490d4194e/sdm120c.c#L1734

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...

Added debug level : default = 1 -d 0 means ultra quiet