Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PositionableHorizontalAwning] Différence de fonctionnement entre les modes serveur somfy et local, pas de retour lock en cas de vent sur store somfy #504

Open
Mvjb31 opened this issue Dec 23, 2023 · 3 comments

Comments

@Mvjb31
Copy link

Mvjb31 commented Dec 23, 2023

Gateway: 0965
Device: Awning > PositionableHorizontalAwning

Bonjour,
Je constate des différences de fonctionnement entre les modes serveur somfy et local:

  • Je n’ai pas le même nombre de devices découverts (mode serveur 17, mode local 8), pourtant mes 4 volets et le store sont bien présents et fonctionnent correctement. Cela doit avoir une incidence sur le point suivant.
  • En effet, une fonctionnalité du store ne fonctionne pas en mode local, c’est le lock en présence de vent. Aucuns logs et aucun retour d’état dans les app HomeKit, Eve et surtout Controller en mode local alors que cela fonctionne en mode serveur.

Heureusement que cette sécurité agit en direct avec le moteur du store mais cela reste gênant pour l’utilisation du status dans des scénarios complexes ou pour l’utilisation du log du plugin que je redirige vers InfluxDB et Grafana.

Pouvez-vous me donner votre avis ? Est-ce une anomalie ? Cela sera t’il corrigé?
Merci,

Ci-dessous 2 extraits de logs dans les 2 modes avec test du vent sur l’anémomètre :
Mode Serveur:

[2023/12/23 14:45:58] [TaHoma] Launched child bridge with PID 25032
[2023/12/23 14:45:58] [TaHoma] Loaded homebridge-tahoma v2.2.55 child bridge successfully
[2023/12/23 14:45:58] [TaHoma] Finished initializing platform: TaHoma
[2023/12/23 14:45:58] [TaHoma] Executed didFinishLaunching callback
[2023/12/23 14:45:58] [TaHoma] POST /login
[2023/12/23 14:45:59] [TaHoma] Enable event polling period every 30 sec
[2023/12/23 14:45:59] [TaHoma] GET /setup/devices
[2023/12/23 14:45:59] [TaHoma] GET /setup/location
[2023/12/23 14:45:59] [TaHoma] POST /events/register
[2023/12/23 14:45:59] [TaHoma] 17 devices discovered
[2023/12/23 14:45:59] [TaHoma] Create accessory: Alarm
[2023/12/23 14:45:59] [TaHoma] Configure device Alarm
[2023/12/23 14:45:59] [TaHoma] Alarm > TSKAlarmController
[2023/12/23 14:45:59] [TaHoma] Create accessory: Store
[2023/12/23 14:45:59] [TaHoma] Configure device Store
[2023/12/23 14:45:59] [TaHoma] Awning > PositionableHorizontalAwning
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet chambre
[2023/12/23 14:45:59] [TaHoma] Configure device Volet chambre
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet salon
[2023/12/23 14:45:59] [TaHoma] Configure device Volet salon
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet bureau
[2023/12/23 14:45:59] [TaHoma] Configure device Volet bureau
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet cuisine
[2023/12/23 14:45:59] [TaHoma] Configure device Volet cuisine
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:46:29] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch

[2023/12/23 14:49:28] [TaHoma] GET /setup/devices
[2023/12/23 14:49:28] [TaHoma] [Store] io:PriorityLockOriginatorState => wind
[2023/12/23 14:49:28] [TaHoma] [Store] core:PriorityLockTimerState => 5370
[2023/12/23 14:49:28] [TaHoma] [Store] io:PriorityLockLevelState => userLevel1
[2023/12/23 14:49:58] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch
[2023/12/23 14:50:28] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch
[2023/12/23 14:50:28] [TaHoma] [Store] core:PriorityLockTimerState => 630
[2023/12/23 14:50:28] [TaHoma] [Store] io:PriorityLockLevelState => comfortLevel1
[2023/12/23 14:50:58] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch

Mode Local:

