Sinope Line Voltage Thermostats

Claude,
my graph is like yours but I don’t beleive there is a reading every 5 minutes. If you look carefully, about every hour you have 2 transitions, then it takes 1 hour to get 2 more transitions.

Look at this closeup from your graph
image

If you look at my graph of the Wattage_instant, you could see that is is never flat when it heats, the scan_interval is at 300.
The large heat period is 1.5h (after a long shower from my teen).
image

Thanks
Ben

Bonjour.

J’ai 7 TH1123ZB dans ma maison et je viens d’acheter un TH1123ZB-G2. Ce dernier semble pas bien fonctionner avec ZHA, quelqu’un a une idée ?

Je parviens a le pairer, mais il communique rien a Home Assistant et je peux pas le contrôler comme les autres. Les points dans le coin du LCD disparaissent.

Les quirks semblent loader:

Screenshot 2023-12-08 at 2.58.02 PM

Mais j’ai ca quand j<essaie de communiquer

(Merci a Claude Gelinas pour tout le contenu ici)

J’en ai 7 d’installés et il fonctionnent parfaitement. Dans votre device info le quirk indique thermostat.SinopeG2Thermostats donc il est bien détecté.
Si le sigle du signal dans le coin supérieur gauche disparait c’est qu’il perd sa connection avec le gateway.
deux possibilités:

  • Le gateway peut avoir des problème avec le signal wifi s’il est juste a coté. On recommande d’utiliser une rallonge usb pour l’éloigner de l’ordinateur. Ca peut faire dropper des appareils. avec la rallonge sa améliore la stabilité du zigbee.
  • Votre TH1123ZB-G2 est loin du gateway. Quand on install un réseau zigbee on commence par les appareils les plus près du gateway puis on continu avec les plus éloignés. Les premiers serviront de relais aux plus loin et le signal sera meilleur.

Quel model de gateway tu utilises ?

J’ai un autre thermostat a littéralement 2 pieds qui marche super bien.

Gateway. J’ai une clé USB elelabs a 35 pieds du thermostat. Y’a plusieurs devices Zigbee chez moi. Le mesh devrait avoir 0 problèmes à communiquer.

Quand je pair, la connexion se fait et quand le device est « found » il a l’heure affiché dessus mais je perd tout quelques secondes après. Le thermostat affiche même plus l’icône de connexion dans le coin de l’écran.

I just wanted to say merci Claude for your insights. You were very quick to respond, unlike me.

J’ai interchangé deux de mes thermostats. Le G2 a la meme behavior au nouvel endroit ou un TH1123ZB était. Il se connecte, les entités apparaissent et se populent, pis il devient indisponible.

J’ai envoyé un message a Sinope hier. J’attends leur réponse, ca ressemble a un thermostat defect. J’en ai deja eu un dans le passé qui était DOA.

Bonjour,

J’ai plusieurs thermostats de plancher Sinopé wifi (TH-1310WF) et après avoir installé le composant Newiweb 130, je constate que tout paraît fonctionner très bien: bravo à Claude!
J’ai toutefois une question sur le réglage de mode présent/absent. Je comprends bien qu’il existe sur le site de Sinope un bouton qui permet de mettre simultanément tous mes thermostats dans l’un ou l’autre des deux modes.
Mais dans l’interface “climate” de HA, pour chaque thermostat on peut aussi décider via le menu “pré-réglage” de ce thermostat du mode présent/absent qui le concerne lui, et seulement lui. Par contre, je n’arrive pas à reproduire le même comportement via une automatisation. Par exemple, si je définis un bouton qui lorsque je le presse appelle le service “Définir le mode préréglé” avec la valeur “Absent”, rien ne se produit et un message d’erreur apparaît dans le log :

Unable to set preset mode Absent

J’ai obtenu le même résultat en remplaçant “Absent” par les valeurs suivantes:

  • absent
  • 0
  • 1

