awahlig / homebridge-casambi

Homebridge Casambi Plugin
Apache License 2.0
18 stars 3 forks source link

Not working after update to Casambi FW v41.0 #36

Closed m-a-r-c-u-s closed 8 months ago

m-a-r-c-u-s commented 8 months ago

I just updated the firmware of all my devices to v41.0 released today and everything stopped working with Homebridge. Nothing but the firmware has changed, is there anyone else with the same issue?

I can toggle light switches on/off in both Homebridge and in Home App but it doesn't affect the light state nor can Homebridge and the Home App read the light state when I turn them on/off in the Casambi app.

Restarted Homebridge, Homekit Hub and Casambi Gatway several times without any luck. On boot up the logs complain about "Unsupported control type overheat for unit" but backtracking in the logs show that this was always the case even when it was working.

Logs show this: [04/01/2024, 21:24:33] [Homebridge Casambi] Launched child bridge with PID 8598 [04/01/2024, 21:24:36] [Homebridge Casambi] Loaded homebridge-casambi v0.3.4 child bridge successfully [04/01/2024, 21:24:34] Registering platform 'homebridge-casambi.Casambi' [04/01/2024, 21:24:37] [Homebridge Casambi] Finished initializing platform: Homebridge Casambi [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Vardagsrum Kortsida [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Hall Entré [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Vardagsrum Soffbord [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Hall Kök [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Vardagsrum Matbord [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Vardagsrum Fönster [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Kök Ön [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Kök Tak [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Kök Fönster [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Kök Överskåp [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 1 Tak [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 1 Fönster [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 1 Garderob [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Badrum [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: WC [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Garage [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 2 Tak [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 2 Fönster [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 3 Tak [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Sovrum 3 Fönster [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Kontor Tak [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Kontor Fönster [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Atrium Markbelysning [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Atrium Väggbelysning [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Tvättstuga [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Framsida Markbelysning [04/01/2024, 21:24:37] [Homebridge Casambi] Loading accessory from cache: Medierum [04/01/2024, 21:24:37] Publishing bridge accessory (name: Homebridge Casambi, publishInfo: { username: ':::::', *EDITED* port: 51201, pincode: '-**-***', category: 2, bind: [ [length]: 0 ], mdns: undefined, addIdentifyingMaterial: true, advertiser: 'ciao' }). [04/01/2024, 21:24:38] [Homebridge Casambi] Executed didFinishLaunching callback [04/01/2024, 21:24:38] [Homebridge Casambi] Logging in to Casambi network [04/01/2024, 21:24:42] [Homebridge Casambi] Successfully logged in to Casambi network Huset [04/01/2024, 21:24:42] [Homebridge Casambi] Will ignore fixtureIds Set(1) { '1' } [04/01/2024, 21:24:43] [Homebridge Casambi] Found 53 unit(s) in the network Huset [04/01/2024, 21:24:43] [Homebridge Casambi] Unit Vardagsrum Kortsida is a Luminaire with fixtureId 526 [04/01/2024, 21:24:43] [Homebridge Casambi] Unit info for Vardagsrum Kortsida { id: 1, address: 'd41c4102986f', name: 'Vardagsrum Kortsida', firmwareVersion: '41.0', position: 1, fixtureId: 526, groupId: 1, type: 'Luminaire' } [04/01/2024, 21:24:43] [Homebridge Casambi] UUID data for unit Vardagsrum Kortsida is d41c4102986f [04/01/2024, 21:24:43] [Homebridge Casambi] Restoring accessory Vardagsrum Kortsida [04/01/2024, 21:24:43] [Homebridge Casambi] Fixture info for unit Vardagsrum Kortsida { id: 526, type: 'Luminaire', vendor: 'Casambi', model: 'CBU-TED', isLuminaire: true, isSwitch: false, isLightSensor: false, isPresenceSensor: false, translations: {}, controls: [ { type: 'overheat', dataname: 'overheat', id: 0, readonly: true }, { type: 'dimmer', id: 2, readonly: false } ] } [04/01/2024, 21:24:43] [Homebridge Casambi] Unsupported control type overheat for unit Vardagsrum Kortsida


And then it lists all my connected Casambi units

@awahlig any ideas?

Schempershofe commented 8 months ago

As I started to experience the same issues without any updates a couple of hours ago: maybe this is rather related to the Casambi network itself. I realized my Casambi API Key officially expired on 31.12., maybe thats part of the problem --> Already asked the support for a new key in the meantime.

m-a-r-c-u-s commented 8 months ago

Hopefully the firmware update just happend at the same time API started acting up for you @Schempershofe. It kinda seems like this is a API issue. API key should however not need be extended anymore they changed them to be permant. I'll however contact support and se if there is somthing wrong with the API or the Key.

Schempershofe commented 8 months ago

Let’s wait and see if others are experiencing the same issue right now. Getting some „unauthorized“ error messages in the Casambi Websocket console, that made me remember that my key (requested in march 23) had an expiration date on 31.01. (definitely been working past that date.)Am 05.01.2024 um 07:25 schrieb m-a-r-c-u-s @.***>: Hopefully the firmware update just happend at the same time API started acting up for you @Schempershofe. It kinda seems like this is a API issue. API key should however not need be extended anymore. They changed it in 2021... atleast for my key. See the reply I got from support in 2021. "We'll continue to extend existing API keys by three months at a time until our cost structur ehas been implemented. After the cost structure has been implemented, API key access will be permanent. However, I've now extended your key until July." Casambi Support 2021-04-26

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

m-a-r-c-u-s commented 8 months ago

@Schempershofe support confims they have gotten several tickets since yesterday. Investigation is ongoing to where the problem is. Will hopefully be resolved soon.

They also confirmed that my APIkey i set to expire 2123... I think 100 years will do 😅

m-a-r-c-u-s commented 8 months ago

API issue resolved. Everything is working again.