hi i am trying to integrate a esphomedevice. It’s working OK with homeassitant but in openhab:
1/ Device is discovered and added as a thing
2/ No channels available.
3/ The sensors are just examples but i think there should be sensors channels available ?
Thing:
UID: esphome:device:wmbus-reader-eth-poe-v4
label: WMBUS Reader ETH POE v4 / esp32-poe
thingTypeUID: esphome:device
configuration:
pingInterval: 3
hostname: 192.168.0.39
port: 6053
maxPingTimeouts: 4
enableBluetoothProxy: false
reconnectInterval: 12
encryptionKey: eDNPgLXatKFNoUix14VnAxQ4o+e8YnZVWADNU92wRvo=
deviceId: wmbus-reader-eth-poe-v4
deviceLogLevel: VERY_VERBOSE
yaml:
dashboard_import:
package_import_url: github://MariuszWoszczynski/wmbus-reader-eth-poe/wmbus-reader-eth-poe-v4.yaml@main
import_full_config: true
substitutions:
name: "wmbus-reader-eth-poe-v4"
friendly_name: "WMBUS Reader ETH POE v4"
esphome:
name: "${name}"
friendly_name: "${friendly_name}"
project:
name: esphome.wmbus_reader_eth
version: "1.0"
esp32:
board: esp32-poe
framework:
type: arduino
##### NOTE!!! In the external_components section there is a link to always the latest version of the repository.
##### If there will be any changes to the software, user intervention may be required
##### (e.g. changing the way sensors are configured, etc.).
##### Therefore, it is advisable to follow the information on the site of the author of the software:
##### https://github.com/SzczepanLeon/esphome-components
external_components:
- source: github://SzczepanLeon/esphome-components@version_4
components: [ wmbus ]
refresh: 0d
time:
- platform: sntp
id: time_sntp
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "eDNPgLXatKFNoUix14VnAxQ4o+e8YnZVWADNU92wRvo="
ota:
- platform: esphome
mdns:
disabled: false
web_server:
port: 80
version: 3
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
power_pin: GPIO12
#Optional manual IP
# manual_ip:
# static_ip: 192.168.10.99
# gateway: 192.168.10.1
# subnet: 255.255.255.0
wmbus:
mosi_pin: GPIO02
clk_pin: GPIO14
miso_pin: GPIO15
gdo2_pin: GPIO13
gdo0_pin: GPIO16
cs_pin: GPIO05
frequency: 868.950
all_drivers: False
sync_mode: True
log_all: True
# mqtt:
# broker: 192.168.XX.XX
# username: xxxxxxxx
# password: xxxxxxxx
sensor:
###########################################################################################################################################################
###########################################################################################################################################################
# The following sensors are examples, for IZAR, APATOR and UNISMART meters. Leave only the configuration of such meters you have, delete the other sensors.
# If you have another meter, check its configuration on: https://github.com/SzczepanLeon/esphome-components
###########################################################################################################################################################
###########################################################################################################################################################
# IZAR water meter
- platform: wmbus
meter_id: 0x00000000 ######## enter your IZAR meter ID here ###########
type: izar
sensors:
- name: "RSSI IZAR"
field: "rssi"
accuracy_decimals: 0
unit_of_measurement: "dBm"
device_class: "signal_strength"
state_class: "measurement"
entity_category: "diagnostic"
- name: "IZAR water meter stater"
field: "total"
accuracy_decimals: 3
unit_of_measurement: "m³"
device_class: "water"
state_class: "total_increasing"
icon: "mdi:water"
- name: "IZAR Consumption in the last month"
field: "last_month_total"
accuracy_decimals: 3
unit_of_measurement: "m³"
device_class: "water"
state_class: "total_increasing"
icon: "mdi:water"
- name: "IZAR Transmission period"
field: "transmit_period"
accuracy_decimals: 0
unit_of_measurement: "Second"
- name: "IZAR Remaining battery life"
field: "remaining_battery_life"
accuracy_decimals: 0
unit_of_measurement: "Year"
# APATOR 16-2 water meter
- platform: wmbus
meter_id: 0x00000000 ######## enter your APATOR meter ID here ###########
type: apator162
key: "00000000000000000000000000000000"
sensors:
- name: "RSSI APATOR"
field: "rssi"
accuracy_decimals: 0
unit_of_measurement: "dBm"
device_class: "signal_strength"
state_class: "measurement"
entity_category: "diagnostic"
- name: "APATOR water meter state"
field: "total"
accuracy_decimals: 3
unit_of_measurement: "m³"
device_class: "water"
state_class: "total_increasing"
icon: "mdi:water"
# UNISMART gas meter
- platform: wmbus
meter_id: 0x00000000 ######## enter your UNISMART meter ID here ###########
type: unismart
key: "00000000000000000000000000000000"
sensors:
- name: "RSSI UNISMART"
field: "rssi"
accuracy_decimals: 0
unit_of_measurement: "dBm"
device_class: "signal_strength"
state_class: "measurement"
entity_category: "diagnostic"
- name: "UNISMART gas meter state"
field: "total"
accuracy_decimals: 3
unit_of_measurement: "m³"
device_class: "gas"
state_class: "total_increasing"
icon: "mdi:water"
#filters: #optional
# - offset: 991.10
openhablog;
2025-06-18 12:23:52.743 [WARN ] [e.internal.comm.EncryptedFrameHelper] - Error sending message
no.seime.openhab.binding.esphome.internal.comm.ProtocolAPIError: Cannot invoke "com.southernstorm.noise.protocol.CipherStatePair.getSender()" because "this.cipherStatePair" is null
at no.seime.openhab.binding.esphome.internal.comm.EncryptedFrameHelper.encodeFrame(EncryptedFrameHelper.java:239) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.EncryptedFrameHelper.send(EncryptedFrameHelper.java:385) ~[?:?]
at no.seime.openhab.binding.esphome.internal.handler.ESPHomeHandler.onConnect(ESPHomeHandler.java:281) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.EncryptedFrameHelper.handleHandshake(EncryptedFrameHelper.java:206) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.EncryptedFrameHelper.headerReceived(EncryptedFrameHelper.java:126) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.EncryptedFrameHelper.processBuffer(EncryptedFrameHelper.java:279) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.EncryptedFrameHelper.processReceivedData(EncryptedFrameHelper.java:366) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.ConnectionSelector.processReceivedData(ConnectionSelector.java:99) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.ConnectionSelector.processKey(ConnectionSelector.java:84) ~[?:?]
at no.seime.openhab.binding.esphome.internal.comm.ConnectionSelector.lambda$0(ConnectionSelector.java:39) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
and additional logs from esphome web gui
12:53:40
[D]
[api.connection:236]
openHAB (192.168.0.248) disconnected
12:53:41
[D]
[api:133]
Accepted 192.168.0.248
12:53:41
[D]
[api.connection:1570]
openHAB (192.168.0.248) connected
Which seems the connection is OK