Page 6 of 9

Re: Support for Somfy Connexoon and Tahoma

Posted: Sunday 05 March 2023 9:10
by madpatrick
MikeyP wrote: Saturday 04 March 2023 22:12 Thanks MadPatrick, Jan-Jaap and others for building a more stable TaHoma interface!

(replace the "_" with "." below; I can't post with dots referring to ip addresses apparently)

My 2 cents on identifying the unit with pin "1234-5678-9012" by putting the ip address in the /etc/hosts (10_0_0_x 1234-5678-9012_local); via mDNS the unit publishes itself as "gateway-1234_5678_9012" (so you can ping gateway-1234_5678_9012); if that convention is used throughout the code, the ip address doesn't need to be fixed or to be defined explicitly in de DNS.

E. g.:

C:\>ping gateway-1234-5678-9012

Pinging gateway-1234-5678-9012_local [10_0_0_10] with 32 bytes of data:
Reply from 10_0_0_10: bytes=32 time=491ms TTL=64
i've made a beta branch.
Can you test ?

Comments can be give on github

Re: Support for Somfy Connexoon and Tahoma

Posted: Sunday 05 March 2023 21:54
by MikeyP
Thanks! See my comments on your Github beta for the working outcome without hosts entry: the mDNS effectively responds to (remove space)

Code: Select all

gateway-1234-5678-9012. local
(sorry @MikeyMan; as a new publishing member even the code notation does not allow me to post urls yet :))

Re: Support for Somfy Connexoon and Tahoma

Posted: Monday 06 March 2023 20:13
by MikeyMan
Doesnt seem to work in all cases though:

Code: Select all

Pinging gateway-2011-1111-1111.localdomain [10.0.0.161] with 32 bytes of data:
Reply from 10.0.0.153: Destination host unreachable.
Reply from 10.0.0.126: Destination host unreachable.
Reply from 10.0.0.153: Destination host unreachable.
Reply from 10.0.0.153: Destination host unreachable.

Ping statistics for 10.0.0.161:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Re: Support for Somfy Connexoon and Tahoma

Posted: Monday 06 March 2023 20:20
by JanJaap
I did some reading: translating IP addresses into names only works if you have the relation between the name and the IP address registered. You can do that in a couple of ways: by a DNS server, by your host file or by mDNS casting (part of a theme called zeroconf or zero configuration networks). On your network you most likely do not have a DNS server, you do not want to edit the host file (which I agree is a complicated work around) so that leaves mDNS. This is something that will only work after adding some code. mDNS works in such a way that the client (the Domoticz plugin in this case) needs to broadcast a call for names in its local network and it will then remember the relation name-IP address for those names that end with '.local'. I haven't implemented such a thing so it's not going to work.....

I'm no expert on these networking protocols so if someone can improve this summary, it's appreciated ;)

Re: Support for Somfy Connexoon and Tahoma

Posted: Tuesday 07 March 2023 17:28
by MikeyMan
Am i the only one currently having issues with the Tahoma?

Re: Support for Somfy Connexoon and Tahoma

Posted: Tuesday 07 March 2023 18:45
by madpatrick
MikeyMan wrote: Tuesday 07 March 2023 17:28 Am i the only one currently having issues with the Tahoma?
Define your problems.

Mine are working

Re: Support for Somfy Connexoon and Tahoma

Posted: Tuesday 07 March 2023 18:48
by MikeyMan
Think it was general issues. Somfy homepage was offline for a part of the day. Just reset the box and it's working now ;)

Re: Support for Somfy Connexoon and Tahoma

Posted: Thursday 09 March 2023 9:43
by MikeyMan
And, after the reset pinging gateway-2000-0000-0000 is working as well :lol:

Re: Support for Somfy Connexoon and Tahoma

Posted: Thursday 09 March 2023 10:16
by madpatrick
MikeyMan wrote: Thursday 09 March 2023 9:43 And, after the reset pinging gateway-2000-0000-0000 is working as well :lol:
Did you have remove the DNS setting ?
And are the devices then working

Re: Support for Somfy Connexoon and Tahoma

Posted: Thursday 09 March 2023 10:23
by MikeyMan
madpatrick wrote: Thursday 09 March 2023 10:16
MikeyMan wrote: Thursday 09 March 2023 9:43 And, after the reset pinging gateway-2000-0000-0000 is working as well :lol:
Did you have remove the DNS setting ?
And are the devices then working
I'm pinging from my PC, not the Pi.

Only thing i did before was add the line to the hosts. If i remove that; the plugin will fail i think?

Re: Support for Somfy Connexoon and Tahoma

Posted: Friday 05 May 2023 20:44
by TheElectronicBoy
Hello,

