Schneider IEM3155 Energy Meter - Sending Modbus custom_command

I’ve successfully implemented my IEM3155 Energy Meter in ESPHome using Modbus and I can read all relevant registers.

But I’m struggling quite a bit to figure out the syntax for sending a custom_command to reset the counter every day at midnight.
The IEM3155 supports modbus function 16 and in the IEM3155 command list I’ve this:

As I’m not writing to a register but issuing a command, I’ve no idea about the format of the custom_command in ESPHome. Can’t find anything on the net regarding modbus function 16 that refers to a command - only a register ?

I’ve tried sending custom_command to the device with the command number as the register address.

# slave_device_add:  0x01
    # modbus command 16: 0x10
    # register (command ?) 2020 decimal : 0x07E4
    # number of registers to write: 0x0001
    # number of bytes: 0x02
    # new holding register value: 0x0000
    custom_command: [ 0x01, 0x10, 0x07, 0xE4, 0x00, 0x01, 0x02, 0x00, 0x00 ]

That gives (as expected) an error.

[12:40:06][D][uart_debug:114]: >>> 01:10:07:E4:00:01:02:00:00:C7:74
[12:40:06][D][modbus:126]: Modbus error function code: 0x90 exception: 4
[12:40:06][E][modbus_controller:068]: Modbus error function code: 0x10 exception: 4 
[12:40:06][D][modbus:126]: Modbus error function code: 0x90 exception: 4
[12:40:06][E][modbus_controller:068]: Modbus error function code: 0x10 exception: 4 
[12:40:06][E][modbus_controller:072]: Modbus error - last command: function code=0x10  register adddress = 0x7C9D  registers count=1 payload size=9
[12:40:06][D][uart_debug:114]: <<< 01:90:04:4D:C3

Any help on this subject would be much appreciated.

//Henning

1 Like

Well, found the solution on how to use the modbus function 16 commands five minutes after my post :roll_eyes:

Placed the command in the command register along with 2 zero bytes as parameter and the counter got reset :tada::slightly_smiling_face:

    # device slave address: 0x01
    # modbus command 16: 0x10
    # commmand register 5250 decimal: 0x1481 
    # number of registers to write: 0x0002 (write both command and command parameters registers)
    # number of bytes: 0x04 (2 parameters x 2 bytes)
    # command 2020 in register 5250: 0x07E4
    # command parameters in register 5252: 0x000 (this command has no parameters)
    custom_command: [ 0x01, 0x10, 0x14, 0x81, 0x00, 0x02, 0x04, 0x07, 0xE4, 0x00, 0x00 ]
[13:58:11][D][uart_debug:114]: >>> 01:10:14:81:00:02:04:07:E4:00:00:84:40
[13:58:11][D][modbus_controller.sensor:025]: Sensor new state: 5249.00

The response 5249 dec. = 0x1480 is a bit strange though. I dont understand why it returns the value of first holding register minus one ?
But hey, it works !

Hopefully this post can help out others experiencing issues with modbus custom_command

//Henning

Not really complety solved, as I’ve established my custom_command as a sensor. Can’t really figure out any other way to do this
This is updated at an interval set on the modbus_controller platform.
Unfortunately it can’t be set to update_interval: never and triggered via component.update at a fixed time each day, as the modbussensor doesn’t inherit from pollingcomponent.

How can I accomplish that the custom_command is only send at at specific time once each day ?
Will I have to fiddle with an output write lambda instead to accomplish this ?

Rgds.
Henning

1 Like

Also got this issue solved by trial and error.
Individual id’s declared within the modbus component can’t be triggered. But fortunately the modbus_controller id itself can be triggered from the polling component :+1:

I’ll post my working ESPHome config here:

#Schneider IEM3155 Energy Meter Modbus config
esphome:
  name: iem3155-8266
  platformio_options:
    upload_speed: 115200

esp8266:
  board: d1_mini

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "my_encryption_key"

ota:
  password: "my_ota_password"

wifi:
  ssid: "my_ssid"
  password: "my_password"
  manual_ip:
    static_ip: xxx.xxx.x.x
    gateway: xxx.xxx.x.x
    subnet: 255.255.255.0
    
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Iem3155-8266 Fallback Hotspot"
    password: "my_hotspot_password"

captive_portal:

