maxbec / hassio-diyHue

Fully configurable diyHue add-on for home-assistant.
30 stars 17 forks source link

Can't install master version #47

Open jclsn opened 2 years ago

jclsn commented 2 years ago

The installation fails with

The command '/bin/bash -o pipefail -c mv /diyhue/BridgeEmulator/web-ui/ ./web-ui/' returned a non-zero code: 1

You can install the beta, but I couldn't get it to connect to the Hue app either. Would be great if you could update the addons and the documentation.

TheMeek commented 2 years ago

same with me its bveen quite some time sinche i have been able to

Sergiodiaz53 commented 2 years ago

Same here!

jclsn commented 2 years ago

Yeah someone needs to fork this repo and update the Dockerfile to look like the one from the beta mostly!

You can do it pretty fast if you are dedicated. To me it is not a priority atm

Sergiodiaz53 commented 2 years ago

Well I think there are more problems than that. I have installed the beta and Hue Sync is not working:

2022-04-30 12:23:03,570 - flaskUI.v2restapi - INFO - start hue entertainment 10.0.0.27 - - [30/Apr/2022 12:23:04] "PUT /clip/v2/resource/entertainment_configuration/7bbfea4b-7d25-5874-bf79-7cf88e871931 HTTP/1.1" 200 - 2022-04-30 12:23:04,648 - services.stateFetch - INFO - start lights sync 10.0.0.27 - - [30/Apr/2022 12:23:04] "GET /clip/v2/resource/entertainment_configuration HTTP/1.1" 200 - 10.0.0.15 - - [30/Apr/2022 12:23:08] "GET /api/032d6f7cc86e11eca902e4b97a4e0ceb/groups/0 HTTP/1.1" 200 - 10.0.0.27 - - [30/Apr/2022 12:23:08] "{"action":"start"}GET /auth/v1 HTTP/1.1" 405 - 10.0.0.15 - - [30/Apr/2022 12:23:13] "GET /api/032d6f7cc86e11eca902e4b97a4e0ceb/groups/0 HTTP/1.1" 200 - 10.0.0.27 - - [30/Apr/2022 12:23:14] "GET / HTTP/1.1" 302 - 10.0.0.27 - - [30/Apr/2022 12:23:14] code 400, message Bad request syntax ('{"action":"start"}') 10.0.0.27 - - [30/Apr/2022 12:23:14] "None /auth/v1 HTTP/0.9" HTTPStatus.BAD_REQUEST -

jclsn commented 2 years ago

Might be fixed in the latest release

Am 30.04.2022 um 13:24 schrieb Sergio Díaz @.***>:

 Well I think there are more problems than that. I have installed the beta and Hue Sync is not working:

2022-04-30 12:23:03,570 - flaskUI.v2restapi - INFO - start hue entertainment 10.0.0.27 - - [30/Apr/2022 12:23:04] "PUT /clip/v2/resource/entertainment_configuration/7bbfea4b-7d25-5874-bf79-7cf88e871931 HTTP/1.1" 200 - 2022-04-30 12:23:04,648 - services.stateFetch - INFO - start lights sync 10.0.0.27 - - [30/Apr/2022 12:23:04] "GET /clip/v2/resource/entertainment_configuration HTTP/1.1" 200 - 10.0.0.15 - - [30/Apr/2022 12:23:08] "GET /api/032d6f7cc86e11eca902e4b97a4e0ceb/groups/0 HTTP/1.1" 200 - 10.0.0.27 - - [30/Apr/2022 12:23:08] "{"action":"start"}GET /auth/v1 HTTP/1.1" 405 - 10.0.0.15 - - [30/Apr/2022 12:23:13] "GET /api/032d6f7cc86e11eca902e4b97a4e0ceb/groups/0 HTTP/1.1" 200 - 10.0.0.27 - - [30/Apr/2022 12:23:14] "GET / HTTP/1.1" 302 - 10.0.0.27 - - [30/Apr/2022 12:23:14] code 400, message Bad request syntax ('{"action":"start"}') 10.0.0.27 - - [30/Apr/2022 12:23:14] "None /auth/v1 HTTP/0.9" HTTPStatus.BAD_REQUEST -

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

jclsn commented 2 years ago

I could fix the installation.

https://github.com/maxbec/hassio-diyHue/pull/49

The maintainer doesn't reply so he probably won't merge the PR any time soon. Better just use my repository in HA until then! Still no idea how the app works. I can't connect when pressing the link button.,

I am also discussing it here https://github.com/diyhue/diyHue/issues/809

Mevel commented 2 years ago

I would like to invite you to the official diyhue-hassio addon repo found here

https://github.com/diyhue/hassio-addon

it is based upon this repo and will be maintained officially.

jclsn commented 2 years ago

@Mevel Thanks, I will try it at once

jclsn commented 2 years ago

@Mevel: Can you please also update the documentation? I think it would be smart to add detailed configuration steps.

jclsn commented 2 years ago

It is not installing for me. It's been over 10 minutes

chillkiller commented 2 years ago

@jclsn its takes a lot of time to install but I got it work (the diyhue addon version of @Mevel)

otherwise perhaps there is more issues on your system that is blocking your diyhue install

jclsn commented 2 years ago

@chillkiller It took ages, but it finished now. I still can't connect to the Hue app though. It says "Check your internet connection". I have taken the MAC address of the Pi's ethernet adapter. Is that wrong?

chillkiller commented 2 years ago

yeah,its the ip of your pi adapter, but every time you install it you need to delete the old cert.perm

jclsn commented 2 years ago

Yeah, I had and old configuration under config/diyHue. I deleted it now and I could connect

jclsn commented 2 years ago

Now I have to integrate HA back into diyHue I guess to access my lights? xD

chillkiller commented 2 years ago

I had only to delete the cert, if you deleted the config too, you need the longtherm token again and activate HA etc. in DIYHue UI newly again, yes Search for lights... etc.

jclsn commented 2 years ago

I am too stupid too generate the token though

chillkiller commented 2 years ago

left sidebar to your user profile, scroll down to last option, generate token, copy the long ununderstanding and paste it in diyhue or save it for later ;)

Mevel commented 2 years ago

@chillkiller thank you for the support! Glad you got your instance running.

@jclsn if you need further assistance join the diyhue slack on

Http://Joinslack.diyhue.org

Feel free to contact me

jclsn commented 2 years ago

@chillkiller What haha. I was trying this nasty guide https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token

jclsn commented 2 years ago

@Mevel Noo, yet another messenger. I have Telegram, Signal, Matrix, Discord, IRC, Teams and now Slack..

chillkiller commented 2 years ago

@jclsn rofl.... this doc for long therm token isnt needed anymore wechpack

Mevel commented 2 years ago

For now slack is the most active but we are starting discord too.