Użytkownicy online |
Aktualnie jest 63 użytkowników online. » 0 Użytkownik(ów) | 61 Gość(i) Bing, Google
|
Ostatnie wątki |
Huawei DTSU666-H
Forum: MODBUS Urzadzenia Custom
Ostatni post: 205theost
2 godzin(y) temu
» Odpowiedzi: 5
» Wyświetleń: 8,446
|
Információforrások sherep...
Forum: LanKontroler V3
Ostatni post: PearceMekaisto
09-14-2025, 01:13 PM
» Odpowiedzi: 0
» Wyświetleń: 37
|
BMS Li-ion battery via Mo...
Forum: MODBUS Urzadzenia Custom
Ostatni post: 205theost
09-13-2025, 05:28 AM
» Odpowiedzi: 6
» Wyświetleń: 3,144
|
Czujniki wibracji, ciśnie...
Forum: LanKontroler V4
Ostatni post: begagenda
09-10-2025, 11:10 AM
» Odpowiedzi: 1
» Wyświetleń: 635
|
mqtt brak banych po aktua...
Forum: LanKontroler V4
Ostatni post: begagenda
09-10-2025, 11:08 AM
» Odpowiedzi: 2
» Wyświetleń: 689
|
R4DCB08 Kolektor temperat...
Forum: MODBUS Urzadzenia Custom
Ostatni post: KevinFarmer
08-28-2025, 04:36 AM
» Odpowiedzi: 4
» Wyświetleń: 2,663
|
Boiler controlling via PW...
Forum: LanKontroler V4
Ostatni post: notek
08-26-2025, 01:51 PM
» Odpowiedzi: 4
» Wyświetleń: 1,524
|
Czujnik jakości powietrza
Forum: LanKontroler - wersje oprogramowania
Ostatni post: batata
08-19-2025, 06:29 AM
» Odpowiedzi: 4
» Wyświetleń: 4,893
|
Licznik energii RELPOL RL...
Forum: MODBUS Urzadzenia Custom
Ostatni post: KevinFarmer
08-18-2025, 11:19 AM
» Odpowiedzi: 3
» Wyświetleń: 1,067
|
Czytnik QR
Forum: LanKontroler V4
Ostatni post: Seraphina
08-15-2025, 06:17 AM
» Odpowiedzi: 2
» Wyświetleń: 1,313
|
|
|
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.
|
|
|
|