dubocr / homebridge-tahoma

Homebridge plugin for TaHoma, Connexoon, Cozytouch, Energeasy Connect.
Apache License 2.0
137 stars 42 forks source link

Just an info for connexxon of Somfy #5

Closed coniglioemanuele closed 7 years ago

coniglioemanuele commented 7 years ago

Somfy instead of io-homecontrol with tahoma, offers also the connexxoon box that is more simple of Tahoma respect to the function. Is possible that the plugin works also with connexxon as for the tahoma?

dubocr commented 7 years ago

Hi, Plugin must operate with conexoon box. You just have to setup your conexoon credentials.

Please let me know if you encountered troubles.

coniglioemanuele commented 7 years ago

i tried to work out the plugin by installing and configuring: homebridge -D here the result:

[7/11/2017, 4:54:27 PM] Loaded plugin: homebridge-tahoma homebridge-tahoma API version: 2.1

[7/11/2017, 4:54:28 PM] [Tahoma] Initializing Tahoma platform... [7/11/2017, 4:54:28 PM] [Tahoma] Connecting TaHoma server... [7/11/2017, 4:54:28 PM] Loading 2 accessories...

[7/11/2017, 4:54:29 PM] [Tahoma] Connecting TaHoma server... [7/11/2017, 4:54:30 PM] [Tahoma] Device Pod ignored [7/11/2017, 4:54:30 PM] [Tahoma] Device ExteriorScreen ignored

[7/11/2017, 4:54:31 PM] [Tahoma] Initializing platform accessory 'Tenda Half'... [7/11/2017, 4:54:31 PM] [Tahoma] Initializing platform accessory 'Tenda Aria'... [7/11/2017, 4:54:31 PM] [Tahoma] Initializing platform accessory 'Tenda Chiusa'... [7/11/2017, 4:54:31 PM] [Tahoma] Initializing platform accessory 'Tenda Aperta'...

i tried to add a new accessories by coping the rollershutter.js and raneming into ExteriorScreen but still ignored! let me know what can i do just to retrieve the funcionality! On the homebridge i cannot see any of the platform accessory mentioned at the end of log, that is the presetting position of the ExternalScreen is just strange...

dubocr commented 7 years ago

Could you please browse http://home.dubocr.fr/tools/setup and fill your credential to upload your device configuration as I can obtain your Awning device status.

Thanks

coniglioemanuele commented 7 years ago

Sorry i apologize, one time come back home (i was trying to configure out of home connected by vpn) the homekit find out the four switch instead as an accessory! so now the ExteriorScreen is able to work with siri and the presetted scene! Thanks and sorry again, anyway i just fill my credentials and uploaded!

Now my only question is if its possible create an accessory ExteriorScreen just to use as a dimmerable light, do you think is possible? i already copied from rollershutter.js and changhe with ExteriorScreen also inside the file the variable an function... but probably i wrong way!

dubocr commented 7 years ago

No worries, presetted scene are exposed as switches (as home bridge doesn't support home kit scene), you can deactivate it if you want with the config file.

Here is a new file to test ExteriorScreen. ExteriorScreen.js.zip

Can you give me feedback if OK or not.

Thanks

coniglioemanuele commented 7 years ago

Hello, i added the ExteriorScreen.js into the accessories folder but still give me: [7/12/2017, 2:10:16 PM] [Tahoma] Device ExteriorScreen ignored while loading the plugin on start. No device is showed into homekit, have i to do something else?

The presetted switches works very well!! thanks

dubocr commented 7 years ago

Can you please check wether there is no duplicate 'homebridge-tahoma' directory and no exclusion in the home bridge config file. Or try npm install -g homebridge-tahoma

coniglioemanuele commented 7 years ago

ok, updated the plugin! here the log: [7/12/2017, 3:58:58 PM] [Tahoma] Initializing Tahoma platform... [7/12/2017, 3:58:58 PM] [Tahoma] Connecting TaHoma server... [7/12/2017, 3:58:58 PM] Loading 2 accessories... <-- i think isn't referring to tahoma plugin

the switch aren't retrive from tahoma and so now they didn't work as before! It was usefull to have also the export of the scenarios,

i got also: [7/12/2017, 4:01:09 PM] [Tahoma] Unable to login: Error: connect ETIMEDOUT 178.32.15.131:443 [7/12/2017, 4:01:10 PM] [Tahoma] Unable to login: Error: connect ETIMEDOUT 178.32.15.131:443

i've to disable the plugin at the moment cause i cannot use also the other accesories as light or camera

The error.log doesn't give any other info

coniglioemanuele commented 7 years ago

remove the plugin by deleting plugin folder, reinstalled and now: [7/12/2017, 4:57:08 PM] [Tahoma] Initializing Tahoma platform... [7/12/2017, 4:57:08 PM] [Tahoma] Connecting TaHoma server... [7/12/2017, 4:57:08 PM] Loading 2 accessories...

[7/12/2017, 4:57:08 PM] [Tahoma] Connecting TaHoma server...

[7/12/2017, 4:57:09 PM] [Tahoma] Device Pod ignored [7/12/2017, 4:57:09 PM] [Tahoma] [MAESTRIA+ io] core:ClosureState=78 [7/12/2017, 4:57:09 PM] [Tahoma] Error 400 Too many asynchronous jobs, try again later (TOO_MANY_OPERATIONS_IN_PROGRESS) [7/12/2017, 4:57:09 PM] [Tahoma] Error 400 Too many asynchronous jobs, try again later (TOO_MANY_OPERATIONS_IN_PROGRESS)

[7/12/2017, 4:57:10 PM] [Tahoma] Initializing platform accessory 'MAESTRIA+ io'... [7/12/2017, 4:57:10 PM] [Tahoma] Initializing platform accessory 'Tenda Half'... [7/12/2017, 4:57:10 PM] [Tahoma] Initializing platform accessory 'Tenda Aria'... [7/12/2017, 4:57:10 PM] [Tahoma] Initializing platform accessory 'Apri Tenda'... [7/12/2017, 4:57:10 PM] [Tahoma] Initializing platform accessory 'Chiudi Tenda'...

[7/12/2017, 4:57:20 PM] [Tahoma] [MAESTRIA+ io] core:ClosureState=78

now i cannot confirm it works because i'm out of home, and i cannot see new accessory as yesterday, and the scenarios retrive yesterday at the moment doesn't respond!

dubocr commented 7 years ago

Seems there is some trouble with connexoon server. Please try again later and let me know but seems everything looks good.

coniglioemanuele commented 7 years ago

ok perfect, one time connected at home wifi homekit retrive the new accessory as switch for the scenarios and also the one dimmerable button for the screen position, well done!!! Really Appreciated job!!!

dubocr commented 7 years ago

Perfect, hope you will enjoy ;-).