time:
  - platform: homeassistant
    id: esptime
  - platform: sntp
    on_time:
      - seconds: 0
        minutes: 59
        hours: 23
        days_of_week: MON-SUN
        then:
          - component.update: iem3155_daily

binary_sensor:
  - platform: status
    name: "Energy Meter Status"
    id: system_status
 
uart:
  id: mod_bus
  tx_pin: 4 #D1
  rx_pin: 5 #D2
  baud_rate: 19200
  parity: EVEN
  stop_bits: 1
  debug:

modbus:
  id: modbus1

modbus_controller:
  - id: iem3155
    address: 0x1
    modbus_id: modbus1
    # update all energy sensors every minute
    update_interval: 60s
  
  - id: iem3155_daily
    address: 0x1
    modbus_id: modbus1
    # No interval sensor update !
    # Will be called once daily via component.update
    # Only custom_command sensor is using this id
    update_interval: never  
    
sensor:
  - platform: modbus_controller
    modbus_controller_id: iem3155
    name: "L1 Active Power"
    id: power_l1
    register_type: holding
    address: 3053
    unit_of_measurement: "W"
    device_class: energy
    value_type: FP32
    filters:
      - multiply: 1000
    accuracy_decimals: 0
    
  - platform: modbus_controller
    modbus_controller_id: iem3155
    name: "Active Energy Import Phase 1"
    id: active__energy_import_l1
    register_type: holding
    address: 45111
    unit_of_measurement: "kWh"
    device_class: energy
    value_type: FP32
    accuracy_decimals: 3
    
  - platform: modbus_controller
    modbus_controller_id: iem3155
    name: "L1 Phase Voltage"
    id: voltage_l1
    register_type: holding
    address: 3027
    unit_of_measurement: "V"
    device_class: energy
    value_type: FP32
    accuracy_decimals: 0
    
  - platform: modbus_controller
    modbus_controller_id: iem3155
    name: "L1 Phase Frequency"
    id: frequency_l1
    register_type: holding
    address: 3109
    unit_of_measurement: "Hz"
    device_class: energy
    value_type: FP32
    accuracy_decimals: 0
    
  - platform: modbus_controller
    modbus_controller_id: iem3155
    name: "Digital input control mode"
    id: digital_input
    # This register returns 5 if device partial energy readings
    # can be reset via digital input pins (12-40v dc pulse)
    # Alternative to the custom_command
    register_type: holding
    address: 7273
    device_class: energy
    value_type: U_WORD
    
  - platform: modbus_controller
    modbus_controller_id: iem3155_daily
    name: "Reset command"
    id: reset_partial
    # custom_command to reset all partial energy readings just before midnight
    # device slave address: 0x01
    # modbus command 16: 0x10
    # commmand register 5250 decimal: 0x1481 
    # number of registers to write: 0x0002 (write both command and command parameters registers)
    # number of bytes: 0x04 (2 parameters x 2 bytes)
    # command 2020 in register 5250: 0x07E4
    # command parameters in register 5252: 0x000 (this command has no parameters)
    custom_command: [ 0x01, 0x10, 0x14, 0x81, 0x00, 0x02, 0x04, 0x07, 0xE4, 0x00, 0x00 ]
    value_type: FP32

And the custom_command (sensor) updates nicely once every day just before midnight and resets all the partial energy meter readings :sunglasses:

[23:59:00][D][uart_debug:114]: >>> 01:10:14:81:00:02:04:07:E4:00:00:84:40
[23:59:00][D][modbus_controller.sensor:025]: Sensor new state: 0.00

Rgds.
Henning

REVISED 2023-07-17:
Updated github repo to v1.1

  • Added two more sensors
  • Made code more resilient to reboots (retain global variables in RTC memory)

Tweaked and refined my original config:

  • 16 sensors in total
  • 4 daily import sensors that will be device reset at midnight
  • 1 total power sensor with frequent updates (10 seconds)
  • Remaining sensors updates every 60 seconds

I’ve published my final production configuration here: GitHub - htvekov/iem3155_esphome: Schneider iEM3155 Energy Meter modbus configuration for ESPHome

Cross link to direct iEM3155 Raspberry Pi USB HA integration thread here: Schneider IEM3155 energy meter with usb to RS485

1 Like

Hello,

Very usefull information thx

But how do you use in your energy panel. Can you show me please thx

