ข้ามไปยังเนื้อหา

OBH-IoT Solar & Energy Monitoring

No Model Building IP Data Logger Connection
1 SUN2000-60KTL-M0 (x2) K (อาคารหมอกัมพล) 194.1.1.1 EW11 + Waveshare Modbus TCP, Slave ID=1
2 SUN2000-60KTL-M0 B (อาคารหมอบริกส์) 194.1.1.2 Waveshare Modbus TCP, Slave ID=1
3 SUN2000-20KTL-M5 HN (หอพัก/Dormitory) 194.1.1.3 Waveshare Modbus TCP, Logical Address=2

Note: SmartLogger 3000 #3 (Building HN) uses Logical Address=2 to allow Inverter D data retrieval via Address=1 (changed Aug 2024).

Device IP SSID Type Connected To
Solar Logger #1/1 194.1.3.246 - EW11 (RS485-WiFi) Inverter K-1
Solar Logger #1/2 194.1.1.119 Waveshare_6A44 Waveshare Inverter K-2
Solar Logger #2 194.1.1.120 Waveshare_05B4 Waveshare Inverter B
RS485 Logger #1 194.1.1.153 Inverter-K1 Waveshare Inverter K-1
RS485 Logger #4 194.1.1.154 RS485_04 Waveshare Building D
RS485 Logger #5 194.1.1.155 RS485_05 Waveshare -
RS485 Logger #6 194.1.1.156 RS485_06 Waveshare -

The EW11 (Elfin-brand) bridge connects Huawei SUN2000 inverters to the network:

Parameter Value
Network Mode DHCP (static fallback: 10.10.100.10)
WiFi Mode AP+STA (STA connects to OBHIoT, AP broadcasts EW11_8F1A)
UART/RS485 9600 baud, 8N1, half-duplex
Protocol Modbus RTU, 4096-byte buffer, 50ms gap time
TCP Socket Server on port 8899, max 3 connections, keepalive 120s

Huawei SmartLogger3000 installed for solar data aggregation:

  • Interfaces: RS485 (multiple terminal blocks), LAN, MBUS L3, 4G cellular (SMA antenna)
  • I/O: DI (digital input), AI (analog 0-10V / 4-20mA), DO (relay NC/COM/NO)
  • Power: DC 24V
  • Reference Docs: SUN2000 user manuals (50KTL, 60KTL, 8-20KTL-M2), Modbus Interface Definitions
Device Location IP Source
EMON 3P #1 UPS อาคารหมอกัมพล 194.1.1.117 UPS Power
EMON 3P #2 UPS อาคารหมอบริกส์ 194.1.1.118 UPS Power (ตู้ Main)
EMON 3P #3 MDB-K1 194.1.1.150 MDB Power
EMON 3P #4 MDB-K2 194.1.1.151 MDB Power
EMON 3P #5 MDB-B1 194.1.1.152 MDB Power
  • CT clamp installation: Thread cables from inside the electrical cabinet
Metric Unit Entity Pattern Notes
Current (3-phase) A sensor.obh_emon3p_{nn}_energy_current_{0,1,2} Per phase
Power (3-phase) W sensor.obh_emon3p_{nn}_energy_power_{0,1,2} Per phase
Voltage (3-phase) V sensor.obh_emon3p_{nn}_energy_voltage_{0,1,2} Stored but not primary
Energy Today kWh sensor.obh_emon3p_{nn}_energy_today Daily consumption
Energy Yesterday kWh sensor.obh_emon3p_{nn}_energy_yesterday Previous day
Energy Total kWh sensor.obh_emon3p_{nn}_energy_total Cumulative
Energy Monthly kWh sensor.obh_emon3p_{nn}_energy_monthly Manual calculated sensor

All energy data is stored in InfluxDB and visualized in Grafana.

Type Qty CT Type Price/Unit
3-Phase Energy Monitor 4 Split Core CT ~16,250 THB
3-Phase Energy Monitor 14 Rogowski/Flexible CT ~17,200 THB
Implementation & Integration 1 lot - ~51,400 THB

Connection via RS485. (มูลค่าและเลขอ้างอิง PO/DN — ดูในเอกสารจัดซื้อของโรงพยาบาล; redacted 2026-11-20) This brings total energy monitors from 5 to 23 across the hospital.

UPS Building IP SNMP
OBH-UPS-01 อาคารหมอบริกส์ 194.1.1.50 Yes
OBH-UPS-02 อาคารหมอกัมพล 194.1.1.51 Yes
OBH-UPS-03 ระบบงานรังสี (X-Ray) 194.1.1.52 Yes (different OIDs)
OBHMS-UPS-01 คลินิกแม่สาย 194.2.1.50 Yes
OBHCK-UPS-01 คลินิกเชียงของ 194.3.1.50 Yes

All UPS data flows: SNMP -> Home Assistant -> InfluxDB -> Grafana