Support for Somfy Connexoon and Tahoma

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
gdisselkoen
Posts: 5
Joined: Monday 19 May 2014 23:17
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Support for Somfy Connexoon and Tahoma

Post by gdisselkoen »

I'm waiting for support of Somfy devices via the Somfy Connexoon.

There is very well documented API available that works for both the Connexoon box as the TaHoma box.
A home is a home when it's an automated home.
INendels
Posts: 4
Joined: Friday 18 January 2019 17:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by INendels »

Here is a link to a python3 library, but i can't make it to work.

https://github.com/tetienne/somfy-open-api

hope this helps for integration in domoticz.
OedzesG
Posts: 106
Joined: Monday 11 March 2019 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by OedzesG »

Domoticz plugin for Tahoma IO products... blinds interieur and exterieur!

https://github.com/nonolk/domoticz_tahoma_blind
INendels
Posts: 4
Joined: Friday 18 January 2019 17:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by INendels »

thnx,

installed it and can control my screens, will test it a while because during connecting domoticz crashed a lot.
but i will see if domoticz keep running.
OedzesG
Posts: 106
Joined: Monday 11 March 2019 0:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by OedzesG »

will test it a while because during connecting domoticz crashed a lot
i had the same progblem, after every device that was found i needed to restart my domoticz. (3 times in total)
but now it looks verry stable...
nitpicker
Posts: 69
Joined: Tuesday 29 July 2014 10:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by nitpicker »

OedzesG wrote: Wednesday 22 January 2020 21:45 Domoticz plugin for Tahoma IO products... blinds interieur and exterieur!

https://github.com/nonolk/domoticz_tahoma_blind
works this plugin also with the connexoon? because that device is a lot cheaper than the tahoma...
Skippiemanz
Posts: 230
Joined: Sunday 14 July 2013 20:21
Target OS: Linux
Domoticz version: 4.10233
Location: Alkmaar, The Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Skippiemanz »

nitpicker wrote:
OedzesG wrote: Wednesday 22 January 2020 21:45 Domoticz plugin for Tahoma IO products... blinds interieur and exterieur!

https://github.com/nonolk/domoticz_tahoma_blind
works this plugin also with the connexoon? because that device is a lot cheaper than the tahoma...
On github it is stated to work with the tahoma and the connexoon. I Will give it a try soon. Thanks for pointing at this Solution.
nitpicker
Posts: 69
Joined: Tuesday 29 July 2014 10:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by nitpicker »

Skippiemanz wrote: Sunday 02 February 2020 10:26 On github it is stated to work with the tahoma and the connexoon. I Will give it a try soon. Thanks for pointing at this Solution.
You have both? The Tahoma and the Connexoon?
Skippiemanz
Posts: 230
Joined: Sunday 14 July 2013 20:21
Target OS: Linux
Domoticz version: 4.10233
Location: Alkmaar, The Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Skippiemanz »

Nope i only have the connexcoon.

Just tested it out and worked flawlesly no crashes upon adding screens.

thanks!
sgsdebruijn
Posts: 12
Joined: Tuesday 04 August 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by sgsdebruijn »

Hi all, try installing the stuff from github, but still no Tahoma in Domoticz by Hardware,

files are in
domoticz\domoticz_tahaoma_blind\
plugin.py

Python3 (3.6.9) installed

If starting the script,
~/domoticz/domoticz_tahoma_blinds$ python3 plugin.py
TRaceback (most recent call last):
File "plugin.py", line 21, in <module>
import Domoticz
ModuleNotFoudnError: No module name "Domoticz"


Who can help me out,
sgsdebruijn
Posts: 12
Joined: Tuesday 04 August 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by sgsdebruijn »

made a plugins directory in Domoticz and installed the stuff in that directory.
Still no luck
sgsdebruijn
Posts: 12
Joined: Tuesday 04 August 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by sgsdebruijn »

Problem was the version of Python and Pythonlib, this did the trick,

sudo apt-get install python3.7 libpython3.7 python3.7-dev -y

sudo systemctl restart domoticz.service
vspamn
Posts: 8
Joined: Thursday 02 April 2020 21:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by vspamn »

I keep getting the following error:

Code: Select all

Tahoma auth error
I verified my credentials through https://dev.duboc.pro/tools/setup (server: TaHoma / Connexoon). I am using a Connexoon.

Any ideas?
Hann1BaL
Posts: 23
Joined: Sunday 11 March 2018 15:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by Hann1BaL »

sgsdebruijn wrote: Tuesday 31 March 2020 16:43 Problem was the version of Python and Pythonlib, this did the trick,

sudo apt-get install python3.7 libpython3.7 python3.7-dev -y

sudo systemctl restart domoticz.service
Did this but:
Once I added the hardware the plugin was crashing regularly.
I found out that it happened when trying to switch multiple devices at once, when grouping devices per room.

So to control the devices I made a Dummy switch Blinds Percentage Inverted
And used that too control a dzvents script, which eiher fully Opens, Closes or set to the level on the dummy switch:

Code: Select all

