Thanks!!
Neviweb is not loading anymore and getting me this error after I did the latest home assistant core upgrade last night. How do I fix this?
I just got some more detailsā¦ Hopefully this is helpful.
My GT125 integration is still working fine. It is just my Neviweb that has went south.
Logger: homeassistant.setup
Source: setup.py:416
First occurred: 10:17:59 AM (1 occurrences)
Last logged: 10:17:59 AM
Error during setup of component neviweb
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/neviweb/__init__.py", line 78, in setup
data = NeviwebData(hass_config[DOMAIN])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/neviweb/__init__.py", line 102, in __init__
self.neviweb_client = NeviwebClient(username, password, network, network2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/neviweb/__init__.py", line 133, in __init__
self.__post_login_page()
File "/config/custom_components/neviweb/__init__.py", line 156, in __post_login_page
raise PyNeviwebError("Cannot log in")
custom_components.neviweb.PyNeviwebError: Cannot log in
Ya, they have a fix ready to be pushed but you can manually edit your init.py file yourself and reboot HAss and it will work. Change line 215 (see attached). It worked for me!
Found itā¦ that worked.
Thanks
I guess that file isnāt the same for everyone as it was line 150 for me.
Sadly not everyone is going to have the skills to edit that file. So hopefully a patch come soon for this.
Ah, maybe itās different depending on the device, but glad you found the line to edit. And for those who canāt figure out how to edit, letās hope they donāt have to wait too long.
We will have to update too but itās just gonna over write the file with the change that we made. So the update for us isnāt going to do anything special except change the version number. That is of course, there arenāt other updates included that we havenāt been told about.
It maybe more complex if everyone has different files.
If the file is built based on your devices (I have 10 old school web thermostats). If that impacts the files they may need to be rebuilt by a script or something.
If it was a trivial fix I guess they would have released it already.
Sorry I was on vacation away from my computer. The login bug is fixed for both neviweb130 and the old neviweb. I just push two releases to fix them.
Itās the same fix but on different lines numbers for each custom_components.
This is an emergency fix and Iāll improve this weekend to have better log in case SinopĆ© make another change in his API.
Thanks to you for your fix. I was unable to connect to my server because the hotel wifi was blocking the dynamic DNS Iām using to connect locally via my VPN.
Now I have to explore all the changes SinopƩ did on the Neviweb server.
No no, it wasnāt me who fixed it. I read about the fix on github when someone raised the issue and made the correction on my file and it worked. @lamungu submitted the fix.
Hereās the link.
Donāt want to take credit for something I didnāt do! hehe
I only meant to say thanks to you for showing me how to fix it.
Hello,
Firstly, thanks to Claude for doing all this, Iāve been reading the last hour trying to understand what I need to do
New to the HA community and the HA software itself. Iāve been a Sinope user for a few years now and just became annoyed with them enough in the last week to jump into installing HA, haha.
Iāve got a GT130 hub with a few TH1123ZB_G2ās, a TH1400ZB and, last week, added an MC3100ZB w/floor sensor wire running outside the house.
I would like to use the external sensor on the MC3100 to supply the outside temperature on my GT130 connected thermostatsā¦ is this possible? If I read correctly, I believe its possible if the GT130 is NOT connected to Neviweb ā¦ but what if it is connected?
@brettf , welcome to HA, with the GT130 you have installed the neviweb130 custom_component. With this setup the outside temperature is provided by SinopƩ via Neviweb. Until now there is no way to send our temperature to those thermostats. You can only decide what to send to the second display, setpoint or outside temperature from Neviweb.
If you install a zigbee gateway like Conbee II or HA sky connect it is possible to switch all your zigbee devices to local control on HA via ZHA or Z2M and this way send local temperature to the second display on your thermostats. You can leave your MC3100ZB on Neviweb or connect it locally and get the outside temperature from your floor sensor. That temperature can be sent to all your local zigbee thermostats display.
It would be nice to be able to keep or device on Neviweb and the GT130 but be able to send our local temperature instead of the one we get from Neviweb. Better precision for outside temperature. Iāll ask SinopĆ© to see if there is a possibility to send our temperature. If yes Iāll work to implement this.
Thank you for the informationā¦ I will look into the other options youāve suggested, and keep my fingers crossed that Sinope will let you implement the simplest fix of the options
Hey Claude,
Iāve been working on adding my tank monitor to home assistant through ZHA. I have it recognized but Iām getting stuck at the setting up report bit. Iāve added your sinope-zha and zha toolkit. Go to developer tools, actions and send the following:
action: zha_toolkit.execute
data:
ieee: 2c:11:65:ff:fe:ab:f3:fd
command: conf_report
endpoint: 1
cluster: 0x000c
attribute: 0x0055
min_interval: 5
max_interval: 3757
reportable_change: 1
tries: 100
event_done: zha_done
I get an error everytime. In my logs I have two errors:
Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:525
First occurred: 11:46:40 AM (143 occurrences)
Last logged: 3:13:24 PM
websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'NoneType' object has no attribute 'bus'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/zha_toolkit/__init__.py", line 817, in toolkit_service
u.get_hass(zha_gw).bus.fire(params[p.EVT_DONE], event_data)
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'bus'
and
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/zha_toolkit/__init__.py:817
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:46:40 AM (143 occurrences)
Last logged: 3:13:24 PM
[140125629486784] Error handling message: Unknown error (unknown_error) Pip from 192.168.20.201 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
[140125463754160] Error handling message: Unknown error (unknown_error) Pip from 192.168.20.201 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
[140125463460688] Error handling message: Unknown error (unknown_error) Pip from 192.168.20.201 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
[140125449247696] Error handling message: Unknown error (unknown_error) Pip from 192.168.20.201 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script
script_result = await script_obj.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 463, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 557, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/zha_toolkit/__init__.py", line 817, in toolkit_service
u.get_hass(zha_gw).bus.fire(params[p.EVT_DONE], event_data)
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'bus'
Am I missing something? Iām relatively new to HA so still learning my way around. I did get a sinope thermostat working just fine.
On a side note, in the logs on boot up I see a warning about loading custom quirks and uploading them to zha-device-handlers. Do I need to do something about that?
Thanks for your time.
@piphouse try this,
service: zha_toolkit.conf_report
data:
ieee: 2c:11:65:ff:fe:ab:f3:fd
cluster: 0x000c
attribute: 0x0055
manf: 4508
min_interval: 5
max_interval: 3757
reportable_change: 1
tries: 100
event_success: zha_report_success_trigger_event
event_fail: zha_report_fail_trigger_event
event_done: zha_done
There is a lot of code change in ZHA now so it is possible that some service from zha toolkit doesnāt work properly.