Hi’

Sure :slightly_smiling_face:
I only use two of the Energy Meter sensors in the HA Energy panel - Daily Energy Import Total and Energy Export Total.
Last sensor used is from my solar inverter, where I expose the daily yield to the Energy panel
Thats it ! Home Assistant makes all other calculations based on these sensors.

My Solar inverter is connected to the grid behind the Energy Meter, so any production is also reflected in the Energy Meters sensors (e.g. total consumption and the phase where inverter is connected can be negative values)

I also use some sensor data to present live energy data on my openHASP devices.
Not fully delevoped yet - still a work in progress project :wink:
Config files etc. can be found here
The round spinners color part reflects percentage of grid/solar consumption/export/production prediction. Spinner speed also varies depending on power produced/consumed and direction is also changed if ‘house’ consumes or exports energy to grid

image

Hello,

Thank you for your feedback.
I will receive my IEM3155 tomorrow and the esp32 arrived today…
Did you use an RS485 interface between the IEM and the esp32 or the esp32 is able to handle modbus alone?

thx

Yep. A RS485 interface between the ESP32 and the IEM is mandatory.
You can get these quite inexpensive modules via e.g. Aliexpress - downside is the long wait for items to arrive. Also available from European vendors on Amazon if you want faster delivery.

I’ve only experience with RS485 to TTL module type with automatic flow control like this

I have this type of interface at work, can’t wait to test it tonight.
Thanks for the info.

Hello, Do you have an idea how to realize the reset with a switch? regards Martin

Reset daily counters in the Energy Meter by switch or… ?
Please elaborate, thank you

EDIT:

Just checked the manual. Digital input requires dc voltage applied in order to switch state.
So you can’t just short the digital input pins in order to trigger a partial energy data reset.
I’ve tested with 12v dc on input pins and can confirm that this triggers partial reset of the daily energy registers.

image

A couple of messages above this I’ve a link for my github page with the iEM3155 meter.
On that page there’s also a link to the Schneider iEM manual

Hello Henning, Thanks for the feedback. No, I don’t mean a physical switch but a device class “Switch” in HomeAssistant. So instead of the timer a switch. regards Martin

Ohh, that’s what you meant :wink:
Yep, you could easily revise the code to use a button entity as trigger for that event.
I would suggest a momentary button entity in HA and ESPHome as there’s not really any state for this.
You just fire a command and an event occurs (irreversible). More a button thing if you ask me.

Do you need help with this ?

Hello, yes that is exactly my problem. I don’t think it makes any difference whether it’s a switch or a button ;-). I tried to do this with a switch, but unfortunately it didn’t work. So help would be very nice. Do you have a ESPHome code example?

Hi’ @martin8310

Sorry, forgot all about this issue :roll_eyes:
Just updated my github repo with more description details, improved code and two sensors added.
Do you still need help with your switch config issue ?

Hello, yes a switch for the reset function would be fine :wink:

Hi htvekov,

Just a quick note of thanks; I have forked your base and then heavily modified to suit the Schneider PM2200 series. GitHub - BradleyFord/pm2200_esphome: Schneider PM2200 PM2230 Energy Meter modbus configuration for ESPHome

These are very very different, but it seems they have tried to use the same base MODBUS registers which is nice.

Hi

Hope that some nice soul will help a newbie on Modbus.
Experienced in the rest of the techology of HomeAssistant and ESPHome :slight_smile:

@htvekov i Cloned your GIT and programed a D1mini ESP12 but can’t get anything from the meter.
@Brad_Ford you seem to have got a different meter working to with this code.

I have a Schneider IEM3150, but I tried to look at the documentation and its a range of meters with the same data-sheet so I hope the commands will be the same for the registers.

Seems that I don’t get any responces at all from the meter:
[09:16:11][D][modbus_controller:040]: Modbus command to device=1 register=0xC0B countdown=0 no response received - removed from send queue

And one more question is regarding this:
Ensure that Com.Protection in the device is DISABLED - Com.Protection is ENABLED by default !!
I browsed around in the menus of the meter but didn’t find anting matching this Com-Protection… It shouldn’t be critical if I only want to read the phases and consumption right?