Qu’est-ce que j’oublie?

Ca regarde mal on va attendre la réponse de Sinopé.

Il suffit de faire deux automations un peut comme ceci:

- id: tout maison
  alias: tout maison
  initial_state: true
  trigger:
    platform: state
    entity_id: input_boolean.away
    to: "off"
  action:
    - service: climate.set_preset_mode
      data:
        preset_mode: None
        entity_id:
          - climate.neviweb130_climate_thermostat_1
          - climate.neviweb130_climate_thermostat_2
          - climate.neviweb130_climate_thermostat_3
          - climate.neviweb130_climate_thermostat_4
- id: tout away
  alias: tout away
  initial_state: true
  trigger:
    platform: state
    entity_id: input_boolean.away
    to: "on"
  action:
    - service: climate.set_preset_mode
      data:
        preset_mode: away
        entity_id:
          - climate.neviweb130_climate_thermostat_1
          - climate.neviweb130_climate_thermostat_2
          - climate.neviweb130_climate_thermostat_3
          - climate.neviweb130_climate_thermostat_4

ensuite to crés le bouton dans lovelace sur le dashboard:

        cards:
          - type: "custom:button-card"
            color_type: card
            color: green
            entity: input_boolean.away
            name: Away
            state:
              - value: "on"
                color: red
                icon: mdi:home-remove
                styles:
                  card:
                    - animation: blink 2s ease infinite
              - operator: default
                color: green
                icon: mdi:home
            styles:
            card:
              - font-size: 10px
              - font-weight: bold

Quand tu click le bouton il devient rouge et clignotte et tes thermostats pasent en mode away. Quand tu click a nouveau le bouton redevient vert et les thermostats passent à preset none. C’est brute mais ça devrait fonctionner. J’ai deux bouton pour les pointes du matin et du soir et quand on click ca passe tout mon HA en mode pointe avec une foule d’automation qui s’arrêtent et d’autre qui démarrent.

Tu peux clicker le bouton ou bien faire une autre automation pour l’activer selon un paramètre comme la présence ou l’absence de ton cellulaire.

I would like to apologize for two reasons.
#1 I don’t speak french.
#2 I haven’t read all of the hundreds of posts on this thread.

I have what I think is a very easy question. I have an old GT125 hub with ten web based old school thermostats. I want to keep using neviweb.com but I think I would also like to add home assistant but mainly only for ONE purpose.

I want to allow control of the old thermostats inside Apple HomeKit.

Question #1 Can I use home assistant with the old thermostats and still allow them to continue to work with NeviWeb or if I switch to home assistant do I have to modify the GT125 and put it in an API mode that disconnects it from neviweb?

Question #2: If I do add them to home assistant can I then use the bridge functionality in home assistant to make the thermostats then show up in my homekit.

Right now my thermostats are the only devices I have that aren’t in HomeKit and I don’t want to spend a load of money to replace my web thermostats with the new ones that support homekit. So I want to know if this is a viable option that could work.

I have been involved in software development for a while and know enough to build a linux box from scratch. But if I can BUY a good HomeAssistant kit I would likely do that at this point because saving time is worth it for me.

So with mu primary goal getting the old thermostats added to HomeKit what recommendations do you have?

#1 you can use those old miwi thermostat and your Gt125 in HA no problem but you need to use this custom_component:

It manage those old device by polling Neviweb. You can also use this other custom_component that manage those device locally in HA by connecting directly to the GT125:

Both custom_components will manage your devices in HA and you still have them in Neviweb.
Look in HACS to get and install them.
#2 I’m not familiar with homekit but I think you won’t have any problem.

To get a ready to use HA kit, check Home Assistant Green - Home Assistant a ready to use mini computer already loaded with HA

Bonjour Claude,

Merci beaucoup de cette réponse rapide!

