Sinope Thermostat Support

You should not have any problem via hacs
with the manual install did you create the directory neviweb130 under config/custom_components ?

I dragged and dropped the folder under /config

If you look at my post #11 you can see the picture with the folder structure.

that’s it, it worked Claude

thanks for your help, now i will figure out how to add my thermostat in the configuration file

thanks again

Your device are in dev-tool/state. look for climate.neviweb130_climate_thermostat_name
Then you’ll be able to add them via lovelace card so they appear in the different views you will create.
Next will be to do automation to catch Hydro peak periods to save money :slight_smile:

Yes i saw it under dev-tool and state tab and was able to add a simple card to my dashboard.

next I want to try to retrieve the humidity from it, i think i saw a post from you explaining how to do that!.

regarding Hydro peak periods, I already have Google Home Routine taking care of all my thermostats but “oh boy” it’s a tidious process, will have to see how HA can help me with that!

Thermostat do not supply humidity value. If you want to get humidity from Sinopé devices only the MC3100ZB have humidity sensor. If you want to get outside humidity then many weather component give external humidity for your region.look for Dark sky, openweathermap,meteo canada etc
Regarding the Hydro peak. look at blog Sinope Line Voltage Thermostats - #885 by sricard999. I explain how to catch the hydro peak email and operate the switch to manage all your device during the peak period.
I’m also looking into a new component called hydroqc that connect directly into my hydro account and give sensor for peak period. Hope to be ready with this one by December

Claude,

Regarding humidity, I think I was confused with other posts I read about my other Mysa thermostat. I agree with you, Sinopé doesn’t provide any humidity info in the Neviweb app.

Thanks for the link for the HQ email, I will definitely take a look into that!

Bonjour, excusez moi de vous déranger
J’ai malencontreusement réinitialisé le réseau du gateway GT125
Maintenant il manque des thermostats dans naviweb.
Les thermostats manquant on quand même le symbole wifi activé.
J’ai essayé d’appuyer sur le bouton du gateway et d’ajouter un des thermostat manquants, mais rien ne se passe.

Quelle est la procédure dans ce cas ?

Merci pour votre aide,

Meilleures salutations

Thierry Vorms

Dans Neviweb il y a un bouton pour réinitialiser le réseau GT125. Allez dans Neviweb et ouvrir les parametres pour l’appareil GT125. Sous «enregistrer» il y a un bouton bleu «reinitialiser le reseau»
Attention ce n’est pas le bouton »supprimer» :slight_smile:
si ca ne marche pas il faudra resetter chaque appareil qui n’est plus là et les re-apparier au GT125

Merci beaucoup pour votre réponse.
Comment on fait pour faire un reset sur un thermostat RF 1400 (mi-fi)?
Merci!

TH1120RF
1- Débrancher l’alimentation du GT125;
2- Maintenir le bouton du bas du thermostat jusqu’à ce qu’apparaisse le menu de configuration;
3- Appuyer une fois sur le bouton du bas et l’option de déconnecter devrait apparaitre (affiche «
No » et « Connect Reset »);
4- Appuyer sur le bouton du haut pour choisir « Yes »;
5- Appuyer sur le bouton du bas pour confirmer et l’écran de confirmation apparait (affiche «
sure », « no » et « Connect reset »);
6- Appuyer encore sur le bouton du haut pour choisir « Yes »;
7- Appuyer sur le bouton du bas pour confirmer; « Clr » affiche.
8- Rebranchez l’alimentation du GT125

TH1300RF et TH1400RF
1- Débrancher l’alimentation du GT125;
2- Appuyez sur le bouton du bas jusqu’à ce que le menu de configuration apparaisse.
3- Appuyez sur les deux boutons (haut et bas) en même temps jusqu’à ce que le texte “RST”
s’affiche à l’écran du thermostat.
4- Appuyez sur le bouton du bas pour choisir “YES”.
5- Appuyez sur les deux boutons (haut et bas) en même temps pour confirmer votre choix.
6- Le texte “SURE” s’affiche à l’écran. Vous appuyez sur le bouton du bas pour sélectionner “YES”.
7- Appuyez sur les deux boutons (haut et bas) en même temps pour confirmer votre choix.
8- Le texte “CLR” s’affiche à l’écran.
9- Rebranchez l’alimentation du GT125

Bonjour,

J’ai installé mon nouveau th1123wf à l’aide de votre composant. Ça fonctionne parfaitement, merci.

Ce thermostat affiche une températire extérieur, ce qui à mon avis est vraiment bien. Sauf que dans ma région, c’est peu représentatif de la réalité. J’ai déjà ma température extérieure réelle dans mon HASS, est-ce qu’il y à un moyen de remonter ma valeur vers le thermostat?

Encore un grand merci.


Short story in english : Great component, working well, thanks. Can I set the exterior temp that the TH11123wf display to the value of my own thermometer already available in HASS? Thanks again.

Oui dans HA vous pouvez prendre nimporte quel source de température pour l’envoyer à votre thermostat.
Il faut créer un template sensor qui suit la valeur de température puis envoyer cette donnée à votre thermostat. J’ai une sonde plancher sur mon MC3100ZB qui lit la température extérieure.
Mon sensor est comme suit

template:
   - sensor:
       - name: "varennes_local"
         unit_of_measurement: '°C'
         device_class: temperature
         state_class: measurement
         state: "{{ state_attr('switch.neviweb130_switch_mc3100zb', 'Extern_temperature') }}"

Ca me donne un sensor.varennes_local qui a la valeur de la température extérieure.

reste plus qu’à l’envoyer au thermostat avec une automation. Il faut s’assurer d’envoyer la température au moins une fois par heure car sinon le thermostat revient à la température de setpoint.

Hi, I just installed Home Assistant on a Intel NUC. I basically installed this version; https://github.com/home-assistant/operating-system/releases/download/9.5/haos_generic-x86-64-9.5.img.xz.

I installed HACS and downloaded Sinope GT125. The installation was automatically done in Config/custom_components/sinope

I tried to go through the setup documented in the Manifest.json but I’m not able to execute anything. SUDO doesn’t work and I don’t think there is any Python on this system. I tried installing the PYScript from the HACS Add-ons but that didn’t make a difference.

Can someone give me some pointers on how to proceed?

Thanks.

Hi @cpassalacqua, welcome to HA
You’ve installed Sinope GT125 via HACS. it’s perfect
How do you get to the file in config/custom_components/sinope. Are you using ssh & web terminal ?
I’m gonna guide you through the installation

Hi @claudegel so I have Studio Code Server and Terminal installed. However, I can also Putty into my HA.

I’m not sure that with Putty you will have the permission to run device.py.
Normally I use ssh & web terminal. Start ssh & web terminal in parameter/complementary module/ssh & web terminal. Open the terminal on the left side of the screen in HA. Then cd to config/custom_components/sinope.
To find out if python is installed just type python and hit TAB button on the keyboard. if it is install you should see which python you have and what command you can use. Normally it is python or python3 or python3.10. All three are availables and equivalent. Normally there is a symlink between python and python3.10 so you can use python device.py and follow what is asked on the screen to get your gateway access.
Studio code server could be used to edit your config files or you can install File editor module which give you access to all config files and allow to edit and save.

@claudegel yes the Putty was for another project. Let’s forget about that one. I had the Terminal and SSH installed so to make sure we’re setup the same I uninstalled that version and installed the SSH and Terminal version. Here is what I see when I type in python and click tab;

I hope that screenshot is visible or else let me know.
Just in case I do see;
python python3 python3.10

So I typed python device.py and I was asked questions which I was not able to do before with “Terminal and SSH” I provided all the information about the GT125.

When I ran device.py again I had one thermostat recognized by pressing the buttons but I did not have all the information that was asked so I entered return a few times. I see that no device was added to HA. I guess I will need to get all the info for the thermostat for it to function properly correct?

Thanks.

great, in fact python and python3 are symlink to the real command which is python3.10
So I suppose that now you have the first part done to get the api key from your GT125.
you should get something like this:
[“192.168.xxx.xxx”, “50119ec640bbd181”, “001EC0C13D44E672”, 4550] ← your GT125
[“id”, “name”, “type”, “watt”]
[“2e320100”, “bureau”, “10”, " "] ← a thermostat
[“5a2c0100”, “lumiere bureau”, “102”, “240”] ← light
[“6a560100”, “prise exterieur”, “120”, " "] ← load controller
Just answer the question as you run device.py. If I remember correctly for the type you can push the letter «h» to get the devices list. This is important for HA to load the device in the correct section, climate, light, switch etc.

  • The id come from the GT125 when you push the two buttons on your thermostats or light etc
  • the name is what you want to call you device. It can be changed later by editing the sinope_devices.json in the .storage folder or directly in HA.
  • The type field is the type of devices you are adding. You can find it at the beginning of climate.py, light.py etc in the sinope folder or by hitting the letter «h» in device.py.
  • The last field is the load in watt associated with each device. The thermostat are able to measure the load in watt but the light do not measure this so you need to evaluate the load to get some history for the energy module in HA. You can put any number and change it later by editing sinope_devices.json file in config/.storage folder.

Here is an example from my terminal. device.py will loop to add all devices. Just hit «q» letter at the end to make sure all devices are written in the file sinope_devices.json.
sinope-device

I did that on two of my Thermostats. I verified sinope_devices.json and I see them both there as follows;
sinopedevices
So once this step is done am I suppose to see these devices in the device list or entities of HA? As of this point I still don’t see them. Here is the log file;

File “/config/custom_components/sinope/init.py”, line 704, in get_climate_device_data

temperature = get_temperature(bytearray(send_request(self, server, data_read_request(data_read_command,device_id,data_temperature))).hex())

File “/config/custom_components/sinope/init.py”, line 551, in send_request

while sock.connect_ex(server_address) != 0:

socket.gaierror: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 507, in _async_add_entity

await entity.async_device_update(warning=False)

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 732, in async_device_update

await task

File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run

result = self.fn(*self.args, **self.kwargs)

File “/config/custom_components/sinope/climate.py”, line 430, in update

device_data = self._client.get_climate_device_data(self._server, self._id)

File “/config/custom_components/sinope/init.py”, line 710, in get_climate_device_data

raise PySinopeError(“Cannot get climate data”)

custom_components.sinope.PySinopeError: Cannot get climate data

2023-03-19 20:19:41.625 ERROR (MainThread) [homeassistant.components.climate] sinope: Error on device update!

Traceback (most recent call last):

File “/config/custom_components/sinope/init.py”, line 704, in get_climate_device_data

temperature = get_temperature(bytearray(send_request(self, server, data_read_request(data_read_command,device_id,data_temperature))).hex())

File “/config/custom_components/sinope/init.py”, line 551, in send_request

while sock.connect_ex(server_address) != 0:

socket.gaierror: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 507, in _async_add_entity

await entity.async_device_update(warning=False)

File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 732, in async_device_update

await task

File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run

result = self.fn(*self.args, **self.kwargs)

File “/config/custom_components/sinope/climate.py”, line 430, in update

device_data = self._client.get_climate_device_data(self._server, self._id)

File “/config/custom_components/sinope/init.py”, line 710, in get_climate_device_data

raise PySinopeError(“Cannot get climate data”)

custom_components.sinope.PySinopeError: Cannot get climate data

Thanks.