Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Pogoda w centralce


wojtas810

Question

Witam 

mam wersje 4.080 i dziwny problem 

Centralka od 5 dni pokazuje tą samą temperaturę 

1 stopień 

87% wilgotność 

0 km/h wiatr 

 

I nic się nie przestawia ani także nic się nie dzieje  z tym zmieniam lokalizację i także nic nie zasysa.

Robiłem restart i też nic. 

 

Ktoś miał podobny problem ?

co mogę zmienić ?

 

 

Link to comment
Share on other sites

Recommended Posts

  • 0

Naprawilem przed dodanie wczesniej

local weather_array = 0;

i weather_array = { array }

i dziala,nie wiem czemu ale dzialalo wczesniej, nagle przestało... i teraz działa przy wyzerowaniu tablicy

Link to comment
Share on other sites

  • 0

nie popsula sie, tylko nie ma tabeli nocnej i dziennej

 

Please login or register to see this link.

 

mozna taka zrobic, kody owm zostaja takie same dla dnia i nocy, tylko dopasowanie do kodow fibaro musi byc zalezne od pory dnia.

 

W fibaro kody nocne sa z "n" a dzienne z "d" (nazwy ikon)

Link to comment
Share on other sites

  • 0

Ups, jak przegladalem kod musialo sie cos dopisac

Please login or register to see this image.

/emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" /> sorka za zamieszanie.

Link to comment
Share on other sites

  • 0

Ups, jak przegladalem kod musialo sie cos dopisac

Please login or register to see this image.

/emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" /> sorka za zamieszanie.

 

to tylko przypadek ze masz jakas literowke, jesli jest noc a nie ma pasujacego kodu w array to bedzie nil wartosc i VD nie bedzie chodzic

Link to comment
Share on other sites

  • 0

Dobra, to gdzie znajde działające co podmienia pogodę na górze w interfejscie również?

Bo testuje 2 niezalezne kody i zaczynam glupiec.

 

Ale tak moze byc jest noc a w tabeli noc jest kilka wartosci nie ma wszystkich... i pewnie dlatego sie wywala

Link to comment
Share on other sites

  • 0
Guest damian

Dobra, to gdzie znajde działające co podmienia pogodę na górze w interfejscie również?

Bo testuje 2 niezalezne kody i zaczynam glupiec.

 

Ale tak moze byc jest noc a w tabeli noc jest kilka wartosci nie ma wszystkich... i pewnie dlatego sie wywala

Nie. W tabeli weather_array są wszystkie, ale kiedy jest noc, to niektóre są dodatkowo zmieniane na inne kody. Te które nie są zmieniane pozostają takie jak w dzień.

Musisz dopisać gdzieś fibaro:debug(pogoId), najlepiej w:

Please login or register to see this code.

Podaj wartości, które Ci się pokazują kiedy skrypt zamiera.
Link to comment
Share on other sites

  • 0

A u mnie skrypt umarł w nocy z błędem jak w załączonym obrazku.

 

Żeby było ciekawiej w linii 55 mam komentarz.

 

Teraz jak debuguje pogoID jest 520,  w wirtualce się odświeża i pokazuje stan pogody (zmienna pogo)  "Krótka ulewa".

 

Ale dane pogodowe i ikonka w fibaro nie odświeżają się. Mam dane z nocy i bechmurny księżyc.

 

 

 

UAKTUALNIENIE:

 

Po kilku okrążeniach działania skryptu (mam ustawionązwłokęna 5 minut) zadziałało i pogoda z ikonkąw Fibaro uaktualniła się.

Please login or register to see this attachment.

Link to comment
Share on other sites

  • 0
Guest damian

Jak możesz, to zgłaszaj błędy 

Please login or register to see this link.

Link to comment
Share on other sites

  • 0

damian

 

Dopisz w skrypcie przed wysłaniem do HC2 linię:

if kod == nil then kod = 3200 end;

Link to comment
Share on other sites

  • 0
Guest damian

damian

 

Dopisz w skrypcie przed wysłaniem do HC2 linię:

if kod == nil then kod = 3200 end;

Tajes szef! Zrobione!

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />
Link to comment
Share on other sites

  • 0

Dodaje przeskalowane ikony ( 128 x 128 transparent ) dla VD dla najbardziej prawdopodobnych stanów pogody:

 

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Burze                Opady deszczu     Opady śniegu          Zachmurzenie

Please login or register to see this attachment.

         

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Częściowe zachmurzenie  Pogodnie                Mgła           Wietrznie

 

             

Please login or register to see this attachment.

Link to comment
Share on other sites

  • 0
Guest damian

Dodaje przeskalowane ikony ( 128 x 128 transparent ) dla VD dla najbardziej prawdopodobnych stanów pogody:

Myślę, że nie będziemy się w to bawić, przynajmniej na razie. Ale można by wykorzystać jedną z tych ikon do tej wirtualki na stałe.

Please login or register to see this image.

/emoticons/default_icon_wink.gif" alt=";-)" />
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...