openhue / openhue-cli

OpenHue CLI is a command-line interface for interacting with Philips Hue smart lighting systems.
https://www.openhue.io/cli
Apache License 2.0
45 stars 6 forks source link

dont seem work with docker #46

Closed s4dic closed 7 months ago

s4dic commented 7 months ago
docker run -v "${HOME}/.openhue:/.openhue" --rm --name=openhue -it openhue/cli lights list 
Error: unknown command "lights" for "openhue"
Run 'openhue --help' for usage.
Error: unknown command "lights" for "openhue"
jmma59 commented 7 months ago

Hello s4dic

I have discovered the same result form my test. It's not a bug, only a mistake with README.

Try the command :


first step  --> docker run ... setup

second step --> docker run -v "${HOME}/.openhue:/.openhue" --rm --name=openhue -it openhue/cli get lights
``
You will receive philips hue status for all installation
s4dic commented 7 months ago

Hello jmma59, thanks for your help

Hello s4dic

I have discovered the same result form my test. It's not a bug, only a mistake with README.

Try the command :

first step  --> docker run ... setup

second step --> docker run -v "${HOME}/.openhue:/.openhue" --rm --name=openhue -it openhue/cli get lights
``
You will receive philips hue status for all installation
thibauult commented 7 months ago

Hi @s4dic,

I fixed the Docker Installation section in the documentation.

Many thanks to @jmma59 for your help!