Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. развитие
  5. ioBroker разработка
  6. Управление оборудованием по RS232

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    688

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

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

Scheduled Pinned Locked Moved ioBroker разработка
14 Posts 5 Posters 11.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    instalator
    wrote on last edited by
    #1

    Нет ли наработок по управлению оборудованием по RS232? в частности управление телевизором LG и проектором BenQ. Может планируется соответствующий драйвер или придется свой костыль ваять?

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

    http://blog.instalator.ru/

    1 Reply Last reply
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      wrote on last edited by
      #2

      Должно быть возможно реализовать это с node-red.

      Примерно, как здесь:

      https://www.ibm.com/developerworks/comm … ct?lang=en

      1 Reply Last reply
      0
      • I Offline
        I Offline
        instalator
        wrote on last edited by
        #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 Reply Last reply
        0
        • BluefoxB Offline
          BluefoxB Offline
          Bluefox
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • I Offline
            I Offline
            instalator
            wrote on last edited by
            #5

            @Bluefox:

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

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

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

            http://blog.instalator.ru/

            1 Reply Last reply
            0
            • aurodionovA Offline
              aurodionovA Offline
              aurodionov
              wrote on last edited by
              #6

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

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

              1 Reply Last reply
              0
              • I Offline
                I Offline
                instalator
                wrote on last edited by
                #7

                @aurodionov:

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

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

                http://blog.instalator.ru/

                1 Reply Last reply
                0
                • aurodionovA Offline
                  aurodionovA Offline
                  aurodionov
                  wrote on last edited by
                  #8

                  @instalator:

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

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

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    Vlad_k
                    wrote on last edited by
                    #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 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      instalator
                      wrote on last edited by
                      #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 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        Vlad_k
                        wrote on last edited by
                        #11

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

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

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

                        1 Reply Last reply
                        0
                        • I Offline
                          I Offline
                          instalator
                          wrote on last edited by
                          #12

                          @Vlad_k:

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

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

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

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

                          http://blog.instalator.ru/

                          1 Reply Last reply
                          0
                          • E Offline
                            E Offline
                            eric1905
                            wrote on last edited by
                            #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 Reply Last reply
                            0
                            • I Offline
                              I Offline
                              instalator
                              wrote on last edited by
                              #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 Reply Last reply
                              0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              523

                              Online

                              32.7k

                              Users

                              82.6k

                              Topics

                              1.3m

                              Posts
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                              ioBroker Community 2014-2025
                              logo
                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Home
                              • Recent
                              • Tags
                              • Unread 0
                              • Categories
                              • Unreplied
                              • Popular
                              • GitHub
                              • Docu
                              • Hilfe