ridiekel / jeletask

An open source java API for Teletask domotics (https://www.teletask.be/).
https://github.com/ridiekel/jeletask
GNU General Public License v3.0
5 stars 4 forks source link

4 motor position #14

Closed SanderM2 closed 2 years ago

SanderM2 commented 2 years ago

Added support for General Analog Sensors.

Example configuration:

   "SENSOR": [
      {
        "number": 119,
        "description": "Pool ORP",
        "type": "GAS",
        "gas_type": "4-20ma",
        "gas_min": -2000,
        "gas_max": 2000,
        "gas_decimals": 0
      },
      {
        "number": 118,
        "description": "Pool PH",
        "type": "GAS",
        "gas_type": "4-20ma",
        "gas_min": 0,
        "gas_max": 14,
        "gas_decimals": 2
      }
    ],
SanderM2 commented 2 years ago

Also added state_open, state_closed and state_stopped to the HA autodiscovery config for motors.

ridiekel commented 2 years ago

Can you also write documentation in the README.md?

SanderM2 commented 2 years ago

Ok. I added some info for the General Analog Sensors to README.md now.