Beiträge von Banana-Joe

    Hallo Guys,


    i have installed Homebridge on my Raspberry Pi 4. I Use the Plugins "Homebridge Config UI X", "Homebridge Tuya Api" and "Homebridge Magichome2".


    Everything works great. Now i installed Hyperion.ng (Hyperion V2.0) to use Ambilight. This Software include also a Web Frontend on another Port.

    You can find the installation data here: https://github.com/hyperion-project/hyperion.ng


    After the Installation i get the following error, when i start Homebridge:


    [2020-10-17 4:20:22] [TuyaWebPlatform] Error: Authentication fault, could not retreive token.

    at Request._callback (/usr/local/lib/node_modules/homebridge-tuya-api/lib/tuyawebapi.js:210:28)

    at self.callback (/usr/local/lib/node_modules/homebridge-tuya-api/node_modules/request/request.js:185:22)

    at Request.emit (events.js:314:20)

    at Request.onRequestError (/usr/local/lib/node_modules/homebridge-tuya-api/node_modules/request/request.js:877:8)

    at ClientRequest.emit (events.js:314:20)

    at TLSSocket.socketErrorListener (_http_client.js:428:9)

    at TLSSocket.emit (events.js:314:20)

    at emitErrorNT (internal/streams/destroy.js:92:8)

    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)

    at processTicksAndRejections (internal/process/task_queues.js:84:21)



    Here is my Homebrige Config:


    {

    "bridge": {

    "name": "Homebridge",

    "username": "CC:22:3D:E3:CE:31",

    "port": 51826,

    "pin": "031-45-154"

    },

    "description": "Home Smart Home",

    "platforms": [

    {

    "platform": "config",

    "name": "Config",

    "port": 8080,

    "auth": "form",

    "theme": "red",

    "restart": "sudo -n systemctl restart homebridge",

    "temp": "/sys/class/thermal/thermal_zone0/temp",

    "sudo": true,

    "log": {

    "method": "custom",

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    },

    {

    "platform": "TuyaWebPlatform",

    "name": "TuyaWebPlatform",

    "options": {

    "username": "<username>",

    "password": "<password>",

    "countryCode": "49",

    "platform": "smart_life",

    "pollingInterval": 10

    }

    }

    ],

    "accessories": [

    {

    "accessory": "MagicHome",

    "name": "TV Board",

    "ip": "192.168.178.37",

    "setup": "RGB",

    "purewhite": false,

    "singleChannel": false

    },

    {

    "accessory": "MagicHome",

    "name": "LED Wohnzimmer Decke",

    "ip": "192.168.178.50",

    "setup": "RGB",

    "purewhite": false,

    "singleChannel": false

    }

    ]

    }


    "username": "<username>" &"password": "<password>" are in my original Config correct!



    The Magic Home Devices works but the Smart life Devises don't work.


    First.... Thank You for you help ... second ... sorry for my bad english! Also gerne auf Deutsch antworten ;)

    BananaJoe