[2023/12/23 14:52:19] [TaHoma] Launched child bridge with PID 26996
[2023/12/23 14:52:19] [TaHoma] Loaded homebridge-tahoma v2.2.55 child bridge successfully
[2023/12/23 14:52:19] [TaHoma] Finished initializing platform: TaHoma
[2023/12/23 14:52:19] [TaHoma] Executed didFinishLaunching callback
[2023/12/23 14:52:19] [TaHoma] Looking for local gateway with pin xxxx-xxxx-xxxx
[2023/12/23 14:52:19] [TaHoma] Gateway service found: gateway-xxxx-xxxx-xxxx
[2023/12/23 14:52:19] [TaHoma] Gateway IPv4 is xxx.xxx.x.xx
[2023/12/23 14:52:19] [TaHoma] GET /apiVersion
[2023/12/23 14:52:19] [TaHoma] { protocolVersion: '2023.5.4-12' }
[2023/12/23 14:52:19] [TaHoma] Enable event polling period every 30 sec
[2023/12/23 14:52:19] [TaHoma] GET /setup/devices
[2023/12/23 14:52:19] [TaHoma] POST /events/register
[2023/12/23 14:52:19] [TaHoma] 8 devices discovered
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet chambre
[2023/12/23 14:52:19] [TaHoma] Configure device Volet chambre
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet salon
[2023/12/23 14:52:19] [TaHoma] Configure device Volet salon
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:19] [TaHoma] Create accessory: Alarm
[2023/12/23 14:52:19] [TaHoma] Configure device Alarm
[2023/12/23 14:52:19] [TaHoma] Alarm > TSKAlarmController
[2023/12/23 14:52:19] [TaHoma] Create accessory: Store
[2023/12/23 14:52:19] [TaHoma] Configure device Store
[2023/12/23 14:52:19] [TaHoma] Awning > PositionableHorizontalAwning
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet bureau
[2023/12/23 14:52:19] [TaHoma] Configure device Volet bureau
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet cuisine
[2023/12/23 14:52:19] [TaHoma] Configure device Volet cuisine
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:49] [TaHoma] POST /events/9aea634a-3150-47e1-b618-b60a2930bd4a/fetch
[2023/12/23 14:53:19] [TaHoma] POST /events/9aea634a-3150-47e1-b618-b60a2930bd4a/fetch
[2023/12/23 14:53:49] [TaHoma] POST /events/9aea634a-3150-47e1-b618-b60a2930bd4a/fetch

Copy link

There hasn't been any activity on this issue recently.
Please make sure to update to the latest Homebridge TaHoma version to see if that solves the issue.
This issue will be closed in case of inactivity.

@Mvjb31
Copy link
Author

Mvjb31 commented Mar 23, 2024

Of course, I have the latest version, and I still have this issue

@Mvjb31
Copy link
Author

Mvjb31 commented Mar 23, 2024

ChatGPT traduction :

Gateway: 0965
Device: Awning > PositionableHorizontalAwning
Hello,
I’m noticing differences in operation between the Somfy server and local modes:

•	I don’t have the same number of devices discovered (17 in server mode, 8 in local mode), yet my 4 shutters and the awning are present and functioning correctly. This must have an impact on the next point.
•	Indeed, a functionality of the awning doesn’t work in local mode, which is the wind lock. No logs and no status feedback in HomeKit, Eve, and especially Controller apps in local mode, whereas it works in server mode.

Fortunately, this safety feature directly interacts with the awning motor, but it remains inconvenient for using the status in complex scenarios or for utilizing the plugin log, which I redirect to InfluxDB and Grafana.
Could you provide your opinion? Is this an anomaly? Will it be fixed?
Thank you,
Below are 2 excerpts of logs in both modes with wind testing on the anemometer:
Mode Serveur:
[2023/12/23 14:45:58] [TaHoma] Launched child bridge with PID 25032
[2023/12/23 14:45:58] [TaHoma] Loaded homebridge-tahoma v2.2.55 child bridge successfully
[2023/12/23 14:45:58] [TaHoma] Finished initializing platform: TaHoma
[2023/12/23 14:45:58] [TaHoma] Executed didFinishLaunching callback
[2023/12/23 14:45:58] [TaHoma] POST /login
[2023/12/23 14:45:59] [TaHoma] Enable event polling period every 30 sec
[2023/12/23 14:45:59] [TaHoma] GET /setup/devices
[2023/12/23 14:45:59] [TaHoma] GET /setup/location
[2023/12/23 14:45:59] [TaHoma] POST /events/register
[2023/12/23 14:45:59] [TaHoma] 17 devices discovered
[2023/12/23 14:45:59] [TaHoma] Create accessory: Alarm
[2023/12/23 14:45:59] [TaHoma] Configure device Alarm
[2023/12/23 14:45:59] [TaHoma] Alarm > TSKAlarmController
[2023/12/23 14:45:59] [TaHoma] Create accessory: Store
[2023/12/23 14:45:59] [TaHoma] Configure device Store
[2023/12/23 14:45:59] [TaHoma] Awning > PositionableHorizontalAwning
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet chambre
[2023/12/23 14:45:59] [TaHoma] Configure device Volet chambre
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet salon
[2023/12/23 14:45:59] [TaHoma] Configure device Volet salon
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet bureau
[2023/12/23 14:45:59] [TaHoma] Configure device Volet bureau
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:45:59] [TaHoma] Create accessory: Volet cuisine
[2023/12/23 14:45:59] [TaHoma] Configure device Volet cuisine
[2023/12/23 14:45:59] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:46:29] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch

