georgezhao2010/peacefair_energy

添加Peacefair Energy Monitor集成一直报错无法加载配置向导: {"message":"Invalid handler specified"}

596311341 opened this issue · 3 comments

请问一下大家怎么解决啊?

modbus.py
行2
from pymodbus.client.sync import ModbusTcpClient, ModbusUdpClient
改为
from pymodbus.client import ModbusTcpClient, ModbusUdpClient
行87,92 中的"unit"改成“slave”后可以正常工作了

modbus.py 行2 from pymodbus.client.sync import ModbusTcpClient, ModbusUdpClient 改为 from pymodbus.client import ModbusTcpClient, ModbusUdpClient 行87,92 中的"unit"改成“slave”后可以正常工作了

正解,感谢分享解决方案,目前版本v0.7.3就第二行需要改动(其它两处作者已经更新)

yoku70 commented

Hi, I have the same problem, could you write the solution in English, I can't translate it in your language.
Thank you
Livio from italy