Skip to content

tuya-convert container standard input not working correctly (Fix found) #1174

@domewastaken

Description

@domewastaken

OS: Pop!_OS 24.04 LTS x86_64

When running docker compose up for the containerized version of tuya-convert, the standard input is not fed correctly into the container. This makes the script unusable and after making the firmware backup it loops forever on the firmware selection prompt.

The naive fix that worked was suggested by chatgpt but i did not fully understand and test it.

It consists in modifying in the docker-compose.yml and adding two lines:

tuya:
    ...
    stdin_open: true
    tty: true
    ...

However that does duplicate the output of docker compose up.

I did use instead:
docker compose up -d && docker attach tuya-convert-tuya-1 . In my case tuya-convert-tuya-1 is the name of the container.

At the end it worked, however I am now pretty tired as it took various hours of trial and error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions