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

  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. ioBroker драйвера
  5. MegaD 328

NEWS

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

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

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

MegaD 328

Geplant Angeheftet Gesperrt Verschoben ioBroker драйвера
430 Beiträge 28 Kommentatoren 135.3k Aufrufe 2 Watching
  • Ä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.
  • A Offline
    A Offline
    Andrei34
    schrieb am zuletzt editiert von
    #158

    @Bluefox:

    > Команды возможны , но они по уровню в поле Val и можно выбрать (Norm , < , > , <> )
    Речь шла о DHT11(22). Вопрос остаётся открытым. `
    Нет в DHT11(22) менять ничего нельзя .
    546_1.png

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

      Отлично. У меня есть вся инфа. Спасибо

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

        @Bluefox:

        Отлично. У меня есть вся инфа. Спасибо `
        Ждем версию драйвера 0.2.6 с этими исправлениями.

        А при нажатии "Find devices" у меня ничего не находит…

        Но когда из линукса набираю

        php megad-cfg.php --scan --local-ip 192.168.11.1

        Обязательно с параметром --local-ip 192.168.11.1

        192.168.11.1 - адресс компьютера с которого зпускаю комманду, то в ответ

        Радостно прилетает 192.168.11.206

        root@router:/var/www/desk# php megad-cfg.php --scan --local-ip 192.168.11.1
        192.168.11.206
        

        Может у Вас не хватает параметра –local-ip ?

        PS: Программатор в шкаф пока не убираю :-)

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

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

          1 Antwort Letzte Antwort
          0
          • 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
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          292

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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