Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. Скрипты
  5. ioBroker скрипты
  6. Вопросы по написанию скриптов

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.8k

Вопросы по написанию скриптов

Geplant Angeheftet Gesperrt Verschoben ioBroker скрипты
358 Beiträge 29 Kommentatoren 108.8k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • BluefoxB Offline
    BluefoxB Offline
    Bluefox
    schrieb am zuletzt editiert von
    #115

    @instalator:

    Имеем массив с данными

    data-product="{"id":2104,"price":250,"discountPrice":240,"isBottle":true,"type":"product","count":1}",

    data-product="{"id":1204,"price":190,"discountPrice":180,"isBottle":true,"type":"product","count":1}",

    data-product="{"id":1041,"price":170,"discountPrice":160,"isBottle":true,"type":"product","count":1}",

    data-product="{"id":3,"price":160,"discountPrice":150,"isBottle":true,"type":"product","count":1}",

    data-product="{"id":1203,"price":120,"discountPrice":120,"isBottle":true,"type":"product","count":1}"

    log(JSON.parse(itm)) выдает данные как строку а не как объект, это особенность JSON.parse для массивов?

    `m.forEach(function(itm, i, arr) {
                        result[i] = JSON.stringify((itm.replace('data-product="', '').replace(/"/g, '"').slice(0, -1)));
                        
                        if (i >= arr.length - 1){
                            result.forEach(function(itm, i, arr) {
                            log(JSON.parse(itm));    
    
                            });
                        }
                    });` 
    Ты не даешь полной информации. Как конкретно выглядит m?[/i]
    ``` ` 
    1 Antwort Letzte Antwort
    0
    • I Offline
      I Offline
      instalator
      schrieb am zuletzt editiert von
      #116

      @Bluefox:

      @instalator:

      Имеем массив с данными

      data-product="{"id":2104,"price":250,"discountPrice":240,"isBottle":true,"type":"product","count":1}",

      data-product="{"id":1204,"price":190,"discountPrice":180,"isBottle":true,"type":"product","count":1}",

      data-product="{"id":1041,"price":170,"discountPrice":160,"isBottle":true,"type":"product","count":1}",

      data-product="{"id":3,"price":160,"discountPrice":150,"isBottle":true,"type":"product","count":1}",

      data-product="{"id":1203,"price":120,"discountPrice":120,"isBottle":true,"type":"product","count":1}"

      log(JSON.parse(itm)) выдает данные как строку а не как объект, это особенность JSON.parse для массивов?

      `m.forEach(function(itm, i, arr) {
                          result[i] = JSON.stringify((itm.replace('data-product="', '').replace(/"/g, '"').slice(0, -1)));
                          
                          if (i >= arr.length - 1){
                              result.forEach(function(itm, i, arr) {
                              log(JSON.parse(itm));    
      
                              });
                          }
                      });` 
      Ты не даешь полной информации. Как конкретно выглядит m?
      Так и выглядит. Только вместо кавычек quote лог автоматом преобразовывет
      
      `~~[code]~~var m = body.match(/data-product="(.*)"/g);[/code]`
      `~~[code]~~{"id":1204,"price":190,"discountPrice":180,"isBottle":true,"type":"product","count":1}[/code]`[/i]
      ``` `  ` 

      Высокий уровень Децибел вреден для здоровья!

      http://blog.instalator.ru/

      1 Antwort Letzte Antwort
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        schrieb am zuletzt editiert von
        #117

        @instalator:

        @Bluefox:

        @instalator:

        Имеем массив с данными

        data-product="{"id":2104,"price":250,"discountPrice":240,"isBottle":true,"type":"product","count":1}",

        data-product="{"id":1204,"price":190,"discountPrice":180,"isBottle":true,"type":"product","count":1}",

        data-product="{"id":1041,"price":170,"discountPrice":160,"isBottle":true,"type":"product","count":1}",

        data-product="{"id":3,"price":160,"discountPrice":150,"isBottle":true,"type":"product","count":1}",

        data-product="{"id":1203,"price":120,"discountPrice":120,"isBottle":true,"type":"product","count":1}"

        log(JSON.parse(itm)) выдает данные как строку а не как объект, это особенность JSON.parse для массивов?

        `m.forEach(function(itm, i, arr) {
                            result[i] = JSON.stringify((itm.replace('data-product="', '').replace(/"/g, '"').slice(0, -1)));
                            
                            if (i >= arr.length - 1){
                                result.forEach(function(itm, i, arr) {
                                log(JSON.parse(itm));    
        
                                });
                            }
                        });` 
        Ты не даешь полной информации. Как конкретно выглядит m?
        Так и выглядит. Только вместо кавычек quote лог автоматом преобразовывет
        
        `~~[code]~~var m = body.match(/data-product="(.*)"/g);[/code]`
        `~~[code]~~{"id":1204,"price":190,"discountPrice":180,"isBottle":true,"type":"product","count":1}[/code]`
        один stringify лишний
        `~~[code]~~result[i] = itm.replace('data-product="', '').replace(/"/g, '"').slice(0, -1);` [/i][/code][/i]
        ``` `  `  ` 
        1 Antwort Letzte Antwort
        0
        • I Offline
          I Offline
          instalator
          schrieb am zuletzt editiert von
          #118

          @Bluefox:

          @instalator:

          @Bluefox:

          Ты не даешь полной информации. Как конкретно выглядит m? `
          Так и выглядит. Только вместо кавычек quote лог автоматом преобразовывет

          var m = body.match(/data-product="(.*)"/g);
          
          {"id":1204,"price":190,"discountPrice":180,"isBottle":true,"type":"product","count":1}
          ```` `  
          

          один stringify лишний

          `result[i] = itm.replace('data-product="', '').replace(/"/g, '"').slice(0, -1);` 
           :) Решил перестраховаться, а он оказывается может напортачить[/i]
          ``` ` 

          Высокий уровень Децибел вреден для здоровья!

          http://blog.instalator.ru/

          1 Antwort Letzte Antwort
          0
          • H Offline
            H Offline
            Haus
            schrieb am zuletzt editiert von
            #119

            Народ помогайте, маленький кусочек скрипта. Проблема, сделал пока костыль на PHP чтобы дёргать из базы средние значения температур за определённый период времени. Таких request штук 10 в скрипте все прописаны в начале скрипта, так вот в временном log('Текущая ' + body), log('Средняя ' + body) инфа актуальная но она как бы запаздывает и лог log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp) отображает прошлый request из переменных temp_in и cur_temp. Что можно сделать?

            var room  = 'Heat_control';
            var tbid    = getIdByName(room + '.temp_base');
            var shaid  = getIdByName(room + '.temp_in_stair_hall_avr_30min');
            var ctid    = getIdByName(room + '.cur_temp');
            
            function startt() {    
                var request       = require('request');
                var circ_title    = 'Дом';
                var temp_base  = getState(tbid).val;
                var temp_in      = getState(shaid).val;
                var cur_temp    = getState(ctid).val;
                request('http://192.168.1.11/cur_temp.php', function (error, response, body) {
            	if (!error && response.statusCode == 200) {
                         setState(ctid, body);
                         log('Текущая ' + body);
                    }
                });
                // Средняя температура в помещении за 30 минут
                request('http://192.168.1.11/avr_temp_in_stair_hall.php', function (error, response, body) {
                    if (!error && response.statusCode == 200) {
                         setState(shaid, body);
                         log('Средняя ' + body);
                    }
                });
                // Отладка. Выводим информацию по температурам
                log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp);
            }
            setInterval(function() {
                startt();
            },30000);
            
            

            js-controller: 1.5.7 / node.js: v8.15.1/ npm: 6.4.1

            admin: 3.6.0

            javascript: 4.1.10

            web: 2.4.1 vis: 1.1.10

            cloud: 2.6.2

            Server: DELL FX170 / linux: Debian 9.5 Stretch

            Adapter: MegaD-2561, Mega-ES…

            1 Antwort Letzte Antwort
            0
            • BluefoxB Offline
              BluefoxB Offline
              Bluefox
              schrieb am zuletzt editiert von
              #120
              var request = require('request');
              var room    = 'Heat_control';
              var tbid    = getIdByName(room + '.temp_base');
              var shaid   = getIdByName(room + '.temp_in_stair_hall_avr_30min');
              var ctid    = getIdByName(room + '.cur_temp');
              
              function printDebug() {
                  var circ_title    = 'Дом';
              	var temp_base     = getState(tbid).val;
              	var temp_in       = getState(shaid).val;
              	var cur_temp      = getState(ctid).val;
              	log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp);
              }
              
              function startt() {    
              	var count = 0;
              
              	count++;
                  request('http://192.168.1.11/cur_temp.php', function (error, response, body) {
              		if (!error && response.statusCode == 200) {
                           setState(ctid, body);
                           log('Текущая ' + body);
                      }
              		count--;
              		if (!count) printDebug();
                  });
              
                  // Средняя температура в помещении за 30 минут
              	count++;
                  request('http://192.168.1.11/avr_temp_in_stair_hall.php', function (error, response, body) {
                      if (!error && response.statusCode == 200) {
                           setState(shaid, body);
                           log('Средняя ' + body);
                      }
              		count--;
              		if (!count) printDebug();
                  });
              
              }
              setInterval(function() {
                  startt();
              },30000);
              

              А надо ли вызывать скрипт каждые 30 секунд?

              1 Antwort Letzte Antwort
              0
              • H Offline
                H Offline
                Haus
                schrieb am zuletzt editiert von
                #121

                @Bluefox:

                var request = require('request');
                var room    = 'Heat_control';
                var tbid    = getIdByName(room + '.temp_base');
                var shaid   = getIdByName(room + '.temp_in_stair_hall_avr_30min');
                var ctid    = getIdByName(room + '.cur_temp');
                
                function printDebug() {
                    var circ_title    = 'Дом';
                	var temp_base     = getState(tbid).val;
                	var temp_in       = getState(shaid).val;
                	var cur_temp      = getState(ctid).val;
                	log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp);
                }
                
                function startt() {    
                	var count = 0;
                	
                	count++;
                    request('http://192.168.1.11/cur_temp.php', function (error, response, body) {
                		if (!error && response.statusCode == 200) {
                             setState(ctid, body);
                             log('Текущая ' + body);
                        }
                		count--;
                		if (!count) printDebug();
                    });
                	
                    // Средняя температура в помещении за 30 минут
                	count++;
                    request('http://192.168.1.11/avr_temp_in_stair_hall.php', function (error, response, body) {
                        if (!error && response.statusCode == 200) {
                             setState(shaid, body);
                             log('Средняя ' + body);
                        }
                		count--;
                		if (!count) printDebug();
                    });
                    
                }
                setInterval(function() {
                    startt();
                },30000);
                

                А надо ли вызывать скрипт каждые 30 секунд? `

                Не, вызывается каждые 5 минут это я для отладки 30 сек поставил

                js-controller: 1.5.7 / node.js: v8.15.1/ npm: 6.4.1

                admin: 3.6.0

                javascript: 4.1.10

                web: 2.4.1 vis: 1.1.10

                cloud: 2.6.2

                Server: DELL FX170 / linux: Debian 9.5 Stretch

                Adapter: MegaD-2561, Mega-ES…

                1 Antwort Letzte Antwort
                0
                • H Offline
                  H Offline
                  Haus
                  schrieb am zuletzt editiert von
                  #122

                  @Bluefox:

                  var request = require('request');
                  var room    = 'Heat_control';
                  var tbid    = getIdByName(room + '.temp_base');
                  var shaid   = getIdByName(room + '.temp_in_stair_hall_avr_30min');
                  var ctid    = getIdByName(room + '.cur_temp');
                  
                  function printDebug() {
                      var circ_title    = 'Дом';
                  	var temp_base     = getState(tbid).val;
                  	var temp_in       = getState(shaid).val;
                  	var cur_temp      = getState(ctid).val;
                  	log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp);
                  }
                  
                  function startt() {    
                  	var count = 0;
                  	
                  	count++;
                      request('http://192.168.1.11/cur_temp.php', function (error, response, body) {
                  		if (!error && response.statusCode == 200) {
                               setState(ctid, body);
                               log('Текущая ' + body);
                          }
                  		count--;
                  		if (!count) printDebug();
                      });
                  	
                      // Средняя температура в помещении за 30 минут
                  	count++;
                      request('http://192.168.1.11/avr_temp_in_stair_hall.php', function (error, response, body) {
                          if (!error && response.statusCode == 200) {
                               setState(shaid, body);
                               log('Средняя ' + body);
                          }
                  		count--;
                  		if (!count) printDebug();
                      });
                      
                  }
                  setInterval(function() {
                      startt();
                  },30000);
                  

                  А надо ли вызывать скрипт каждые 30 секунд? `
                  Спасибо за помощь, но я так и не смог прикрутить это в свой скрипт :cry:

                  Закинул весь скрипт, может будет понятней вопрос взгляни если сможешь http://forum.iobroker.net/viewtopic.php?f=26&t=2646

                  js-controller: 1.5.7 / node.js: v8.15.1/ npm: 6.4.1

                  admin: 3.6.0

                  javascript: 4.1.10

                  web: 2.4.1 vis: 1.1.10

                  cloud: 2.6.2

                  Server: DELL FX170 / linux: Debian 9.5 Stretch

                  Adapter: MegaD-2561, Mega-ES…

                  1 Antwort Letzte Antwort
                  0
                  • I Offline
                    I Offline
                    instalator
                    schrieb am zuletzt editiert von
                    #123

                    @Haus:

                    Спасибо за помощь, но я так и не смог прикрутить это в свой скрипт :cry:

                    Закинул весь скрипт, может будет понятней вопрос взгляни если сможешь `

                    ! ````
                    var request = require('request');
                    var room = 'Heat_control';
                    var tbid = getIdByName(room + '.temp_base');
                    var shaid = getIdByName(room + '.temp_in_stair_hall_avr_30min');
                    var ctid = getIdByName(room + '.cur_temp');
                    ! function printDebug() {
                    var circ_title = 'Дом';
                    var temp_base = getState(tbid).val;
                    var temp_in = getState(shaid).val;
                    var cur_temp = getState(ctid).val;
                    log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp);
                    }
                    ! function startt() {
                    // var count = 0;

                    //count++;
                    request('http://192.168.1.11/cur_temp.php', function (error, response, body) {
                    if (!error && response.statusCode == 200) {
                    setState(ctid, body);
                    log('Текущая ' + body);
                    // Средняя температура в помещении за 30 минут
                    // count++;
                    request('http://192.168.1.11/avr_temp_in_stair_hall.php', function (error, response, body) {
                    if (!error && response.statusCode == 200) {
                    setState(shaid, body);
                    log('Средняя ' + body);
                    printDebug();
                    }
                    // count--;
                    // if (!count) printDebug();
                    });
                    }
                    // count--;
                    // if (!count) printDebug();
                    });

                    }
                    setInterval(function() {
                    startt();
                    },30000);

                    Высокий уровень Децибел вреден для здоровья!

                    http://blog.instalator.ru/

                    1 Antwort Letzte Antwort
                    0
                    • H Offline
                      H Offline
                      Haus
                      schrieb am zuletzt editiert von
                      #124

                      @instalator:

                      @Haus:

                      Спасибо за помощь, но я так и не смог прикрутить это в свой скрипт :cry:

                      Закинул весь скрипт, может будет понятней вопрос взгляни если сможешь `

                      ! ````
                      var request = require('request');
                      var room = 'Heat_control';
                      var tbid = getIdByName(room + '.temp_base');
                      var shaid = getIdByName(room + '.temp_in_stair_hall_avr_30min');
                      var ctid = getIdByName(room + '.cur_temp');
                      ! function printDebug() {
                      var circ_title = 'Дом';
                      var temp_base = getState(tbid).val;
                      var temp_in = getState(shaid).val;
                      var cur_temp = getState(ctid).val;
                      log(circ_title + ': Расчет: ' + temp_base + ', Сред: ' + temp_in + ', Тек: ' + cur_temp);
                      }
                      ! function startt() {
                      // var count = 0;

                      //count++;
                      request('http://192.168.1.11/cur_temp.php', function (error, response, body) {
                      if (!error && response.statusCode == 200) {
                      setState(ctid, body);
                      log('Текущая ' + body);
                      // Средняя температура в помещении за 30 минут
                      // count++;
                      request('http://192.168.1.11/avr_temp_in_stair_hall.php', function (error, response, body) {
                      if (!error && response.statusCode == 200) {
                      setState(shaid, body);
                      log('Средняя ' + body);
                      printDebug();
                      }
                      // count--;
                      // if (!count) printDebug();
                      });
                      }
                      // count--;
                      // if (!count) printDebug();
                      });

                      }
                      setInterval(function() {
                      startt();
                      },30000);
                      ```` `
                      Спасибо дружище, забыл дать ссылку http://forum.iobroker.net/viewtopic.php?f=26&t=2646 кусками чего то не выходит.

                      js-controller: 1.5.7 / node.js: v8.15.1/ npm: 6.4.1

                      admin: 3.6.0

                      javascript: 4.1.10

                      web: 2.4.1 vis: 1.1.10

                      cloud: 2.6.2

                      Server: DELL FX170 / linux: Debian 9.5 Stretch

                      Adapter: MegaD-2561, Mega-ES…

                      1 Antwort Letzte Antwort
                      0
                      • L Offline
                        L Offline
                        Lstt
                        schrieb am zuletzt editiert von
                        #125

                        Возможно ли средствами JavaScript, или отдельно установленным модулем npm загружать типа такого https://github.com/matthewdfuller/fast-image-downloader

                        Своих заний не хватает..Есть url - http://192.168.0.222:10000/Streaming/ch … 46MTIzNDU= это поток с камер..Хочется их грабить по событию и кидать картинку в Telegram. Кто-нибудь подскажет, возможно это реализовать или нет?

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          spectrekr
                          schrieb am zuletzt editiert von
                          #126

                          @Lstt:

                          Возможно ли средствами JavaScript, или отдельно установленным модулем npm загружать типа такого https://github.com/matthewdfuller/fast-image-downloader

                          Своих заний не хватает..Есть url - http://192.168.0.222:10000/Streaming/ch … 46MTIzNDU= это поток с камер..Хочется их грабить по событию и кидать картинку в Telegram. Кто-нибудь подскажет, возможно это реализовать или нет? `
                          А что за камеры? Может они умеют по тревоге складывать файлы на ftp или сетевой хранилище? Тогда можно скриптом мониторить каталог и при появлении новых файлов отсылать их. Если напрямую с камеры брать видео поток, тогда вопрос каким приложением собираетесь реализовывать тревогу? Если просто забирать с камеры картинку и слать, то можно через exec wget забирать картинку и потом слать в telegramm

                          1 Antwort Letzte Antwort
                          0
                          • L Offline
                            L Offline
                            Lstt
                            schrieb am zuletzt editiert von
                            #127

                            Спасибо за ответ! Пока интересует статическая картинка по указанному адресу по моему запросу через Telegram. Можно ли по подробней, хотя бы, фрагмент скрипта привести при помощи exec wget?

                            1 Antwort Letzte Antwort
                            0
                            • L Offline
                              L Offline
                              Lstt
                              schrieb am zuletzt editiert von
                              #128

                              Кстати, совсем забыл, у меня Windows, поэтому wget не подойдёт..

                              1 Antwort Letzte Antwort
                              0
                              • aurodionovA Offline
                                aurodionovA Offline
                                aurodionov
                                schrieb am zuletzt editiert von
                                #129

                                @Lstt:

                                Кстати, совсем забыл, у меня Windows, поэтому wget не подойдёт.. `
                                Почему не пойдёт, есть wget и под форточки. как-то так http://stproject.info/blog/?p=2569

                                Пишу с пульта….

                                1 Antwort Letzte Antwort
                                0
                                • L Offline
                                  L Offline
                                  Lstt
                                  schrieb am zuletzt editiert von
                                  #130

                                  Установил wget, вручную работает wget -O c:\cameras\camera1.jpg http://192.168.0.222:10000/Streaming/ch … 46MTIzNDU=

                                  Скрипт - одна строка:

                                  exec ('wget -O c:\cameras\camera1.jpg "http://192.168.0.222:10000/Streaming/ch ... 46MTIzNDU=" ');

                                  13:37:58.458 [info] javascript.0 Start javascript script.js.send_foto

                                  13:37:58.458 [info] javascript.0 script.js.send_foto: registered 0 subscriptions and 0 schedules

                                  Тишина…

                                  Куда копать?

                                  1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    spectrekr
                                    schrieb am zuletzt editiert von
                                    #131

                                    Ну а файл то появился? Дальше через телеграм передаете эту фотографию.

                                    1 Antwort Letzte Antwort
                                    0
                                    • BluefoxB Offline
                                      BluefoxB Offline
                                      Bluefox
                                      schrieb am zuletzt editiert von
                                      #132

                                      @Lstt:

                                      Установил wget, вручную работает wget -O c:\cameras\camera1.jpg http://192.168.0.222:10000/Streaming/ch … 46MTIzNDU=

                                      Скрипт - одна строка:

                                      exec ('wget -O c:\cameras\camera1.jpg "http://192.168.0.222:10000/Streaming/ch ... 46MTIzNDU=" ');

                                      13:37:58.458 [info] javascript.0 Start javascript script.js.send_foto

                                      13:37:58.458 [info] javascript.0 script.js.send_foto: registered 0 subscriptions and 0 schedules

                                      Тишина…

                                      Куда копать? `
                                      Зачем wget. node.js обладает отличными возможностями скачать что угодно.

                                      google => node.js http get image

                                      http://stackoverflow.com/questions/1274 … th-node-js

                                      Отсюда видно:

                                      var fs = require('fs');
                                      var request = require('request');
                                      
                                      function download (uri, filename, callback){
                                        request.head(uri, function(err, res, body){
                                             request(uri).pipe(fs.createWriteStream(filename)).on('close', callback);
                                        });
                                      }
                                      
                                      if (!fs.existsSync('c:/cameras')) {
                                         console.error('Directory does not exist');
                                      } else {
                                        download('http://192.168.0.222:10000/Streaming/channels/1/picture?snapShotImageType=JPEG?auth=YWRtaW46MTIzNDU=', 'c:/cameras/camera1.jpg', function(){
                                          console.log('done');
                                        });
                                      }
                                      
                                      
                                      1 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        spectrekr
                                        schrieb am zuletzt editiert von
                                        #133

                                        И в приведенном выше примере послеconsole.log('done');вставляем````
                                        sendTo('telegram', 'c:/cameras/camera1.jpg')

                                        1 Antwort Letzte Antwort
                                        0
                                        • L Offline
                                          L Offline
                                          Lstt
                                          schrieb am zuletzt editiert von
                                          #134

                                          Да, спасибо большое, заработало! :)

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          730

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe