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.