[09:15:39][I][app:102]: ESPHome version 2024.2.2 compiled on Mar 20 2024, 09:14:50
[09:15:39][C][wifi:577]: WiFi:
[09:15:39][C][wifi:409]:   Local MAC: 8C:AA:B5:D7:9F:D7
[09:15:39][C][wifi:414]:   SSID: [redacted]
[09:15:39][C][wifi:415]:   IP Address: 192.168.5.64
[09:15:39][C][wifi:416]:   BSSID: [redacted]
[09:15:39][C][wifi:418]:   Hostname: 'iem3155-8266'
[09:15:39][C][wifi:420]:   Signal strength: -61 dB ▂▄▆█
[09:15:39][C][wifi:424]:   Channel: 1
[09:15:39][C][wifi:425]:   Subnet: 255.255.255.0
[09:15:39][C][wifi:426]:   Gateway: 192.168.5.1
[09:15:39][C][wifi:427]:   DNS1: 192.168.5.1
[09:15:39][C][wifi:428]:   DNS2: 0.0.0.0
[09:15:39][C][logger:447]: Logger:
[09:15:39][C][logger:448]:   Level: DEBUG
[09:15:39][C][logger:449]:   Log Baud Rate: 0
[09:15:39][C][logger:451]:   Hardware UART: UART0
[09:15:40][C][uart.arduino_esp8266:118]: UART Bus:
[09:15:40][C][uart.arduino_esp8266:119]:   TX Pin: GPIO1
[09:15:40][C][uart.arduino_esp8266:120]:   RX Pin: GPIO3
[09:15:40][C][uart.arduino_esp8266:122]:   RX Buffer Size: 512
[09:15:40][C][uart.arduino_esp8266:124]:   Baud Rate: 19200 baud
[09:15:40][C][uart.arduino_esp8266:125]:   Data Bits: 8
[09:15:40][C][uart.arduino_esp8266:126]:   Parity: EVEN
[09:15:40][C][uart.arduino_esp8266:127]:   Stop bits: 1
[09:15:40][C][uart.arduino_esp8266:129]:   Using hardware serial interface.
[09:15:40][C][modbus:143]: Modbus:
[09:15:40][C][modbus:145]:   Send Wait Time: 250 ms
[09:15:40][C][modbus:146]:   CRC Disabled: NO
[09:15:40][C][template.binary_sensor:028]: Template Binary Sensor 'Digital input control mode'
[09:15:40][C][uptime.sensor:031]: Uptime Sensor 'Uptime sensor'
[09:15:40][C][uptime.sensor:031]:   Device Class: 'duration'
[09:15:40][C][uptime.sensor:031]:   State Class: 'total_increasing'
[09:15:40][C][uptime.sensor:031]:   Unit of Measurement: 's'
[09:15:40][C][uptime.sensor:031]:   Accuracy Decimals: 0
[09:15:40][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[09:15:40][C][template.sensor:022]: Template Sensor 'Daily Energy Export Total'
[09:15:40][C][template.sensor:022]:   Device Class: 'energy'
[09:15:40][C][template.sensor:022]:   State Class: ''
[09:15:40][C][template.sensor:022]:   Unit of Measurement: 'kWh'
[09:15:40][C][template.sensor:022]:   Accuracy Decimals: 3
[09:15:40][C][template.sensor:022]:   Icon: 'mdi:transmission-tower-import'
[09:15:40][C][template.sensor:023]:   Update Interval: 60.0s
[09:15:40][C][template.sensor:022]: Template Sensor 'Daily Solar Consumption Total'
[09:15:40][C][template.sensor:022]:   Device Class: 'energy'
[09:15:40][C][template.sensor:022]:   State Class: ''
[09:15:40][C][template.sensor:022]:   Unit of Measurement: 'kWh'
[09:15:40][C][template.sensor:022]:   Accuracy Decimals: 3
[09:15:40][C][template.sensor:022]:   Icon: 'mdi:solar-power-variant'
[09:15:40][C][template.sensor:023]:   Update Interval: 60.0s
[09:15:40][C][homeassistant.time:010]: Home Assistant Time:
[09:15:40][C][homeassistant.time:011]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[09:15:40][C][modbus_controller:298]: ModbusController:
[09:15:40][C][modbus_controller:299]:   Address: 0x01
[09:15:40][C][modbus_controller:298]: ModbusController:
[09:15:40][C][modbus_controller:299]:   Address: 0x01
[09:15:40][C][modbus_controller:298]: ModbusController:
[09:15:40][C][modbus_controller:299]:   Address: 0x01
[09:15:40][C][status:034]: Status Binary Sensor 'Node Status'
[09:15:40][C][status:034]:   Device Class: 'connectivity'
[09:15:40][C][copy.sensor:015]: Copy Sensor 'WiFi strength pct.'
[09:15:40][C][copy.sensor:015]:   Device Class: 'signal_strength'
[09:15:40][C][copy.sensor:015]:   State Class: 'measurement'
[09:15:40][C][copy.sensor:015]:   Unit of Measurement: '%'
[09:15:40][C][copy.sensor:015]:   Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Voltage avg. All Phases'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'V'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:current-ac'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'L1 Active Power'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'L2 Active Power'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'L3 Active Power'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Total Active Power'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'W'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Power Factor'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 2
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:power-settings'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Frequency'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'Hz'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 2
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:sine-wave'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'digital_input'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Energy Import Total'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'total_increasing'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'kWh'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 3
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:transmission-tower-export'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Energy Export Total'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'total_increasing'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'kWh'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 3
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:transmission-tower-import'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Daily Energy Import Total'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Device Class: 'energy'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: 'total_increasing'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'kWh'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 3
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:lightning-bolt-circle'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Daily Energy Import Phase 1'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'kWh'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 3
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:lightning-bolt-circle'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Daily Energy Import Phase 2'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'kWh'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 3
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:lightning-bolt-circle'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Daily Energy Import Phase 3'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: 'kWh'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 3
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:lightning-bolt-circle'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Command result'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Icon: 'mdi:restart'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensorModbus Controller Sensor 'Reset command'
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  State Class: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Unit of Measurement: ''
[09:15:40][C][modbus_controller.sensor:010]: modbus_controller.sensor  Accuracy Decimals: 0
[09:15:40][C][captive_portal:088]: Captive Portal:
[09:15:40][C][sntp:055]: SNTP Time:
[09:15:40][C][sntp:056]:   Server 1: '0.pool.ntp.org'
[09:15:40][C][sntp:057]:   Server 2: '1.pool.ntp.org'
[09:15:40][C][sntp:058]:   Server 3: '2.pool.ntp.org'
[09:15:40][C][sntp:059]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[09:15:40][C][mdns:115]: mDNS:
[09:15:40][C][mdns:116]:   Hostname: iem3155-8266
[09:15:40][C][ota:096]: Over-The-Air Updates:
[09:15:40][C][ota:097]:   Address: iem3155-8266.local:8266
[09:15:40][C][ota:100]:   Using Password.
[09:15:40][C][ota:103]:   OTA version: 2.
[09:15:40][C][api:139]: API Server:
[09:15:40][C][api:140]:   Address: iem3155-8266.local:6053
[09:15:40][C][api:142]:   Using noise encryption: YES
[09:15:40][C][wifi_signal.sensor:009]: WiFi Signal 'WiFi strength db'
[09:15:40][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[09:15:40][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[09:15:40][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[09:15:40][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[09:15:40][C][homeassistant.sensor:030]: Homeassistant Sensor 'daily_yield'
[09:15:40][C][homeassistant.sensor:030]:   State Class: ''
[09:15:40][C][homeassistant.sensor:030]:   Unit of Measurement: ''
[09:15:40][C][homeassistant.sensor:030]:   Accuracy Decimals: 1
[09:15:40][C][homeassistant.sensor:031]:   Entity ID: 'sensor.solivia_solar_daily_yield'
[09:15:51][D][sensor:093]: 'Daily Solar Consumption Total': Sending state nan kWh with 3 decimals of accuracy
[09:15:55][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:15:55][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:15:55][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:15:55][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:15:56][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:15:56][W][modbus_controller:030]: Modbus device=1 set offline
[09:15:56][D][modbus_controller:040]: Modbus command to device=1 register=0xBF3 countdown=0 no response received - removed from send queue
[09:16:04][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:16:05][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:16:05][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:16:05][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:16:06][D][uart_debug:114]: >>> 01:03:0B:F3:00:02:36:1C
[09:16:06][D][modbus_controller:040]: Modbus command to device=1 register=0xBF3 countdown=0 no response received - removed from send queue
[09:16:07][D][uart_debug:114]: >>> 01:03:0B:DB:00:02:B6:14
[09:16:08][D][uart_debug:114]: >>> 01:03:0B:DB:00:02:B6:14
[09:16:08][D][uart_debug:114]: >>> 01:03:0B:DB:00:02:B6:14
[09:16:08][D][sensor:093]: 'WiFi strength db': Sending state -61.00000 dBm with 0 decimals of accuracy
[09:16:08][D][sensor:093]: 'WiFi strength pct.': Sending state 78.00000 % with 0 decimals of accuracy
[09:16:08][D][uart_debug:114]: >>> 01:03:0B:DB:00:02:B6:14
[09:16:08][D][uart_debug:114]: >>> 01:03:0B:DB:00:02:B6:14
[09:16:08][D][modbus_controller:040]: Modbus command to device=1 register=0xBDB countdown=0 no response received - removed from send queue
[09:16:09][D][uart_debug:114]: >>> 01:03:0B:ED:00:06:57:D9
[09:16:09][D][uart_debug:114]: >>> 01:03:0B:ED:00:06:57:D9
[09:16:09][D][uart_debug:114]: >>> 01:03:0B:ED:00:06:57:D9
[09:16:09][D][uart_debug:114]: >>> 01:03:0B:ED:00:06:57:D9
[09:16:10][D][uart_debug:114]: >>> 01:03:0B:ED:00:06:57:D9
[09:16:10][D][modbus_controller:040]: Modbus command to device=1 register=0xBED countdown=0 no response received - removed from send queue
[09:16:10][D][uart_debug:114]: >>> 01:03:0C:0B:00:02:B6:99
[09:16:10][D][uart_debug:114]: >>> 01:03:0C:0B:00:02:B6:99
[09:16:11][D][uart_debug:114]: >>> 01:03:0C:0B:00:02:B6:99
[09:16:11][D][uart_debug:114]: >>> 01:03:0C:0B:00:02:B6:99
[09:16:11][D][uart_debug:114]: >>> 01:03:0C:0B:00:02:B6:99
[09:16:11][D][modbus_controller:040]: Modbus command to device=1 register=0xC0B countdown=0 no response received - removed from send queue
[09:16:11][D][uart_debug:114]: >>> 01:03:0C:25:00:02:D6:90
[09:16:12][D][uart_debug:114]: >>> 01:03:0C:25:00:02:D6:90
[09:16:12][D][uart_debug:114]: >>> 01:03:0C:25:00:02:D6:90
[09:16:12][D][uart_debug:114]: >>> 01:03:0C:25:00:02:D6:90
[09:16:12][D][uart_debug:114]: >>> 01:03:0C:25:00:02:D6:90
[09:16:13][D][modbus_controller:040]: Modbus command to device=1 register=0xC25 countdown=0 no response received - removed from send queue
[09:16:13][D][uart_debug:114]: >>> 01:03:1C:69:00:01:53:86
[09:16:13][D][uart_debug:114]: >>> 01:03:1C:69:00:01:53:86
[09:16:13][D][sensor:093]: 'Uptime sensor': Sending state 63.36800 s with 0 decimals of accuracy
[09:16:13][D][uart_debug:114]: >>> 01:03:1C:69:00:01:53:86
[09:16:14][D][uart_debug:114]: >>> 01:03:1C:69:00:01:53:86
[09:16:14][D][uart_debug:114]: >>> 01:03:1C:69:00:01:53:86
[09:16:14][D][modbus_controller:040]: Modbus command to device=1 register=0x1C69 countdown=0 no response received - removed from send queue
[09:16:14][D][uart_debug:114]: >>> 01:03:B0:2B:00:04:12:C1
[09:16:14][D][uart_debug:114]: >>> 01:03:B0:2B:00:04:12:C1
[09:16:14][D][sensor:093]: 'Daily Energy Export Total': Sending state nan kWh with 3 decimals of accuracy
[09:16:15][D][uart_debug:114]: >>> 01:03:B0:2B:00:04:12:C1
[09:16:15][D][uart_debug:114]: >>> 01:03:B0:2B:00:04:12:C1
[09:16:15][D][uart_debug:114]: >>> 01:03:B0:2B:00:04:12:C1
[09:16:15][D][modbus_controller:040]: Modbus command to device=1 register=0xB02B countdown=0 no response received - removed from send queue