Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. ioBroker драйвера
  5. MegaD 328

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    6
    1
    216

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    216

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

MegaD 328

Geplant Angeheftet Gesperrt Verschoben ioBroker драйвера
430 Beiträge 28 Kommentatoren 148.0k Aufrufe 2 Beobachtet
  • Ä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
    #162

    @Andrei34:

    После обновления перестал ШИМ работать :( `
    Что говорит debug?

    1 Antwort Letzte Antwort
    0
    • A Offline
      A Offline
      Andrei34
      schrieb am zuletzt editiert von
      #163

      @Bluefox:

      @Andrei34:

      После обновления перестал ШИМ работать :( Что говорит debug?
      Вчера ещё всё работало :( . Как бы откатится ?

      • megad-0 2015-09-19 09:49:07 debug Response "Done"
      megad-0 2015-09-19 09:49:07 debug Send command "cmd=13:NaN" to 192.168.10.11
      
      megad-0 2015-09-19 09:49:07 info try to control megad.0.p13_P13 with 0.78
      
      megad-0 2015-09-19 09:49:06 debug Response "Done"
      
      megad-0 2015-09-19 09:49:06 debug Send command "cmd=13:NaN" to 192.168.10.11
      
      megad-0 2015-09-19 09:49:06 info try to control megad.0.p13_P13 with 0
      
      megad-0 2015-09-19 09:49:05 debug Response "Done"
      
      megad-0 2015-09-19 09:49:05 debug Send command "cmd=13:NaN" to 192.168.10.11
      
      megad-0 2015-09-19 09:49:05 info try to control megad.0.p13_P13 with 0.54
      
      megad-0 2015-09-19 09:49:04 debug Response "Done"
      
      megad-0 2015-09-19 09:49:04 debug Send command "cmd=13:NaN" to 192.168.10.11
      
      megad-0 2015-09-19 09:49:04 info try to control megad.0.p13_P13 with 0
      
      megad-0 2015-09-19 09:49:04 debug detected new value on port [15]: 427, calc state 427
      
      megad-0 2015-09-19 09:49:04 debug detected new value on port [14]: 204, calc state 204
      
      megad-0 2015-09-19 09:49:04 debug Response for 192.168.10.11[all]: OFF;OFF/16;temp:23/hum:48;OFF;OFF;OFF/16;ON/219;ON/165;OFF/8;OFF;0;OFF;OFF;0;204;427
      
      1 Antwort Letzte Antwort
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        schrieb am zuletzt editiert von
        #164

        Не надо откатыватся. Есть 0.2.7

        1 Antwort Letzte Antwort
        0
        • A Offline
          A Offline
          Andrei34
          schrieb am zuletzt editiert von
          #165

          @Bluefox:

          Не надо откатыватся. Есть 0.2.7 `
          Мало что изменилось :( Команды вроде посылаются но на меге ничего не меняется .

          • megad-0 2015-09-19 10:50:25 debug Response "Done"
          megad-0 2015-09-19 10:50:25 debug Send command "cmd=13:NaN" to 192.168.10.11
          
          megad-0 2015-09-19 10:50:25 info try to control megad.0.p13_P13 with 1
          
          megad-0 2015-09-19 10:50:24 debug getPortState [http://192.168.10.11/mar/?cmd=all](http://192.168.10.11/mar/?cmd=all)
          
          megad-0 2015-09-19 10:50:24 debug Response "Done"
          
          megad-0 2015-09-19 10:50:24 debug Send command "cmd=13:NaN" to 192.168.10.11
          
          megad-0 2015-09-19 10:50:24 info try to control megad.0.p13_P13 with 0.32999999999999996
          
          megad-0 2015-09-19 10:50:23 debug Response "Done"
          
          megad-0 2015-09-19 10:50:23 debug Send command "cmd=13:NaN" to 192.168.10.11
          
          megad-0 2015-09-19 10:50:23 info try to control megad.0.p13_P13 with 0.57
          
          1 Antwort Letzte Antwort
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            schrieb am zuletzt editiert von
            #166

            @Andrei34:

            @Bluefox:

            Не надо откатыватся. Есть 0.2.7 `
            Мало что изменилось :( Команды вроде посылаются но на меге ничего не меняется .

            • megad-0 2015-09-19 10:50:25 debug Response "Done"
            megad-0 2015-09-19 10:50:25 debug Send command "cmd=13:NaN" to 192.168.10.11
            
            megad-0 2015-09-19 10:50:25 info try to control megad.0.p13_P13 with 1
            
            megad-0 2015-09-19 10:50:24 debug getPortState [http://192.168.10.11/mar/?cmd=all](http://192.168.10.11/mar/?cmd=all)
            
            megad-0 2015-09-19 10:50:24 debug Response "Done"
            
            megad-0 2015-09-19 10:50:24 debug Send command "cmd=13:NaN" to 192.168.10.11
            
            megad-0 2015-09-19 10:50:24 info try to control megad.0.p13_P13 with 0.32999999999999996
            
            megad-0 2015-09-19 10:50:23 debug Response "Done"
            
            megad-0 2015-09-19 10:50:23 debug Send command "cmd=13:NaN" to 192.168.10.11
            
            megad-0 2015-09-19 10:50:23 info try to control megad.0.p13_P13 with 0.57 `  
            

            А ты перезапустил драйвер? Выглядит как будто старая версия.

            А почему ты пишешь 0.57? разве там не целочисленные значения от 0 до 255?

            1 Antwort Letzte Antwort
            0
            • A Offline
              A Offline
              Andrei34
              schrieb am zuletzt editiert von
              #167

              @Bluefox:

              А ты перезапустил драйвер? Выглядит как будто старая версия.

              А почему ты пишешь 0.57? разве там не целочисленные значения от 0 до 255? `
              Да перезапустил :( Вроде .25 было от 0 до 1 ?

              • megad-0 2015-09-19 11:40:44 debug Response "Done"
              megad-0 2015-09-19 11:40:44 debug Send command "cmd=13:NaN" to 192.168.10.11
              
              megad-0 2015-09-19 11:40:44 info try to control megad.0.p13_P13 with 207
              
              megad-0 2015-09-19 11:40:43 debug getPortState [http://192.168.10.11/mar/?cmd=all](http://192.168.10.11/mar/?cmd=all)
              
              megad-0 2015-09-19 11:40:42 debug Response "Done"
              
              megad-0 2015-09-19 11:40:42 debug Send command "cmd=13:NaN" to 192.168.10.11
              
              megad-0 2015-09-19 11:40:42 info try to control megad.0.p13_P13 with 132
              
              1 Antwort Letzte Antwort
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                schrieb am zuletzt editiert von
                #168

                Ничего не пойму.

                Не буду пока версию делать можешь выполнить в консоли:

                cd /opt/iobroker
                iobroker stop megad.0
                npm install https://github.com/ioBroker/ioBroker.megad/tarball/master
                iobroker start megad.0
                
                
                1 Antwort Letzte Antwort
                0
                • A Offline
                  A Offline
                  Andrei34
                  schrieb am zuletzt editiert von
                  #169

                  @Bluefox:

                  Ничего не пойму.

                  Не буду пока версию делать можешь выполнить в консоли:

                  cd /opt/iobroker
                  iobroker stop megad.0
                  npm install https://github.com/ioBroker/ioBroker.megad/tarball/master
                  iobroker start megad.0
                  
                  ```` `  
                  

                  Спасибо ОГРОМНЕЙШЕЕ всё опять заработало :D :D :D

                  1 Antwort Letzte Antwort
                  0
                  • M Offline
                    M Offline
                    MSapogov
                    schrieb am zuletzt editiert von
                    #170

                    Что-то у меня голова не соображает, куда нужно что прописать, чтобы об нажатии кнопки, выключателя или изменении выхода - IoBroker об этом получал информацию.

                    У меня после записи конфига в устройство, автоматом прописалось только поле SRV - 192.168.11.3:80 и Script - /0/

                    Может нужно в настройках порта в поле Net тоже что-то указывать?

                    Научите правильному :-)

                    1 Antwort Letzte Antwort
                    0
                    • V Offline
                      V Offline
                      vtec
                      schrieb am zuletzt editiert von
                      #171

                      Все правильно, единственное что скрипт должен быть 0/, без первого слеша, т.к. мега сама подставляет.

                      А дальше скрипты писать. Или драйверу выставить режим отладки debug и смотреть логи.

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

                        @vtec:

                        Все правильно, единственное что скрипт должен быть 0/, без первого слеша, т.к. мега сама подставляет.

                        А дальше скрипты писать. Или драйверу выставить режим отладки debug и смотреть логи. `
                        Точно "0/", а не "/0/" ?

                        Я сейчас прописываю "/0/"

                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          MSapogov
                          schrieb am zuletzt editiert von
                          #173

                          @vtec:

                          Все правильно, единственное что скрипт должен быть 0/, без первого слеша, т.к. мега сама подставляет.

                          А дальше скрипты писать. Или драйверу выставить режим отладки debug и смотреть логи. `
                          Спасибо.

                          Теперь в логах есть инфа об нажатии кнопок.

                          Но перестали выполняться скрипты из поля Act на этих портах.

                          Получается или поле выполняем что в поле Act или скрипт на сервере?

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

                            @MSapogov:

                            @vtec:

                            Все правильно, единственное что скрипт должен быть 0/, без первого слеша, т.к. мега сама подставляет.

                            А дальше скрипты писать. Или драйверу выставить режим отладки debug и смотреть логи. `
                            Спасибо.

                            Теперь в логах есть инфа об нажатии кнопок.

                            Но перестали выполняться скрипты из поля Act на этих портах.

                            Получается или поле выполняем что в поле Act или скрипт на сервере? В документации по мега указано: > Action (Act) - действие, которое необходимо произвести, в случае, когда сервер не указан или не отвечает. `

                            1 Antwort Letzte Antwort
                            0
                            • V Offline
                              V Offline
                              vtec
                              schrieb am zuletzt editiert von
                              #175

                              @Bluefox:

                              Точно "0/", а не "/0/" ?

                              Я сейчас прописываю "/0/" `

                              У меня прописано 0/ и работает. Следовательно верно, т.к. без этого слеша получился бы корявый адрес.

                              А у тебя получается http://ip//0/ Браузер если не ошибаюсь просто проглатывает такое.

                              1 Antwort Letzte Antwort
                              0
                              • B Offline
                                B Offline
                                Bosya
                                schrieb am zuletzt editiert von
                                #176

                                Две абсолютно одинаковые меги.

                                0 работает как положено, а 2 как-то глючит - нажимаеш кнопку загорается и тухнет.

                                Скрипты одинаковые. Настройки одинаковые. Лог разный:

                                root@Cubian:/opt/iobroker/log# tail -f iobroker.log.2015-09-21 | grep megad.0

                                2015-09-21 22:35:58.508 - debug: megad.0 reported new value for port 1, request actual value

                                2015-09-21 22:35:58.511 - debug: megad.0 getPortState http://192.168.15.20/sec/?pt=1&cmd=get

                                2015-09-21 22:35:58.535 - debug: megad.0 response for 192.168.15.20[1]: ON/27

                                2015-09-21 22:35:58.538 - debug: megad.0 detected new state on port [1]: 1

                                2015-09-21 22:35:58.540 - debug: megad.0 Start timer for 600ms to detect double click on 1

                                2015-09-21 22:35:58.745 - debug: megad.0 reported new value for port 1, request actual value

                                2015-09-21 22:35:58.748 - debug: megad.0 getPortState http://192.168.15.20/sec/?pt=1&cmd=get

                                2015-09-21 22:35:58.763 - debug: megad.0 response for 192.168.15.20[1]: OFF/27

                                2015-09-21 22:35:58.765 - debug: megad.0 detected new state on port [1]: 0

                                2015-09-21 22:37:26.755 - info: megad.0 sendTo "send" to system.adapter.megad.2 from system.adapter.megad.0: 2

                                2015-09-21 22:37:26.775 - debug: inMem message messagebox.system.adapter.megad.2 messagebox.system.adapter.megad.2 command=send, message=2, from=system.adapter.megad.0, _id=72

                                2015-09-21 22:37:26.778 - debug: megad.2 reported new value for port 2, request actual value

                                2015-09-21 22:37:26.779 - debug: megad.2 getPortState http://192.168.15.22/sec/?pt=2&cmd=get

                                2015-09-21 22:37:26.792 - debug: megad.2 response for 192.168.15.22[2]: ON/72

                                2015-09-21 22:37:26.794 - debug: megad.2 detected new state on port [2]: 1

                                2015-09-21 22:37:26.795 - debug: megad.2 Start timer for 600ms to detect double click on 2

                                2015-09-21 22:37:26.941 - info: megad.0 sendTo "send" to system.adapter.megad.2 from system.adapter.megad.0: 2

                                2015-09-21 22:37:26.960 - debug: inMem message messagebox.system.adapter.megad.2 messagebox.system.adapter.megad.2 command=send, message=2, from=system.adapter.megad.0, _id=73

                                2015-09-21 22:37:26.963 - debug: megad.2 reported new value for port 2, request actual value

                                2015-09-21 22:37:26.964 - debug: megad.2 getPortState http://192.168.15.22/sec/?pt=2&cmd=get

                                2015-09-21 22:37:26.980 - debug: megad.2 response for 192.168.15.22[2]: OFF/72

                                2015-09-21 22:37:26.982 - debug: megad.2 detected new state on port [2]: 0

                                2015-09-21 22:37:27.005 - debug: inMem message * megad.2.p2_P2 val=false, ack=true, ts=1442864247, from=system.adapter.megad.2, lc=1442864233

                                2015-09-21 22:37:27.014 - debug: inMem message * megad.2.p2_P2 val=false, ack=true, ts=1442864247, from=system.adapter.megad.2, lc=1442864233

                                2015-09-21 22:37:27.017 - debug: inMem message megad.2.* megad.2.p2_P2 val=false, ack=true, ts=1442864247, from=system.adapter.megad.2, lc=1442864233

                                2015-09-21 22:37:27.397 - debug: megad.2 Generate short click on port 2

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

                                  @Bosya:

                                  Две абсолютно одинаковые меги.

                                  0 работает как положено, а 2 как-то глючит - нажимаеш кнопку загорается и тухнет.

                                  Скрипты одинаковые. Настройки одинаковые. Лог разный:

                                  root@Cubian:/opt/iobroker/log# tail -f iobroker.log.2015-09-21 | grep megad.0

                                  2015-09-21 22:35:58.508 - debug: megad.0 reported new value for port 1, request actual value

                                  2015-09-21 22:35:58.511 - debug: megad.0 getPortState http://192.168.15.20/sec/?pt=1&cmd=get

                                  2015-09-21 22:35:58.535 - debug: megad.0 response for 192.168.15.20[1]: ON/27

                                  2015-09-21 22:35:58.538 - debug: megad.0 detected new state on port [1]: 1

                                  2015-09-21 22:35:58.540 - debug: megad.0 Start timer for 600ms to detect double click on 1

                                  2015-09-21 22:35:58.745 - debug: megad.0 reported new value for port 1, request actual value

                                  2015-09-21 22:35:58.748 - debug: megad.0 getPortState http://192.168.15.20/sec/?pt=1&cmd=get

                                  2015-09-21 22:35:58.763 - debug: megad.0 response for 192.168.15.20[1]: OFF/27

                                  2015-09-21 22:35:58.765 - debug: megad.0 detected new state on port [1]: 0

                                  2015-09-21 22:37:26.755 - info: megad.0 sendTo "send" to system.adapter.megad.2 from system.adapter.megad.0: 2

                                  2015-09-21 22:37:26.775 - debug: inMem message messagebox.system.adapter.megad.2 messagebox.system.adapter.megad.2 command=send, message=2, from=system.adapter.megad.0, _id=72

                                  2015-09-21 22:37:26.778 - debug: megad.2 reported new value for port 2, request actual value

                                  2015-09-21 22:37:26.779 - debug: megad.2 getPortState http://192.168.15.22/sec/?pt=2&cmd=get

                                  2015-09-21 22:37:26.792 - debug: megad.2 response for 192.168.15.22[2]: ON/72

                                  2015-09-21 22:37:26.794 - debug: megad.2 detected new state on port [2]: 1

                                  2015-09-21 22:37:26.795 - debug: megad.2 Start timer for 600ms to detect double click on 2

                                  2015-09-21 22:37:26.941 - info: megad.0 sendTo "send" to system.adapter.megad.2 from system.adapter.megad.0: 2

                                  2015-09-21 22:37:26.960 - debug: inMem message messagebox.system.adapter.megad.2 messagebox.system.adapter.megad.2 command=send, message=2, from=system.adapter.megad.0, _id=73

                                  2015-09-21 22:37:26.963 - debug: megad.2 reported new value for port 2, request actual value

                                  2015-09-21 22:37:26.964 - debug: megad.2 getPortState http://192.168.15.22/sec/?pt=2&cmd=get

                                  2015-09-21 22:37:26.980 - debug: megad.2 response for 192.168.15.22[2]: OFF/72

                                  2015-09-21 22:37:26.982 - debug: megad.2 detected new state on port [2]: 0

                                  2015-09-21 22:37:27.005 - debug: inMem message * megad.2.p2_P2 val=false, ack=true, ts=1442864247, from=system.adapter.megad.2, lc=1442864233

                                  2015-09-21 22:37:27.014 - debug: inMem message * megad.2.p2_P2 val=false, ack=true, ts=1442864247, from=system.adapter.megad.2, lc=1442864233

                                  2015-09-21 22:37:27.017 - debug: inMem message megad.2.* megad.2.p2_P2 val=false, ack=true, ts=1442864247, from=system.adapter.megad.2, lc=1442864233

                                  2015-09-21 22:37:27.397 - debug: megad.2 Generate short click on port 2 `
                                  А что загорается и тухнет?

                                  По логам всё верно. Т.к. слушает на порту 80 только mega.0, то она пересылает все сообщения от 192.168.15.22 на mega.2. И там видно, что кнопка нажимается и сразу отжимается. Ещё висит распознавание double click на 2.
                                  4720_heigung2.jpg
                                  4720_heizung.jpg

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

                                    Заработало? Мне важно знать, что бы написать на ab-log форуме, что драйвер готов.

                                    (Проблему с поиском устройств я ещё решу)

                                    1 Antwort Letzte Antwort
                                    0
                                    • B Offline
                                      B Offline
                                      Bosya
                                      schrieb am zuletzt editiert von
                                      #179

                                      Вчера поставил третью мегу - сегодня буду тестить… Может я где-то провтыкал....
                                      6305_hm_tuersensor.png

                                      1 Antwort Letzte Antwort
                                      0
                                      • B Offline
                                        B Offline
                                        Bosya
                                        schrieb am zuletzt editiert von
                                        #180

                                        Третья мега пока не заработала - проблемы коммутации.
                                        @Bluefox:

                                        А что загорается и тухнет? `
                                        Разобрался - сначала сама мега переключает выход (11:2) - потом аналогичная команда приходит от сервера… Убираешь команду в поле Action - все отлично работает через сервер. Возвращаешь Action и убираешь настройки сервера - все работает через контролер. Теперь вопрос - почему мега не ждет выполнения команды от сервера? Может он ей что-то не так отвечает? На 0 меге все отлично. Проблемы на 2 (1 пока не работает).

                                        PS. Решил симитировать запросы меги (192.168.15.15 - сервер)

                                        Отправил команду http://192.168.15.15/0/?pt=3

                                        Ответ: OK

                                        Отправил команду http://192.168.15.15/1/?pt=3

                                        Ответ: OK->

                                        Отправил команду http://192.168.15.15/2/?pt=3

                                        Ответ: OK->

                                        Таким образом проблема в драйвере - он некорректно отвечает не 0 меге.

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

                                          Ты имеешь ввиду

                                          OK****->****

                                          ?

                                          1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          481

                                          Online

                                          32.8k

                                          Benutzer

                                          82.8k

                                          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