Sinope Line Voltage Thermostats

So if there is no more error for the merge-network I’ll start merging that update.
For others who use the neviweb custom_component be aware that with this update you will have to update your config as follow:
If you have only GT125 network, one or two, on Neviweb: nothing to do
If you have one or two GT125 network plus one GT130 network on Neviweb: you have to add the network names in your configuration.yaml

neviweb:
  username: !secret climate_username
  password: !secret climate_password
  network: !secret climate_gateway
  network2: !secret climate_gateway2  (this line can be omitted if you have only one GT125 network
  scan_interval: 360
  
neviweb130:
  username: !secret climate_username
  password: !secret climate_password
  network: !secret climate_gateway130  (required)
  scan_interval: 360

Got it. Thank you!
Is there a way to suppress this warning message? It is flooding the log file.

Update. Found my answer :slight_smile:
Thanks again for your help.

logger:
  default: info
  logs:
    custom_components.sinope: error

I need a little more help please.
I’d like to display current room temperature from Sinope thermostat in a Badge at the top of the dashboard. Spent half a day trying to figure it out, but failed (I’m just starting with HA). Could someone help with that please?

Yes are you with lovelace

Yes, I am with Lovelace.

In configuration.yaml create a sensor like this:

sensor:
  - platform: template
    sensors:
      temperature_office:
        friendly_name: "temp office"
        unit_of_measurement: '°C'
        value_template: "{{ state_attr('climate.sinope_climate_bureau', 'current_temperature') }}"

then you access it as sensor.temperature_office
to access the badges configuration:
From your HA web frontend.
click on the three vertical dots in upper right, then click ‘configure ui’.
click on the edit view (pencil icon).
Then click the badges tab, and from there you can remove or add badges.
Hope it help.

1 Like

Amazing! It worked! Thank you very much! :slight_smile:

I’m gonna publish today all documentation to build a lovelace floorplan in HA with the sinope devices.
Stay tune

1 Like

Merge-network have been merged in master. Thank you for your help

Floorplan example have been merge into sinope-gt125. You will find it under www/floorplan on claudegel/sinope-gt125

1 Like

My pleasure Claude. Congrats!

That’s great! Thank you for doing and sharing this! I’m unfortunately not ready yet for the floor plan feature, but I appreciate your efforts and examples you made. Great job!

Hi Claude,

Just installed the new version 1.2.1. I only have one network GT125.

Got this error :
2020-06-08 14:46:50 ERROR (MainThread) [homeassistant.setup] Error during setup of component neviweb
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 175, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/neviweb/init.py”, line 44, in setup
data = NeviwebData(hass_config[DOMAIN])
File “/config/custom_components/neviweb/init.py”, line 67, in init
self.neviweb_client = NeviwebClient(username, password, network, network2)
File “/config/custom_components/neviweb/init.py”, line 98, in init
self.__get_network()
File “/config/custom_components/neviweb/init.py”, line 144, in __get_network
self._gateway_id2 = networks[1][“id”]
IndexError: list index out of range

I had to add the network option in order to make it works again.

Do you have only one gt125 ? and do you have a gt130 also ?

Just one GT125

Ok so I’ll have to test how many network I receive from Neviweb before I do
self._gateway_id2 = networks[1][“id”].

Until I fix it, adding the network option in configuration.yaml will solve the issue.

Thanks for testing

Ok I think I have a fix but cannot test myself because I have a GT125 plus a GT130.
Please check branch «network-number» in __init__.py lines 140, 144,145,146

Thank you

Hi Claude,
I have only one GT125 and i added/changed the lines that you pointed out, restarted home assistant and it works for me.

Thanks.

Thanks, it works perfectly. You can merge with master