hertzg / rtl_433_docker

πŸ“‘+πŸ‹=πŸ’˜ rtl_433 multiarch docker images.
https://hub.docker.com/r/hertzg/rtl_433
182 stars 16 forks source link

Unable to get -v or -vv to work when there are multiple arguments for rtl_433 in alpine image #99

Closed xconverge closed 1 year ago

xconverge commented 1 year ago

I am wondering if I am doing something silly here but here are 3 scenarios, with the 3rd one not working correctly. I also have tried putting the -vv along with the mqtt argument and tried multiple permutations. Interestingly it does work with the latest-debian image. I am trying to debug why the alpine version stopped working reliably for me...

MQTT works when it is the only argument

    rtl433:
        container_name: rtl433
        image: hertzg/rtl_433:latest
        environment:
            - TZ=${TZ}
        devices:
            - "/dev/bus/usb/001/002"
        command:
            - "-Fmqtt://eclipse-mosquitto:1883,retain=1,devices=rtl_433[/model][/id]"
        restart: always

-vv works when it is the only argument

    rtl433:
        container_name: rtl433
        image: hertzg/rtl_433:latest
        environment:
            - TZ=${TZ}
        devices:
            - "/dev/bus/usb/001/002"
        command:
            - "-vv"
        restart: always

Only MQTT works when both are supplied and I cannot get verbosity to adjust or apply at all (this is the one I want to work and cannot get working)

    rtl433:
        container_name: rtl433
        image: hertzg/rtl_433:latest
        environment:
            - TZ=${TZ}
        devices:
            - "/dev/bus/usb/001/002"
        command:
            - "-vv"
            - "-Fmqtt://eclipse-mosquitto:1883,retain=1,devices=rtl_433[/model][/id]"
        restart: always
hertzg commented 1 year ago

I don't think this is related to the docker specifically, converting this to a discussion since this is not an issue with the repo, maybe someone can help there πŸ™Œ