| Statystyki |
» Użytkownicy: 3,777
» Najnowszy użytkownik: Evadno
» Wątków na forum: 1,289
» Postów na forum: 9,069
Pełne statystyki
|
| Użytkownicy online |
Aktualnie jest 63 użytkowników online. » 0 Użytkownik(ów) | 58 Gość(i) Applebot, Baidu, Bing, Google, Yandex
|
| Ostatnie wątki |
Lk4 sieć
Forum: LanKontroler V4
Ostatni post: domtel
07-07-2026, 12:56 PM
» Odpowiedzi: 0
» Wyświetleń: 51
|
Block Blast: The Addictiv...
Forum: MODBUS Urzadzenia Custom
Ostatni post: mutuals
07-07-2026, 10:59 AM
» Odpowiedzi: 0
» Wyświetleń: 21
|
Unleash Your Inner Planet...
Forum: LanKontroler - wersje oprogramowania
Ostatni post: Warrensa
06-30-2026, 05:28 AM
» Odpowiedzi: 0
» Wyświetleń: 109
|
Jak działa ten bonus kasy...
Forum: LanKontroler V3
Ostatni post: Dioneya
06-28-2026, 08:51 AM
» Odpowiedzi: 2
» Wyświetleń: 166
|
Carving Up Fun: A Guide t...
Forum: Dokumentacje i wsady do TinyESP
Ostatni post: Warrensa
06-27-2026, 10:10 AM
» Odpowiedzi: 0
» Wyświetleń: 137
|
Lk 3.8
Forum: LanKontroler V3.5
Ostatni post: stAch
06-12-2026, 08:28 PM
» Odpowiedzi: 1
» Wyświetleń: 1,618
|
Why Five Nights at Freddy...
Forum: Dokumentacje i wsady do TinyESP
Ostatni post: Trangalo235
06-12-2026, 07:19 AM
» Odpowiedzi: 0
» Wyświetleń: 321
|
Is repo Still Scary With ...
Forum: Dokumentacje i wsady do TinyESP
Ostatni post: Vally1349
06-12-2026, 04:31 AM
» Odpowiedzi: 0
» Wyświetleń: 212
|
Sofar ME3000SP Modbus
Forum: MODBUS Urzadzenia Custom
Ostatni post: AlicaDenison
06-04-2026, 07:43 AM
» Odpowiedzi: 7
» Wyświetleń: 12,108
|
Gdzie spędziliście ostatn...
Forum: LanKontroler V3
Ostatni post: Dioneya
06-01-2026, 03:24 PM
» Odpowiedzi: 2
» Wyświetleń: 516
|
|
|
| Odczyt wirtualnych eventów - vouts |
|
Napisane przez: stAch - 03-28-2023, 08:11 AM - Forum: LanKontroler V3.5
- Brak odpowiedzi
|
 |
jak odczytać vouts... potrzeba matka wynalazku... /json/events_per.json -> eventVariables
Kod PHP: <style>.c0{background-color:red;} .c1{background-color:lightgreen;}</style> <?php error_reporting(E_ALL); parse_str($_SERVER['QUERY_STRING']);
function post($url, $data,$post){ $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "http://192.168.1.100/".$url, //<-- edit LK ip CURLOPT_USERPWD => "admin:admin", //<-- edit user:pass LK CURLOPT_HTTPAUTH => CURLAUTH_BASIC, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 0, CURLOPT_POST => $post, CURLOPT_POSTFIELDS => $data )); $response = curl_exec($curl); curl_close($curl); return $response; }
if ( isset($id) AND isset($val)) { if ($val == 0){$val = 1;} else {$val = 0;} post("outs.cgi?vout".$id."=".$val, "", 0); //ustawiamy parametr vouts sleep(1); } $name = ['Rolety','event 2','event 3','Klimatyzacja','Zmierzch','Ogrzewanie','Nawadnianie','Brama']; //nazwy guzikow $json = post("json/events_per.json", "", 0); //odczyt tresci vouts $data = json_decode($json); $stat = str_split(strrev(decbin($data->eventVariables))."0000000"); //hex->bin->array for ($i = 0; $i <= 7; $i++) { //bind page element echo "<a href='?id=".$i."&val=".$stat[$i]."'><button class='c".$stat[$i]."'>".$name[$i]."</button></a>\n"; } ?>
może komuś się przyda.. poprawki oraz pytania mile widziane.
nie masz serwera -> podgląd stanu w LK3 przy pomocy 4 reguł zadań w kolumnie STAN
|
|
|
| Modbus serwer |
|
Napisane przez: krzychor - 03-05-2023, 08:59 PM - Forum: LanKontroler V3.5
- Odpowiedzi (3)
|
 |
witam
czy jest możliwość na 1 LK modbus serwer i na 2 LK odczytywać przez modbus wybrane parametry z 1 LK?
jak to ustawić ? aby 2 LK również odczytywał inne urządzenia przez modbus np licznik SDM
|
|
|
| Relay Out1-ON and Relay OUT2,3,4-OFF automat |
|
Napisane przez: Rudo1111 - 02-17-2023, 06:11 PM - Forum: LanKontroler V3.5
- Brak odpowiedzi
|
 |
Dobrý deň, chcem Vás poprosiť o radu ohľadom režimu - Udalosti. Potrebujem nastaviť ventilátor na 4 rýchlostné režimy v recovery pre Mitsubishi Lossnay (GND-PIN1,2,3,4). Na automatické vypnutie výstupov, keď je jeden z nich zapnutý. Pozri. Popis.
Ak je relé OUT1 ZAPNUTÉ
Takže relé OUT2,3,4 - OFF
Ak je relé OUT2 zapnuté
Takže relé OUT1,3,4 - OFF
Ak je relé OUT3 zapnuté
Relé OUT1,2,4 – OFF
Ak je relé OUT4 zapnuté
Takto relé OUT1,2,3, – OFF
Aby nebolo nikdy zapnutých viac ako jeden zo 4 výstupov OUTx. Ďakujem
PS: Na obrázku Tasmote mi to fungovalo s príkazom Interlock 1 1,2,3,4 v konzole.
|
|
|
| Water tank heating - need help |
|
Napisane przez: Beho - 12-15-2022, 11:50 AM - Forum: LanKontroler V3.5
- Odpowiedzi (1)
|
 |
Hi Everybody ...
I want to use LK3 to control the heating of 1000L hot water storage tank.
If the water tank is cold, I need to start the heating until whole storage is hot.
After that the heating will be off, until whole storage will be cold.
I need to start the output with one condition and stop it with another.
Is it possible ?
There are two DS18B20 thermometers. One is on the top of the tank (T1) and one is in the bottom (T2).
If the temperature of T1 will be under 40'C the heating will start, until the T2 reach 40'C.
I try to make an event, but i doesn't work, because if I use condition If (T1) < 40'C -> out 0 == 1;
the temperature of T1 increase to 40'C and out 0 goes 0, without waiting for second condition.
Can somebody help ?
Thx.
|
|
|
|