Skip to content

No connection possible to HomeAssistant using HTTPS with certificate for external domain #199

@hstein2m

Description

@hstein2m

What's the issue?

I want to use b2500-meter to read energy data from my Home Assistant instance. My HA is configured to use https with a certificate assigned for an external (DynDNS) domain name.

When b2500-meter tries to connect to HA using its internal IP address, this fails due to the certificate not belonging to this internal IP but to the external domain.

Is there a way to either:

  • configure b2500-meter to ignore the certificate mismatch, or
  • use the external domain name instead of an IP address as target?

Your setup

  • Installation method:
    Docker
  • Storage system:
    Jupiter C+
  • Power meter source:
    Home Assistant

Configuration

# Share relevant parts of your config.ini (remove passwords/tokens)

[HOMEASSISTANT]
IP = 192.168.1.11
PORT = 8123
# Use HTTPS - if empty False is Fallback
HTTPS = True
ACCESSTOKEN = xxx
# The entity or entities (comma-separated for 3-phase) that provide current power
CURRENT_POWER_ENTITY = sensor.current_power

## Error messages or logs

Paste any error messages here (if applicable)

Invalid certificate (will provide more details later, if required)

Additional info

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions