Sinope Line Voltage Thermostats

We will probably have to wait for fixes in HA climate as I get some raise NotImplementedError() in the log

Iā€™ve added a new branch for 0.98 fix That should allow to HA to load Neviweb component. I still need to map the HVAC_ACTION related to automations. Iā€™ve problem to log into HA since 0.96 update so I canā€™t test on my side. Need to find out why I get an empty screen on reboot. But my log are showing that Neviwed devices are loaded in HA

@claudegel Your new branch did the trick!. Thank you so much for the quick work.
I had to fix a syntax error in your code, missing a curly brace here: https://github.com/claudegel/sinope-1/blob/c6527619956e8ebb41d022407f11190b621c46ae/custom_components/neviweb/climate.py#L46

Thanks Iā€™ve added it

I just merged a working climate.py. try it and let me know

I updated the control from HACS and the climat is working again.

Thank you very much for your time on this control.

Thanks. Now Iā€™ll update the sinope component for direct access to the GT125 for the new climate cleanup, HA 0.96.4

I just updated the sinope custom component claudegel/ sinope-gt125 , so it work now with the new HA climate cleanup.
You can update Sinope GT125 custom component via HACS or download it from my git.
So now we have the two neviweb and sinope custom components up and runnings so you can manage your Sinope devices via there Neviweb hub or directly via your GT125 web gateway.
Have fun. You will probably have to revise your automation to fit with the new climate cleanup. let me know if something is missing.

Hi Claude,

I think Sinope changed the interface to the gt125, nothing is working anymore.
I get this error for all my devices in HAā€™s log.

Tue Aug 20 2019 21:32:34 GMT-0400 (Eastern Daylight Time)
Cannot update neviweb light Maison Arriere: {'error': {'code': 'SVCINVREQ'}}

It looks to be an issue with the devices themselves. I canā€™t even access them from the neviweb UI after they did the upgrade today. Iā€™ve emailed sinope support and Iā€™m waiting to hear back.

Is your neviweb.com portal working find? Can you control your devices through it? Mine are still not working at this time. But I donā€™t think they changed their API, or at least, they kept backward compatibility. I think itā€™s just a matter of time before your gateway connect to the new server.

I have the same problem and my Neviweb portal is empty. Nothing except the name of location that is still there but no devices.
Iā€™ve sent an email to SinopĆ© to know if I can reconnect my GT125 and if I will recover all my devices and scene.
Hopefully my direct access to GT125 is still working so all my automation are OK.
The first one that get answer from SinopƩ please let us know.

Itā€™s the gt125 that canā€™t connect to Neviwed . The Ā«WEBĀ» light is off. Not connected.

ah, good to know. I wasnā€™t getting the same ā€œDevice Unavailableā€ when I went to the gateway in neviweb so figured it was the devices connecting to it. Well hopefully they can fix this soon. Will keep the group updated.

Iā€™ve resetted my GT125 and the Ā«WEBĀ» light is back on but still nothing show up in Neviweb. SinopĆ© is probably porting all data from old Neviweb app to there new one.

OK all my devices are back on Neviweb. Probably my reset did the job

Sighā€¦I work in IT, why didnā€™t I try turning it on and off again.
Neviweb is now showing all my devices again. Home Assistant is not though.

API may have changed, getting the following error after a restart:

Error during setup of component neviweb
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/homeassistant/setup.py", line 156, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 381, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 310, in _wakeup
    future.result()
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 294, in result
    raise self._exception
  File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/.homeassistant/custom_components/neviweb/__init__.py", line 42, in setup
    data = NeviwebData(hass_config[DOMAIN])
  File "/home/.homeassistant/custom_components/neviweb/__init__.py", line 64, in __init__
    self.neviweb_client = NeviwebClient(username, password, network)
  File "/home/.homeassistant/custom_components/neviweb/__init__.py", line 98, in __init__
    self.__post_login_page()
  File "/home/.homeassistant/custom_components/neviweb/__init__.py", line 121, in __post_login_page
    self.user = data["user"]
KeyError: 'user'

Some devices names have been changed on the neviweb portal. Garage is now renamed Grotte. Does SinopƩ use Google translate ? :slight_smile:

Donā€™t see that error but still HA not working with neviweb

OK after restart of HA I get the same error

KeyError: 'user'

This is because HA cannot connect or didnā€™t receive data from Neviweb. We will have to wait for SinopĆ©.