excodibur / iobroker.tahoma Goto Github PK
View Code? Open in Web Editor NEWioBroker adapter for Somfy Tahoma
License: MIT License
ioBroker adapter for Somfy Tahoma
License: MIT License
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Excodibur/ioBroker.tahoma
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Excodibur/ioBroker.tahoma
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hallo,
ich nutze ioBroker erst seit kurzem und habe meine TaHoma verbunden.
Ich habe das Problem, dass meine Logins geblockt werden, obwohl ich die Abtastrate schon auf 300000 gestellt habe.
Nun dachte ich, dass ich den Adapter erst einmal auf die Version 0.3.3 updaten sollte.
Könnt ihr mir bitte verraten, wie dieses Update durchführen kann?
Grüße
raspihomegit
Dear Adapter developer,
with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.
If something is not correct this is logged as 'warning' or 'info' log.
Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1301
Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.
More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui
Please close the issue after you checked it.
Thank you very much for your support!
Somfy published officially a "local API" now see
https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode
Please switch to the local API to get rid of strange behavior and timeouts that was caused by the Somfy Cloud API protocoll (and their requirements for delays in requests)
See details here: https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode
Version: stable=0.5.0 (83 days old) => latest=0.5.1 (46 days old)
Installs: stable=442 (51.04%), latest=137 (15.82%), total=866
Click to edit
In processApplyQueue there is a constant of 15000ms such that in case of errors, i.e. it tries again to send a command after 15 seconds.
This is way too high (imagine that a simple user presses a button to open or close a shutter or dor, it doesnt work, he goes away and suddenly after 15 seconds it starts to move).
I strongly suggest to reduce that to at most like 1 seconds or 1.5 seconds, and if it fails again, discard the whole queue.
warn | (1577) Body: {"errorCode":"UNSPECIFIED_ERROR","error":"No registered event listener"}
warn | (1577) Response: {"statusCode":400,"body":{"errorCode":"UNSPECIFIED_ERROR","error":"No registered event listener"},"headers":{"date":"Wed, 13 Jan 2021 13:18:09 GMT","server":"overkiz","strict-transpor
warn | (1577) error during tahomalink request: null, request path: events/fbe2b682-ac10-3e01-5645-036b8c382708/fetch with payload:{}
Ich bekomme diese Fehler in meinem Log einfach nicht weg.
Ich bin der Meinung, dass diese Fehler auftreten, seitdem ich auf der Somfy open API Webseite meinen Account mit OAuth2 authentifiziert habe.
Kennt jemand dafür eine Lösung?
Grüße
Raspihomegit
I'm on Version 6.1.3 and have oximo io shutters installed. Lately the adapter is being terminated because of the following error:
uncaught exception: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined at /opt/iobroker/node_modules/iobroker.tahoma/lib/tahoma.js:957:37 at Request._callback (/opt/iobroker/node_modules/iobroker.tahoma/lib/tahoma.js:331:17) at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) at Request.emit (events.js:400:28) at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1154:10) at Request.emit (events.js:400:28) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1076:12) at Object.onceWrapper (events.js:519:28) at IncomingMessage.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1334:12)
Thanks for your help and good work you are putting into this adapter.
192.168.1.30:8081:log:buanet-iobroker1:file1:iobroker.2022-04-03.pdf
Relates to version adapter version 0.6.0
When the tohma site is out of order for any reason the adapter should log this event as he already does. But if the failure last longer than 2 or 3 retries the adapter should NOT log any more identical failures but only switch info.connected to false and (hopefully) log the reestablish of the link later.
Currently hundreths of warnings fill up the log without any addition information. One could switch to debug logging if he is interested in all errors. Optional a configuration switch could be implemnted to diasable suppression of redundant loggings if it is really desired.
Example of log following (only extract, not all messages):
tahoma.0 | 2022-03-29 15:38:47.014 | warn | refresh device state failed
-- | -- | -- | --
tahoma.0 | 2022-03-29 15:38:46.893 | info | eventRegisterID = d5e67ddd-98e4-e192-4d47-d4fa74774280
tahoma.0 | 2022-03-29 15:38:28.436 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:33:26.927 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:33:26.809 | info | eventRegisterID = d5e19b88-98e4-e192-4d47-d4fa0be86c9e
tahoma.0 | 2022-03-29 15:33:09.398 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:28:06.839 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:28:06.731 | info | eventRegisterID = d5dcb939-98e4-e192-4d47-d4fa46919185
tahoma.0 | 2022-03-29 15:27:48.992 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:22:46.768 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:22:46.655 | info | eventRegisterID = d5d7d6ee-98e4-e192-4d47-d4fa97d55352
tahoma.0 | 2022-03-29 15:22:29.795 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:17:26.687 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:17:26.577 | info | eventRegisterID = d5d2f4a0-98e4-e192-4d47-d4fa4770c731
tahoma.0 | 2022-03-29 15:17:12.044 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:12:06.641 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:12:06.527 | info | eventRegisterID = d5ce126e-98e4-e192-4d47-d4faea512946
tahoma.0 | 2022-03-29 15:11:49.578 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:06:46.519 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:06:46.414 | info | eventRegisterID = d5c92ffd-98e4-e192-4d47-d4fab249a065
tahoma.0 | 2022-03-29 15:06:28.926 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:01:26.447 | warn | refresh device state failed
tahoma.0 | 2022-03-29 15:01:26.314 | info | eventRegisterID = d5c44d99-98e4-e192-4d47-d4fab944eebb
tahoma.0 | 2022-03-29 15:01:09.190 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:56:06.323 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:56:06.211 | info | eventRegisterID = d5bf6b32-98e4-e192-4d47-d4fa2c04483a
tahoma.0 | 2022-03-29 14:55:50.708 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:50:46.255 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:50:46.140 | info | eventRegisterID = d5ba88ec-98e4-e192-4d47-d4fadcac4bf8
tahoma.0 | 2022-03-29 14:50:27.965 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:45:26.174 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:45:26.055 | info | eventRegisterID = d5b5a697-98e4-e192-4d47-d4fa1e2e4662
tahoma.0 | 2022-03-29 14:45:07.421 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:40:06.101 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:40:05.997 | info | eventRegisterID = d5b0c45d-98e4-e192-4d47-d4fab2bd2af1
tahoma.0 | 2022-03-29 14:39:48.127 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:34:46.051 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:34:45.949 | info | eventRegisterID = d5abe22c-98e4-e192-4d47-d4fa760eb9f4
tahoma.0 | 2022-03-29 14:34:31.446 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:29:26.265 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:29:26.151 | info | eventRegisterID = d5a700f6-98e4-e192-4d47-d4fa2e6aa647
tahoma.0 | 2022-03-29 14:29:07.577 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:24:25.855 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:24:05.848 | info | eventRegisterID = d5a21dc8-98e4-e192-4d47-d4fa96742c4c
tahoma.0 | 2022-03-29 14:23:47.502 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:19:25.906 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:18:45.811 | info | eventRegisterID = d59d3ba4-98e4-e192-4d47-d4fadcea788f
tahoma.0 | 2022-03-29 14:18:29.275 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:14:25.744 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:13:25.738 | info | eventRegisterID = d598595b-98e4-e192-4d47-d4fa2c908d7c
tahoma.0 | 2022-03-29 14:13:07.902 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:09:25.710 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:08:05.682 | info | eventRegisterID = d5937722-98e4-e192-4d47-d4fad4069a32
tahoma.0 | 2022-03-29 14:07:56.065 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:04:25.663 | warn | refresh device state failed
tahoma.0 | 2022-03-29 14:02:45.629 | info | eventRegisterID = d58e94ee-98e4-e192-4d47-d4fa2dd340b2
tahoma.0 | 2022-03-29 14:02:30.163 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:59:25.597 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:58:08.563 | warn | Body: "<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n <!-- PROD1 -->\n <style>\n body {\n font-family: Arial, Verdana, Helvetica, sans-serif;\n\tfont-size: 10pt;\n\tcolor: black;\n } \n </style>\n</head>\n<body>\n<div align=\"center\">\n<br/><br/><br/><br/>\n<table border=\"0\" width=\"90%\">\n <tr>\n <td width=\"50%\" align=\"center\"><img src=\"/error/overkiz_logo.gif\"/></td>\n <td>\n <p class=\"intro\">\n <b>Server is down for maintenance</b><br/>\n <br/>\n We are sorry for the inconvenience.<br/>\n Please try again in a few minutes.\n </p>\n </td>\n </tr>\n</table>\n</div>\n</body>\n\n</html>\n\n"
tahoma.0 | 2022-03-29 13:58:08.562 | warn | Response: {"statusCode":502,"body":"<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n <!-- PROD1 -->\n <style>\n body {\n font-family: Arial, Verdana, Helvetica, sans-serif;\n\tfont-size: 10pt;\n\tcolor: black;\n } \n </style>\n</head>\n<body>\n<div align=\"center\">\n<br/><br/><br/><br/>\n<table border=\"0\" width=\"90%\">\n <tr>\n <td width=\"50%\" align=\"center\"><img src=\"/error/overkiz_logo.gif\"/></td>\n <td>\n <p class=\"intro\">\n <b>Server is down for maintenance</b><br/>\n <br/>\n We are sorry for the inconvenience.<br/>\n Please try again in a few minutes.\n </p>\n </td>\n </tr>\n</table>\n</div>\n</body>\n\n</html>\n\n","headers":{"date":"Tue, 29 Mar 2022 11:58:05 GMT","server":"Apache","strict-transport-security":"max-age=31536000; includeSubDomains","last-modified":"Mon, 16 Dec 2013 13:07:48 GMT","etag":"\"2c3-4eda67f9a1100\"","accept-ranges":"bytes","content-length":"707","connection":"close","content-type":"text/html"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch","path":"/enduser-mobile-web/enduserAPI/events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch"},"method":"POST","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=C1AA8A24FDE2079C970101145F9C7A11","accept":"application/json","content-type":"application/json","content-length":2}}}
tahoma.0 | 2022-03-29 13:58:08.561 | warn | error during tahomalink request: null, request path: events/d589b6aa-98e4-e192-4d47-d4fa71f25dd1/fetch with payload:{}
tahoma.0 | 2022-03-29 13:57:26.586 | info | eventRegisterID = d589b6aa-98e4-e192-4d47-d4fa71f25dd1
tahoma.0 | 2022-03-29 13:57:22.948 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:57:10.497 | warn | Body: "<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n <!-- PROD1 -->\n <style>\n body {\n font-family: Arial, Verdana, Helvetica, sans-serif;\n\tfont-size: 10pt;\n\tcolor: black;\n } \n </style>\n</head>\n<body>\n<div align=\"center\">\n<br/><br/><br/><br/>\n<table border=\"0\" width=\"90%\">\n <tr>\n <td width=\"50%\" align=\"center\"><img src=\"/error/overkiz_logo.gif\"/></td>\n <td>\n <p class=\"intro\">\n <b>Server is down for maintenance</b><br/>\n <br/>\n We are sorry for the inconvenience.<br/>\n Please try again in a few minutes.\n </p>\n </td>\n </tr>\n</table>\n</div>\n</body>\n\n</html>\n\n"
tahoma.0 | 2022-03-29 13:57:10.496 | warn | Response: {"statusCode":502,"body":"<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n <!-- PROD1 -->\n <style>\n body {\n font-family: Arial, Verdana, Helvetica, sans-serif;\n\tfont-size: 10pt;\n\tcolor: black;\n } \n </style>\n</head>\n<body>\n<div align=\"center\">\n<br/><br/><br/><br/>\n<table border=\"0\" width=\"90%\">\n <tr>\n <td width=\"50%\" align=\"center\"><img src=\"/error/overkiz_logo.gif\"/></td>\n <td>\n <p class=\"intro\">\n <b>Server is down for maintenance</b><br/>\n <br/>\n We are sorry for the inconvenience.<br/>\n Please try again in a few minutes.\n </p>\n </td>\n </tr>\n</table>\n</div>\n</body>\n\n</html>\n\n","headers":{"date":"Tue, 29 Mar 2022 11:57:07 GMT","server":"Apache","strict-transport-security":"max-age=31536000; includeSubDomains","last-modified":"Mon, 16 Dec 2013 13:07:48 GMT","etag":"\"2c3-4eda67f9a1100\"","accept-ranges":"bytes","content-length":"707","connection":"close","content-type":"text/html"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","path":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689"},"method":"GET","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=B986E6BA830BCC1F210DDF1D719AAA1C","accept":"application/json","content-type":"application/json","content-length":2}}}
tahoma.0 | 2022-03-29 13:57:10.495 | warn | error during tahomalink request: null, request path: setup/gateways/2003-6731-1689 with payload:{}
tahoma.0 | 2022-03-29 13:55:19.790 | warn | Body: "<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n <!-- PROD1 -->\n <style>\n body {\n font-family: Arial, Verdana, Helvetica, sans-serif;\n\tfont-size: 10pt;\n\tcolor: black;\n } \n </style>\n</head>\n<body>\n<div align=\"center\">\n<br/><br/><br/><br/>\n<table border=\"0\" width=\"90%\">\n <tr>\n <td width=\"50%\" align=\"center\"><img src=\"/error/overkiz_logo.gif\"/></td>\n <td>\n <p class=\"intro\">\n <b>Server is down for maintenance</b><br/>\n <br/>\n We are sorry for the inconvenience.<br/>\n Please try again in a few minutes.\n </p>\n </td>\n </tr>\n</table>\n</div>\n</body>\n\n</html>\n\n"
tahoma.0 | 2022-03-29 13:55:19.789 | warn | Response: {"statusCode":502,"body":"<html>\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>Overkiz - Universal HomeControl</title>\n <!-- PROD1 -->\n <style>\n body {\n font-family: Arial, Verdana, Helvetica, sans-serif;\n\tfont-size: 10pt;\n\tcolor: black;\n } \n </style>\n</head>\n<body>\n<div align=\"center\">\n<br/><br/><br/><br/>\n<table border=\"0\" width=\"90%\">\n <tr>\n <td width=\"50%\" align=\"center\"><img src=\"/error/overkiz_logo.gif\"/></td>\n <td>\n <p class=\"intro\">\n <b>Server is down for maintenance</b><br/>\n <br/>\n We are sorry for the inconvenience.<br/>\n Please try again in a few minutes.\n </p>\n </td>\n </tr>\n</table>\n</div>\n</body>\n\n</html>\n\n","headers":{"date":"Tue, 29 Mar 2022 11:55:19 GMT","server":"Apache","strict-transport-security":"max-age=31536000; includeSubDomains","last-modified":"Mon, 16 Dec 2013 13:07:48 GMT","etag":"\"2c3-4eda67f9a1100\"","accept-ranges":"bytes","content-length":"707","connection":"close","content-type":"text/html"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","path":"/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/gateways/2003-6731-1689"},"method":"GET","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=B986E6BA830BCC1F210DDF1D719AAA1C","accept":"application/json","content-type":"application/json","content-length":2}}}
tahoma.0 | 2022-03-29 13:55:19.787 | warn | error during tahomalink request: null, request path: setup/gateways/2003-6731-1689 with payload:{}
tahoma.0 | 2022-03-29 13:54:25.547 | warn | refresh device state failed
tahoma.0 | 2022-03-29 13:52:05.526 | info | eventRegisterID = d584d086-98e4-e192-4d47-d4fae48364fe
tahoma.0 | 2022-03-29 13:51:47.042 | warn | refresh device state failed
Add state to device with current moving direction
I can not change the state, Only in expert Modus i can write on, but i has no effet,
What make i wrong?
THX
tahoma.0 | 2021-12-21 11:23:16.556 | warn | error during tahomalink request: Error: getaddrinfo EAI_AGAIN www.tahomalink.com, request path: setup/gateways/2005-XXXX-XXXX with payload:{} |
---|---|---|---|
tahoma.0 | 2021-12-21 11:23:08.494 | warn | error during tahomalink request: Error: getaddrinfo EAI_AGAIN www.tahomalink.com, request path: setup/gateways/2005-XXXX-XXXXwith payload:{} |
tahoma.0 | 2021-12-21 11:23:00.428 | warn | error during tahomalink request: Error: getaddrinfo EAI_AGAIN www.tahomalink.com, request path: setup/gateways/2005-XXXX-XXXXwith payload:{} |
tahoma.0 | 2021-12-21 11:22:52.364 | warn | error during tahomalink request: Error: getaddrinfo EAI_AGAIN www.tahomalink.com, request path: setup/gateways/2005-XXXX-XXXXwith payload:{} |
Etwa zwei Tage läuft der Adapter ohne Probleme, dann wird das Logfile im Bereich von wenigen Sekunden von dieser Meldung geflutet und die Rollläden können nicht mehr gesteuert werden. Hab auch schon die Werte deutlich höher eingestellt. Gibt es da noch eine Möglichkeit etwas zu machen?
Gerät ist eine Tahoma Switch
Danke für deine Arbeit und das es eigentlich toll funktioniert, obwohl Somfy hier einige Steine in den Weg legt...
Cannot login, see error code in the subject.
When i use the same user and password i am able to login to
https://www.tahomalink.com/enduser-mobile-web/steer-html5-client/tahoma/
Die Aktuelle generation Rollladenmotoren (RS100 io) haben einen 'leise'-Modus in welchem die Rollläden mit reduzierter Geschwindigkeit fahren und somit kaum hörbar sind.
(siehe hier)
Es wäre schön, wenn sich diese Funktion in den Adapter integrieren lassen würde!
Hello,
i use your adapter to control my tahoma-devices, but i can not change the temperature for my heaters. The devices are there and show the correct data, but i can not change the temperature.
Like the shutters, i assume, that i change core:TargetTemperatureState to set the temperature and see the current temperature in core:TemperatureState.
Maybe you can update your adapter, so that core:TargetTemperatureState can be changed?
Thank you!
I did not get any commands for my rts:ExteriorBlindRTSComponent UpDownExteriorScreen component.
The reason is, that Tahoma reports nparams=1
instead of 0 so updateDevice
simply discards them without reason.
As a hotfix for myself, I used this change:
` var allowedCommandsWithOneParam = ["up", "down", "open", "close", "stop"];
if(command.nparams === 0 || (command.nparams === 1 && allowedCommandsWithOneParam.indexOf(command.commandName)>=0)) {
`
Then it works correctly.
I strongly suggest to fix that in a more general way asap, and also to add full logging for commands that have been discarded for whatever reason.
I find this adapter to be totally erradicate / random in behavior. Sometimes it works, sometimes it doesnt.
I reported already issues a while back e.g. in #18 but even the latest version doesnt work reliably.
The worst thing is, when you close your shutter and then you really need to stop because something is in the way (e.g. flowers or a child or a cat or whatever) . And then it doesnt work.
I am curious, if it really works for other people and you trust this adapter to be used...?
P.S.
I also have the original Tahoma app installed on my mobile phone and it works not perfect but at least the Stop-Button is somewhat more reliable
Dear Adapter developer,
with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.
If something is not correct this is logged as 'warning' or 'info' log.
Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!
Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1749
Please close the issue after you checked it.
Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!
Version: stable=0.6.1 (60 days old) => latest=0.7.1 (15 days old)
Installs: stable=549 (54.74%), latest=105 (10.47%), total=1003
Click to edit
Hi,
i recently updated my raspberry pi and my iobroker. The Adapter is still green, but connection fails.
Does anybody have the same issue? Any ideas?
Best regards
Alexander
It seems, that a device name e.g. "Esszimmer_RM_6,7" is not allowed. Maybe there is a problem by using the "comma" symbol.
All the other devices can be controlled without any problems. This device names are all without a "comma" symbol.
Thanks
Log:
(506) State "tahoma.0.devices.Esszimmer_RM_6_7.commands.down:slow" has no existing object, this might lead to an error in future versions
(506) Used invalid characters: tahoma.0.devices.Esszimmer_RM_6,7.commands.down:slow changed to tahoma.0.devices.Esszimmer_RM_6_7.commands.down:slow
Version:
Hello,
I have the newest adapter plugin 0.6.1. The Tahoma Box has also the newest firmware.
The adapter start and login to tahoma. All OK, all green.
But the commands don't work (open, close etc.).
The next problem are the state. If I open or close the blind (with tahoma app), the levels never update.
But only if I restart the plugin, the levels are update correctly.
What can I do?
Hi. Since a couple of day's my RTS devices only have "test" and "identify" commands. IO devices and scenes are ok. I've removed all DP, removed special characters from the names, disconnected all apps from the API and reconnected with fresh crendentials. The log shows no warning.
Jeden zweiten Tag verliert der Adapter die Verbindung. Teilweise helfen erst mehrmalige Neustarts.
Das Protokoll ist voll davon: error during tahomalink request: ->401 retry login
Version v0.6.1
Boxversion 2022.2.4-13
Dear Adapter developer,
Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.
Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16
Please add both versions to the adapter testing which is executed on commits.
If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!
On questions please talk to us at ioBroker/ioBroker.js-controller#1138
Please close the issue after you checked it.
Thank you very much for your support!
I tryed using the local API for tahoma today, but it wont connect to the API. I tryed both w/ and wo/ MDNS.
I activated the developer mode on the Somfy homepage. Is there anything else i have to do to start using the local API?
iobroker log:
tahoma.0 | 2022-06-02 08:34:39.510 | warn | {"error":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"gateway-XXXX-XXXX-XXXX"}} |
---|---|---|---|
tahoma.0 | 2022-06-02 08:34:39.510 | warn | setup failed! |
tahoma.0 | 2022-06-02 08:34:39.509 | warn | error during request: Error: getaddrinfo ENOTFOUND gateway-XXXX-XXXX-XXXX, request path: setup with payload:{} |
tahoma.0 | 2022-06-02 08:34:39.436 | info | Using stored bearer token XXXXXXxxxxxxXXXXXxxxx |
tahoma.0 | 2022-06-02 08:34:39.435 | info | Adapter will connect to Tahoma Box via local API. |
tahoma.0 | 2022-06-02 08:34:39.434 | info | Configured polling interval: 20000 |
tahoma.0 | 2022-06-02 08:34:39.434 | info | [START] Starting adapter tahoma v0.7.1.3 |
tahoma.0 | 2022-06-02 08:34:39.346 | info | starting. Version 0.7.1 (non-npm: Excodibur/ioBroker.tahoma#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) in /opt/iobroker/node_modules/iobroker.tahoma, node: v14.19.1, js-controller: 4.0.23 |
Version: stable=0.4.3 (79 days old) => latest=0.5.0 (15 days old)
Installs: stable=427 (55.67%), latest=94 (12.26%), total=767
Click to edit
In order to bring the roller shutter up and down i am missing the states. Last year i was able to do this within ioBroker. Today there are no more such states up and down. Thas all what i have for my RTS shutter.
i want to delete the queue everytime you press for example down
because when i dont do this and someone presses more then 1 time the shutter starts a 2nd time if you stop the first attempt with the remote
Hi, does it works with Somfy CONNEXOON for IO?
Describe the bug
I am frequently getting the following warn message:
Object of state "tahoma.0.devices.EG_Wohnen_Ost.states.core:ManufacturerSettingsState" is missing the required property "common.type"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logfiles
Ideally, set the adapter to DEBUG-loglevel and provide the logfiles for it as well. Before providing the logfiles, please check entries marked with Response: do not contain any personalized data, like your private address (under location), or similar.
Versions:
Additional context
Add any other context about the problem here.
Irregularly but filled too often, the Tahoma adapter can no longer connect with.
Then the log says that the login was not successful and a new login will be tried.
If I then take the adapter offline for a longer time and restart it after this time, it can log in again and the listener is registered.
I have also already set the time that the adapter should fetch the data from Tahoma to 0.
I do not need any status from the Tahoma box. I only want to send commands. And for that I am indebted to the greatest thanks. Totally ingenious.
Please let me know, if I do something wrong or check the issue and let me know, what I have to do.
Many thanks in advance.
Sven
Hi,
I'm planning to integrate my Somfy shutter control into ioBroker. Is the new TaHoma Switch supported by your adapter? Or is only the TaHoma Premium box supported?
I checked the following sheet that compares the compatibility of TaHoma Switch, TaHoma DIN Rail and TaHoma Premium.
According to this table the local API is also supported in the new TaHoma Switch. I assume your adapter is using this API for access?
Any hint is appreciated so that I do not buy the wrong box. ;-)
Kind regards
Florian
Im connecting to the local API and it seems to work but im getting this warining all the time. Any idea?
tahoma.0 | 2022-06-12 19:51:21.651 | warn | Failed getting execution state for 44283f5a-12d9-4aaa-a8f6-9a48bab5086b |
---|---|---|---|
tahoma.0 | 2022-06-12 19:51:21.651 | warn | Body: "{"error":"Unknown object.","errorCode":"UNSPECIFIED_ERROR"}" |
tahoma.0 | 2022-06-12 19:51:21.650 | warn | Response: {"statusCode":400,"body":"{"error":"Unknown object.","errorCode":"UNSPECIFIED_ERROR"}","headers":{"content-type":"application/json","access-control-allow-origin":"*","access-control-allow-headers":"Authorization","content-length":"59","connection":"close","date":"Sun, 12 Jun 2022 17:51:21 GMT","server":"KizOs"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"gateway-XXXX-XXXX-XXXX:8443","port":"8443","hostname":"gateway-XXXX-XXXX-XXXX","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/1/enduserAPI/history/executions/44283f5a-12d9-4aaa-a8f6-9a48bab5086b","path":"/enduser-mobile-web/1/enduserAPI/history/executions/44283f5a-12d9-4aaa-a8f6-9a48bab5086b","href":"https://gateway-XXXX-XXXX-XXXX:8443/enduser-mobile-web/1/enduserAPI/history/executions/44283f5a-12d9-4aaa-a8f6-9a48bab5086b"},"method":"GET","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","Authorization":"Bearer 629de067aa395421346a","Content-type":"application/json"}}} |
tahoma.0 | 2022-06-12 19:51:21.648 | warn | error during request: null, request path: history/executions/44283f5a-12d9-4aaa-a8f6-9a48bab5086b with payload:{} |
Version: stable=0.3.2 (37 days old) => latest=0.3.3 (30 days old)
Installs: stable=207 (71.38%), latest=79 (27.24%), total=290
Click to edit
I updated to version 0.5.03 today and since then I get this error and no device is working anymore:
error during tahomalink request: Error: connect ETIMEDOUT 178.32.15.131:443, request path: login with payload: +++redacted+++
Somfy has updated Tahoma to version 2.20 today (March 23, 2021).
Since then, I get these 2 warnings in the log file for each device every 25 seconds:
State "tahoma.0.devices.xxxxxxxxx.states.io:PriorityLockOriginatorState" has no existing object, this might lead to an error in future versions
State "tahoma.0.devices.xxxxxxxxx.states.io:PriorityLockLevelState" has no existing object, this might lead to an error in future versions
Can this be related to the TaHoma update?
Can you take a look at this and correct it in the adapter if possible?
Thanks for your effort.
Versions:
Login is retried every (few) seconds instead of waiting for 2 minutes as intended.
Hi,
sadly im still strugeling with the adapter. in the beginning it worked but after a while the connection via the internet api didnt work anymore because he could not login. I switched to the locale API but its not working either.
Im getting this error (i replaced my id by 1234-1234-1234):
tahoma.0 | 2022-06-06 13:09:32.845 | warn | {"error":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"gateway-1234-1234-1234"}}
-- | -- | -- | --
tahoma.0 | 2022-06-06 13:09:32.844 | warn | setup failed!
tahoma.0 | 2022-06-06 13:09:32.843 | warn | error during request: Error: getaddrinfo ENOTFOUND gateway-1234-1234-1234, request path: setup with payload:{}
tahoma.0 | 2022-06-06 13:09:32.627 | info | Using stored bearer token 629de067aa395421346a
tahoma.0 | 2022-06-06 13:09:32.623 | info | Adapter will connect to Tahoma Box via local API.
tahoma.0 | 2022-06-06 13:09:32.618 | info | Configured polling interval: 20000
tahoma.0 | 2022-06-06 13:09:32.616 | info | [START] Starting adapter tahoma v0.7.1.3
can anybody help?
thanks in advance
Since i upgraded to node.js from version 10 to 12 the adapter isn't working any more. The status is green but it accepts no commands any more.
Tahoma adapter stoped working in IOBRoker.
2022-01-31 07:14:10.520 | warn | error during tahomalink request: Error: certificate has expired, request path: login with payload: +++redacted+++
2022-01-31 07:14:06.252 | warn | error during tahomalink request: Error: certificate has expired, request path: setup/gateways/1238-1010-7619 with payload:{} |
---|---|---|
tahoma.0 | 2022-01-31 07:14:06.237 | warn |
tahoma.0 | 2022-01-31 07:14:06.234 | warn |
tahoma.0 | 2022-01-31 07:14:06.226 | warn |
tahoma.0 | 2022-01-31 07:14:05.618 | warn |
tahoma.0 | 2022-01-31 07:14:00.648 | warn |
tahoma.0 | 2022-01-31 07:13:55.614 | warn |
tahoma.0 | 2022-01-31 07:13:50.611 | warn |
tahoma.0 | 2022-01-31 07:13:45.605 | warn |
tahoma.0 | 2022-01-31 07:13:40.607 | warn |
tahoma.0 | 2022-01-31 07:13:36.339 | warn |
tahoma.0 | 2022-01-31 07:13:36.327 | warn |
tahoma.0 | 2022-01-31 07:13:36.313 | warn |
tahoma.0 | 2022-01-31 07:13:36.299 | warn |
tahoma.0 | 2022-01-31 07:13:36.244 | warn |
tahoma.0 | 2022-01-31 07:13:36.207 | warn |
tahoma.0 | 2022-01-31 07:13:36.193 | warn |
tahoma.0 | 2022-01-31 07:13:36.189 | warn |
tahoma.0 | 2022-01-31 07:13:36.182 | warn |
tahoma.0 | 2022-01-31 07:13:35.603 | warn |
tahoma.0 | 2022-01-31 07:13:30.601 | warn |
tahoma.0 | 2022-01-31 07:13:25.599 | warn |
tahoma.0 | 2022-01-31 07:13:20.596 | warn |
tahoma.0 | 2022-01-31 07:13:15.595 | warn |
tahoma.0 | 2022-01-31 07:13:14.406 | warn |
tahoma.0 | 2022-01-31 07:13:14.406 | warn |
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Excodibur/ioBroker.tahoma
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.