Strange error in log, can not find root cause

  • Platform information:
    • Hardware: Orangepi 3 LTS
    • OS: Armbian
    • openHAB version: 3.4.5

I have tried to debug this error for a while:

2023-08-18 23:10:21.139 [WARN ] [t.generic.ChannelStateTransformation] - Executing the JSONPATH-transformation failed: Invalid path '$.["1"]' in 'events.js:291
      throw er; // Unhandled"error" event
      ^

Error:connection timed out
    at Socket.<anonymous> (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:597:26)
    at Object.onceWrapper (events.js:420:28)
    at Socket.emit (events.js:314:20)
    at Socket._onTimeout (net.js:484:8)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
Emitted"error" event on TuyaDevice instance at:
    at Socket.<anonymous> (/usr/local/lib/node_modules/@tuyapi/cli/node_modules/tuyapi/index.js:597:12)
    at Object.onceWrapper (events.js:420:28)
    [... lines matching original stack trace ...]
    at processTimers (internal/timers.js:497:7)
'

The error does not indicate which rule or item this would concern. Any ideas how to find the root cause to this?

The error says it’s with a channel transformation, not with an item or rule, therefore you have to look into your things instead.

Also it’s says it’s about jsonpath and tuya. Have a look if you find something related.

Alternatively you can disable your things and have a look, when the error is not occurring anymore. By this you can also find the relevant thing.

1 Like

I found I had one thing configured twice. Removing the second configuration stopped the error. Thanks for the help!