{"id":2730,"date":"2014-02-13T21:36:38","date_gmt":"2014-02-13T20:36:38","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=2730"},"modified":"2021-11-22T17:15:49","modified_gmt":"2021-11-22T16:15:49","slug":"wie-wird-ein-one-wire-server-owhttpd-auf-wr-703n-unter-openwrt-installiert","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=2730","title":{"rendered":"Wie wird ein #One-Wire-Server #owhttpd auf #WR-703N unter #openWrt installiert?"},"content":{"rendered":"<p>Die Installation wie <a href=\"http:\/\/blog.wenzlaff.de\/?p=2721\" title=\"owfs\" target=\"_blank\" rel=\"noopener\">in<\/a> beschrieben ist Voraussetzung. Der Server wird mit dann wie folgt gestartet.<br \/>\n<code><br \/>\n\/usr\/bin\/owhttpd --debug -d \/dev\/ttyUSB0 -p 4444<br \/>\n<\/code><br \/>\nAusgabe:<br \/>\n<code>...<br \/>\n DEBUG: ow_daemon.c:EnterBackground(166) main thread id = 2006708224<br \/>\nCONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded<br \/>\nCONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf\/Bonjour is disabled since dnssd library isn't found<br \/>\n   CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[]<br \/>\n  DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters)<br \/>\n  DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(267) Attempt #0 to <strong>initialize the DS9097U<\/strong><br \/>\n  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(356) Send the initial reset to the bus master.<br \/>\n  DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds<br \/>\n  DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1<br \/>\n...<\/code><br \/>\nHier sieht man auch, das der <strong>USB9097<\/strong> als <strong>DS9097U<\/strong> erkannt wird.<br \/>\nDer Server ist nun \u00fcber Port 4444 und der IP erreichbar. <\/p>\n<p>Obwohl man besser den Port <strong>4304<\/strong> verwendet, da er in der <a href=\"http:\/\/www.iana.org\/\" target=\"_blank\" rel=\"noopener\">IANA<\/a> (Internet Assigned Numbers Authority)<a href=\"http:\/\/www.iana.org\/assignments\/service-names-port-numbers\/service-names-port-numbers.xhtml?search=owserver\" target=\"_blank\" rel=\"noopener\"> f\u00fcr owserver registriert<\/a> ist. Also ohne debug und mit den &#8222;richtigen&#8220; Port <strong>\/usr\/bin\/owhttpd -d \/dev\/ttyUSB0 -p 4304<\/strong><\/p>\n<p>Z.b. Eingabe im Browser http:\/\/198.2.1.1:4444 listet das Verzeichnis auf:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.12.02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.12.02.png\" alt=\"Bildschirmfoto 2014-02-13 um 21.12.02\" width=\"473\" height=\"476\" class=\"aligncenter size-full wp-image-2732\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.12.02.png 473w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.12.02-150x150.png 150w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.12.02-298x300.png 298w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.12.02-144x144.png 144w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/a><br \/>\nKlick auf die 28&#8230; oder http:\/\/198.2.1.1:4444\/28.A29D8A040000 zeigt die Temperatur in Grad Celsius an:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.10.07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.10.07.png\" alt=\"Bildschirmfoto 2014-02-13 um 21.10.07\" width=\"435\" height=\"911\" class=\"aligncenter size-large wp-image-2733\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.10.07.png 435w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2014\/02\/Bildschirmfoto-2014-02-13-um-21.10.07-143x300.png 143w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die Installation wie in beschrieben ist Voraussetzung. Der Server wird mit dann wie folgt gestartet. \/usr\/bin\/owhttpd &#8211;debug -d \/dev\/ttyUSB0 -p 4444 Ausgabe: &#8230; DEBUG: ow_daemon.c:EnterBackground(166) main thread id = 2006708224 CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn&#8217;t be loaded CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf\/Bonjour is disabled since dnssd library isn&#8217;t found CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[] DEBUG: owlib.c:SetupTemperatureLimits(79) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=2730\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eWie wird ein #One-Wire-Server #owhttpd auf #WR-703N unter #openWrt installiert?\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[566,695],"tags":[2184,1308,568,1309,1307,83,595,1310],"class_list":["post-2730","post","type-post","status-publish","format-standard","hentry","category-hardware","category-tp-wr703n","tag-anleitung","tag-ds9097u","tag-installation","tag-owhttpd","tag-owserver","tag-server","tag-temperatur","tag-usb9097"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/2730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2730"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/2730\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2730"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}