Code: Select all
greeneye_monitor:
port: 8000
monitors:
- serial_number: "[redacted]"
channels:
- number: 1
name: total_power1
- number: 2
name: total_power2
This shows the packets from GEM arriving at the HA host:
Code: Select all
[slocum dan ~] % sudo tcpdump -ni ix2 port 8000
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ix2, link-type EN10MB (Ethernet), capture size 262144 bytes
12:47:53.870514 IP 10.52.0.71.1091 > 10.55.0.38.8000: Flags [S], seq 4117739715, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 102516 ecr 0], length 0
12:47:56.870938 IP 10.52.0.71.1091 > 10.55.0.38.8000: Flags [S], seq 4117739715, win 16384, options [mss 1460], length 0
12:47:59.871023 IP 10.52.0.71.1091 > 10.55.0.38.8000: Flags [S], seq 4117739715, win 16384, options [mss 1460], length 0
12:48:02.871153 IP 10.52.0.71.1091 > 10.55.0.38.8000: Flags [S], seq 4117739715, win 16384, options [mss 1460], length 0
12:48:04.371446 IP 10.52.0.71.1092 > 10.55.0.38.8000: Flags [S], seq 1126610498, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 103566 ecr 0], length 0
12:48:07.371390 IP 10.52.0.71.1092 > 10.55.0.38.8000: Flags [S], seq 1126610498, win 16384, options [mss 1460,nop,wscale 0,nop,nop,TS val 103866 ecr 0], length 0
Code: Select all
[slocum dan ~] % python btmon3.py --print --debug --device-type=gem --ip --ip-mode=server --ip-port 8000
2022/08/28 12:49:41 btmon: 4.0.0
2022/08/28 12:49:41 python: 3.9.13 (main, Jul 16 2022, 12:14:30)
[Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a
2022/08/28 12:49:41 platform: freebsd13
2022/08/28 12:49:41 device type: gem
2022/08/28 12:49:41 device list: ['']
2022/08/28 12:49:41 packet format: gem48ptbin
2022/08/28 12:49:41 schema: counters
2022/08/28 12:49:41 buffer size: 120
2022/08/28 12:49:41 SOCKET: bind host:
2022/08/28 12:49:41 SOCKET: bind port: 8000
2022/08/28 12:49:41 packet format is GEM48PTBinaryPacket
2022/08/28 12:49:41 using collector SocketServerCollector
2022/08/28 12:49:41 using 1 processors:
2022/08/28 12:49:41 PrintProcessor
2022/08/28 12:49:41 setup SocketServerCollector
2022/08/28 12:49:41 SOCKET: binding to :8000
2022/08/28 12:49:41 setup PrintProcessor
2022/08/28 12:49:41 SOCKET: waiting for connection
Do you have any suggestions please?
Thank you