baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

November, 2022

KOSTAL PIKO 12-20 + KSEM G2 modbus API access + WebSocket access etc.

KOSTAL KSEM G2 (modbus TCP) grid power total: 1) In device configuration, enable ModBus TCP slave 2) Install mbpoll 3) Reading smart meter using command line: mbpoll -0 -t 3:int -r 0,2 -c 2 192.168.1.12 -1 -B -q Simple BASH parsing example: mbpoll -0 -t 3:int -r 0,2 -c 2 192.168.1.12 -1 -B -q > […]