在 PLCnext EPC 1522 设备上部署 ioBroker 入门指南
各位 PLCnext 用户好,
前言
得益于 Jan Christoph Müller,我已在 PLCnext 设备(EPC 1522)上安装 ioBroker,现分享给大家。
问题与目标
我拥有:
- Pluggit 通风机,Modbus TCP 通信。上月用 Visu+ 做了小项目但不满意
- 若干 Shelly 继电器,MQTT 通信
- 若干小米智能家居设备(Yeelight、扫地机器人等)
- 目标:单一系统统管所有设备
为何选择 ioBroker?
- 智能家居领域知名系统,支持多种设备(含 PLCnext)
- 拥有丰富的智能家居设备模板/库
- 支持 Docker 部署
操作步骤
- 用浏览器登录设备:
我方情况:https://192.168.0.29/cockpit/
出厂默认:https://192.168.1.10/cockpit/ - 进入 Docker 界面
- 在 Docker Portainer 输入登录信息
- 进入“App template”→“custom template”→“Add custom template”
- 填写模板信息。在“Web editor”处粘贴以下内容:
version: '2'
services:
iobroker:
restart: always
image: buanet/iobroker:latest
container_name: iobroker
hostname: iobroker
ports:
- "8081:8081"
volumes:
- iobrokerdata:/opt/iobroker
- 页面底部点击“create custom template”
- 返回左侧“Custom template”选择刚创建的模板
- 点击“deploy the stack”(喝杯咖啡等待…)
- “咖啡时间”后,左侧“container”下检查“ioBroker”是否运行
- 通过
https://192.168.0.29:8081/登录 ioBroker - 现在可以开始首个 ioBroker 配置了
希望您喜欢这篇博客。有问题欢迎提问。下次将展示我用 Pluggit 通风机(Modbus TCP)的应用。
工业技术
- 固态器件理论:从物理到实际应用
- 用Linux终端命令在PLCnext Control上快速配置VLAN
- 在PLCnext设备上用grpcurl安全远程访问gRPC
- PLCnext CLI 模板:简化 C++ 开发流程
- 利用 SNMP 优化 PLCnext Control 设备:实用指南
- 安全访问通过 DHCP 获取 IP 的 PLCnext Web 服务器
- PLCnext 集群管理:利用 Kubernetes 赋能工业自动化
- 基于 Tableau 打造 PLCnext 实时监控仪表板
- 从 PLCnext 云数据创建 Power BI 仪表板
- 在 Azure IoT Hub 中为 PLCnext Control 构建实时 Grafana 仪表板
- 在 PLCnext 上构建首个 Go 应用:新手入门指南
- 利用 Jlink 优化 PLCnext Control 上的 Java 9+ 应用