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 3 forks source link

Temperature Sensor from Teletask Aurus not Available in Home Assistant #36

Open LtPixel opened 10 months ago

LtPixel commented 10 months ago

I've added my Aurus into the Jeletask configuration... * It's an Aurus-OLED.

jeletask.conf

"SENSOR": [
      {
        "number": 8,
        "description": "Bedroom Teletask Temperature Sensor",
        "type": "TEMPERATURECONTROL",
        "ha_unit_of_measurement": "°C"
      }
   ]

Upon starting Jeletask, I receive the following message...

console log

2023-09-01 11:46:58.077 - INFO - i.g.r.j.mqtt.listener.MqttProcessor : [EVENT ] - [SENSOR ] - [ 8] - [Bedroom Teletask Temperature Sensor] - {"state":"ON","current_temperature":20.1,"target_temperature":20.0,"day_preset_temperature":20.0,"night_at_heating_preset_temperature":10.0,"night_at_cooling_preset_temperature":30.0,"eco_preset_offset":2.5,"preset":"DAY","mode":"AUTO","fanspeed":"SPAUTO","window_open":0,"swing_direction":0,"output_state":0}

I'm actually only interested in the "current_temperature". In MQTT (on Home Assistant), I don't see a "Bedroom Teletask Temperature Sensor" sensor.

Is this possible? If so, how do I do this?

P.

Jimnaldo commented 3 months ago

i have the same problem @ridiekel what are we doing wrong? I also get the info on the console log but HA is not adding the entity. Please advice

claesmathias commented 3 months ago

The type you are using is wrong. Here you find myconfig for the Aurus.

"SENSOR": [ { "number": 19, "description": "Temperature Sensor", "type": "TEMPERATURE", "decimals": "1", "ha_unit_of_measurement": "°C" }

Jimnaldo commented 3 months ago

The type you are using is wrong. Here you find myconfig for the Aurus.

"SENSOR": [ { "number": 19, "description": "Temperature Sensor", "type": "TEMPERATURE", "decimals": "1", "ha_unit_of_measurement": "°C" }

but this is when you just want to read the sensor into home assistant i would like to control the temperature and how i read it in the documentation you need to but it in like this: TEMPERATURECONTROL | Teletask temperature controllabe sensor (Aurus OLED, HVAC, ...)

Jimnaldo commented 3 months ago

Jeletask recieves the information correct :

2024-03-05 21:01:43.416 - INFO - i.g.r.j.mqtt.listener.MqttProcessor : [EVENT ] - [SENSOR ] - [ 28] - [ aurusverg adercontrol] - {"state":"ON","current_temperature":20.7,"target_temperature":18.5,"day_preset_temperature":20.0,"night_at_heating_preset_temperature":10.0,"night_at_cooling_preset_temperature":30.0,"eco_preset_offset":2.5,"preset":"OFF","mode":"HEAT","fanspeed":"SPAUTO","window_open":0,"swing_direction":0,"output_state":8}

But HA doesn't discover it.

claesmathias commented 3 months ago

Please read my comment, the type is not correct. I'm not sure if this type of temperature control is compatible with HA