Konfiguracja termometrów dla stref

magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Mam już prawie zrobiony upgrade openhab-supla dla Auratona. Brakuje mi tylko możliwości połączenia termometru do stref. Z tego co mi się wydaje to trzeba użyć TChannelConfig_HVAC ale brakuje mi kilku infomacji:
  1. W co opakować TChannelConfig_HVAC?
  2. Jakiego call type użyć przy wysyłaniu wiadomości?
  3. Channels have to be local and numbering is the same as for registration message Jeżeli mam AMC i termometr połączony przez bramkę to one są traktowane jako local channels, tak?
  4. Czy powinienem wiedzieć coś jeszcze?
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Poddaje się, próbuje wysłać TSD_ChannelConfig z TChannelConfig_HVAC jako Config ale za żadne skarby nie jestem w stanie sparować termometru z listwą AMC.

Jakieś rady/podpowiedzi?
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

Konfiguracje kanałów są przesyłasz w:
TSD_ChannelConfig

W polu "Config" kopiujesz strukturę TChannelConfig_HVAC i uzupełniasz resztę. Typ ustawiasz na 0 (default config).
Jeśli to serwer ustawia konfig na urządzeniu, to wiadomość ma id: SUPLA_SD_CALL_SET_CHANNEL_CONFIG
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

Ale przy takich kombinacjach z "podszywaniem" się pod serwer, łatwiej będzie te termometry konfigurować na www Boxa w trybie cfg. Tylko tam jest jeszcze błąd, który będzie poprawiony w najbliższej aktualizacji.
Najlepsze suple dla Twojego domu :mrgreen:
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

klew wrote: Tue Oct 22, 2024 8:10 am łatwiej będzie te termometry konfigurować na www Boxa w trybie cfg
Możesz rozwinąć?
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

magx2 wrote: Wed Oct 23, 2024 10:55 am
klew wrote: Tue Oct 22, 2024 8:10 am łatwiej będzie te termometry konfigurować na www Boxa w trybie cfg
Możesz rozwinąć?
Przełączasz Box w tryb konfiguracyjny (trzeba przytrzymać przycisk Supli >5s aż dioda zacznie szybko migać).
Łaczysz się z Wi-Fi Boxa, wchodzisz na http://192.168.4.1 i tam to ustawiasz.
Tylko obecny soft ma kilka bugów w tym zakresie - dziś/jutro będzie aktualizacja z poprawkami.
Najlepsze suple dla Twojego domu :mrgreen:
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Hmm dziwne, nawet jak w konfigu ustawie main thermometer na 12 i zapiszę (+restart) to mi nie działa. Czy to jest ten bug o którym mówisz?
You do not have the required permissions to view the files attached to this post.
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

magx2 wrote: Wed Oct 23, 2024 2:30 pm Hmm dziwne, nawet jak w konfigu ustawie main thermometer na 12 i zapiszę (+restart) to mi nie działa. Czy to jest ten bug o którym mówisz?
Raczej nie. Tak tylko save i sprawdź czy jest poprawnie ustawiony po przeładowaniu się strony
Najlepsze suple dla Twojego domu :mrgreen:
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Coś jest nie tak. Wszędzie ustawiam główny termometr na #12, daję Save & Restart (później i tak jeszcze ręcznie restartuje) i nic się nie dzieje. Nadal tylko kanały 0-3 reagują na termometr (było to ustawione w cloud).

Jeżeli chodzi o żądanie to idzie taki POST:

Code: Select all

sid=xyz
&wpw=xxx
&svr=qwerty
&eml=q%40q.com
&sec=2
&custom_ca=
&led=0
&pwr_led=0
&upd=0
&auracmd=
&0_fnc=420
&0_hvac_mode=2
&0_t_min=15.0
&0_t_main=12
&0_t_aux_max=55.0
&0_t_chng_keeps=on
&1_fnc=420
&1_hvac_mode=2
&1_t_min=15.0
&1_t_main=12
&1_t_aux_max=55.0
&1_t_chng_keeps=on
&2_fnc=420
&2_hvac_mode=2
&2_t_min=15.0
&2_t_main=12
&2_t_aux_max=55.0
&2_t_chng_keeps=on
&3_fnc=420
&3_hvac_mode=2
&3_t_min=15.0
&3_t_main=12
&3_t_aux_max=55.0
&3_t_chng_keeps=on
&4_fnc=420
&4_hvac_mode=2
&4_t_min=21.0
&4_t_main=12
&4_t_aux_max=55.0
&4_t_chng_keeps=on
&5_fnc=420
&5_hvac_mode=2
&5_t_min=21.0
&5_t_main=12
&5_t_aux_max=55.0
&5_t_chng_keeps=on
&6_fnc=420
&6_hvac_mode=2
&6_t_min=21.0
&6_t_main=12
&6_t_aux_max=55.0
&6_t_chng_keeps=on
&7_fnc=420
&7_hvac_mode=2
&7_t_min=15
&7_t_main=12
&7_t_aux_max=55.0
&7_t_chng_keeps=on
&11_fnc=420
&11_hvac_mode=2
&11_t_min=15.0
&rbt=2
Wszędzie X_t_main jest ustawiany na 12
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

Daj tylko save i sprawdź czy dane po przeładowaniu strony są poprawne
Najlepsze suple dla Twojego domu :mrgreen:

Return to “supla-dev”