claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
74 stars 15 forks source link

No entities created #52

Closed danielbrunt57 closed 2 years ago

danielbrunt57 commented 2 years ago

I just installed and configured this integration but now realize I am using the older GT125 and I am not seeing any entities. Not supported?

2022-01-13 19:09:27 DEBUG (SyncWorker_12) [custom_components.neviweb130] Login response: {'user': {'id': xxxx, 'role': 'owner', 'email': 'xxxxxx@xxxx.com', 'locale': 'en', 'format': {'time': '12', 'temperature': 'c'}, 'communications': {'pushNotification': None}, 'initialized': 1}, 'account': {'id': xxxx, 'interface': 'neviweb', 'type': 'free', 'category': None, 'betaLevel': None}, 'iat': 1642129766751, 'session': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'refreshToken': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'}
2022-01-13 19:09:27 DEBUG (SyncWorker_12) [custom_components.neviweb130] Successfully logged in
2022-01-13 19:09:27 DEBUG (SyncWorker_12) [custom_components.neviweb130] Number of networks found on Neviweb: 1
2022-01-13 19:09:27 DEBUG (SyncWorker_12) [custom_components.neviweb130] Selecting 9-7240 network among: [{'id': 6130, 'account$id': xxxx, 'location$id': None, 'group$id': None, 'name': '9-7240', 'postalCode': X#X#X#', 'address': None, 'mode': 'home', 'icon': 3, 'type': None, 'kwhCost': 0.1, 'deviceListUpdate': '2022-01-09 00:32:44', 'modified': '2021-10-02 23:58:04', 'created': '2019-08-20 16:22:29'}]
2022-01-13 19:09:27 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received gateway data: [{'id': XXXXX, 'identifier': 'D8803977C2BC-00010964-0-0000F4ED', 'name': 'Angela', 'family': '1122', 'signature': {'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3}, 'location$id': 6130, 'parentDevice$id': 25878, 'group$id': 15184, 'orderIdx': 0, 'sku': 'TH1120RF-3000B', 'vendor': 'Sinopé', 'url_en': 'http://www.sinopetech.com/en/boutique/products/neviweb-en/thermostat-for-electric-heating-wireless-communication/', 'url_fr': 'http://www.sinopetech.com/boutique/produits/thermostat-pour-chauffage-electrique-communication-sans-fil/'}, {'id': 251405, 'identifier': 'D8803977C2BC-00010964-0-0000F993', 'name': 'Ensuite', 'family': '1122', 'signature': {'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3}, 'location$id': 6130, 'parentDevice$id': 25878, 'group$id': 92344, 'orderIdx': 0, 'sku': 'TH1120RF-3000B', 'vendor': 'Sinopé', 'url_en': 'http://www.sinopetech.com/en/boutique/products/neviweb-en/thermostat-for-electric-heating-wireless-communication/', 'url_fr': 'http://www.sinopetech.com/boutique/produits/thermostat-pour-chauffage-electrique-communication-sans-fil/'}, {'id': 98576, 'identifier': 'D8803977C2BC-00010964-0-00012387', 'name': 'Furnace', 'family': '735-LV', 'signature': {'model': 735, 'modelCfg': 76, 'hardRev': 0, 'softVersion': {'major': 1, 'middle': 0, 'minor': 1}, 'softBuildCfg': 0}, 'location$id': 6130, 'parentDevice$id': 25878, 'group$id': 15186, 'orderIdx': 0, 'sku': 'TH1400RF', 'vendor': 'Sinopé', 'url_en': 'http://www.sinopetech.com/en/boutique/products/neviweb-en/low-voltage-thermostat-24-vac-web-programmable/', 'url_fr': 'http://www.sinopetech.com/boutique/produits/neviweb/thermostat-basse-tension-24-vca-programmable-web/'}, {'id': 25878, 'identifier': 'D8803977C2BC-00010964-0', 'name': 'GT125', 'family': 'GT125', 'signature': {'model': 125, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'major': 3, 'middle': 0, 'minor': 0}, 'hardRev': 4}, 'location$id': 6130, 'parentDevice$id': None, 'group$id': 92347, 'orderIdx': 0, 'sku': 'GT125', 'vendor': 'Sinopé', 'url_en': 'https://www.sinopetech.com/produit/passerelle-web/', 'url_fr': 'https://www.sinopetech.com/en/product/web-interface-gateway-sinope-mi-wi/'}, {'id': 251413, 'identifier': 'D8803977C2BC-00010964-0-0000ED3E', 'name': 'Landing', 'family': '1122', 'signature': {'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3}, 'location$id': 6130, 'parentDevice$id': 25878, 'group$id': 92346, 'orderIdx': 0, 'sku': 'TH1120RF-3000B', 'vendor': 'Sinopé', 'url_en': 'http://www.sinopetech.com/en/boutique/products/neviweb-en/thermostat-for-electric-heating-wireless-communication/', 'url_fr': 'http://www.sinopetech.com/boutique/produits/thermostat-pour-chauffage-electrique-communication-sans-fil/'}, {'id': 25879, 'identifier': 'D8803977C2BC-00010964-0-0000F94B', 'name': 'May', 'family': '1122', 'signature': {'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3}, 'location$id': 6130, 'parentDevice$id': 25878, 'group$id': 15183, 'orderIdx': 0, 'sku': 'TH1120RF-3000B', 'vendor': 'Sinopé', 'url_en': 'http://www.sinopetech.com/en/boutique/products/neviweb-en/thermostat-for-electric-heating-wireless-communication/', 'url_fr': 'http://www.sinopetech.com/boutique/produits/thermostat-pour-chauffage-electrique-communication-sans-fil/'}, {'id': 25881, 'identifier': 'D8803977C2BC-00010964-0-00011DA3', 'name': 'Peter', 'family': '1122', 'signature': {'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3}, 'location$id': 6130, 'parentDevice$id': 25878, 'group$id': 15185, 'orderIdx': 0, 'sku': 'TH1120RF-3000B', 'vendor': 'Sinopé', 'url_en': 'http://www.sinopetech.com/en/boutique/products/neviweb-en/thermostat-for-electric-heating-wireless-communication/', 'url_fr': 'http://www.sinopetech.com/boutique/produits/thermostat-pour-chauffage-electrique-communication-sans-fil/'}]
2022-01-13 19:09:27 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'protocol': 'miwi', 'type': 10, 'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3, 'family': '1122'}}
2022-01-13 19:09:28 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'protocol': 'miwi', 'type': 10, 'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3, 'family': '1122'}}
2022-01-13 19:09:28 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'protocol': 'miwi', 'type': 21, 'model': 735, 'modelCfg': 76, 'hardRev': 0, 'softVersion': {'major': 1, 'middle': 0, 'minor': 1}, 'softBuildCfg': 0, 'family': '735-LV'}}
2022-01-13 19:09:29 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'model': 125, 'modelCfg': 0, 'softBuildCfg': 0, 'softVersion': {'major': 3, 'middle': 0, 'minor': 0}, 'hardRev': 4, 'family': 'GT125', 'protocol': 'miwi'}}
2022-01-13 19:09:29 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'protocol': 'miwi', 'type': 10, 'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3, 'family': '1122'}}
2022-01-13 19:09:29 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'protocol': 'miwi', 'type': 10, 'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3, 'family': '1122'}}
2022-01-13 19:09:29 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2022-01-13 19:09:30 DEBUG (SyncWorker_12) [custom_components.neviweb130] Received signature data: {'signature': {'protocol': 'miwi', 'type': 10, 'model': 1122, 'modelCfg': 3, 'hardRev': 1, 'softVersion': {'major': 1, 'middle': 7, 'minor': 0}, 'softBuildCfg': 3, 'family': '1122'}}
2022-01-13 19:09:30 DEBUG (SyncWorker_12) [custom_components.neviweb130] Setting scan interval to: 0:06:00
claudegel commented 2 years ago

You have old miwi devices. Fortunately they are perfectly supported. But you pick the wrong custom_component. If you installed via Hacs there are three custom_components: sinope-neviweb130 is for zigbee and wifi devices managed via neviweb sinope-neviweb is for the miwi devices managed via Neviweb sinope-gt125 is for miwi devices managed directly via your GT125 Tell how you proceed. Via Hacs or by downloading this component. I can help

danielbrunt57 commented 2 years ago

Thanks. I am using HACS and want the sinope-neviweb for the miwi devices managed via Neviweb option but I am not seeing sinope-1 in HACS, just the following two, although if I try and add custom repository it says it exists in the store.

image

danielbrunt57 commented 2 years ago

Okay, now I see it. Did you do something on github?? I swear it was not there before! image and I no longer see the other two!

Up and running... image

claudegel commented 2 years ago

Hacs is scanning github but this take time especially for new HA installation or after HA update. I'm happy that it finally work for you. You can follow Sinopé devices development for HA on https://community.home-assistant.io/t/sinope-line-voltage-thermostats/17157 and ask all your question there. I actively support all my custom_components