Yes. As noted in the instructions, Docker requires you to explicitly expose the ports that a container uses, so you would need to make sure to expose the port.
Also note that the example Docker Compose file at the bottom of the instructions shows a mapping of the internal port of 8099 to an exposed port on your host machine at port 80, so if you followed that example, you would need to access things on port 80.
I would also suggest checking the logs for your docker host to see if there are any insightful messages displayed in the logs.
And if none of that helps, you might share more details about your UnRaid Docker configuration for this particular container. I don’t personally use UnRAID, but sharing more details would be insightful for effective troubleshooting.
Tried several experiment including moving to Portainer for the stack editor.
The latest version of Portainer does not like version 1 compose files, so updated to version 2 and switched around the port info. Ended up with:
version: ‘2’
services:
sharptools:
image: Package sharptools-hass-addon-connector-amd64 · GitHub
ports:
- “8099:80”
volumes:
- /mnt/user/appdata/sharptools/data:/data
environment:
- STIO_HASS_URL=http://192.168.15.40
- STIO_HASS_PORT=8123
- STIO_HASS_TOKEN=*** (deleted for sharing purposes)
In return it starts but ends up in the log file:
Using environment production for configuration.
Default configuration values have been overridden with STIO_* environment variables
2023-07-16 22:23:07 info: Creating database file since it doesn’t exist.
2023-07-16 22:23:07 info: Init database
2023-07-16 22:23:07 info: Reading the init settings from database
2023-07-16 22:23:07 info: ---- Starting up addon ----
2023-07-16 22:23:07 info: Running at Port 8099.
2023-07-16 22:23:07 debug: Connecting to Home Assistant using URL: http://192.168.15.40:8123
2023-07-16 22:23:07 debug: Create Home Assistant token.
2023-07-16 22:23:07 info: Connecting Home Assistant hub
2023-07-16 22:23:07 info: [Auth phase] Initializing WebSocket connection to Home Assistant
2023-07-16 22:23:07 info: [Auth Phase] Connecting to Home Assistant… Url: ws://192.168.15.40:8123/api/websocket Tries left: 10
2023-07-16 22:23:07 info: Home Assistant connection nextRetryInterval: 1937.
2023-07-16 22:23:07 info: [Auth phase] Received a message of type auth_required. Message: {“type”:“auth_required”,“ha_version”:“2023.7.2”}
2023-07-16 22:23:07 info: [Auth phase] Received a message of type auth_ok. Message: {“type”:“auth_ok”,“ha_version”:“2023.7.2”}
2023-07-16 22:23:07 info: Home Assistant websocket connection is established.
2023-07-16 22:23:07 info: Retrieve the basic information from Home Assistant instance.
2023-07-16 22:23:07 debug: Retrieve config information from Home Assistant.
2023-07-16 22:23:07 debug: Retrieve metadata information from Home Assistant.
2023-07-16 22:23:07 warn: Failed to retrieve Miscellaneous Hub Info: Request failed with status code 404
2023-07-16 22:23:07 warn: Failed to retrieve Add-on Slug: Request failed with status code 404
2023-07-16 22:23:07 debug: Retrieve network information from Home Assistant.
2023-07-16 22:23:07 warn: Failed to retrieve Hub IP: Request failed with status code 404
Any insights on the status code 404’s?
Can the compose stack be officially updated to version 2 or 3?