Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suslmk-lee/zim-solar-inverter-mapper
삼환에서 제공하는 태양광데이터(IoT)의 Inverter에서 보내주는 데이터를 받아 처리하는 KubeEdge Mapper 컨테이너
https://github.com/suslmk-lee/zim-solar-inverter-mapper
Last synced: 29 days ago
JSON representation
삼환에서 제공하는 태양광데이터(IoT)의 Inverter에서 보내주는 데이터를 받아 처리하는 KubeEdge Mapper 컨테이너
- Host: GitHub
- URL: https://github.com/suslmk-lee/zim-solar-inverter-mapper
- Owner: suslmk-lee
- License: apache-2.0
- Created: 2024-11-15T01:40:02.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-15T04:35:29.000Z (about 1 month ago)
- Last Synced: 2024-11-15T05:25:24.226Z (about 1 month ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zim-solar-inverter-mapper
삼환에서 제공하는 태양광데이터(IoT)의 Inverter에서 보내주는 데이터를 받아 처리하는 KubeEdge Mapper 컨테이너```shell
## mqtt broker 실행
mosquitto_sub -h localhost -p 1883 -t iot/data
``````shell
## test로 publish 수행
mosquitto_pub -h localhost -p 1883 -t iot/data -m '{
"Device": "IoT_002",
"Timestamp": "2024-11-12 15:18:10",
"ProVer": 12345,
"MinorVer": 12345,
"SN": 123456789012345,
"model": "mo-2093",
"Status": {
"Tyield": 4929.23,
"Dyield": 432.77,
"PF": 23.81,
"Pmax": 12345,
"Pac": 12345,
"Sac": 12345,
"Uab": 12345,
"Ubc": 12345,
"Uca": 12345,
"Ia": 12345,
"Ib": 12345,
"Ic": 12345,
"Freq": 12345,
"Tmod": 32.8,
"Tamb": 27.4,
"Mode": "Running",
"Qac": 1189,
"BusCapacitance": 16.2,
"AcCapacitance": 17.1,
"Pdc": 42.12,
"PmaxLim": 46.82,
"SmaxLim": 39.92
}
}' <....
``````shell
$ helm install my-mosquitto k8s-at-home/mosquitto --version 4.3.1 --set service.main.type=NodePort
``````shell
mosquitto_sub -h 133.186.228.94 -p 30819 -t iot/dat
``````shell
mosquitto_pub -h 133.186.228.94 -p 30819 -t iot/data -m bs
``````shell
kubectl run mosquitto-client --rm -it --image eclipse-mosquitto --namespace default -- /bin/sh
```