return {
	on = {
		devices = {
			1205
		}
	},
	execute = function(domoticz, kantoor)
		domoticz.log(kantoor.rawData[1])
		--domoticz.log(kantoor.state)
		if (kantoor.state == 'Closed') then
		    domoticz.devices(1192).close()
		    domoticz.devices(1197).close().afterSec(1)
		elseif (kantoor.state == 'Open') then
		    domoticz.devices(1192).open()
		    domoticz.devices(1197).open().afterSec(1)
		else
		    domoticz.devices(1192).setLevel(kantoor.rawData[1])
		    domoticz.devices(1197).setLevel(kantoor.rawData[1]).afterSec(1)
		end
	end
}
1205 is the dummy switch
1192 and 1197 are 2 windows in the office room.
The aftersec(1) (and for other rooms with more devices followed by aftersec(2)) makes sure it sends the command a sec later.

Since then it has been very stable.
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

Hi Guys,

I'm about to buy new screens with a somfy system and just want to be sure.

Can this plugin of Domotiz controll the latest Connexoon IO version (i'm reading all about RTS)
Can you control each screen seperatly ?
Not sure how the screens will appears in Domoticz as a device

Thanks for you feedback!
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
sgsdebruijn
Posts: 12
Joined: Tuesday 04 August 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by sgsdebruijn »

Yes, possible. 8n Domoticz separate screens like normal RTS
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

sgsdebruijn wrote: Friday 18 September 2020 19:22 Yes, possible. 8n Domoticz separate screens like normal RTS
So Domoticz sends a signal to the Somfy Connexoon box and this will send a signal to the screen ?
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
sgsdebruijn
Posts: 12
Joined: Tuesday 04 August 2015 16:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by sgsdebruijn »

Yep
vspamn
Posts: 8
Joined: Thursday 02 April 2020 21:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by vspamn »

Is there a way to let Domoticz control a terrace screen through the Tahoma box? The terrace screen uses a different app, but the same box.
User avatar
madpatrick
Posts: 636
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Support for Somfy Connexoon and Tahoma

Post by madpatrick »

OedzesG wrote: Wednesday 22 January 2020 21:45 Domoticz plugin for Tahoma IO products... blinds interieur and exterieur!

https://github.com/nonolk/domoticz_tahoma_blind
I'm setup mu Somfy blinds with the Tahoma box and the Plugin into my Domoticz
After switching some blind I notices that it restart my Domoticz .

I see the folowing errors in my log :

Code: Select all

2021-04-03 19:02:08.733  Status: User: Admin initiated a switch command (493/Somfy - Erker Blok 1/On)
2021-04-03 19:02:08.736  (Dummy  Schakelaars) Light/Switch (Somfy - Erker Blok 1)
2021-04-03 19:02:08.790  Status: dzVents: Info: -=# Screens #=-: ------ Start internal script: Screens Erker Blok 1: Device: "Somfy - Erker Blok 1 (Dummy  Schakelaars)", Index: 493
2021-04-03 19:02:08.791  Status: dzVents: !Info: -=# Screens #=-: Screen Erker blok 1 Dicht
2021-04-03 19:02:08.791  Status: dzVents: Info: -=# Screens #=-: ------ Finished Screens Erker Blok 1
2021-04-03 19:02:08.822  (Somfy Tahoma) Not connected before processing command, must connect
2021-04-03 19:02:08.823  (Somfy Tahoma) Not connected before processing command, must connect
2021-04-03 19:02:08.960  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:18.007  Status: User: Admin initiated a switch command (493/Somfy - Erker Blok 1/Off)
2021-04-03 19:02:18.009  (Dummy  Schakelaars) Light/Switch (Somfy - Erker Blok 1)
2021-04-03 19:02:18.061  Status: dzVents: Info: -=# Screens #=-: ------ Start internal script: Screens Erker Blok 1: Device: "Somfy - Erker Blok 1 (Dummy  Schakelaars)", Index: 493
2021-04-03 19:02:18.062  Status: dzVents: !Info: -=# Screens #=-: Screen Erker blok 1 Open
2021-04-03 19:02:18.063  Status: dzVents: Info: -=# Screens #=-: ------ Finished Screens Erker Blok 1
2021-04-03 19:02:18.081  (Somfy Tahoma) Not connected before processing command, must connect
2021-04-03 19:02:18.081  (Somfy Tahoma) Not connected before processing command, must connect
2021-04-03 19:02:18.218  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:22.177  (Somfy Tahoma) Updating device:Somfy - Erker_1
2021-04-03 19:02:22.186  (Somfy Tahoma) Updating device:Somfy - Erker_2
2021-04-03 19:02:26.659  Status: User: Admin initiated a switch command (494/Somfy - Erker Blok 2/On)
2021-04-03 19:02:26.662  (Dummy  Schakelaars) Light/Switch (Somfy - Erker Blok 2)
2021-04-03 19:02:26.720  Status: dzVents: Info: -=# Screens #=-: ------ Start internal script: Screens Erker Blok 2: Device: "Somfy - Erker Blok 2 (Dummy  Schakelaars)", Index: 494
2021-04-03 19:02:26.721  Status: dzVents: !Info: -=# Screens #=-: Screens Erker blok 2 helemaal open
2021-04-03 19:02:26.721  Status: dzVents: Info: -=# Screens #=-: ------ Finished Screens Erker Blok 2
2021-04-03 19:02:26.751  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:26.751  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:26.751  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:32.267  (Somfy Tahoma) Updating device:Somfy - Erker_1
2021-04-03 19:02:32.277  (Somfy Tahoma) Updating device:Somfy - Erker_1
2021-04-03 19:02:32.284  (Somfy Tahoma) Updating device:Somfy - Erker_2
2021-04-03 19:02:32.290  (Somfy Tahoma) Updating device:Somfy - Erker_2
2021-04-03 19:02:32.296  (Somfy Tahoma) Updating device:Somfy - Erker_2
2021-04-03 19:02:35.918  Status: User: Admin initiated a switch command (494/Somfy - Erker Blok 2/Off)
2021-04-03 19:02:35.920  (Dummy  Schakelaars) Light/Switch (Somfy - Erker Blok 2)
2021-04-03 19:02:35.973  Status: dzVents: Info: -=# Screens #=-: ------ Start internal script: Screens Erker Blok 2: Device: "Somfy - Erker Blok 2 (Dummy  Schakelaars)", Index: 494
2021-04-03 19:02:35.975  Status: dzVents: !Info: -=# Screens #=-: Screens Erker blok 2 dicht
2021-04-03 19:02:35.975  Status: dzVents: Info: -=# Screens #=-: ------ Finished Screens Erker Blok 2
2021-04-03 19:02:36.012  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:36.012  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:36.012  (Somfy Tahoma) Sending command to tahoma api
2021-04-03 19:02:36.828  (Zwave USB) Light/Switch (PIR Sensor)
2021-04-03 19:02:36.829  Status: OpenZWave: Alarm received (Home Security: Motion Detected at Unknown Location), NodeID: 31 (0x1f)
2021-04-03 19:02:36.833  (Zwave USB) General/Alarm (PIR Alarm Type: Home Security 7 (0x07))
2021-04-03 19:02:36.839  (Zwave USB) Light/Switch (PIR Home Security)
2021-04-03 19:02:36.882  (Zwave USB) Light/Switch (PIR Sensor)
2021-04-03 19:02:38.220  Error: Domoticz(pid:35175, tid:35222('Plugin_ASIO')) received fatal signal 11 (Segmentation fault)
2021-04-03 19:02:38.220  Error: siginfo address=0x12b00008967, address=0x7f423ae454fb
2021-04-03 19:02:38.588  Error: Thread 12 (Thread 0x7f41ff7fe700 (LWP 35222)):
2021-04-03 19:02:38.588  Error: #0  0x00007f423ae451d9 in waitpid () from /lib64/libpthread.so.0
2021-04-03 19:02:38.588  Error: #1  0x000000000067c3c5 in dumpstack_gdb(bool) ()
2021-04-03 19:02:38.588  Error: #2  0x000000000067c96e in signal_handler(int, siginfo_t*, void*) ()
2021-04-03 19:02:38.588  Error: #3  <signal handler called>
2021-04-03 19:02:38.588  Error: #4  0x00007f423ae454fb in raise () from /lib64/libpthread.so.0
2021-04-03 19:02:38.588  Error: #5  <signal handler called>
2021-04-03 19:02:38.588  Error: #6  0x00007f41e4678560 in ?? ()
2021-04-03 19:02:38.588  Error: #7  0x00007f423b72e891 in BIO_write () from /lib64/libcrypto.so.10
2021-04-03 19:02:38.588  Error: #8  0x00000000009bbda6 in boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Plugins::CPluginTransportTCPSecure, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<Plugins::CPluginTransportTCPSecure*>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >::operator()(boost::system::error_code, unsigned long, int) ()
2021-04-03 19:02:38.588  Error: #9  0x00000000009bd28b in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>, boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, Plugins::CPluginTransportTCPSecure, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<Plugins::CPluginTransportTCPSecure*>, boost::arg<1> (*)(), boost::arg<2> (*)()> > >, boost::asio::detail::io_object_executor<boost::asio::executor> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) ()
2021-04-03 19:02:38.588  Error: #10 0x000000000077f03c in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2021-04-03 19:02:38.588  Error: #11 0x000000000099dc71 in Plugins::BoostWorkers() ()
2021-04-03 19:02:38.588  Error: #12 0x0000000000ae6396 in thread_proxy ()
2021-04-03 19:02:38.588  Error: #13 0x00007f423ae3dea5 in start_thread () from /lib64/libpthread.so.0
2021-04-03 19:02:38.588  Error: #14 0x00007f42394709fd in clone () from /lib64/libc.so.6
2021-04-03 19:03:08.878  Status: Domoticz V2020.2 (c)2012-1970 GizMoCuz
2021-04-03 19:03:08.878  Status: Build Hash: 0, Date: 1970-01-01 01:00:00
The switch "Somfy - Erker Blok 1" is a dummy switch to operate 2 blinds at the same time

Anybody a clue what could be the problem ?
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest