Any chance of making this work with a non-SSL HomeAssistant setup? Iām getting the same issue as above where it canāt get past āAttempting to connect to HASSā¦ā
Checking in the JS Console I see it fails to connect to wss://ā¦
Hereās the logfile from docker, as you can see, the build realizes I donāt want the SSL config, but in the actual page code, the check of process.env.REACT_APP_HASS_SSL still seems to return true.
,
Copy disabled SSL nginx config,
Copy config..,
,
Build app..,
yarn run v1.7.0,
$ react-scripts build --production,
Creating an optimized production build...,
Compiled successfully.,
,
File sizes after gzip:,
,
213.59 KB build/static/js/main.8047b977.js,
20.91 KB build/static/css/main.12aa7665.css,
,
The project was built assuming it is hosted at the server root.,
You can control this with the homepage field in your package.json.,
For example, add this to build it for GitHub Pages:,
,
"homepage" : "http://myname.github.io/myapp",,
,
The build folder is ready to be deployed.,
You may serve it with a static server:,
,
yarn global add serve,
serve -s build,
,
Find out more about deployment here:,
,
http://bit.ly/2vY88Kr,
,
Done in 37.69s.,
,
Move build files to html directory..,
,
Run nginx server..,