Serve UI on all (functionally) interfaces
Closed this issue · 3 comments
I plugged my pi in to my switch for ethernet connectivity, but the UI appears to be only accessible when on the Pi's wifi network. The UI is looking for 9.9.0.1 as the host. Would be nice if the resources loaded by the webpage were relative to the initial page. aka the LAN IP on my network.
The initial webpage loads fine, but the web socket connection fails. The UI reads a message "Virtual touchscreen not available. Wait for Android to boot up."
Originally in tesla-android/issue-tracker#109
thanks for the ticket!
Done, will be released with the next version
@mikegapinski I was doing some testing this weekend outside the car and noticed the API isn't working unless the browser hostname was device.teslaandroid.com. Hitting the IP directly served the UI, but the API was seemingly not working. The /api/health
and /api/displayState
endpoint just returns a 404. I was able update to update my computer's hosts file to circumvent the issue.