En fait, j’avais déjà rédigé une automatisation (en mode interactif) qui faisait presque la bonne chose, mais il me manquait les noms de modes corrects en anglais, comme “away”. Ilfaut dire que mon interface Lovelace est en français et alors les options affichées dans le menu sont: “Absent”, “Présent” et “Aucun”. Il faut donc plutôt utiliser les noms de mode anglais, ce qui n’est pas très surprenant, mais une note à cet effet dans ta doc serait utile.

Je te signale toutefois qu’au moins avec mes thermostats TH1310WF, le nom de mode correct pour le retour en mode présence est bien “home” et non pas “None”. Ça ne fonctionne ni avec “None” ni avec “none”. En fait, je ne comprends pas à quoi ce troisième mode (“Aucun” ou “None”) correspond.

Pour ce qui est d’une automatisation qui met toute ma maison en mode pointe hydro-québec, oui c’est bien ce que je m’apprête à faire. En fait, j’espère pouvoir contrôler automatiquement cette automatisation par le biais de l’add-on hydroqc qui est censé permettre de le faire. Est-ce que tu l’as essayé?

Merci beaucoup de ton aide!

En fait les preset mode de Neviweb pour les zigbee sont away et none alors que pour les wifi il y a away, home et none. je vais mettre une note mais je vais aussi regarder pour avoir une traduction dans le code pour pouvoir utiliser le françias ou l’anglais de façon transparente.
J’utilise aussi hydroqc. par contre présentement Hydro a changer le protocole d’accès à sa plateforme et hydroqc ne fonctionne plus. Ca devrait se régler rapidement.
Correction, hydroqc est fonctionnel maintenant :slight_smile:

1 Like

Thank you… ordered… :slight_smile:

Many thanks to Claude for his excellent work. I just bought a TH1300ZB floor heating thermostat to control my old floor heating installation.

Controlling the thermostat from Home Assistant works well.There’s just one minor detail that bugs me: the time on the thermostat display is in GMT/UTC. How do I change that? I’ve tried changing the “secs_since_y2k” setting with ZHA and this works for a little while, but the displayed time changes back to GMT/UTC within 24 hours.

  • The thermostat is paired to my HUSBZB-1 stick attached to the physical host where my Home Assistant VM is running, and has never been paired with anything else.
  • The time displayed on the thermostat is accurate - it’s just the wrong timezone.
  • The timezone on both the physical host and the VM is configured correctly.

Thank you!

Did you set your timezone in HA ?
Normally you need to send time once a day. if your thermostat is in neviweb this will be done every night. if it is in ZHA then you need to make an automation to send time once a day like this:

- id: set_time
  alias: set_time
  trigger:
    - platform: time
      at: "01:00:00"
  variables:
    thermostats:
      - 50:0b:91:40:00:02:26:6d  <-- your thermostat ieee
      - 38:5c:fb:ff:fe:d9:ea:f4  <-- you can add all your thermostat, one per line
  action:
    - repeat:
        count: "{{thermostats|length}}"
        sequence:
          - service: zha.set_zigbee_cluster_attribute
            data:
              ieee: "{{ thermostats[repeat.index-1] }}"
              endpoint_id: 1
              cluster_id: 0xff01
              cluster_type: in
              attribute: 0x0020
              value: "{{ (as_timestamp(utcnow()) - as_timestamp('2000-01-01'))| int }}"
  mode: single

Parfait! Merci encore.

Thank you!

Setting the timezone in HA worked. I didn’t have to set up an automation for the time - maybe that’s done automatically?

It will be a few weeks before my Home Assistant Green arrives. But I was wondering do you recommend doing the integration via direct access to the GT125 method or via the Neviweb method?

My first thought is that the GT125 method would be faster, and more reliable because it will likely not change. Where as the Neviweb website maybe modified in the future breaking the integration that way.

But as you are the expert I would rather do whatever you would suggest is the BEST way.

Neviweb is doing it at night once a day. In ZHA there is no time update. So it could be a good thing to setup an automation for that.