From db20eb06d4c1077a1dffeaf62a1bf1b0128777b1 Mon Sep 17 00:00:00 2001 From: Xavier Beaudouin Date: Thu, 6 May 2021 20:56:08 +0200 Subject: [PATCH] Rewriting from scratch... --- plugin.py | 593 ++++++++++-------------------------------------------- 1 file changed, 107 insertions(+), 486 deletions(-) diff --git a/plugin.py b/plugin.py index 89e5080..7d21f9a 100644 --- a/plugin.py +++ b/plugin.py @@ -1,18 +1,11 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- -# -# DS238-2 D/ZN ModbusTCP -# -# Source: https://github.com/xbeaudouin/domoticz-ds238-modbus-tcp -# Author: Xavier Beaudouin (https://oav.net/) -# License: MIT -# -# Based on the work of : -# Source: https://github.com/addiejanssen/domoticz-solaredge-modbustcp-plugin -# Author: Addie Janssen (https://addiejanssen.com) -# License: MIT -# - +""" +Hiking DDS238-2 ZN/S Energy Meter +Author: Xavier Beaudouin +Requirements: + 1. modbus over TCP adapter like PW21 + 2. pymodbus AND pymodbusTCP +""" """ @@ -24,22 +17,7 @@