Tuya local fight on IR panel

So I have a Eurom IR panel. It works on wifi, thourgh eurom app or through tuya app. So I used the tuya cloud integration and HA can control it, but only for a month now as my dev account on IOT tuya gets expired license.
So i thought, lets get local tuya working and be done with it. But i just cant get the thing to work through local tuya.
It asks for 6 value parameters of uwhich i can assign 4, the other 2 i have no clue. But when finished setting it, the entity gets created but is’nt available. Cannot control anything. I use ‘climate’ device to setup.
Anybody any ideas:
how to figure the parameters to settings
how to get the entity work.

or how to get a developer account on cloud that dont expire (apart from paying the fee, kinda allergic to all these subscriptoins for devices i have in my home, should be locally controllable)

Did you read up on localtuya?
Do you have the localkeys yet?

i did read instructuctions… local tuya kindly fetches my device info from cloud during setup. anything i missed you recon?
ffs, getting the hint now… letme get the info on the id’s

not getting much further :slight_smile:

{
  "result": {
    "category": "qn",
    "functions": [
      {
        "code": "switch",
        "desc": "{}",
        "name": "开关",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "temp_set",
        "desc": "{\"unit\":\"℃\",\"min\":\"0\",\"max\":\"37\",\"scale\":\"0\",\"step\":\"1\"}",
        "name": "目标温度C",
        "type": "Integer",
        "values": "{\"unit\":\"℃\",\"min\":\"0\",\"max\":\"37\",\"scale\":\"0\",\"step\":\"1\"}"
      }
    ],
    "status": [
      {
        "code": "switch",
        "name": "开关",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "temp_set",
        "name": "目标温度C",
        "type": "Integer",
        "values": "{\"unit\":\"℃\",\"min\":\"0\",\"max\":\"37\",\"scale\":\"0\",\"step\":\"1\"}"
      },
      {
        "code": "temp_current",
        "name": "当前温度C",
        "type": "Integer",
        "values": "{\"unit\":\"℃\",\"min\":\"-20\",\"max\":\"50\",\"scale\":\"0\",\"step\":\"1\"}"
      }
    ]
  },

what to do with 2 switches… think one is on/off and other is eco on/off.
but still the entity dont come alive

so, pulled a debug on it from HA. Its having message issues as far as i can deduct below log:

 2022-11-22 13:41:11.017 DEBUG (MainThread) [custom_components.localtuya.common] [730...3eb] Connecting to 192.168.1.210 
 2022-11-22 13:41:11.039 DEBUG (MainThread) [custom_components.localtuya.common] [730...3eb] Retrieving initial state 
 2022-11-22 13:41:11.040 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Sending command status (device type: type_0a) 
 2022-11-22 13:41:11.040 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Send payload: b'{"gwId":"xxx","devId":"xxx"}' 
 2022-11-22 13:41:11.041 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Waiting for sequence number 0 /n 
 2022-11-22 13:41:11.056 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Dispatching message TuyaMessage(seqno=0, cmd=10, retcode=0, payload=b'\xb6\xce\x1c\xa7\xc1\xd3\xcc\xe9\x81\x93\xff\xddt\x1b\x14sZn\x98\x8e\xff\x06\x86\xcbLH\x92\xa9\xed\x0f\xb0\x83aUA\x06E\x95A$\xf1\x84jOn\xa0UyA\xce\xe2G\xe7\xe7\xe4\xc2Tm]\xddo\xa8\xeb!n\xad\n\xa2{=m\xc7:\xfa\xaa\xe3\xae\xff$\xf1;\x19\xb8\xed\xc5\x8a\x9av}`\xc3\x03\xbe\xba\xe3\x92', crc=2951357341) /n 
 2022-11-22 13:41:11.056 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Dispatching sequence number 0 
 2022-11-22 13:41:11.058 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Decrypted payload: {"devId":"xxx","dps":{"1":false,"2":20,"3":16,"6":false,"13":0}} 
 2022-11-22 13:41:11.058 DEBUG (MainThread) [custom_components.localtuya.climate] [730...3eb] Entity Eurom IR (DP 13) - Not restoring as restore on reconnect is disabled for this entity and the entity has an initial status or it is not a passive entity 
 2022-11-22 13:41:11.059 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Started heartbeat loop 
 2022-11-22 13:41:11.059 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Sending command heartbeat (device type: type_0a) 
 2022-11-22 13:41:11.059 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Send payload: b'{}' 
 2022-11-22 13:41:11.061 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Waiting for sequence number -100 
 2022-11-22 13:41:11.061 DEBUG (MainThread) [custom_components.localtuya.climate] [730...3eb] Entity Eurom IR - Additional attributes: {'raw_state': 0} 
 2022-11-22 13:41:11.062 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.eurom_ir, old_state=<state climate.eurom_ir=unavailable; hvac_modes=None, min_temp=7.0, max_temp=35.0, target_temp_step=0.5, preset_modes=['eco'], friendly_name=Eurom IR, supported_features=17 @ 
 2022-11-22T13:41:10.476099+01:00>, new_state=<state climate.eurom_ir=unknown; hvac_modes=None, min_temp=7.0, max_temp=35.0, target_temp_step=0.5, preset_modes=['eco'], current_temperature=8.0, temperature=10.0, preset_mode=none, raw_state=0, friendly_name=Eurom IR, supported_features=17 @ 
 2022-11-22T13:41:11.062048+01:00>> 
 2022-11-22 13:41:11.062 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140425847978544] Sending {"id":2,"type":"event","event":{"c":{"climate.eurom_ir":{"+":{"s":"unknown","lc":1669120871.062048,"c":"01GJFNPJMP825CHA2VHDQJN2EZ","a":{"current_temperature":8.0,"temperature":10.0,"preset_mode":"none","raw_state":0}}}}}} 
 2022-11-22 13:41:11.062 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: EventTask(event=<Event state_changed[L]: entity_id=climate.eurom_ir, old_state=<state climate.eurom_ir=unavailable; hvac_modes=None, min_temp=7.0, max_temp=35.0, target_temp_step=0.5, preset_modes=['eco'], friendly_name=Eurom IR, supported_features=17 @ 
 2022-11-22T13:41:10.476099+01:00>, new_state=<state climate.eurom_ir=unknown; hvac_modes=None, min_temp=7.0, max_temp=35.0, target_temp_step=0.5, preset_modes=['eco'], current_temperature=8.0, temperature=10.0, preset_mode=none, raw_state=0, friendly_name=Eurom IR, supported_features=17 @ 
 2022-11-22T13:41:11.062048+01:00>>) 
 2022-11-22 13:41:11.064 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140425848277552] Sending {"id":2,"type":"event","event":{"c":{"climate.eurom_ir":{"+":{"s":"unknown","lc":1669120871.062048,"c":"01GJFNPJMP825CHA2VHDQJN2EZ","a":{"current_temperature":8.0,"temperature":10.0,"preset_mode":"none","raw_state":0}}}}}} 
 2022-11-22 13:41:11.064 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140425848679888] Sending {"id":2,"type":"event","event":{"c":{"climate.eurom_ir":{"+":{"s":"unknown","lc":1669120871.062048,"c":"01GJFNPJMP825CHA2VHDQJN2EZ","a":{"current_temperature":8.0,"temperature":10.0,"preset_mode":"none","raw_state":0}}}}}} 
 2022-11-22 13:41:11.065 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140425808022832] Sending {"id":2,"type":"event","event":{"c":{"climate.eurom_ir":{"+":{"s":"unknown","lc":1669120871.062048,"c":"01GJFNPJMP825CHA2VHDQJN2EZ","a":{"current_temperature":8.0,"temperature":10.0,"preset_mode":"none","raw_state":0}}}}}} 
 2022-11-22 13:41:11.065 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Dispatching message TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211) 
 2022-11-22 13:41:11.065 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Got heartbeat response 
 2022-11-22 13:41:11.065 DEBUG (MainThread) [custom_components.localtuya.pytuya] [730...3eb] Decrypted payload: {} 

