nonolk / domoticz_tahoma_blind

Domoticz plugin writen in Python to support Velux blinds using Tahoma/Connexoon
GNU General Public License v3.0
17 stars 10 forks source link

Newly added devices not showing in Domoticz #18

Closed TB404 closed 3 years ago

TB404 commented 3 years ago

I run the 2.0.2 version of the plugin on an rpi2 with: Version: 2020.2 Build Hash: b63341bc0 Compile Date: 2020-04-26 13:47:55 dzVents Version: 3.0.2 Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]

Its running fine for the roughly 12 devices that are set up in my Conexoon. 2 roller shutters had to have their engines replaced, basically meaning replacing the devices. So: removed the 2 devices from the Conexoon and paired the new engines with the Conexoon. That is all working. But shouldnt the new devices appear after a sync of the plugin as devices in Domoticz? They dont. Restarted the whole system, just domoticz (Updated the plugin as well during this process but was already running 2+)

My other existing devices work fine through Domoticz, but the 2 "new" ones simply wont show.. When enable debugging, I quickly do see the list of all the devices, including the 2 new paired ones, but quickly after I see this in the log:

2021-02-17 21:01:11.013 (Conexoon) Device name: Slaapkamer links Device class: RollerShutter 2021-02-17 21:01:11.013 (Conexoon) Device name: OGP KNX Bridge Device class: ProtocolGateway 2021-02-17 21:01:11.013 (Conexoon) Device name: OGP Siegenia Bridge Device class: ProtocolGateway 2021-02-17 21:01:11.013 (Conexoon) Device name: OGP Intesis Bridge Device class: ProtocolGateway 2021-02-17 21:01:15.765 (Conexoon) Queued asynchronous secure read aborted. 2021-02-17 21:01:15.765 (Conexoon) Pushing 'DisconnectedEvent' on to queue 2021-02-17 21:01:15.773 (Conexoon) Processing 'DisconnectedEvent' message 2021-02-17 21:01:15.774 (Conexoon) Disconnect event received for 'tahomalink.com:443'. 2021-02-17 21:01:15.775 (Conexoon) Pushing 'onDisconnectCallback' on to queue 2021-02-17 21:01:15.775 (Conexoon) Processing 'onDisconnectCallback' message 2021-02-17 21:01:15.775 (Conexoon) Calling message handler 'onDisconnect'.

And I dont see the new devices in Domoticz at all. It seems like the plugin works, but not sure where to go with the question. Apologies for asking.

nonolk commented 3 years ago

Hello, I just have one question, in mind. Did you deleted the 2 old devices from domoticz too ? If not, do it. Device creation is automatic, but device removal is not. And the creation is based on the number of supported devices. It means if you remove 2 devices from conexoon and add to new one. As the number of devices stay the same it will not trigger the device creation.

TB404 commented 3 years ago

I did not remove anything from Domoticz so that could well be the problem. Doing it now

TB404 commented 3 years ago

remove devices - Update plugin: DONE: 2 new devices created So sorry to have bothered you with this!

nonolk commented 3 years ago

No problem, let’s close this issue then ;-)