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

ESPHOME für JK BMS geht nicht. #144

Closed Condor-XYZ closed 1 year ago

Condor-XYZ commented 2 years ago

Hallo Ich habe das tolle Projekt gefunden => https://github.com/syssi/esphome-jk-bms leider kommt bei Validate einige fehlermeldungen.

`INFO Reading configuration /opt/iobroker/iobroker-data/esphome.0/jk-bms.yaml... INFO Updating https://github.com/syssi/esphome-jk-bms.git@main ERROR Unable to import component jk_bms_ble.number: Traceback (most recent call last): File "/opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.7/site-packages/esphome/loader.py", line 163, in _lookup_module module = importlib.import_module(f"esphome.components.{domain}") File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/iobroker/iobroker-data/esphome.0/.esphome/external_components/35bd8a5b/components/jk_bms_ble/number/init.py", line 4, in from esphome.const import ( ImportError: cannot import name 'CONF_ENTITY_CATEGORY' from 'esphome.const' (/opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.7/site-packages/esphome/const.py) Failed config

button: [source /opt/iobroker/iobroker-data/esphome.0/jk-bms.yaml:72]

Component not found: button.

Kann man den fehler irgenwie beseitigen ?

DutchmanNL commented 1 year ago

es wird hier eine externe Komponenten verwendet jk_bms_ble.number diese muss man separat downloaden und in den ordner /opt/iobroker/iobroker-data/esphome.0/ reinkopieren