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.3k

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

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

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.
  • M Offline
    M Offline
    MSapogov
    schrieb am zuletzt editiert von
    #150

    @Bluefox:

    Можно посмотреть какие команды отсылаются, если включить debug уровень.

    2015-09-17 18:04:43.411  - info: megad.0 Write config for port 0: http://localhost:8087/sec/?pn=0&pty=0&m=1&ecmd=ð=
    2015-09-17 18:04:45.415  - info: megad.0 Write config for port 1: http://localhost:8087/sec/?pn=1&pty=1&m=0&d=0&pwm=0
    2015-09-17 18:04:47.418  - info: megad.0 Write config for port 2: http://localhost:8087/sec/?pn=2&pty=0&m=0&ecmd=ð=
    2015-09-17 18:04:49.428  - info: megad.0 Write config for port 3: http://localhost:8087/sec/?pn=3&pty=2&m=0&misc=1023&ecmd=ð=
    2015-09-17 18:04:51.431  - info: megad.0 Write config for port 4: http://localhost:8087/sec/?pn=4&pty=3&d=undefined&m=1&misc=undefined&ecmd=ð=
    2015-09-17 18:04:53.434  - info: megad.0 Write config for port 5: http://localhost:8087/sec/?pn=5&pty=3&d=undefined&m=1&misc=undefined&ecmd=ð=
    2015-09-17 18:04:56.436  - info: megad.0 Write config for device: http://localhost:8087/sec/?cf=1&sip=127.0.0.1:7878&sct=%2F0%2F
    

    Хотя их и с info уровнем видно.

    ` > PPPS: У сенсоров Sensor type:DHT11 и DHT22 на самом деле нет возможности устанавливать порог… А в драйвере ЕСТЬ!!!

    Нужно бы убрать. А как же [http://forum.iobroker.org/viewtopic.php … 120#p10286](http://forum.iobroker.org/viewtopic.php?f=16&t=481&start=120#p10286) ?

    megad-0	2015-09-18 09:14:12	info	sendTo "writeConfig" to system.adapter.admin.0 from system.adapter.megad.0: {"error":[]}
    megad-0	2015-09-18 09:14:12	info	Write config for device: http://192.168.11.206/sec/?cf=1&sip=192.168.11.3&sct=%2F0%2F
    megad-0	2015-09-18 09:14:10	info	Write config for port 15: http://192.168.11.206/sec/?pn=15&pty=2&m=0&misc=0&ecmd=ð=
    megad-0	2015-09-18 09:14:09	info	Write config for port 14: http://192.168.11.206/sec/?pn=14&pty=2&m=2&misc=1024&ecmd=11%3A4ð=
    megad-0	2015-09-18 09:14:08	info	Write config for port 13: http://192.168.11.206/sec/?pn=13&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:14:07	info	Write config for port 12: http://192.168.11.206/sec/?pn=12&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:14:06	info	Write config for port 11: http://192.168.11.206/sec/?pn=11&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:14:05	info	Write config for port 10: http://192.168.11.206/sec/?pn=10&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:14:04	info	Write config for port 9: http://192.168.11.206/sec/?pn=9&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:14:03	info	Write config for port 8: http://192.168.11.206/sec/?pn=8&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:14:02	info	Write config for port 7: http://192.168.11.206/sec/?pn=7&pty=0&m=0&ecmd=ð=
    megad-0	2015-09-18 09:14:01	info	Write config for port 6: http://192.168.11.206/sec/?pn=6&pty=0&m=0&ecmd=ð=
    megad-0	2015-09-18 09:13:59	info	Write config for port 5: http://192.168.11.206/sec/?pn=5&pty=0&m=0&ecmd=ð=
    megad-0	2015-09-18 09:13:58	info	Write config for port 4: http://192.168.11.206/sec/?pn=4&pty=0&m=0&ecmd=10%3A2ð=
    megad-0	2015-09-18 09:13:57	info	Write config for port 3: http://192.168.11.206/sec/?pn=3&pty=0&m=0&ecmd=9%3A3%3Bp50%3B9%3A0ð=
    megad-0	2015-09-18 09:13:56	info	Write config for port 2: http://192.168.11.206/sec/?pn=2&pty=0&m=1&ecmd=8%3A2%3Bp600%3B8%3A0ð=
    megad-0	2015-09-18 09:13:55	info	Write config for port 1: http://192.168.11.206/sec/?pn=1&pty=3&d=2&m=0&misc=0&ecmd=ð=
    megad-0	2015-09-18 09:13:54	info	Write config for port 0: http://192.168.11.206/sec/?pn=0&pty=3&d=3&m=1&misc=33&ecmd=12%3A4ð=
    admin-0	2015-09-18 09:13:54	info	sendTo "writeConfig" to system.adapter.megad.0 from system.adapter.admin.0: {"ip":"192.168.11.206","password":"sec","ports":[{"misc":33,"ecmd":"12:4","eth":"","naf":0,"pty":3,"m":1,"d":3,"name":"P0",
    megad-0	2015-09-18 09:13:50	info	Update state megad.0.p13_P13
    megad-0	2015-09-18 09:13:50	info	http server listening on port 80
    megad-0	2015-09-18 09:13:50	info	starting. Version 0.2.5 in /opt/iobroker/node_modules/iobroker.megad
    

    и

    megad-0	2015-09-18 09:19:36	info	sendTo 'writeConfig' to system.adapter.admin.0 from system.adapter.megad.0: {'error':[]}
    megad-0	2015-09-18 09:19:36	debug	Response: Back | Megad-ID
    IP: 
    192.168.11.206
    
    Pwd: 
    sec
    
    GW: 
    255.255.255.255
    
    SRV: 
    192.168.11.3:80
    
    Script: 
    /0/
    
    T check: 
    Alarm T: 
    
    Cur T: 34
    Save
    megad-0	2015-09-18 09:19:36	info	Write config for device: http://192.168.11.206/sec/?cf=1&sip=192.168.11.3&sct=%2F0%2F
    megad-0	2015-09-18 09:19:34	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:34	info	Write config for port 15: http://192.168.11.206/sec/?pn=15&pty=2&m=0&misc=0&ecmd=ð=
    megad-0	2015-09-18 09:19:33	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:32	info	Write config for port 14: http://192.168.11.206/sec/?pn=14&pty=2&m=2&misc=1024&ecmd=11%3A4ð=
    megad-0	2015-09-18 09:19:31	debug	getPortState http://192.168.11.206/sec/?cmd=all
    megad-0	2015-09-18 09:19:31	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:31	info	Write config for port 13: http://192.168.11.206/sec/?pn=13&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:19:30	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:30	info	Write config for port 12: http://192.168.11.206/sec/?pn=12&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:19:29	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:29	info	Write config for port 11: http://192.168.11.206/sec/?pn=11&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:19:28	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:28	info	Write config for port 10: http://192.168.11.206/sec/?pn=10&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:19:27	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:27	info	Write config for port 9: http://192.168.11.206/sec/?pn=9&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:19:26	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:26	info	Write config for port 8: http://192.168.11.206/sec/?pn=8&pty=1&m=0&d=0&pwm=0
    megad-0	2015-09-18 09:19:25	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:25	info	Write config for port 7: http://192.168.11.206/sec/?pn=7&pty=0&m=0&ecmd=ð=
    megad-0	2015-09-18 09:19:24	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:24	info	Write config for port 6: http://192.168.11.206/sec/?pn=6&pty=0&m=0&ecmd=ð=
    megad-0	2015-09-18 09:19:23	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:23	info	Write config for port 5: http://192.168.11.206/sec/?pn=5&pty=0&m=0&ecmd=ð=
    megad-0	2015-09-18 09:19:22	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:22	info	Write config for port 4: http://192.168.11.206/sec/?pn=4&pty=0&m=0&ecmd=10%3A2ð=
    megad-0	2015-09-18 09:19:21	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:20	info	Write config for port 3: http://192.168.11.206/sec/?pn=3&pty=0&m=0&ecmd=9%3A3%3Bp50%3B9%3A0ð=
    megad-0	2015-09-18 09:19:19	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:19	info	Write config for port 2: http://192.168.11.206/sec/?pn=2&pty=0&m=1&ecmd=8%3A2%3Bp600%3B8%3A0ð=
    megad-0	2015-09-18 09:19:18	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:18	info	Write config for port 1: http://192.168.11.206/sec/?pn=1&pty=3&d=2&m=0&misc=0&ecmd=ð=
    megad-0	2015-09-18 09:19:17	debug	Response: Back
    MegaD is restarted
    megad-0	2015-09-18 09:19:17	info	Write config for port 0: http://192.168.11.206/sec/?pn=0&pty=3&d=3&m=1&misc=33&ecmd=12%3A4ð=
    inMem	2015-09-18 09:19:17	debug	message messagebox.system.adapter.megad.0 messagebox.system.adapter.megad.0 command=writeConfig, ip=192.168.11.206, password=sec, ports=[misc=33, ecmd=12:4, eth=, naf=0, pty=3, m=1, d=3, name=P0, role=value.temperature, room=, pty=3, name=P1, m=0, role=value.temperature, room=, eth=, ecmd=, d=2, misc=0, ecmd=8:2;p600;8:0, eth=, naf=0, misc=0, d=0, pty=0, m=1, name=P2, long=false, double=false, role=state, room=, ecmd=9:3;p50;9:0, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P3, long=false, double=false, role=state, room=, ecmd=10:2, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P4, long=false, double=false, role=state, room=, ecmd=, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P5, long=false, double=false, role=state, room=, ecmd=, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P6, long=false, double=false, role=state, room=, ecmd=, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P7, long=false, double=false, role=state, room=, pty=1, d=0, m=0, pwm=0, name=P8, role=button, room=, pty=1, d=0, m=0, pwm=0, name=P9, role=button, room=, pty=1, d=0, m=0, pwm=0, name=P10, role=button, room=, pty=1, d=0, m=0, pwm=0, name=P11, role=button, room=, pty=1, m=0, pwm=0, name=P12, role=button, room=, d=0, pty=1, pwm=0, name=P13, role=value, room=, m=0, d=0, misc=60, ecmd=11:4, eth=, naf=0, m=2, pty=2, name=P14, offset=0, factor=1, role=value, room=, misc=0, ecmd=, eth=, naf=0, m=0, pty=2, name=P15, offset=0, factor=1, role=value, room=], port=, from=system.adapter.admin.0, ip=192.168.11.206, password=sec, ports=[misc=33, ecmd=12:4, eth=, naf=0, pty=3, m=1, d=3, name=P0, role=value.temperature, room=, pty=3, name=P1, m=0, role=value.temperature, room=, eth=, ecmd=, d=2, misc=0, ecmd=8:2;p600;8:0, eth=, naf=0, misc=0, d=0, pty=0, m=1, name=P2, long=false, double=false, role=state, room=, ecmd=9:3;p50;9:0, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P3, long=false, double=false, role=state, room=, ecmd=10:2, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P4, long=false, double=false, role=state, room=, ecmd=, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P5, long=false, double=false, role=state, room=, ecmd=, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P6, long=false, double=false, role=state, room=, ecmd=, eth=, naf=0, misc=0, d=0, pty=0, m=0, name=P7, long=false, double=false, role=state, room=, pty=1, d=0, m=0, pwm=0, name=P8, role=button, room=, pty=1, d=0, m=0, pwm=0, name=P9, role=button, room=, pty=1, d=0, m=0, pwm=0, name=P10, role=button, room=, pty=1, d=0, m=0, pwm=0, name=P11, role=button, room=, pty=1, m=0, pwm=0, name=P12, role=button, room=, d=0, pty=1, pwm=0, name=P13, role=value, room=, m=0, d=0, misc=60, ecmd=11:4, eth=, naf=0, m=2, pty=2, name=P14, offset=0, factor=1, role=value, room=, misc=0, ecmd=, eth=, naf=0, m=0, pty=2, name=P15, offset=0, factor=1, role=value, room=], port=, id=25, ack=false, time=1442546357390, _id=4423
    admin-0	2015-09-18 09:19:17	info	sendTo 'writeConfig' to system.adapter.megad.0 from system.adapter.admin.0: {'ip':'192.168.11.206','password':'sec','ports':[{'misc':33,'ecmd':'12:4','eth':'','naf':0,'pty':3,'m':1,'d':3,'name':'P0','role':'value.temperature','room':''},{'pty':'3','name':'P1','m':'0','role':'value.temperature','room':'','eth':'','ecmd':'','d':'2','misc':0},{'ecmd':'8:2;p600;8:0','eth':'','naf':0,'misc':0,'d':0,'pty':0,'m':1,'name':'P2','long':false,'double':false,'role':'state','room':''},{'ecmd':'9:3;p50;9:0','eth':'','naf':0,'misc':0,'d':0,'pty':0,'m':0,'name':'P3','long':false,'double':false,'role':'state','room':''},{'ecmd':'10:2','eth':'','naf':0,'misc':0,'d':0,'pty':0,'m':0,'name':'P4','long':false,'double':false,'role':'state','room':''},{'ecmd':'','eth':'','naf':0,'misc':0,'d':0,'pty':0,'m':0,'name':'P5','long':false,'double':false,'role':'state','room':''},{'ecmd':'','eth':'','naf':0,'misc':0,'d':0,'pty':0,'m':0,'name':'P6','long':false,'double':false,'role':'state','room':''},{'ecmd':'','eth':'','naf':0,'misc':0,'d':0,'pty':0,'m':0,'name':'P7','long':false,'double':false,'role':'state','room':''},{'pty':1,'d':0,'m':0,'pwm':0,'name':'P8','role':'button','room':''},{'pty':1,'d':0,'m':0,'pwm':0,'name':'P9','role':'button','room':''},{'pty':1,'d':0,'m':0,'pwm':0,'name':'P10','role':'button','room':''},{'pty':1,'d':0,'m':0,'pwm':0,'name':'P11','role':'button','room':''},{'pty':'1','m':0,'pwm':0,'name':'P12','role':'button','room':'','d':0},{'pty':'1','pwm':0,'name':'P13','role':'value','room':'','m':0,'d':0},{'misc':60,'ecmd':'11:4','eth':'','naf':0,'m':'2','pty':2,'name':'P14','offset':0,'factor':1,'role':'value','room':''},{'misc':0,'ecmd':'','eth':'','naf':0,'m':0,'pty':2,'name':'P15','offset':0,'factor':1,'role':'value','room':''}],'config':{'port':''}}
    
    

    Но окончания вконце съедаются… можно посмотреть только наведя мышкой на эту строкку.
    643_megad-save-iot-debug.png

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

      Вроде нашел причину…

      Как только в драйвере присутствует настройка Р14 то Р13 портится!!!

      Вот логи...

      megad-0	2015-09-18 09:49:01	info	sendTo "writeConfig" to system.adapter.admin.0 from system.adapter.megad.0: {"error":[]}
      megad-0	2015-09-18 09:49:00	info	Write config for device: http://192.168.11.206/sec/?cf=1&sip=192.168.11.3&sct=%2F0%2F
      megad-0	2015-09-18 09:48:58	info	Write config for port 15: http://192.168.11.206/sec/?pn=15&pty=2&m=0&misc=0&ecmd=ð=
      megad-0	2015-09-18 09:48:57	info	Write config for port 14: http://192.168.11.206/sec/?pn=14&pty=2&m=0&misc=0&ecmd=ð=
      megad-0	2015-09-18 09:48:56	info	Write config for port 13: http://192.168.11.206/sec/?pn=13&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:48:55	info	Write config for port 12: http://192.168.11.206/sec/?pn=12&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:48:54	info	Write config for port 11: http://192.168.11.206/sec/?pn=11&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:48:53	info	Write config for port 10: http://192.168.11.206/sec/?pn=10&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:48:52	info	Write config for port 9: http://192.168.11.206/sec/?pn=9&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:48:51	info	Write config for port 8: http://192.168.11.206/sec/?pn=8&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:48:50	info	Write config for port 7: http://192.168.11.206/sec/?pn=7&pty=0&m=0&ecmd=ð=
      megad-0	2015-09-18 09:48:49	info	Write config for port 6: http://192.168.11.206/sec/?pn=6&pty=0&m=0&ecmd=ð=
      megad-0	2015-09-18 09:48:48	info	Write config for port 5: http://192.168.11.206/sec/?pn=5&pty=0&m=0&ecmd=ð=
      megad-0	2015-09-18 09:48:46	info	Write config for port 4: http://192.168.11.206/sec/?pn=4&pty=0&m=0&ecmd=10%3A2ð=
      megad-0	2015-09-18 09:48:45	info	Write config for port 3: http://192.168.11.206/sec/?pn=3&pty=0&m=0&ecmd=9%3A3%3Bp50%3B9%3A0ð=
      megad-0	2015-09-18 09:48:44	info	Write config for port 2: http://192.168.11.206/sec/?pn=2&pty=0&m=1&ecmd=8%3A2%3Bp600%3B8%3A0ð=
      megad-0	2015-09-18 09:48:43	info	Write config for port 1: http://192.168.11.206/sec/?pn=1&pty=3&d=2&m=1&misc=undefined&ecmd=ð=
      

      Р13 после этого испорчен…

      Затем в драйвере выключаю порт Р14

      megad-0	2015-09-18 09:51:10	info	sendTo "writeConfig" to system.adapter.admin.0 from system.adapter.megad.0: {"error":[]}
      megad-0	2015-09-18 09:51:10	info	Write config for device: http://192.168.11.206/sec/?cf=1&sip=192.168.11.3&sct=%2F0%2F
      megad-0	2015-09-18 09:51:07	info	Write config for port 15: http://192.168.11.206/sec/?pn=15&pty=2&m=0&misc=0&ecmd=ð=
      megad-0	2015-09-18 09:51:06	info	Write config for port 14: http://192.168.11.206/sec/?pn=14&pty=255
      megad-0	2015-09-18 09:51:05	info	Write config for port 13: http://192.168.11.206/sec/?pn=13&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:51:04	info	Write config for port 12: http://192.168.11.206/sec/?pn=12&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:51:03	info	Write config for port 11: http://192.168.11.206/sec/?pn=11&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:51:02	info	Write config for port 10: http://192.168.11.206/sec/?pn=10&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:51:01	info	Write config for port 9: http://192.168.11.206/sec/?pn=9&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:51:00	info	Write config for port 8: http://192.168.11.206/sec/?pn=8&pty=1&m=0&d=0&pwm=0
      megad-0	2015-09-18 09:50:59	info	Write config for port 7: http://192.168.11.206/sec/?pn=7&pty=0&m=0&ecmd=ð=
      megad-0	2015-09-18 09:50:58	info	Write config for port 6: http://192.168.11.206/sec/?pn=6&pty=0&m=0&ecmd=ð=
      megad-0	2015-09-18 09:50:57	info	Write config for port 5: http://192.168.11.206/sec/?pn=5&pty=0&m=0&ecmd=ð=
      megad-0	2015-09-18 09:50:56	info	Write config for port 4: http://192.168.11.206/sec/?pn=4&pty=0&m=0&ecmd=10%3A2ð=
      megad-0	2015-09-18 09:50:54	info	Write config for port 3: http://192.168.11.206/sec/?pn=3&pty=0&m=0&ecmd=9%3A3%3Bp50%3B9%3A0ð=
      megad-0	2015-09-18 09:50:53	info	Write config for port 2: http://192.168.11.206/sec/?pn=2&pty=0&m=1&ecmd=8%3A2%3Bp600%3B8%3A0ð=
      megad-0	2015-09-18 09:50:52	info	Write config for port 1: http://192.168.11.206/sec/?pn=1&pty=3&d=2&m=1&misc=undefined&ecmd=ð=
      megad-0	2015-09-18 09:50:51	info	Write config for port 0: http://192.168.11.206/sec/?pn=0&pty=3&d=3&m=1&misc=33&ecmd=12%3A4ð=
      

      После этого Р13 работает как миленький!!!

      Что самое интересное Р15 не трогаю.

      Небольшие замечания (как должно быть)

      Р14 и Р15 - присутствуют ВСЕГДА в устройстве и ВСЕГДА они ADC.

      если порт цифровой DHT11 или DHT22, то он только отображает значения. Комманд он выполнять никаких не может. Так как там 2 значения передаются.

      PS: Если после того как Р13 испорчен, подать комманду http://192.168.11.206/sec/?pn=14&pty=255, то его можно спокойно конфигурировать как хочется и он становится работающим.

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

        Первое.

        Не пойму откуда берётся "ecmd=ð="

        Второе.

        То есть порты Р14 и Р15 всегда либо ADC Input, NC или Digital Sensor? Или только ADC и NC.

        А команды они могут выполнять?

        А строка без pty=2

        http://192.168.11.206/sec/?pn=14&m=0&misc=0&ecmd=
        

        Воспринимается нормально?

        Третье.

        Если порты DHT11 или DHT22, то комманды невозможны. А как же скрин?
        48_screencapture-192-168-1-14-sec-1440449943300.png
        Там выставлен 1Wire и команды можно задать. При выборе DHT11 поля исчезают?

        Я могу убрать команды для DHT11 или DHT22 и могу сделать P14 и P15 только ADC. Но мне нужно знать, как правильно.

        Кто ещё пользуется megad подтвердите/объясните. ;)

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

          @Bluefox:

          Первое.

          Не пойму откуда берётся "ecmd=ð=" `

          ??????
          @Bluefox:

          Второе.

          То есть порты Р14 и Р15 всегда либо ADC Input, NC или Digital Sensor? Или только ADC и NC.

          А команды они могут выполнять?

          А строка без pty=2

          http://192.168.11.206/sec/?pn=14&m=0&misc=0&ecmd=
          

          Воспринимается нормально? `
          Порты Р14 и Р15 всегда ADC Input. И называются они A6 и A7 как в ардуино .

          @Bluefox:

          Третье.

          Если порты DHT11 или DHT22, то комманды невозможны. А как же скрин?
          filename="screencapture-192-168-1-14-sec-1440449943300.png" index="3">~~
          Там выставлен 1Wire и команды можно задать. При выборе DHT11 поля исчезают?

          Я могу убрать команды для DHT11 или DHT22 и могу сделать P14 и P15 только ADC. Но мне нужно знать, как правильно.

          Кто ещё пользуется megad подтвердите/объясните. ;) `

          Команды возможны , но они по уровню в поле Val и можно выбрать (Norm , < , > , <> )

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

            @Andrei34:

            @Bluefox:

            Первое.

            Не пойму откуда берётся "ecmd=ð=" ??????
            В конце строки у MSapogov

            megad-0   2015-09-18 09:51:07   info   Write config for port 15: http://192.168.11.206/sec/?pn=15&pty=2&m=0&misc=0&ecmd=ð=
            

            > Порты Р14 и Р15 всегда ADC Input. И называются они A6 и A7 как в ардуино .
            Осталось выяснить выживет ли mega при записи:

            http://192.168.11.206/sec/?pn=14&m=0&misc=0&ecmd=

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

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

              DHT 11 и 22 это цифровые датчики и к данным портам (A6(14) и А7(15)) не могут быть подключены, только аналоговые. Поэтому там нет их в списке.

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

                @Bluefox:

                megad-0 2015-09-18 09:51:07 info Write config for port 15: http://192.168.11.206/sec/?pn=15&pty=2& … =0&ecmd=ð= `

                Может это мега что то на конце отправляет?

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

                  Вот это дисскуссия! Истинна где-то рядом :-)

                  1. Логи просто обрезаются наверное, но если подвести мышку к нужной строке но можно увидеть полную комманду. Вот пример скриншота…
                  643_megad-save-iot-debug.png
                  2. Для Р14 и Р15 режим только ADC с возможностью выбора режима Mode и Action.

                  Комманда http://192.168.11.206/sec/?pn=14&m=0&misc=0&ecmd=

                  Воспринимается нормально. (Back. MegaD is restarted)

                  3. Для цифровых датчиков Поле Action и Mode может быть только у 1W!

                  PS: Нашел что убивает Р13. Это комманда http://192.168.11.206/sec/?pn=14&pty=2& … 1%3A4&eth= - из скриншота

                  Если подать комманду без pty, то порт не оживает.

                  Но если подать комманду http://192.168.11.206/sec/?pn=14&pty=25 ... 1%3A4&eth= - То все оживает

                  Такое ощущение что для портов Р14 и Р15 комманда pty=2 Вообще не нужна. Или Нужна комманда pty=255.

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          697

                                          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