Loading... 1、完成群辉青龙面板安装 <a class="post_link" href="http://blog.cloud620.cn:6620/index.php/archives/8062/"><i data-feather="file-text"></i>群晖docker安装青龙面板</a> 2、登陆青龙面板订阅国家电网任务 `https://github.com/x2rr/state-grid.git` 运行订阅任务   3、安装mqtt、node-localstorage依赖  4、添加环境变量---前提条件(群辉完成mqtt安装) <a class="post_link" href="http://blog.cloud620.cn:6620/index.php/archives/228/"><i data-feather="file-text"></i>群晖MQTT安装对接HomeAssisant</a>  ``` export WSGW_USERNAME="" #网上国网账号 export WSGW_PASSWORD="" #网上国网密码 export WSGW_RECENT_ELC_FEE="true" #是否获取最近电费 export WSGW_mqtt_host="" #mqtt服务器地址 192.168.1.7 export WSGW_mqtt_port="" #mqtt服务器端口 1883 export WSGW_mqtt_username="" #mqtt服务器用户名 export WSGW_mqtt_password="" #mqtt服务器密码 ``` <div class="hideContent">该部分仅登录用户可见</div> 最后修改:2026 年 01 月 31 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