DrozmotiX / ioBroker.esphome

Control your ESP8266/ESP32 with simple yet powerful configuration files created and managed by ESPHome
MIT License
30 stars 23 forks source link

TypeError: Cannot read property 'deserializeBinary' of undefined #124

Closed Anzic23 closed 11 months ago

Anzic23 commented 2 years ago

Describe the bug
When adding a configuration from the Nice_BusT4 repository, I get constant errors in the log. In the device log, there are also errors with reconnection from the side of the iobroker. There is also no way to control the end device, the objects simply do not appear.

To Reproduce
Steps to reproduce the behavior:

  1. just install the config from the repository.
  2. See error

Expected behavior I would like to be able to operate the garage door as a home assistant. Need objects in iobroker.

Screenshots & Logfiles
image

Versions:

Additional context
my config:

#отправляет пакеты через uart в шину Nice BUS T4
#тест на Wemos D1 mini

esphome:
  name: garage-test
  platform: ESP8266
  board: nodemcuv2

external_components:
  - source:
      type: git
      url: https://github.com/pruwait/Nice_BusT4

# включаем отладку для поиска причины перезагрузки через лог
debug:

# Enable logging
logger:
  level: DEBUG
  baud_rate: 0

# Enable Home Assistant API
api:
  password: "pasds"
  services:
# для отправки hex команд на привод
  - service: raw_command
    variables:
        raw_cmd: string
    then:
      lambda: |-
         my_nice_cover -> NiceBusT4::send_raw_cmd(raw_cmd);

  reboot_timeout: 0s # иначе перезагружается при отключении от hassio  

ota:

# Set statul led for Wemos D1 mini
status_led:
  pin: 
    number: D4
    inverted: true

wifi:
  ssid: "Skynet_IoT"
  password:  "piy680zxc"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "garage Hotspot"
    password: !secret ota_pass

captive_portal:

# Enable web server (can be disabled)
web_server:
  port: 80

button:
  - platform: template
    name: Open
    id: send_open
    on_press:
      lambda: |-
         my_nice_cover -> NiceBusT4::send_open();

cover:
- platform: bus_t4
  name: "Nice Wingo 5000"
  id: "my_nice_cover"
darkman242 commented 2 years ago

any news regarding the bug. I can install the adapter, but when I add devices the mentioned error occurs and the connection to the ESP is disconnected (is shown on the ESP in the log and in the adapter instance the device is then on 'red').