#external_converters

1 messages · Page 1 of 1 (latest)

vast tulip
#

I bought this temperature probe on amazon https://www.amazon.com/dp/B0F1JRBW8B and z2m reported it as unsupported. I have never dealt with an unsupported device, so I started reading up on it. I found an example of a configuration that needed to be saved in /data/external_converters, so I did that, but I don't see that it is doing anything. Even the z2m logs don't show any mention of external_converters, so I really don't think it is even being read. Here's the file that I saved https://gist.github.com/MrGibbage/b5c93bfabd5b1f96cf5ee373ed6dce50

Gist

GitHub Gist: instantly share code, notes, and snippets.

jagged haven
vast tulip
#

THANKS!! But still no joy. I moved the file to /homeassistant/zigbee2mqtt, as shown here

➜ zigbee2mqtt git:(master) ✗ pwd
/homeassistant/zigbee2mqtt
➜ zigbee2mqtt git:(master) ✗ ls -la *
-rw-r--r-- 1 root root 1167 Apr 27 09:04 configuration.yaml
-rw-r--r-- 1 root root 8086 Apr 27 06:26 coordinator_backup.json
-rw-r--r-- 1 root root 980 Dec 17 2022 coordinator_backup.json.saved
-rw-r--r-- 1 root root 30227 Apr 27 09:12 database.db
-rw-r--r-- 1 root root 10932 Dec 17 2022 database.db.backup
-rw-r--r-- 1 root root 2169 Apr 27 09:12 devices.yaml
-rw-r--r-- 1 root root 93 Dec 18 2022 groups.yaml
-rw-r--r-- 1 root root 6031 Apr 27 09:10 state.json

external_converters:
total 12
drwxr-xr-x 2 root root 4096 Apr 27 08:41 .
drwxr-xr-x 4 root root 4096 Apr 27 09:12 ..
-rwxr-xr-x 1 root root 1123 Apr 27 08:41 ts000f.mjs

I also made the file executable, as shown above.

I also tried several different "external_converters" in the z2m configuration.yaml file, such as

external_converters:

  • ts000f

external_converters:

  • ts000f.mjs

These give errors in the logs that ts000f or ts000f.mjs could not be found

I also tried
external_converters: []

and I also tried removing the external_converters altogether, but nothing seems to be happening. I don't see any mention of external converters in the log, and my device still isn't working

jagged haven
#

Ans a full restart of the Z2M container afterwords, right?
You should be able to see in the Z2M addon ui if the external-converter was picked up.

#

Oh,also this method depends on you being in the recent verrsions of Z2M. That's up to date I hope.