I also used this plugin and its works verry well.
At this time, I want to implement also the lights because I have the I/O switches.
But it doesn't work to get the state of the light (on or off) in the UpdateDevice function.
Is there someone whit more experience and can say how to fix it?

Re: Support for Somfy Connexoon and Tahoma

Posted: Saturday 27 May 2023 10:33
by dalonsic
Hello,

A Big Thanks you for this plugin !
I use it with my somfy tahoma in local mode and its works perfectly !

I have a question :
- is it possible to open/close devices in discrete/slow mode ?

(with a parameter or overriding the code (a json modification ?))

Thanks !

Re: Support for Somfy Connexoon and Tahoma

Posted: Saturday 27 May 2023 11:39
by MikeyMan
Does anyone know if there is an expiry period for the bearer key?

Re: Support for Somfy Connexoon and Tahoma

Posted: Friday 08 September 2023 16:38
by Jan Jansen
Hello,

After reading this topic, it has not become clear to me whether the plugin also works with the Tahoma switch. It has a local API too.

Can you confirm that the plugin also works with the Tahoma switch?

Thanks in advance

Re: Support for Somfy Connexoon and Tahoma

Posted: Friday 08 September 2023 16:43
by MikeyMan
Jan Jansen wrote: Friday 08 September 2023 16:38 Hello,

After reading this topic, it has not become clear to me whether the plugin also works with the Tahoma switch. It has a local API too.

Can you confirm that the plugin also works with the Tahoma switch?

Thanks in advance
Would have been quick enough to test of course. But yes.

Re: Support for Somfy Connexoon and Tahoma

Posted: Friday 08 September 2023 19:01
by Jan Jansen
MikeyMan wrote: Friday 08 September 2023 16:43
Would have been quick enough to test of course. But yes.
Thanks, it's time to buy one.

Re: Support for Somfy Connexoon and Tahoma

Posted: Monday 11 September 2023 21:34
by Rik60
Hello Somfy users,

I like to ask a general question. I am using 6 Somfy devices, 3 roller shutters, 2 exterior screens and 1 folding arm awning. Are there users that also controlling a awning with the Plugin and Domoticz? If i running the beta 4.2.20 the 2 exterior screens are continuous updating, even when they are not moving. If i run the master 4.2.16 the awning is not updating. In both plugin version i can control the devices. At the moment i use a combination of both versions, the file utils.py from the beta in the plugin version 4.2.16 version of the master.
Has anyone problems with controlling the awning?
Thanks.

Re: Support for Somfy Connexoon and Tahoma

Posted: Saturday 01 June 2024 10:36
by nene82
Hello everybody,
On the advice of MadPatrick, I registered on your forum to try to resolve my problem. Indeed I am trying in vain to implement its Plugin for Velux IO-homecontrol Shutter https://github.com/MadPatrick/somfy, and I am currently stuck on this command for tracing the box in the local network which I do not know where to write “192.168.1.1 1234-1234-1234.local”. For the rest I did almost everything from the tutorial.
I can't verify if this works at the moment. Certainly I would have other problems.So, as the English speakers say, Step by step! :)
You will also have understood that in good French I do not speak English and use Google translate, and that at almost 60 years old I am within my limits on the IT side.
There you go, the picture is set, if anyone is interested in sticking to it and dragging a ball, I'm interested.
For useful information,
Config side:
- 4 Velux IO-Homecontrol roof shutters
- 1 Velux IO-Homecontrol roller shutter
- 1 TAHOMA Switch (and/or KLF200 I also tried to use the KLF200 following this tutorialDomoticz, KLF-200 et Velux Integra io homecontrolbut here I am stuck with Node-red)
- Domoticz is installed on a VM directly in my Freebox Delta
- Domoticz version, My box / Router is therefore a Delta freebox
Voili, Voilou, everything is said, thank you for reading me!

Re: Support for Somfy Connexoon and Tahoma

Posted: Saturday 01 June 2024 16:48
by madpatrick
Hello Nene82
Welcome on the Domoticz forum.

This is not a setting within Domoticz.
You need to add the IP address with pin-number of the somfybox in your Router in the DNS server section (if this is available).

have your tried to start the plugin ? and what is in the log after starting the plugin ?

Re: Support for Somfy Connexoon and Tahoma

Posted: Saturday 01 June 2024 19:39
by nene82
Hello MadPatrick,
Apparently I saw on other posts that on freeboxes it was not possible, but subject to my good understanding. Attached are the startup logs!
I also saw elsewhere that it was possible to implement the hosts.txt file with this syntax, but I do not know the syntax under putty, and with WinSCP, the file cannot be modified with the editor.