Comments (7)
@fu-zhou yes you can still work with the command line!
Actually I guess this is not even a new issue - It is one of the locations where I added extra logging in order to find out whether they cause #7.
I'll look into it, pretty sure it can be fixed quickly.
from pyess.
Ah, okay, the additional logging then idientified the two issues:
TypeError: string indices must be integers
ERROR:pyess.essmqtt:exception while sending to mqtt
The ERROR is maybe a result of the TypeError?
from pyess.
@fu-zhou yes, the full multiline message is the result of the same TypeError - the logging I added displays all the lines together. I was hoping to find the cause for the hangups this way, by also displaying the stacktrace. The issue debugging is that with asyncio it easily happens that one does not notice that an exception happens somewhere unless it is caught explicitly. My guess was that the mqtt send loop was crashing without saying good bye so I added logging therein. That logging indeed exposed an issue on your end (but not #7).
0.1.8 should fix this new issue as far as I can tell. The error you describe above does not happen on my ess, likely because the structure of /home/
and /common/
daata sources differs between our ESSes.
I know about the potentially appearing new log message
INFO:pyess.aio_ess:fetching auth key
/home/pi/pyess/venv/lib/python3.7/site-packages/aiohttp-4.0.0a1-py3.7-linux-aarch64.egg/aiohttp/client.py:977: RuntimeWarning: coroutine 'noop' was never awaited
self._resp.release()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
If it appears on your end that should not be a cause for concern -- it is a bug in aiohttp that will likely be fixed in a future version of their package, but that shouldn't cause issues apart from displaying the message.
from pyess.
Got v1.8 installed - runs smooth, no error messages!
I run the Enervu App v1.2.4, got the LG ESS Home 8 System with 9.8 kWh battery and all 3 strings attached. For home and common Home 8 and 3 strings should set the communication frame.
from pyess.
The meaning of this sentence is unclear to me:
For home and common Home 8 and 3 strings should set the communication frame.
My guess is you're summarizing what system the original issue occured for right? I'm asking because the "should" might also refer to what pyess should do but doesn't, indicating some persisting issue.
from pyess.
You mentioned that The error you describe above does not happen on my ess, likely because the structure of /home/ and /common/ daata sources differs between our ESSes.
What I meant to say is that the contents of the common and home section "should" depend on the system one has and how many strings are connected. I.e. if your system and my system has the same configuration, there shouldn't be any difference in home and common. That's all, I didn't intend to summarize what system the original issue occured for. And also no intend to point out what pyess should do but doesn't. The "should" just came from my guess.
from pyess.
I fully agree, it should depend on the system :) Very good, sorry I didn't get it on the first try. Thank you for the clarification, closing this issue now.
from pyess.
Related Issues (20)
- switch-tasks not working
- Support new Battery mode "Weather forecast" HOT 20
- Connection to the ESS seems to be blocked HOT 5
- unit of measurement wrong for homeassistant HOT 2
- Cannot connect to ESS HOT 7
- How to install HOT 4
- Access to installer settings HOT 11
- Feature Request: Multiple Inverters HOT 2
- How to connect on different subnet HOT 8
- Two MQTT servers HOT 2
- Can't run essmqtt anymore. error message about coroutine 'ClientSession.close' was never awaited. HOT 1
- ESSmqtt as daemon HOT 1
- Hassio 3023.09.3 ERROR:asyncio:Task exception was never retrieved HOT 2
- try to use with new resu system HOT 2
- No module named 'aiomqtt.error' HOT 2
- Typo still needs fixing HOT 1
- Can
- Can't find ESS HOT 2
- essmqtt stops updating values after 38 hours of runtime HOT 22
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 pyess.