-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'text' #6
Comments
I see this when the iotawatt stops responding from time to time. This indicates connectivity issue. |
So I’ve updated since then and used the IP instead of the mDNS hostname and has been working fine. I want to say it’s closed but maybe the error message could be better. ¯_(ツ)_/¯ |
I would say this is still an issue. Some sort of retry should be inplace. |
Any further updates on this? I am trying to get through all the errors in my logs and IotaWatt's ungraceful handling of connectivity issues is the highest on my list...? Log entries i added over here gtdiehl/iotawatt_ha#7 |
I'm seeing this fairly often in home assistant too. I can hit Annoying because HA shows the sensors as Unavailable until the next polling cycle when this happens. Willing to try stuff / debug if anyone has any suggestions. thanks. |
I'm also seeing this issue with my newly setup IotaWatt. Running the latest August version of HA. Did anybody find any solutions? |
I have the same error, but example.py works fine with both git-head and 0.1.0 release from PyPI Digging... |
Added a dummy input (no CT actually connected yet). Changed logging to debug, restarted HA, and it seems to be working logger:
default: info
logs:
# homeassistant.components.automation.send_to_pvoutput: debug
# homeassistant.components.rest_command: debug
homeassistant.components.iotawatt: debug output
|
I might add this bug throws the energy tracker in HA off and it stops working. I end up restarting HA after restarting iotawatt to fix it. |
@mikey0000 , does that just happen once and then everything is stable, or is it an intermittent problem? |
Intermittent, I've had it cause issues with IoTaWatt on the rare occasion but once it happens HA energy recording is dead. I have to restart HA. This happens often enough it's really annoying. E.g I've had to do it yesterday and probably within the last month again. So let's say every 3 weeks.
29/12/2022 5:07:29 am skyemoor ***@***.***>:
…
@mikey0000[https://github.com/mikey0000] , does that just happen once and then everything is stable, or is it an intermittent problem?
—
Reply to this email directly, view it on GitHub[#6 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AALDOPKAJKOQBMYD3IDPP63WPRQSXANCNFSM5BYFANMQ].
You are receiving this because you were mentioned.[Tracking image][https://github.com/notifications/beacon/AALDOPJO7KME3XKGWSCBDZDWPRQSXA5CNFSM5BYFANM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKF3RVJI.gif]
|
Also got this one recently too, though this may be a HA issue
|
I installed and try to run iotawatt HACS custom component for Home Assistant and I'm running into the following issue. @gtdiehl asked me on the issue on the other repo to open the issue here too:
Logger: custom_components.iotawatt
Source: custom_components/iotawatt/init.py:106
Integration: iotawatt
First occurred: August 2, 2021, 10:48:17 PM (2400 occurrences)
Last logged: 6:52:41 PM
Unexpected error fetching IoTaWatt data: 'NoneType' object has no attribute 'text'
The text was updated successfully, but these errors were encountered: