homebridge-tahoma icon indicating copy to clipboard operation
homebridge-tahoma copied to clipboard

Sensor values not visible in Homekit

Open Zoltanvajt opened this issue 2 years ago • 7 comments

Hi, Since yesterday 2022.06.22. The values of Somfy Sunis IO Wireless Light sensor (Fenyerzekelo) and Zigbee Temperature (24582/1#1) and Humidity sensor (24582/1#2) are not visible in Homekit. This week my Tahoma Switch received an FW ugrade (this enabled the Zigbee 3.0 devices to connect) not sure if this is related. Sorry Labels are in Hungarian.

So devices are sending values to Tahoma Switch and I can see this in the Tahoma App image

I have set-up the Thoma Plugin in Hoobs and devices are showing up is Hoobs and Homekit. I can see Values for the Zigbee temperature sensor and the Humidity (Light level did never show up here so thats not an issue) image

When I open the Homekit App I can see the devices but there are no values. image image This says "current light level" "Unknown"

image image Second photo says devices are updating, but they never get a velue.

Is this an issue maybe my config are not good? Thanks, Zoltan

Zoltanvajt avatar Jun 23 '22 13:06 Zoltanvajt

Somfy disabled the API service and moved towards a local API. (Which is good!) But this plugin hasn't been updated in a while and doesn't support the local API yet, so for now, you're SOL I'm afraid.

OverSoft avatar Jun 23 '22 16:06 OverSoft

Any plans for the Local API Support? thx

On Thu, Jun 23, 2022 at 6:34 PM OverSoft @.***> wrote:

Somfy disable the API service and moved towards a local API. (Which is good!) But this plugin hasn't been updated in a while and doesn't support the local API yet, so for now, you're SOL I'm afraid.

— Reply to this email directly, view it on GitHub https://github.com/dubocr/homebridge-tahoma/issues/371#issuecomment-1164631308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYHUNLNY4GCW6CLF7ZE5OA3VQSGZ5ANCNFSM5ZUOP5JQ . You are receiving this because you authored the thread.Message ID: @.***>

Zoltanvajt avatar Jun 24 '22 08:06 Zoltanvajt

I don't know, it's not my project. I hastily patched it at home (it's not a big change), but this is anything but production code.

OverSoft avatar Jun 24 '22 10:06 OverSoft

Any help you can send so i can do that maybe as well? Or contact to a project member? Thx!

  1. jún. 24. dátummal, 12:48 időpontban OverSoft @.***> írta:

 I don't know, it's not my project. I hastily patched it at home (it's not a big change), but this is anything but production code.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

Zoltanvajt avatar Jun 24 '22 11:06 Zoltanvajt

Not me, sorry. I've hacked together something that works for me real quick. The reason I'm not forking this and releasing it myself is: A) I generated a working token manually, this would be very hard to do for someone that doesn't have in depth knowledge of the Somfy API. B) I don't want to handle housekeeping, development or support, sorry. I'm busy enough as is.

OverSoft avatar Jun 24 '22 17:06 OverSoft

Not me, sorry. I've hacked together something that works for me real quick. The reason I'm not forking this and releasing it myself is: A) I generated a working token manually, this would be very hard to do for someone that doesn't have in depth knowledge of the Somfy API. B) I don't want to handle housekeeping, development or support, sorry. I'm busy enough as is.

Hi! I was trying to tweak the plugin to be able to communicate with the local API.However I get some "socket hang up" errors. I also generated my token manually and I'm able to call the local API via curl or postman but no luck via homebridge. Is there no way you can share your "hacked" code?

gurtjun avatar Jul 06 '22 15:07 gurtjun

Hi guys,

Local API is currently in development. You can start to try it on latest plugin version 2.2.20. You will have to:

  1. Activate developer mode (somfy.com > My Account > Activate developer mode)
  2. Generate API credentials at https://dev.duboc.pro/homebridge-tahoma
  3. Select Local API service with gateway IP or PIN number as Username and previously generated token as Password

Tests are always in progress by users as I have no gateway anymore (TaHoma nor Cozytouch or other).

dubocr avatar Aug 31 '22 12:08 dubocr

Thanks for the update! How can I get the latest plugin to my Hoobs?

On Wed, Aug 31, 2022 at 2:01 PM Romain DUBOC @.***> wrote:

Hi guys,

Local API is currently in development. You can start to try it on latest plugin version 2.2.20. You will have to:

  1. Activate developer mode (somfy.com https://www.somfy.com > My Account > Activate developer mode)
  2. Generate API credentials at https://dev.duboc.pro/homebridge-tahoma
  3. Select Local API service with gateway IP or PIN number as Username and previously generated token as Password

Tests are always in progress by users as I have no gateway anymore (TaHoma nor Cozytouch or other).

— Reply to this email directly, view it on GitHub https://github.com/dubocr/homebridge-tahoma/issues/371#issuecomment-1232843691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYHUNLPELCRPMZVQTCPDNQLV35CRJANCNFSM5ZUOP5JQ . You are receiving this because you authored the thread.Message ID: @.***>

Zoltanvajt avatar Aug 31 '22 12:08 Zoltanvajt

Thanks for the update! How can I get the latest plugin to my Hoobs?

It's sometime longer than on Homebridge but the update must appear in plugin tab.

dubocr avatar Aug 31 '22 13:08 dubocr

OK will check! Thanks once again!

On Wed, Aug 31, 2022 at 3:12 PM Romain DUBOC @.***> wrote:

Thanks for the update! How can I get the latest plugin to my Hoobs? … <#m_3003923734584575600_>

It's sometime longer than on Homebridge but the update must appear in plugin tab.

— Reply to this email directly, view it on GitHub https://github.com/dubocr/homebridge-tahoma/issues/371#issuecomment-1232920865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYHUNLNG5Q7YQLTN6SXCYZDV35K5HANCNFSM5ZUOP5JQ . You are receiving this because you authored the thread.Message ID: @.***>

Zoltanvajt avatar Aug 31 '22 13:08 Zoltanvajt

Hi, After downloded 2.2.21, I added "service": "local", to the config, but I receive errors on Hoobs. User and PW were generated as advised before and also dev mode is enabed on Tahoma Switch (just added different vlues here). [image: image.png]

[image: image.png]

Am I missing something?

Regrads, Zoltan

On Wed, Aug 31, 2022 at 3:21 PM Zoltan Feher @.***> wrote:

OK will check! Thanks once again!

On Wed, Aug 31, 2022 at 3:12 PM Romain DUBOC @.***> wrote:

Thanks for the update! How can I get the latest plugin to my Hoobs? … <#m_1803335594405317443_m_3003923734584575600_>

It's sometime longer than on Homebridge but the update must appear in plugin tab.

— Reply to this email directly, view it on GitHub https://github.com/dubocr/homebridge-tahoma/issues/371#issuecomment-1232920865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYHUNLNG5Q7YQLTN6SXCYZDV35K5HANCNFSM5ZUOP5JQ . You are receiving this because you authored the thread.Message ID: @.***>

Zoltanvajt avatar Sep 01 '22 08:09 Zoltanvajt

Hi,

Images are not attached in mail reply. Could you please copy error or post image on GitHub.

Thanks

dubocr avatar Sep 01 '22 20:09 dubocr

Hi Romain, It was my fault. Ugrade was not perfect. Now I fixed that and installed 2.2.22.

Plugin found my devices but I am getting such "Polling errors" and values still does not appear in homekit image

image

Regrads, Zoltan

Zoltanvajt avatar Sep 02 '22 06:09 Zoltanvajt

Hi Romain, It was my fault. Ugrade was not perfect. Now I fixed that and installed 2.2.22.

Plugin found my devices but I am getting such "Polling errors" and values still does not appear in homekit image

image

Regrads, Zoltan

Try to add « .local » after your gateway pin as username : 2008-5424-6552.local Or put the gateway ip adress instead.

dubocr avatar Sep 02 '22 06:09 dubocr

Hi Romain, It was my fault. Ugrade was not perfect. Now I fixed that and installed 2.2.22. Plugin found my devices but I am getting such "Polling errors" and values still does not appear in homekit image image Regrads, Zoltan

Try to add « .local » after your gateway pin as username : 2008-5424-6552.local Or put the gateway ip adress instead.

Adding ".local" will not be necessary (nor acceptable) after release 2.2.23. You will just need to set your gateway PIN as username, plugin will manage to resolve gateway IP with mDNS service. I'll be interested by your log feedback.

Thanks

dubocr avatar Sep 02 '22 11:09 dubocr

Hi Romain, I can now connect to the box with either the .local and the local IP. Now the configuration of the first device connected to the Tahoma Switch fails "4-HaloErkelyAjto" is a Roller shutter. image

It was similar with a Zigbee Temperature/Humidity sensor earlier today (since that I disconnected that device), thats how now the roller sutter popped up. image

It looks like when the first device is there to cinfig there is an issue

Regards, Zoltan

Zoltanvajt avatar Sep 02 '22 11:09 Zoltanvajt

Thanks for your feedbacks. Device definitions are reduced in local API. I just release v2.2.24 it should fix that.

dubocr avatar Sep 02 '22 13:09 dubocr

OK will look for the update and let you know!

Regards, Zoltan

On Fri, Sep 2, 2022 at 3:05 PM Romain DUBOC @.***> wrote:

Thanks for your feedbacks. Device definitions are reduced in local API. I just release v2.2.24 it should fix that.

— Reply to this email directly, view it on GitHub https://github.com/dubocr/homebridge-tahoma/issues/371#issuecomment-1235481808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYHUNLJDJSWWWQFIEYJWYFLV4H3PXANCNFSM5ZUOP5JQ . You are receiving this because you authored the thread.Message ID: @.***>

Zoltanvajt avatar Sep 02 '22 14:09 Zoltanvajt

Thank you @Zoltanvajt, regarding Local API, if any issues can you please continue on topic #367. For your sensor values, can you please open a new Device Integration issue. It will let you selecting device to integrate.

Thank you.

dubocr avatar Sep 04 '22 15:09 dubocr

Thanks Romain! All devices with value issues added to the Device Integration. By the way, great portal created for this!

On Sun, Sep 4, 2022 at 5:42 PM Romain DUBOC @.***> wrote:

Closed #371 https://github.com/dubocr/homebridge-tahoma/issues/371 as completed.

— Reply to this email directly, view it on GitHub https://github.com/dubocr/homebridge-tahoma/issues/371#event-7318624712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYHUNLKGCKB3IPOBR43ZOCDV4S7OPANCNFSM5ZUOP5JQ . You are receiving this because you were mentioned.Message ID: @.***>

Zoltanvajt avatar Sep 17 '22 08:09 Zoltanvajt