asosnovsky / Shortumation

[Not Maintained] A better way to write automations in home-assistant without having to install and run a seperate automation engine!
MIT License
300 stars 7 forks source link

http://localhost:8000 gives blank page with {"detail":"Not Found"} #125

Closed ghost closed 2 years ago

ghost commented 2 years ago

Describe the bug when trying to access <ip>:8000, I get an empty page with {"detail":"Not Found"}

To Reproduce docker-compose:

version: '3'
services:

  [other services]

  homeassistant:
    hostname: homeassistant
    container_name: homeassistant
    image: homeassistant/home-assistant:stable
    restart: unless-stopped
    ports:
      - 8123:8123
    volumes:
      - ./homeassistant:/config
      - /etc/localtime:/etc/localtime:ro
    depends_on:
      - zigbee2mqtt
      - influxdb
    environment:
      - TZ=Europe/London
    network_mode: host
    privileged: true

  shortumation:
    image: asosnovsky/shortumation-armv7:v0.5.2
    network_mode: host
    volumes:
      - ./homeassistant:/config
    depends_on:
      - homeassistant
    environment:
      - SUPERVISOR_TOKEN=[token removed as it's quite long]
      - HASSIO_WS=ws://0.0.0.0:8123/api/websocket   

Expected behaviour Some form of startpage to appear

Screenshots n/a.

Desktop (please complete the following information):

Additional context I am sure it is my config, but not sure what I did wrong so any pointer would be appreciated.

asosnovsky commented 2 years ago

Can you try to go to :8000/web I may need to update the documentation or add a redirect in the api.

ghost commented 2 years ago

bingo!

asosnovsky commented 2 years ago

Just keeping this open to remind myself to update the docs/add a redirect!

asosnovsky commented 2 years ago

newest release v0.5.3 should be addressing this !