Skip to content

Uni-meter with home assistant and Marstek Venus E v2 with fixed values. #248

@DiGGeR2

Description

@DiGGeR2

Hello,

thanks for this module, I'have a Marstek Venus e v2 and want to simulate a Shelly Pro3EM.

I've installed your module, connected with terminal and created the file uni_meter.conf with these lines under, the uni meter module start, but I cannot find the Shelly Pro3EM with "Shelly Scanner" software nor with the marstek phone app when I push CT and then scan.. Could you help me please.

Error message :

[11:43:34] INFO: using custom configuration file: uni-meter.conf
25-09-26 11:43:34.996 INFO uni-meter - ###################################################################
25-09-26 11:43:35.002 INFO uni-meter - # Universal electric meter converter 1.1.19 (2025-09-25 18:26:28) #
25-09-26 11:43:35.002 INFO uni-meter - ###################################################################
25-09-26 11:43:35.002 INFO uni-meter - initializing actor system
25-09-26 11:43:35.664 INFO org.apache.pekko.event.slf4j.Slf4jLogger - Slf4jLogger started
25-09-26 11:43:35.989 INFO uni-meter.controller - creating ShellyPro3EM output device
25-09-26 11:43:36.019 INFO uni-meter.controller - creating VZLogger input device
25-09-26 11:43:37.462 INFO uni-meter.http.port-80 - HTTP server is listening on /[0:0:0:0:0:0:0:0]:80
25-09-26 11:43:41.114 ERROR uni-meter.input - failed to execute polling: Tcp command [Connect(127.0.0.1/:8088,None,List(),Some(10 seconds),true)] failed because of java.net.ConnectException: Connection refused

Conf file :

uni-meter {
output = "uni-meter.output-devices.shelly-pro3em"
input = "uni-meter.input-devices.home-assistant"

output-devices {
shelly-pro3em {
udp-port = 1010
}
}

input-devices {
fixed-values {
power-phase-mode = "tri-phase"

  # Valeurs fixes pour la puissance
  power-l1-fixed = 150  # en Watts
  power-l2-fixed = 220  # en Watts  
  power-l3-fixed = 180  # en Watts
  
  # Valeurs fixes pour l'énergie
  energy-consumption-fixed = 12500  # en Wh
  energy-production-fixed = 0       # en Wh
  
  # Tension fixe
  voltage-fixed = 230  # en Volts
  
  # Fréquence fixe
  frequency-fixed = 50  # en Hz
}

}
}

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