Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin modified for Adlar Smart heatpump. #11

Open
nlfva1 opened this issue Nov 27, 2024 · 19 comments
Open

plugin modified for Adlar Smart heatpump. #11

nlfva1 opened this issue Nov 27, 2024 · 19 comments

Comments

@nlfva1
Copy link

nlfva1 commented Nov 27, 2024

I have updated the script so that it works for the Adlar smart heatpump and fixed some other issues with float and str. As I'm not an expert in Github and do not want to mess up your plugin I will share it in this post. You can test it and see if you want to include it in an official version.
plugin.py.txt

@peter-h-nl
Copy link

Hi nlfva1,
Thanks for this addition! Some suggestions to add in the instruction:

  1. use root rights or add sudo in front of each command
  2. use Access ID/Client ID from iot.tuya.com cloud project as API ID (first question when executing the tinytuya wizard
  3. be sure to also have available the API key and the device ID of the heat pump
  4. Please give advice what to use when having already installed HARDWARE conform the instruction for the 'normal' installation;
    add new Hardware over overwrite Hardware settings of Tuya-IOT installed by normal installation
  5. patiently wait for Domoticz to respond again. My Pi3B freezed the dashboard for more than a few minutes.... (I stopped and started Domoticz)
    Cheers Peter

@peter-h-nl
Copy link

Hi nlfva1,

I run into an error in Domoticz when running the script plugin.py :
2024-11-28 11:54:45.158 Error: IoT-Tuya: handleThread: 'range' line 433
(432 in original script, I started with empty line)

Two suggestions:

  1. It might be the result of stopping Domoticz when creating the new devices ...?!
  2. Is it a mix up of the ADJUSTED old HARDWARE (old and new idx entries?)

Resulting in a few DEVICES (APPARATEN) having actual values, and lot of them doesn't seem to work:

{7F6E0435-515F-45A7-A85B-6C921FE60B48}

@nlfva1
Copy link
Author

nlfva1 commented Nov 28, 2024

Hi nlfva1,

I run into an error in Domoticz when running the script plugin.py : 2024-11-28 11:54:45.158 Error: IoT-Tuya: handleThread: 'range' line 433 (432 in original script, I started with empty line)

Two suggestions:

  1. It might be the result of stopping Domoticz when creating the new devices ...?!
  2. Is it a mix up of the ADJUSTED old HARDWARE (old and new idx entries?)

Resulting in a few DEVICES (APPARATEN) having actual values, and lot of them doesn't seem to work:

Can you capture the "domoticz.log | grep Tuya" and then do a disable and enable of the plugin in domoticz, so that we can determine on which device it's going wrong.

@peter-h-nl
Copy link

Hi nlfva1,
I run into an error in Domoticz when running the script plugin.py : 2024-11-28 11:54:45.158 Error: IoT-Tuya: handleThread: 'range' line 433 (432 in original script, I started with empty line)
Two suggestions:

  1. It might be the result of stopping Domoticz when creating the new devices ...?!
  2. Is it a mix up of the ADJUSTED old HARDWARE (old and new idx entries?)

Resulting in a few DEVICES (APPARATEN) having actual values, and lot of them doesn't seem to work:
{7F6E0435-515F-45A7-A85B-6C921FE60B48}

Can you capture the "domoticz.log | grep Tuya" and then do a disable and enable of the plugin in domoticz, so that we can determine on which device it's going wrong.

I cannot find a domoticz.log; it's not in the domoticz directory... I deleted the old tuya hardware device and added a new one.
Now the error message is gone. However still no updates on most of the devices...

@nlfva1
Copy link
Author

nlfva1 commented Nov 28, 2024

Hi nlfva1,
I run into an error in Domoticz when running the script plugin.py : 2024-11-28 11:54:45.158 Error: IoT-Tuya: handleThread: 'range' line 433 (432 in original script, I started with empty line)
Two suggestions:

  1. It might be the result of stopping Domoticz when creating the new devices ...?!
  2. Is it a mix up of the ADJUSTED old HARDWARE (old and new idx entries?)

Resulting in a few DEVICES (APPARATEN) having actual values, and lot of them doesn't seem to work:
{7F6E0435-515F-45A7-A85B-6C921FE60B48}

Can you capture the "domoticz.log | grep Tuya" and then do a disable and enable of the plugin in domoticz, so that we can determine on which device it's going wrong.

I cannot find a domoticz.log; it's not in the domoticz directory... I deleted the old tuya hardware device and added a new one. Now the error message is gone. However still no updates on most of the devices...

Best to edit the file /etc/init.d/domoticz.sh and uncomment the line
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
it probably points to /tmp/domoticz.txt, but I always use /var/log/domoticz.log. After this run
$ sudo systemctl daemon-reload
$ touch /var/log/domoticz.log
$ tail -f /var/log/domoticz.log | grep Tuya
and restart domoticz in a different session. In this way it give you all the messages related to the Tuya plugin. Please share the output of this in this post, so that I can see which devices are updated and which not.

@peter-h-nl
Copy link

Now restart with debug info
peter@raspberrypi:/etc/init.d $ tail -f /var/log/domoticz.log | grep Tuya
2024-11-28 16:44:51.360 LocalTuya: Worker thread started.
2024-11-28 16:44:51.360 Status: LocalTuya: Started.
2024-11-28 16:44:51.360 Status: LocalTuya: Entering work loop.
2024-11-28 16:44:53.112 Status: LocalTuya: Initialized version 0.5b, author 'Xenomes'
2024-11-28 16:44:53.130 LocalTuya: TinyTUYA 0.5b plugin started
2024-11-28 16:44:53.131 LocalTuya: TinyTuya Version:1.15.1
2024-11-28 16:44:53.131 LocalTuya: Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE
2024-11-28 16:44:53.131 LocalTuya: 'HardwareID':'12'
2024-11-28 16:44:53.131 LocalTuya: 'HomeFolder':'/home/peter/domoticz/plugins/Domoticz-TinyTUYA-Plugin/'
2024-11-28 16:44:53.131 LocalTuya: 'StartupFolder':'/home/peter/domoticz/'
2024-11-28 16:44:53.131 LocalTuya: 'UserDataFolder':'/home/peter/domoticz/'
2024-11-28 16:44:53.131 LocalTuya: 'Database':'/home/peter/domoticz/domoticz.db'
2024-11-28 16:44:53.131 LocalTuya: 'Language':'nl'
2024-11-28 16:44:53.131 LocalTuya: 'Version':'0.5b'
2024-11-28 16:44:53.131 LocalTuya: 'Author':'Xenomes'
2024-11-28 16:44:53.131 LocalTuya: 'Name':'LocalTuya'
2024-11-28 16:44:53.131 LocalTuya: 'Port':'0'
2024-11-28 16:44:53.131 LocalTuya: 'Key':'tinytuyalocal'
2024-11-28 16:44:53.131 LocalTuya: 'Mode6':'-1'
2024-11-28 16:44:53.131 LocalTuya: 'DomoticzVersion':'2024.7'
2024-11-28 16:44:53.131 LocalTuya: 'DomoticzHash':'b317cfab1'
2024-11-28 16:44:53.131 LocalTuya: 'DomoticzBuildTime':'2024-07-13 16:59:31'
2024-11-28 16:44:53.131 LocalTuya: Device count: 3
2024-11-28 16:44:53.133 LocalTuya: Run Startup script
2024-11-28 16:44:53.134 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: water_set
2024-11-28 16:44:53.134 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: capacity_set
2024-11-28 16:44:53.134 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: countdown_set
2024-11-28 16:44:53.134 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: countdown_left
2024-11-28 16:44:53.135 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: compressor_strength
2024-11-28 16:44:53.135 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: temp_current_f
2024-11-28 16:44:53.135 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: top_temp_f
2024-11-28 16:44:53.135 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: bottom_temp_f
2024-11-28 16:44:53.136 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: around_temp_f
2024-11-28 16:44:53.136 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: venting_temp_f
2024-11-28 16:44:53.136 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: effluent_temp_f
2024-11-28 16:44:53.136 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: coiler_temp_f
2024-11-28 16:44:53.136 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: minitemp_set
2024-11-28 16:44:53.137 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: voltage_current
2024-11-28 16:44:53.137 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: volume_set
2024-11-28 16:44:53.137 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: eviin
2024-11-28 16:44:53.137 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: eviout
2024-11-28 16:44:53.138 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: b_cur
2024-11-28 16:44:53.138 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: c_cur
2024-11-28 16:44:53.138 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: bv
2024-11-28 16:44:53.138 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: cv
2024-11-28 16:44:53.140 LocalTuya: Run Startup script
2024-11-28 16:44:53.141 LocalTuya: No mapping found for device: Kleine hoeklamp sub device: countdown_1
2024-11-28 16:44:53.143 LocalTuya: Run Startup script
2024-11-28 16:44:53.143 LocalTuya: No mapping found for device: Schemerlamp sub device: countdown_1
2024-11-28 16:44:53.145 LocalTuya: Acquiring GIL for 'onStartCallback'
2024-11-28 16:45:01.006 LocalTuya: Pushing 'onHeartbeatCallback' on to queue
2024-11-28 16:45:01.057 LocalTuya: Processing 'onHeartbeatCallback' message
2024-11-28 16:45:01.057 LocalTuya: Acquiring GIL for 'onHeartbeatCallback'
2024-11-28 16:45:01.057 LocalTuya: Calling message handler 'onHeartbeat' on 'module' type object.
2024-11-28 16:45:01.057 LocalTuya: onHeartbeat called
2024-11-28 16:45:01.057 LocalTuya: Update devices in Domoticz
2024-11-28 16:45:08.726 LocalTuya: Update devices in Domoticz
2024-11-28 16:45:09.424 LocalTuya: Update devices in Domoticz
2024-11-28 16:45:09.937 LocalTuya: Update device value: bf8e0bee39baed2661pmmu Unit: 17 sValue: 0;0.002 nValue: 1 TimedOut=0
2024-11-28 16:45:09.937 LocalTuya: Acquiring GIL for 'onHeartbeatCallback'
2024-11-28 16:45:11.039 LocalTuya: Pushing 'onHeartbeatCallback' on to queue
2024-11-28 16:45:11.089 LocalTuya: Processing 'onHeartbeatCallback' message
2024-11-28 16:45:11.089 LocalTuya: Acquiring GIL for 'onHeartbeatCallback'
2024-11-28 16:45:11.089 LocalTuya: Calling message handler 'onHeartbeat' on 'module' type object.
2024-11-28 16:45:11.089 LocalTuya: onHeartbeat called
2024-11-28 16:45:11.090 LocalTuya: Update devices in Domoticz
2024-11-28 16:45:11.158 LocalTuya: Update devices in Domoticz
2024-11-28 16:45:11.573 LocalTuya: Update devices in Domoticz
2024-11-28 16:45:11.980 LocalTuya: Acquiring GIL for 'onHeartbeatCallback'

@nlfva1
Copy link
Author

nlfva1 commented Nov 28, 2024

No error message so far, so looks like the plugin is working as expected. Maybe the heatpump is not sending the info. Can run the following command from the same directory where the plugin is installed:
python -m tinytuya scan
Hopefully that provides more insights.

@peter-h-nl
Copy link

Hm... I'm triggered by the line "No mapping found for device: xxx sub device: yyy"
So when adding the hardware, the devices are created. I noticed that the list of devices yyy also miss in the devices created in Domoticz after saving the hardware. In tuya-raw.json lot of values are displayed. Shouuld it be normal behaviour that a lot of devices will be created (say like 25-50 for the heatpump) corresponding with the numbers in that tuya-raw.json file?

@nlfva1
Copy link
Author

nlfva1 commented Nov 28, 2024

Hm... I'm triggered by the line "No mapping found for device: xxx sub device: yyy" So when adding the hardware, the devices are created. I noticed that the list of devices yyy also miss in the devices created in Domoticz after saving the hardware. In tuya-raw.json lot of values are displayed. Shouuld it be normal behaviour that a lot of devices will be created (say like 25-50 for the heatpump) corresponding with the numbers in that tuya-raw.json file?

This is correct. I only created the mapping for the ones described in the adlar list from longtimeago. I did c not see the need to do them all. Can you share the tuya-raw.json and the output from the scan command?

@peter-h-nl
Copy link

Ah OK, that explains it... I will share the file.
I re-created the hardware and you can some names are being matched, some not ...
2024-11-28 20:21:25.213 LocalTuya: Run Startup script
2024-11-28 20:21:25.213 LocalTuya: Create device Switch: switch
2024-11-28 20:21:25.213 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (switch)'.
2024-11-28 20:21:25.215 LocalTuya: Create Selection device: mode
2024-11-28 20:21:25.215 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (mode)'.
2024-11-28 20:21:25.218 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (temp_set)'.
2024-11-28 20:21:25.220 LocalTuya: Create Selection device: work_mode
2024-11-28 20:21:25.220 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (work_mode)'.
2024-11-28 20:21:25.222 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: water_set
2024-11-28 20:21:25.222 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: capacity_set
2024-11-28 20:21:25.222 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: countdown_set
2024-11-28 20:21:25.222 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: countdown_left
2024-11-28 20:21:25.223 LocalTuya: Create Custom device: fault
2024-11-28 20:21:25.223 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (fault)'.
2024-11-28 20:21:25.225 LocalTuya: Create Temperature device: temp_current
2024-11-28 20:21:25.225 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (temp_current)'.
2024-11-28 20:21:25.227 LocalTuya: Create Watt device: power_consumption
2024-11-28 20:21:25.227 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (power_consumption)'.
2024-11-28 20:21:25.229 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: compressor_strength
2024-11-28 20:21:25.229 LocalTuya: Create Temperature device: temp_top
2024-11-28 20:21:25.229 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (temp_top)'.
2024-11-28 20:21:25.231 LocalTuya: Create Temperature device: temp_bottom
2024-11-28 20:21:25.231 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (temp_bottom)'.
2024-11-28 20:21:25.233 LocalTuya: Create Temperature device: coiler_temp
2024-11-28 20:21:25.233 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (coiler_temp)'.
2024-11-28 20:21:25.235 LocalTuya: Create Temperature device: venting_temp
2024-11-28 20:21:25.235 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (venting_temp)'.
2024-11-28 20:21:25.237 LocalTuya: Create Temperature device: effluent_temp
2024-11-28 20:21:25.237 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (effluent_temp)'.
2024-11-28 20:21:25.239 LocalTuya: Create Temperature device: around_temp
2024-11-28 20:21:25.239 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (around_temp)'.
2024-11-28 20:21:25.241 LocalTuya: Create device Switch: compressor_state
2024-11-28 20:21:25.241 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (compressor_state)'.
2024-11-28 20:21:25.243 LocalTuya: Create device Switch: backwater
2024-11-28 20:21:25.243 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (backwater)'.
2024-11-28 20:21:25.245 LocalTuya: Create device Switch: defrost_state
2024-11-28 20:21:25.245 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (defrost_state)'.
2024-11-28 20:21:25.247 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: temp_current_f
2024-11-28 20:21:25.247 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: top_temp_f
2024-11-28 20:21:25.247 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: bottom_temp_f
2024-11-28 20:21:25.247 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: around_temp_f
2024-11-28 20:21:25.248 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: venting_temp_f
2024-11-28 20:21:25.248 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: effluent_temp_f
2024-11-28 20:21:25.248 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: coiler_temp_f
2024-11-28 20:21:25.248 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: minitemp_set
2024-11-28 20:21:25.248 LocalTuya: Create Amperes device
2024-11-28 20:21:25.248 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (cur_current)'.
2024-11-28 20:21:25.250 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: voltage_current
2024-11-28 20:21:25.251 LocalTuya: Create Watt device: cur_power
2024-11-28 20:21:25.251 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (cur_power)'.
2024-11-28 20:21:25.253 LocalTuya: Create Power device: electric_total
2024-11-28 20:21:25.253 LocalTuya: (LocalTuya) Creating Unit 'Intelligente drievoudige warmtepomp (electric_total)'.
2024-11-28 20:21:25.255 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: volume_set
2024-11-28 20:21:25.255 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: eviin
2024-11-28 20:21:25.255 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: eviout
2024-11-28 20:21:25.255 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: b_cur
2024-11-28 20:21:25.255 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: c_cur
2024-11-28 20:21:25.256 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: bv
2024-11-28 20:21:25.256 LocalTuya: No mapping found for device: Intelligente drievoudige warmtepomp sub device: cv
2024-11-28 20:21:25.257 LocalTuya: Run Startup script
2024-11-28 20:21:25.257 LocalTuya: Create device Switch: switch_1
2024-11-28 20:21:25.257 LocalTuya: (LocalTuya) Creating Unit 'Kleine hoeklamp (switch_1)'.
tuya-raw.json

@peter-h-nl
Copy link

peter-h-nl commented Nov 28, 2024

peter@raspberrypi:~/domoticz/plugins/Domoticz-TinyTUYA-Plugin $ python -m tinytuya scan

TinyTuya (Tuya device scanner) [1.15.1]

[Loaded devices.json - 3 devices]

Scanning on UDP ports 6666 and 6667 and 7000 for devices for 18 seconds...

New Broadcast from App at 192.168.178.40 - {'from': 'app', 'ip': '192.168.178.40'}
Intelligente drievoudige warmtepomp Product ID = g9m7honkxjweukvt [Valid Broadcast]:
Address = 192.168.178.212 Device ID = bff06e579f0a3a0bbamoy6 (len:22) Local Key = xxxx Version = 3.3 Type = default, MAC = c4:82:e1:9c:2f:e1
Status: {'1': True, '2': 'heating', '4': 30, '5': 'ECO', '10': 0, '11': 'OFF', '13': 'L5', '14': 425, '15': 0, '16': 89, '18': 0, '20': 42, '21': 30, '22': 32, '23': 0, '24': 62, '25': 0, '26': 5, '27': True, '31': False, '33': False, '35': 29, '36': 0, '37': 27, '38': 18, '39': 20, '40': 40, '41': 4, '101': 52, '102': 0, '103': 0, '104': 0, '105': 0, '106': 0, '107': 22, '108': 20}
Schemerlamp Product ID = keym9qkuywghyrvs [Valid Broadcast]:
Address = 192.168.178.221 Device ID = bf8e0bee39baed2661pmmu (len:22) Local Key = xxxx Version = 3.3 Type = default, MAC = 70:89:76:3f:54:dc
Status: {'1': True, '9': 0, '17': 4, '18': 36, '19': 61, '20': 2285, '21': 1, '22': 719, '23': 28800, '24': 19240, '25': 2160, '26': 0}
Kleine hoeklamp Product ID = keym9qkuywghyrvs [Valid Broadcast]:
Address = 192.168.178.248 Device ID = bf6dae93544ae9bc53q9j5 (len:22) Local Key = xxxx Version = 3.3 Type = default, MAC = 70:89:76:3f:50:e4
Status: {'1': True, '9': 0, '17': 3, '18': 45, '19': 59, '20': 2277, '21': 1, '22': 737, '23': 29257, '24': 19851, '25': 2090, '26': 0}
Scan completed in 18.0852 seconds

Scan Complete! Found 3 devices.
Broadcasted: 3
Versions: 3.3: 3

Saving device snapshot data to snapshot.json

@peter-h-nl
Copy link

Het lijkt er op dat power en powerconsumption (18 en 104) inderdaad helaas nullen geven cq de juiste waarden niet doorgegeven worden?

@nlfva1
Copy link
Author

nlfva1 commented Nov 28, 2024

Het lijkt er op dat power en powerconsumption (18 en 104) inderdaad helaas nullen geven cq de juiste waarden niet doorgegeven worden?

Indeed. Your heatpump isn't reporting power. Maybe good to connect with adlar to see if this can be corrected with a setting. Not much else we can do here. Sorry

@peter-h-nl
Copy link

peter-h-nl commented Nov 29, 2024

Thanks nlfca1! Anyway, would you be able to add the missing 'mappings' which seems to work?
Not all, I understand, but only the meaningfull/relevant. Like e.g. around-temp which seems to be the external temperature measured by the heatpump unit itself.

@Xenomes
Copy link
Owner

Xenomes commented Nov 30, 2024

Thanks nlfva1,
I will check the code and added it, I was on holiday so i missed the conversation there.

@nlfva1
Copy link
Author

nlfva1 commented Nov 30, 2024 via email

@Xenomes
Copy link
Owner

Xenomes commented Nov 30, 2024

Het lijkt er op dat power en powerconsumption (18 en 104) inderdaad helaas nullen geven cq de juiste waarden niet doorgegeven worden?

Did you set your devices to 'DP instruction' in the device settings under iot.tuya.com?

@peter-h-nl
Copy link

Hi Xenomes, thanks, yes I did that for the heatpump, before installing the new hardware in Domoticz.
As you can see in this result, 0 values are being returned:
Status: {'1': True, '2': 'heating', '4': 30, '5': 'ECO', '10': 0, '11': 'OFF', '13': 'L5', '14': 425, '15': 0, '16': 89, '18': 0, '20': 42, '21': 30, '22': 32, '23': 0, '24': 62, '25': 0, '26': 5, '27': True, '31': False, '33': False, '35': 29, '36': 0, '37': 27, '38': 18, '39': 20, '40': 40, '41': 4, '101': 52, '102': 0, '103': 0, '104': 0, '105': 0, '106': 0, '107': 22, '108': 20}

@peter-h-nl
Copy link

peter-h-nl commented Dec 1, 2024

I did some device debugging on iot.tuya.com; no values found for power en powerconsumpton in past days. So I guess I've got to back to Adlar Castra / the JAN module. It seems these parameters are being collected or communicated. Cheers, thanks for your support Xenomes and nlfva1 !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants