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. Управление оборудованием по RS232

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.0k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Управление оборудованием по RS232

Geplant Angeheftet Gesperrt Verschoben ioBroker разработка
14 Beiträge 5 Kommentatoren 11.1k 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.
  • I Offline
    I Offline
    instalator
    schrieb am zuletzt editiert von
    #3

    Как мне в node red отловить конец строки? Подключил к рессиверу и он валит все в кучу.

    [{"id":"60e59a22.9f1a64","type":"serial-port","serialport":"COM4","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","newline":"13","bin":"false","out":"char","addchar":true},{"id":"5510101c.aaeff","type":"serial in","name":"RS232 COM4","serial":"60e59a22.9f1a64","x":536,"y":254,"z":"5182b650.ae7d48","wires":[["d627f426.29d808"]]},{"id":"d627f426.29d808","type":"debug","name":"","active":false,"console":"true","complete":"payload","x":761,"y":342,"z":"5182b650.ae7d48","wires":[]}]

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

    http://blog.instalator.ru/

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

      Ну хоть какую информацию он выплёвывает???

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

        @Bluefox:

        Ну хоть какую информацию он выплёвывает??? `

        Он посимвольно выдает данные, сейчас уже все отключено, как снова доберусь до RS232 буду писать, все сразу не успеваю)

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

        http://blog.instalator.ru/

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

          Может сразу модбас пинать, и возможностей больше ,и устройств тоже.

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

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

            @aurodionov:

            Может сразу модбас пинать, и возможностей больше ,и устройств тоже. `
            У меня телек и проектор не понимают модбас
            1136_switch_sender.png

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

            http://blog.instalator.ru/

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

              @instalator:

              У меня телек и проектор не понимают модбас `
              Веский аргумент

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

              1 Antwort Letzte Antwort
              0
              • V Offline
                V Offline
                Vlad_k
                schrieb am zuletzt editiert von
                #9

                Всех с наступившим! ребят подскажите, только установил брокер под винду, в нем установил node red, в сети нашел что serial port нужно отдельно до-устанавливать из корневой папки node red, короче что я сделал

                C:\Program Files\ioBroker\node_modules\iobroker.node-red\node_modules\node-red путь к корню

                npm install node-red-node-serialport что то покрутилось, окно захлопнулось

                в папке:

                C:\Program Files\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules

                появилась новая папка node-red-node-serialport

                захожу в редактор, а в нем сериал порта как не было так и нет, что делаю не так?

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

                  @Vlad_k:

                  Всех с наступившим! ребят подскажите, только установил брокер под винду, в нем установил node red, в сети нашел что serial port нужно отдельно до-устанавливать из корневой папки node red, короче что я сделал

                  C:\Program Files\ioBroker\node_modules\iobroker.node-red\node_modules\node-red путь к корню

                  npm install node-red-node-serialport что то покрутилось, окно захлопнулось

                  в папке:

                  C:\Program Files\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules

                  появилась новая папка node-red-node-serialport

                  захожу в редактор, а в нем сериал порта как не было так и нет, что делаю не так? `

                  А что подключать планируешь? обязательно по RS232? Я бросил NodeRed, все что под ним делал переписал под javascript.

                  управление телевизором через RS232 организавал с помощью MQTT (ардуина + езернет) которая уже непосредственно подключена к телеку.

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

                  http://blog.instalator.ru/

                  1 Antwort Letzte Antwort
                  0
                  • V Offline
                    V Offline
                    Vlad_k
                    schrieb am zuletzt editiert von
                    #11

                    у меня сеть датчиков-димеров-выключателей на основе библиотеки с http://www.mysensors.org/ в ней шлюз через юарт, думал прикрутить к брокеру или CCU.IO ( понравилась визуализация и редактор в ней), но так и не понял как тут все работает, хотя данные в NodeRed получаю (все заработало после перезагрузки компа) а что с ними потом делать ума не приложу, упарился собирать разрозненную информацию с примерами по разным ресурсам.

                    попробовал поставить опенхаб, за вечер почти все настроил включая управление голосом…

                    теперь бы саму визуализацию на хаб перетащить...

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

                      @Vlad_k:

                      у меня сеть датчиков-димеров-выключателей на основе библиотеки с http://www.mysensors.org/ в ней шлюз через юарт, думал прикрутить к брокеру или CCU.IO ( понравилась визуализация и редактор в ней), но так и не понял как тут все работает, хотя данные в NodeRed получаю (все заработало после перезагрузки компа) а что с ними потом делать ума не приложу, упарился собирать разрозненную информацию с примерами по разным ресурсам.

                      попробовал поставить опенхаб, за вечер почти все настроил включая управление голосом…

                      теперь бы саму визуализацию на хаб перетащить... `
                      Ну данные если ты получаешь, то передаешь состояние переменной в iobroker, а дальше делаешь с ними все что угодно.

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

                      http://blog.instalator.ru/

                      1 Antwort Letzte Antwort
                      0
                      • E Offline
                        E Offline
                        eric1905
                        schrieb am zuletzt editiert von
                        #13

                        Hi Instalator,

                        I have a question regarding the connection to my LG via RS232.

                        As you wrote in your adapter page, I have:

                        1 Arduino Uno

                        1 W5100 shield

                        1 RS232 module

                        First question:

                        Is the RS232 connected via 3.3 V or 5V?

                        2. If I use the Script from the page you linked: https://github.com/stepansnigirev/Ardui … ethernet2h

                        I am not able to upload it to my arduino, because Arduino UNO does not support Serial1

                        3. If I try to upload the Script from your page for ioBroker:

                        https://translate.google.de/translate?h ... rev=search

                        I receive the message:

                        serial_to_ethernet:10: error: 'callback' was not declared in this scope

                        I think this is because somehting has changed and i have to provide the method before the usage of callback, so i inserted:

                        // Callback function header

                        void callback(char* topic, byte* payload, unsigned int length);

                        before line 10.

                        Then i have an error because of too much variables. So i removed some commands for the tv input mode, just for testing purposes, and i was able to upload the sketch.

                        But then i am not able to connect via ioBroker.

                        Is there still something I have forgotten which must be changed?

                        What about this:

                        11

                        #define id_connect "myhome-RS232"

                        12

                        #define Prefix_subscribe "myhome/RS232/"

                        Do i have to configure it?

                        Is port 23 in ioBroker adapter ok? Where is it defined?

                        I expect the wires are as follows:

                        RS232 --> Arduino UNO

                        TX --> RX

                        RX --> TX

                        GND --> GND

                        VCC --> 3.3/5/12?

                        Sorry for the usage of this very old thread, but i am not allowed to send you a message at the moment and I didn't find another way to contact you.

                        Best regards,

                        Eric

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

                          @eric1905:

                          Hi Instalator,

                          I have a question regarding the connection to my LG via RS232.

                          As you wrote in your adapter page, I have:

                          1 Arduino Uno

                          1 W5100 shield

                          1 RS232 module

                          First question:

                          Is the RS232 connected via 3.3 V or 5V?

                          2. If I use the Script from the page you linked: https://github.com/stepansnigirev/Ardui … ethernet2h

                          I am not able to upload it to my arduino, because Arduino UNO does not support Serial1

                          3. If I try to upload the Script from your page for ioBroker:

                          https://translate.google.de/translate?h ... rev=search

                          I receive the message:

                          serial_to_ethernet:10: error: 'callback' was not declared in this scope

                          I think this is because somehting has changed and i have to provide the method before the usage of callback, so i inserted:

                          // Callback function header

                          void callback(char* topic, byte* payload, unsigned int length);

                          before line 10.

                          Then i have an error because of too much variables. So i removed some commands for the tv input mode, just for testing purposes, and i was able to upload the sketch.

                          But then i am not able to connect via ioBroker.

                          Is there still something I have forgotten which must be changed?

                          What about this:

                          11

                          #define id_connect "myhome-RS232"

                          12

                          #define Prefix_subscribe "myhome/RS232/"

                          Do i have to configure it?

                          Is port 23 in ioBroker adapter ok? Where is it defined?

                          I expect the wires are as follows:

                          RS232 --> Arduino UNO

                          TX --> RX

                          RX --> TX

                          GND --> GND

                          VCC --> 3.3/5/12?

                          Sorry for the usage of this very old thread, but i am not allowed to send you a message at the moment and I didn't find another way to contact you.

                          Best regards,

                          Eric `

                          Hi!

                          1. 5V max3232 schematic https://blog.instalator.ru/archives/744

                          2. https://github.com/instalator/TelnetToE … r/main.ino

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

                          http://blog.instalator.ru/

                          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

                          748

                          Online

                          32.5k

                          Benutzer

                          81.6k

                          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