Subversion Repositories Domoticz.plugins

Rev

Blame | Last modification | View Log | Download

Modbus READ v2021.7
- Fixed: Swapping will work for 32bit floats as well [drotos88]

Modbus READ v2020.2F
- Fixed: Bug pymodbusTCP (TCP/IP) python plugin conversion fixed
- Optimized: TCP/IP port debug logging
- Optimized: set default TCP/IP port to 502

Modbus READ v2020.2E
- Fixed: Plugin not starting in unreleased beta versions (dependancies check)
- Fixed: Default function set to to read holding registers.
- Improved: option and plugin descriptions
- Optimized: timeout on all methods set to 2 seconds.

Modbus READ v2020.2D
- Optimized: Added default device name
- Optimized: Debug lines and info

Modbus READ v2020.2C
- Added: Plugin description
- Optimized: All settings read once at plugin start
- Optimized: Better log, debug, error usage.
- Fixed: Bug for device update on TCP/IP (on error)
- Code cleanup

Modbus READ v2020.2B
- Added: Device polling rate setting (seconds) (e.g. ID:POLL = 1:10 then Device ID=1 and Pollingrate=10 seconds)
- Added: Some more debug lines for value output and pollingrate (heartbeat)

Modbus READ v2020.2A
- Fixed: "no data found check settings" for new domoticz v2020.x
- Fixed: default settings are now filled correctly
- Added: BOOL conversion (for read coils...not tested on hardware)
- Added: version checks and notification for needed dependancies
- Added: ability for debug yes/no (for easy troubleshooting)
- Improved: TCP IP and PORT options now merged
- Improved: option descriptions, sorted options
- Code cleanup

v2.0.0
- Fixed exception in modbus library (added .registers again)
- New plugin: modbus-device [bramvreugd]
  - With this plugin you can add a device with many registers at once

v1.2.1
- Fixed the exception "Modbus Error: [Invalid Parameter] Invalid collection of registers supplied" on my Raspberry/Domoticz

v1.2.0
- Fixed TAB error.

v1.1.9
- Fixed debug output [Sandolution]

v1.1.8
- Added "sys.path.append('/usr/local/lib/python3.5/dist-packages')" in the begining for modern python libraries compatibility. [akliouev]
- After wrestling for a day finaly found out that "data" is a list and doesn't have method ".registers" associated with it. [akliouev]
  Must be remnants of older pymodbus versions. Changed "data.registers" -> "data". [akliouev]
- Fix: line 403 was verifying that Username is "1" (only "read coil") and otherwise wasn't updating anything. [akliouev]

v1.1.7
- Removed debug option due to implementation of sensor type. [Sandolution]
- Added more options for data type (swapping of low/high byte/word). [Sandolution]
- Adjusted dividing settings to include 10000. [Sandolution]
- Added more append paths [Sandolution]

v1.1.6
- Added import RTU framer for RTU over TCP to work. [Sandolution]
- Fix for unit id on RTU over TCP [Sandolution]

v1.1.5
- Added ID option for IP/TCP addresses. [S. Ebeltjes]

v1.1.4
- Removed debug option due to implementation of sensor type. [Sandolution]
- Added more options for data type (swapping of low/high byte/word). [Sandolution]
- Adjusted dividing settings to include 10000. [Sandolution]

TODO: float decode word orders
float AB CD == byteorder=Endian.Big, wordorder=Endian.Big
float CD AB == byteorder=Endian.Big, wordorder=Endian.Little
float BA DC == byteorder=Endian.Little, wordorder=Endian.Big
float DC BA == byteorder=Endian.Little, wordorder=Endian.Little