Comments (6)
This was my solution:
# retry_on_empty: true
Thank you clfberlin for the hint!
from e3dc-homeassistant.
Ok, strange. I have E3DC up and running without a problem. However, I have my modbus.yaml in a different folder.
Your modbus.yaml file is referenced in your configuration.yaml? The IP-Adress for your inverter is still correct? Modbus is still activated in your inverter? Note that E3DC updated systems recently.
from e3dc-homeassistant.
yaml-reference is ok - check
Ip-Adress did not change - check
Modbus is active - check
modbus TCP is active - check
Hassio restart - check
E3DC restart - check
2024-04-10 16:35:27.832 ERROR (MainThread) [homeassistant.config] Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 3: required key 'baudrate' not provided, please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 3: required key 'bytesize' not provided, please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 3: required key 'method' not provided, please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 3: required key 'parity' not provided, please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 3: required key 'stopbits' not provided, please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 4: not a valid value for dictionary value 'modbus->0->type', got 'tcp', please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 5: 'host' is an invalid option for 'modbus', check: modbus->0->host, please check the docs at https://www.home-assistant.io/integrations/modbus
Invalid config for 'modbus' at packages/e3dc/modbus.yaml, line 7: 'retry_on_empty' is an invalid option for 'modbus', check: modbus->0->retry_on_empty, please check the docs at https://www.home-assistant.io/integrations/modbus
2024-04-10 16:35:27.833 ERROR (MainThread) [homeassistant.setup] Setup failed for 'modbus': Invalid config.
from e3dc-homeassistant.
Sorry, I am just a user myself and can only try to help by comparing my installation... But the fact that it is looking for 'baudrate' seems odd. Is "type: tcp" in your settings? Or serial?
https://www.home-assistant.io/integrations/modbus
from e3dc-homeassistant.
No problem, thanks for any hints and thoughts. I'm just wondering about my errors, because nothing changed by myself.
These are the first lines in my "modbus.yaml" (IP made invisible by me)
e3dc_modbus:
modbus:
- name: "e3dc"
type: tcp
host: ...
port: 502
retry_on_empty: true
from e3dc-homeassistant.
Ok, "retry_on_empty" is one thing I do not have. Other than that I don't see major differences. The odd thing is that the errors complain about missing data that seem to be relevat only if you are running "type: serial".
For a structured approach: Let's narrow down the possible sources.
E3DC makes occasional updates. But you confirmed settings in the E3DC itself (and it is set to E3DC mode rather than "Simple Mode"?). And you restarted.
The YAML files themselves remained untouched and worked until now. I can confirm that they are working here.
So a likely cause is the HA-installation itself.
Here is a similar case from a few years ago:
https://community.home-assistant.io/t/modbus-tcp-invalid-configuration-new-yaml-formatting-extra-keys-key-not-provided-errors/345613
There have been some recent updates. Any chance you can create a backup, then restore an older backup (from maybe a week ago) and compare?
from e3dc-homeassistant.
Related Issues (12)
- Filenames for sensor-files are not correct HOT 1
- where to find the e3dc's IP? HOT 1
- `retry_on_empty`: is deprecated and will be removed in version 2024.4 HOT 1
- Template loop detected HOT 4
- SGReady status is missing
- Expected a dictionary for dictionary value 'packages->title', got 'e3dc-homeassistant/[...]' HOT 2
- Better Package Import HOT 5
- Warning in the system log: battery_discharge_power has non-numeric value: (<class 'str'>); HOT 3
- How to configure password? HOT 3
- sensor.e3dc_battery_discharge_energy (unavailable) HOT 1
- External Power Source Cannot be used in the Energy Panel HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from e3dc-homeassistant.