Sinope Line Voltage Thermostats

I still get an error that it failed to perform an action. Again, two logs are generated:

Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:525
First occurred: 6:44:04 PM (4 occurrences)
Last logged: 6:51:30 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 813, in toolkit_service
    u.get_hass(zha_gw).bus.fire(params[p.EVT_FAIL], event_data)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'bus'
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/zha_toolkit/__init__.py:813
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 6:44:04 PM (4 occurrences)
Last logged: 6:51:30 PM

[140125197409952] 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)
[140125197411824] 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 813, in toolkit_service
    u.get_hass(zha_gw).bus.fire(params[p.EVT_FAIL], event_data)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'bus'

I"ve tried calling it as both an action and a service and get the same error.

Look like it is a bug in ZHA toolkit. There is a big update comming by the end of month for ZHA. It will probably fix many things.

Thanks Claude,

Guess i will hope it gets fixed in the next update.

I had an issue yesterday where my credentials for Neviweb integration stopped working.

The error message said Neviweb accounts have been migrated to some other accounts I havenā€™t heard of.

I had to reset my password to get everything working again. But I was getting a weird error in the Neviweb integration that turned out to be a credential issue.

All of my devices that where already login to Neviweb still worked (session tokens where not impacted) but if I need to login again it wouldnā€™t work. Thankfully password reset solved the issue. They also now require a more complex 10 character password now.

Anyway not a problem with the integration just a Neviweb change to accounts that may also impact others at some point when you restart your Home Assistant.

SinopƩ merged The app truecomfort of Flextherm into Neviweb. If you have some Flextherm floor thermostat, concerto ?, it could impact your connection. On my side there was no changes.

I donā€™t have either of the other two systems so I shouldnā€™t have been impacted. I wonder if they just didnā€™t like my 7 character password anymore so they shut my account off until I changed it. Sending me an e-mail about it would have been nice.

Effectively my password is stronger. Maybe they implement a pasword change after a certain period of time. I that case they would have sent an email for password reset.

I never got a warningā€¦ I just couldnā€™t login using a password i had saved in my browser anymore.
Devices already login where fine. So I did a password reset and all good again.

@claudegel you helped me get my Sinope Zigbee thermostat to display the outside temperature using an automation a few years ago - much appreciated! A few weeks ago, the thermostat started displaying the incorrect outside temperature. Iā€™ve done some troubleshooting and it appears that when the value of the attribute is -32768 the display shows 69 (after turning off power and back on). When attempting to set to a temperature of 40 or 50 degrees F, the display will show 33 degrees. When reading the outside temp attribute it returns 40 or 50 (or whatever I send it). If I send 3200, the display is 90. Any thoughts what might be going on? Thank you in advance.

Have not tested this, but hereā€™s a thought. Try converting to Celsius. 32,0Ā°C is 90Ā°F.

Sending a value of 1000 should give you 50Ā°F

Hi @rml you just turn your temperature display to fahrenheitā€¦ 3200 is 32 oC = 89.6 oF the thermostat display will ajust to 90oF.
Just switch your temperature unit to celsius.
in neviweb it is just a parameter to change. In Ha/neviweb130 use neviweb130.set_temperature_format and switch to celsius
In zha: cluster 0x0204, attribute 0x0000, values 0=celsius, 1=farenheight

Thank you! Got it working.

Bonjour @claudegel

Integrated (3) TH1123ZB via Z2MQTT<>Sonoff Dongle plus<>ember and all (3) working fine. Trying to add a TH1400ZB and although it seems to work, Iā€™m unable to complete the interview process as it trows an error:

[2024-10-27 15:51:33] error: z2m: Failed to configure ā€˜Thermostat SDDā€™, attempt 1 (Error: Cannot have attributes with different manufacturerCode in single ā€˜readā€™ call
at Endpoint.ensureManufacturerCodeIsUniqueAndGet (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:878:19)
at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:434:53)
at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/devices/sinope.ts:1282:28)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runNextTicks (node:internal/process/task_queues:64:3)
at processImmediate (node:internal/timers:447:9)
at Configure.configure (/app/lib/extension/configure.ts:130:13)
at Configure.onMQTTMessage (/app/lib/extension/configure.ts:57:21)
at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:206:17))

Wondering if it is specific to my set-up, Z2MQTT or device file.

Any help appreciated.

Hi @Michel17, It is supported in ZHA. Iā€™ll check if I can find something to help you in Z2M

Hi @claudegel, I stumbled onto your post trying to automate my Sinope Zigbee Thermostat. I managed to set it up on my HA through Z2M but Iā€™m unable to do create any automations with it.
Iā€™m still a beginner of HA so I create all my automations through the Create Automation button and I mostly select values off the list but I donā€™t see a field thatā€™s for the temperature target of the thermostat.


I basically want the thermostat to trigger at 8:45am every weekday and set the target temperature at 23 degrees.

Iā€™m aware that Iā€™m able to set the temperature manually through the card on my dashboard.

I donā€™t know much on manually programming/coding a configuration file for this, would you mind sharing some of your experiences with this type of setup?

Hi @DanZChief welcome to HA. For your automations, for action you need to select Climate 'Set target temperature'
But if you want something better then Create Automation button, install Scheduler Card via HACS


Itā€™s very easy and powerfull

1 Like

Hey @claudegel! I just wanted to touch base quickly to say, I still have my config ā€˜notifyā€™ set to both, and I have not see any warning either in my logs or in HA. This is great! I donā€™t know why, but Iā€™m not gonna ask why either! hahaā€¦ so all is well on my end. Thank you for your continued hard work and quick replies! :slight_smile:

Vous ĆŖtes fantastiques merci!

This is the first winter where I have used the setup suggested here to allow my GT125 to track energy.
I am so I just compared the numbers I am getting for kWh from Home Assistant vs the Neviweb app and they are WAY off.

One room Neviweb reports 6.56 kWh and Home Assistant is reporting 4.52 kWh
Another is 15.42 vs 10.45 and another is 3.67 vs 2.25. So not off by a small amount.

I am using the energy monitoring features in HA.
And getting the HA data from this screen.

How am I getting the variables to show up here is I added something to my configuration.yaml file like this. My guess is I am making some mistake here but I donā€™t know what. So if anyone can help that would be appreciated.


 -  sensor:
         - name: "den_energy_sen"
           unique_id: sensor.den_energy_sen
           unit_of_measurement: "kWh"
           device_class: energy
           state_class: total_increasing
           state: "{{ state_attr('climate.neviweb_climate_den','hourly_kwh') }}"

I expect that you will never get it 100% to match but I thought it would be much closer.

Please help if you can.

You are using the wrong state_class:

-  sensor:
         - name: "den_energy_sen"
           unique_id: sensor.den_energy_sen
           unit_of_measurement: "kWh"
           device_class: energy
           state_class: total  <---
           state: "{{ state_attr('climate.neviweb_climate_den','hourly_kwh') }}"

It should be total not total_increasing. Try it and let me know

1 Like