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

Nothing happend.. #1

Closed Gerard-Oedzes closed 4 years ago

Gerard-Oedzes commented 4 years ago

Hallo,

I have waited a long time for this and would love to use it!!

Installation was easy, but when i open de plugin, nothing happend...

These are the logs:

2020-01-20 16:27:59.695 Status: (Somfy Tahoma) Started. 2020-01-20 16:27:59.846 Status: (Somfy Tahoma) Entering work loop. 2020-01-20 16:27:59.846 Status: (Somfy Tahoma) Initialized version 1.0, author 'nonolk' 2020-01-20 16:27:59.848 Status: (Somfy Tahoma) Starting Tahoma blind plugin 2020-01-20 16:28:00.635 Status: (Somfy Tahoma) Tahoma auth succeed.

nonolk commented 4 years ago

Thank’s for your feedback, I think I fou d the problem, I will upload a new version soon.

Gerard-Oedzes commented 4 years ago

Thanks!!! cant wait!!

Gerard-Oedzes commented 4 years ago

After 1.5 hour this message shows up in the logg files:

2020-01-20 16:27:59.695 Status: (Somfy Tahoma) Started. 2020-01-20 16:27:59.846 Status: (Somfy Tahoma) Entering work loop. 2020-01-20 16:27:59.846 Status: (Somfy Tahoma) Initialized version 1.0, author 'nonolk' 2020-01-20 16:27:59.848 Status: (Somfy Tahoma) Starting Tahoma blind plugin 2020-01-20 16:28:00.635 Status: (Somfy Tahoma) Tahoma auth succeed 2020-01-20 16:32:29.819 Status: New sensors allowed for 5 minutes... 2020-01-20 16:49:50.627 Status: Incoming connection from: 192.168.1.20 2020-01-20 18:55:11.149 Status: Incoming connection from: 192.168.1.20 2020-01-20 19:02:21.469 (Somfy Tahoma) Connect directive received, action initiation failed. 2020-01-20 19:02:21.469 Error: Plugin: Connection Exception: 'resolve: Host not found (non-authoritative), try again later' connecting to 'tahomalink.com:443' 2020-01-20 19:02:21.469 Error: (Somfy Tahoma) Transport is not connected, write directive to 'Secure Connection' ignored. 2020-01-20 19:03:01.033 (Somfy Tahoma) Connect directive received, action initiation failed. 2020-01-20 19:03:01.033 Error: Plugin: Connection Exception: 'resolve: Host not found (non-authoritative), try again later' connecting to 'tahomalink.com:443' 2020-01-20 19:03:01.033 Error: (Somfy Tahoma) Transport is not connected, write directive to 'Secure Connection' ignored.

Something i need to change?

nonolk commented 4 years ago

Could you please try the updated version, I committed today. The last error you got seems to be related to an internet (dns resolution) issue, nothing I can do about it.

nonolk commented 4 years ago

An also please check in Setup-> Devices -> Unused, the devices are unused by default.

Gerard-Oedzes commented 4 years ago

Did git pull and reboto PI

pi@raspberrypi:~ $ cd domoticz/plugins pi@raspberrypi:~/domoticz/plugins $ cd domoticz_tahoma_blind pi@raspberrypi:~/domoticz/plugins/domoticz_tahoma_blind $ git pull remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Compressing objects: 100% (3/3), done. remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), done. From https://github.com/nonolk/domoticz_tahoma_blind 45893a1..f3e5566 master -> origin/master Updating 45893a1..f3e5566 Fast-forward plugin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) pi@raspberrypi:~/domoticz/plugins/domoticz_tahoma_blind $ cd

but sadly no divices in Domoticz.. (checked also unused devices)

nonolk commented 4 years ago

Stange, which kind of device you have, blinds roller shutter ?? this plugin just support roller shutters

Gerard-Oedzes commented 4 years ago

Roller shutters / roller sunscreens outside..

nonolk commented 4 years ago

Really really strange, I will check this evening how we can go on and troubleshoot this issue together, as it works on my side.

Gerard-Oedzes commented 4 years ago

would be great!! as far as i know this is my only change to get this IO products in Domoticz! thnx!

nonolk commented 4 years ago

Please update the plugin again using git and post the logs, you should get more information

Gerard-Oedzes commented 4 years ago

2020-01-21 16:38:49.117 Status: PluginSystem: Entering work loop. 2020-01-21 16:38:49.237 Status: (Tahoma) Initialized version 1.0, author 'nonolk' 2020-01-21 16:38:49.238 Status: (Tahoma) Starting Tahoma blind plugin 2020-01-21 16:38:49.238 Status: (Tahoma) Entering work loop. 2020-01-21 16:38:50.120 Status: (Tahoma) Tahoma auth succeed 2020-01-21 16:38:59.570 (Tahoma) [{"creationTime":[{"value":"500","qualifiedName":"core:identifyInterval"}],"widgetName":"PositionableScreen","uiClass":"ExteriorScreen","qual

nonolk commented 4 years ago

It comes from this: "uiClass":"ExteriorScreen" it means you have an exterior sun screen and not "uiClass":"RollerShutter", which my plugin handle actually, I will try to integrate your kind of device, but maybe not today, but in the coming days, stay tuned.

Gerard-Oedzes commented 4 years ago

Thnx man!!!! woud be realy, realy nice..

nonolk commented 4 years ago

Hello, could you please try the new version, I just committed ? I tried to insert support for your kind of devices, but as I do not have such kind of devices, I can't guaranty it will work.

Gerard-Oedzes commented 4 years ago

Somfy

Amazing!!! so manny thanks!!!!!!

but at startup, domoticz chraches every time after there was a device found, so i started domoticz 3 time and after the final screen was added every thing is working perfect right now!!!!

Gerard-Oedzes commented 4 years ago

pushed buttons now several times en everything is reacting ferry wel and no error in the log files.. Reaction time is verry quick..

Also Domoticz device status update when i change the blinds by remote control or the Tahoma app is verry fast..

im verry happy.. thanks again!!!!

nonolk commented 4 years ago

I’m glad it worked. Thank you for your feedback