Athom EM2 2 CH Energy Meter (Thing configuration)

Here is the thing with channel configuration for Athom EM2 (2 channel).
It assumes that MQTT topic on the device is set to energy_meter.
Also, set your bridgeUID to your MQTT bridge.

I haven’t added a summary values (Energy Today, Energy Yesterday, Energy Total) as OpenHab has better ways to display and summarize these values.

Hopefully it will save you an hour to configure all channels.

UID: mqtt:topic:OpenhabianMQTT:EnergyMeter
label: House Energy Meter
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:broker:OpenhabianMQTT
location: Electric box
channels:
  - id: Channel1Current
    channelTypeUID: mqtt:number
    label: Current channel 1
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: A
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Current[0]
  - id: Channel2Current
    channelTypeUID: mqtt:number
    label: Current channel 2
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: A
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Current[1]
  - id: Channel1ActivePower
    channelTypeUID: mqtt:number
    label: Active power channel 1
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: W
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Power[0]
  - id: Channel2ActivePower
    channelTypeUID: mqtt:number
    label: Active power channel 2
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: W
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Power[1]
  - id: Voltage
    channelTypeUID: mqtt:number
    label: Voltage
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: V
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Voltage
  - id: Frequency
    channelTypeUID: mqtt:number
    label: Frequency
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: Hz
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Frequency
  - id: Channel1ApparentPower
    channelTypeUID: mqtt:number
    label: Apparent power channel 1
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: VA
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.ApparentPower[0]
  - id: Channel2ApparentPower
    channelTypeUID: mqtt:number
    label: Apparent power channel 2
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: VA
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.ApparentPower[1]
  - id: Channel1ReactivePower
    channelTypeUID: mqtt:number
    label: Reactive power channel 1
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: VAR
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.ReactivePower[0]
  - id: Channel2ReactivePower
    channelTypeUID: mqtt:number
    label: Reactive power channel 2
    description: null
    configuration:
      postCommand: false
      retained: false
      unit: VAR
      stateTopic: tele/energy_meter/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.ReactivePower[1]