sasbibic / ConnectLife2mqtt

0 stars 1 forks source link

Cannot get it to run #1

Open mtzro2003 opened 4 months ago

mtzro2003 commented 4 months ago

I cannot get it to work... Here's the output:

> connectlife2mqtt@1.0.0 start
> node index.js

INFO: Logon successfull
ERROR: getAppData(undefined) => Request failed with status code 404
/root/ConnectLife2mqtt/index.js:211
                    setupAppliences(resp.data)
                                         ^

TypeError: Cannot read properties of undefined (reading 'data')
    at /root/ConnectLife2mqtt/index.js:211:42
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.19.0

With the connectlife-api-connector it's working. Any clues?

sasbibic commented 4 months ago

I'm sorry, Hisense/Gorenje has removed API access. I'll update when I find alternative.

/Saš