Letās discuss security best practices:
- Long-lived access tokens
- Token rotation
- Multi-remote setups
- Remote access risks
This is a technical discussion, not general usage.
Letās discuss security best practices:
This is a technical discussion, not general usage.
Iām unable to configure the Sanytron remote to connect to my Home Assistant instance. The remote appears to have two separate issues with URL handling.
URL entered: https://homeassistant.example.com/api/
Result: INVALID_URL_FORMAT error
The remote rejects any URL containing a domain name. Only IP addresses appear to be accepted.
URL entered: https://[REDACTED_INTERNAL_IP]/api/
Result: Connection fails (TLS certificate error)
This fails because the SSL certificate is issued for the domain name, not the IP address. This is expected behaviour for properly configured HTTPS.
Not possible - Home Assistant server only accepts HTTPS connections (as it should for security).
The remote creates an impossible situation:
| URL Type | Protocol | Result |
|---|---|---|
| Domain name | HTTPS | INVALID_URL_FORMAT |
| IP address | HTTPS | |
| IP address | HTTP |
Note on redacted information: Internal IP addresses and domain names have been redacted for security. These are valid, correctly formatted addresses - the redaction is not masking malformed input.
Our network implements standard enterprise security practices, including:
The remote can reach internal services (weāve verified network connectivity), but the URL parsing/TLS handling prevents successful connection to Home Assistant.
The remote broadcasts itself as an Android device via mDNS. If helpful for diagnostics, I can provide additional network-level information about what the device is attempting to connect to.
āCannot Connect to Home Assistant via HTTPS ā TLS / URL Issuesā
Replying as Sanytron team
Hi Troy, welcome to the community ā and thank you for such a clear, well-structured report. This is very helpful for diagnosis.
First, we want to acknowledge that your analysis is correct. The situation you described does indeed create a dead-end configuration when Home Assistant is deployed using HTTPS with a domain-based certificate, which is a very common and correct security setup.
Let me respond point by point.
At the moment, Astrionās HA connection logic has the following limitations:
INVALID_URL_FORMATSo yes ā in enterprise or security-focused environments, this combination currently makes it impossible to complete the connection. Your summary table accurately reflects the problem.
Some of these constraints originate from:
Your report clearly shows that these assumptions no longer hold for many advanced users.
Your feedback has been recorded and escalated internally, and we are actively discussing improvements in the following areas:
At this stage, we canāt yet commit to a specific release version or timeline, but this issue is now formally tracked and recognized as a real limitation, not a configuration mistake on your side.
At present:
If youāre willing to share additional diagnostics (for example, TLS handshake behavior or connection attempts observed at the network level), that information would be genuinely useful and welcome.
Thanks again for the professional and responsible way you raised this. Reports like yours directly influence how we evolve Astrion beyond simple home networks and into more secure, real-world deployments.
Weāll update the forum once we have concrete progress on this topic.
Hi Sanytron team,
I have the same setup with a domain-based HA URL using HTTPS with a valid SSL certificate. This isssue is preventing me to consider the Astrion remote for all my HA projects. I really think this remote is the best implementation of HA remote control in the market right now, but this issue will prevent professional smart home projects from using the Astrion. Please give this issue a higher priority in order to enable the connection between HA and Astrion via HTTPS using a domain-based HA URL with a valid SSL certificate.
Best regards,
Alvaro
Iām also affected by this. Not a business, just a regular customer, but using https and a dynamic dns is the only easy(-ish) way to access my smart home from my phone when Iām away from home.
Itās been way too long since I did any proper programming (so apologies for the backseat driving), but I know that libcurl has options to ignore SSL security checks. For example, the curl command to my https://192.168.1.175:8123 HA box gives an SSL error (āno alternative certificate subject name matches target ipv4 addressā), but running Ā«curl --insecure https://192.168.1.175:8123Ā» pulls the page. I think maybe that the documentation at āhttps://curl.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.htmlā could be relevant.
But even if youāre using a different library, thereās likely a similar means to do the same thing. And obviously itās a terrible idea to make this a default on an in-production product, but Iād really like it if there were a switch somewhere I could use to make this a voluntary insecure option, even with lots of āAre You Sureā dialogs to click past. Until this, my Astrion is just a useless slab laying on a coffee table.
Anyway, donāt know if thereās anything I can do to really help. I could paste outputs from curl on my laptop (āverbose does give some TLS handshake details), but no clue if thatās actually useful.
@jcholewa @ajguerre
Hi Alvaro, jcholewa, and everyone following this thread,
Thank you very much for taking the time to explain your setups and concerns so clearly. We want to be very direct here: this is an important issue, and we fully understand why it blocks both professional projects and advanced Home Assistant users.
You are absolutely right that:
This limitation is not acceptable long-term, and we have already elevated this internally as a high-priority item.
At the moment, Astrion:
This combination unfortunately creates exactly the āimpossible triangleā that Troy and others described earlier:
So yes ā youāre seeing a real limitation, not a misconfiguration on your side.
jcholewa, thank you for the concrete example and for referencing libcurl options ā thatās helpful context.
From a product and security standpoint:
This approach is currently under discussion internally, including:
No promises on the final form yet ā but the idea itself is reasonable and noted.
The engineering team is currently evaluating:
Once an implementation plan is finalized, we will:
We also want to say this clearly:
The level of feedback in this thread is exactly what helps us mature Astrion from an enthusiast product into something that can be confidently used in professional smart home projects.
Your points are well-argued, technically sound, and taken seriously ā this is not being brushed aside.
If anyone is willing to:
ā¦that will be extremely helpful, and weāll reach out when weāre ready.
Thank you again for your patience and for holding us to a high standard.
I ran into this issue. I updated the remote software and was able to complete the HA connection using a domain name and SSL. It threw an error when I didnāt specify :443 as the port, but it still connected.
Unfortunately, the voice assistant is not working when connected via SSL. I disabled SSL in my HA environment temporarily to confirm that this was the cause.
Hi slampton ā welcome, and thank you for sharing your findings and testing results. This is very helpful.
First, itās great to hear that you were able to successfully connect using a domain + SSL after the update, and thank you for noting the port requirement. Your observation about needing to explicitly specify :443 is especially valuable and will help other users who may run into the same behavior.
Regarding the voice assistant not working over SSL:
What youāre seeing is very likely related to how secure connections are currently handled in certain subsystems. While the main Home Assistant connection can now establish successfully over HTTPS, some auxiliary services (such as voice-related communication modules) may still rely on slightly different connection handling or validation logic. That can lead to cases where core control works but voice features fail when SSL is enabled.
The fact that voice works normally when SSL is disabled is actually very useful diagnostic confirmation ā thank you for verifying that. Weāll pass this along to engineering as a reproducible scenario tied specifically to secure connections.
Current recommendation (temporary workaround)
Until this is fully addressed, users who rely heavily on voice features may need to:
use a local/internal endpoint for HA voice communication, or
temporarily use a configuration where SSL termination is handled upstream (for example via reverse proxy) while keeping a compatible internal endpoint for the device.
Next steps on our side
We are actively improving:
TLS handling consistency across modules
Domain + certificate validation logic
Error transparency for secure connection failures
Your report directly helps us narrow down edge cases, especially in real HTTPS environments, which are essential for production deployments.
If youāre open to it, once we have a test build addressing SSL-related voice behavior, weād really appreciate your help validating it.
Thanks again for contributing such clear and practical feedback ā this kind of real-world testing is incredibly valuable for improving reliability across different network setups.
Iām not as confident that I can reproduce the error relating to port 443 being defined or not, but it certainly deserves more testing, but the voice Assistant issue is easy to reproduce. Iām happy to help test a new build that addresses that. Thanks!
Hi @slampton,
Thank you for the quick follow-up ā we really appreciate your willingness to help test, thatās extremely valuable. ![]()
No worries at all about the port 443 behavior. Intermittent connection quirks like that can sometimes depend on factors such as:
reverse proxy configuration
certificate chain structure
DNS resolution timing
or even caching at the TLS layer
So itās completely understandable if it isnāt consistently reproducible yet. Weāll continue investigating that internally as we gather more data points.
Great news (from a debugging perspective):
The voice assistant failing when SSL is enabled but working when SSL is disabled is a clean and reliable test scenario.
That gives engineering a very clear signal path to trace, which significantly speeds up troubleshooting. Issues that are deterministic like this are exactly what help us pinpoint subsystem differences in secure connection handling.
Weāve noted your interest in testing ā thank you again for volunteering. When we have a test build that targets SSL-related voice behavior improvements, weāll reach out so you can validate it in your environment. Real-world HTTPS setups like yours are especially helpful for verifying fixes before wider release.
Domain + SSL HA connection ā working ![]()
Port requirement behavior ā under investigation ![]()
Voice assistant over SSL ā reproducible issue ![]()
Fix ā being evaluated by engineering ![]()
Thanks again for your patience and for contributing such clear feedback. Reports like yours genuinely help improve reliability for everyone using secure Home Assistant deployments.