slowly getting some where, top thermostat is local tuya, bottom is cloud


i can control set temperature, but cant turn it off.
Clinking the flame in top entity, it turns to eco setting. Should be able to figure this out somehow, but the config screen of local tuya is not showing me updated values of the DP.

Hi checking12. Did you sort this out? I’m facing the same issue. Can you share your LocalTuya settings?

not really, i ended up baking up a control board with entity buttons:
image
based on this:

type: horizontal-stack
cards:
  - type: custom:mushroom-entity-card
    entity: climate.eurom_ir
    tap_action:
      action: call-service
      service: localtuya.set_dp
      data:
        device_id: 73084010bcff4d11f3eb
        dp: 1
        value: false
      target: {}
    name: IR uit
    secondary_info: last-changed
    icon_type: none
  - type: custom:mushroom-entity-card
    entity: climate.eurom_ir
    tap_action:
      action: call-service
      service: localtuya.set_dp
      data:
        device_id: 73084010bcff4d11f3eb
        dp: 1
        value: true
      target: {}
    primary_info: name
    name: IR aan
    secondary_info: last-updated
    icon_color: green
    icon_type: none
  - type: custom:mushroom-climate-card
    entity: climate.eurom_ir
    fill_container: false
    layout: horizontal
    show_temperature_control: true
    hvac_modes: []
    tap_action:
      action: more-info
    hold_action:
      action: call-service
      service: localtuya.set_dp
      data:
        device_id: 73084010bcff4d11f3eb
        dp: 1
        value: false
      target: {}
    icon_type: none
    primary_info: none
    secondary_info: none