[2023/12/23 14:49:28] [TaHoma] GET /setup/devices
[2023/12/23 14:49:28] [TaHoma] [Store] io:PriorityLockOriginatorState => wind
[2023/12/23 14:49:28] [TaHoma] [Store] core:PriorityLockTimerState => 5370
[2023/12/23 14:49:28] [TaHoma] [Store] io:PriorityLockLevelState => userLevel1
[2023/12/23 14:49:58] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch
[2023/12/23 14:50:28] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch
[2023/12/23 14:50:28] [TaHoma] [Store] core:PriorityLockTimerState => 630
[2023/12/23 14:50:28] [TaHoma] [Store] io:PriorityLockLevelState => comfortLevel1
[2023/12/23 14:50:58] [TaHoma] POST /events/96eceeb3-0a19-0482-5287-3eb90c70cab3/fetch

Mode Local:
[2023/12/23 14:52:19] [TaHoma] Launched child bridge with PID 26996
[2023/12/23 14:52:19] [TaHoma] Loaded homebridge-tahoma v2.2.55 child bridge successfully
[2023/12/23 14:52:19] [TaHoma] Finished initializing platform: TaHoma
[2023/12/23 14:52:19] [TaHoma] Executed didFinishLaunching callback
[2023/12/23 14:52:19] [TaHoma] Looking for local gateway with pin xxxx-xxxx-xxxx
[2023/12/23 14:52:19] [TaHoma] Gateway service found: gateway-xxxx-xxxx-xxxx
[2023/12/23 14:52:19] [TaHoma] Gateway IPv4 is xxx.xxx.x.xx
[2023/12/23 14:52:19] [TaHoma] GET /apiVersion
[2023/12/23 14:52:19] [TaHoma] { protocolVersion: '2023.5.4-12' }
[2023/12/23 14:52:19] [TaHoma] Enable event polling period every 30 sec
[2023/12/23 14:52:19] [TaHoma] GET /setup/devices
[2023/12/23 14:52:19] [TaHoma] POST /events/register
[2023/12/23 14:52:19] [TaHoma] 8 devices discovered
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet chambre
[2023/12/23 14:52:19] [TaHoma] Configure device Volet chambre
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet salon
[2023/12/23 14:52:19] [TaHoma] Configure device Volet salon
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:19] [TaHoma] Create accessory: Alarm
[2023/12/23 14:52:19] [TaHoma] Configure device Alarm
[2023/12/23 14:52:19] [TaHoma] Alarm > TSKAlarmController
[2023/12/23 14:52:19] [TaHoma] Create accessory: Store
[2023/12/23 14:52:19] [TaHoma] Configure device Store
[2023/12/23 14:52:19] [TaHoma] Awning > PositionableHorizontalAwning
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet bureau
[2023/12/23 14:52:19] [TaHoma] Configure device Volet bureau
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:19] [TaHoma] Create accessory: Volet cuisine
[2023/12/23 14:52:19] [TaHoma] Configure device Volet cuisine
[2023/12/23 14:52:19] [TaHoma] RollerShutter > UpDownRollerShutter
[2023/12/23 14:52:49] [TaHoma] POST /events/9aea634a-3150-47e1-b618-b60a2930bd4a/fetch
[2023/12/23 14:53:19] [TaHoma] POST /events/9aea634a-3150-47e1-b618-b60a2930bd4a/fetch
[2023/12/23 14:53:49] [TaHoma] POST /events/9aea634a-3150-47e1-b618-b60a2930bd4a/fetch

@github-actions github-actions bot removed the inactive label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant