#erledigt# OWServer zeigt keine Devices

Begonnen von Helmi55, 08 April 2018, 20:06:53

Vorheriges Thema - Nächstes Thema

Helmi55

Guten Abend
ich möchte auf einem RPi 3B mit Stretch (neu aufgesetzt) über USB einen Denkovi wie im Wiki beschrieben zum Laufen bringen.
Leider wird das angeschlossene Device  (18B20) nicht erkannt.
Bin nach dem Wiki  "Konfiguration von owserver" vorgegangen
Stretch ist aktuell und auch FHEM
Hier ein list vom Server
Internals:
   DEF        localhost:4304
   NAME       OWServer
   NOTIFYDEV  global
   NR         24
   NTFY_ORDER 50a-OWServer
   OWNET_VERSION 3.1p5
   STATE      Initialized
   TYPE       OWServer
   READINGS:
     2018-04-08 19:58:19   state           Initialized
   fhem:
     protocol   localhost:4304
Attributes:


Mit get errors oder get devices  bekomme ich keine Meldungen?

Was übersehe ich da - habe auch schon einen anderen Sensor angehängt - leider ohne Erfolg.

PS das attr nonblocking auf 1 habe ich auch schon probiert...

Danke und Gruß aus Niederösterreich

Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

krikan

Wenn es um den https://wiki.fhem.de/wiki/OWServer_%26_OWDevice Wiki-Eintrag geht, ist der vermutlich überholt; habe ich noch auf der Korrekturliste.
Schaue mal hier: https://forum.fhem.de/index.php/topic,83572.msg757974.html#msg757974 und im dort genannten Forenthread.

Gruß, Christian

bntest1

Hallo,

meiner Meinung nach sollte die Dokumentation in der CommandRef genügen, OWServer zum Einsatz zu bringen. Voraussetzung: owserver läuft und ist über owhttpd ansprechbar.

Viele Grüße
Boris

Helmi55

Guten Abend
so ich bin das ganze nochmals in Ruhe durchgegangen - leider funktioniert es nicht. Das waren meine Schritte:

RPi mit Stretch neu aufgesetzt. Pi und Shem upgedated.

Den ATTRs Wert ermittelt und eine udev rule angelegt.

udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) | grep ATTRS{serial}
Dananach legt man in /etc/udev/rules.d/ eine Datei 11-onewire.rules mit folgendem Inhalt an:
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="DAE001nq", SUBSYSTEMS=="usb", ACTION=="add", MODE="0660", GROUP="plugdev", SYMLINK+="onewire"




pi@Garage-Poolsteuerung:~ $ udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) | grep ATTRS{serial}
    ATTRS{serial}=="DAE003oi"
    ATTRS{serial}=="3f980000.usb"

pi@Garage-Poolsteuerung:~ $ cd /etc/udev/rules.d/
pi@Garage-Poolsteuerung:/etc/udev/rules.d $ sudo chmod -R 777 /etc/udev
pi@Garage-Poolsteuerung:/etc/udev/rules.d $ nano 11-onewire.rules
pi@Garage-Poolsteuerung:/etc/udev/rules.d $ sudo reboot


sudo apt-get install owfs owserver

Das liefert dpkg -l ow*
pi@Garage-Poolsteuerung:~ $ dpkg -l ow*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name           Version      Architektur  Beschreibung
+++-==============-============-============-=================================
ii  ow-shell       3.1p5-1      armhf        shell utilities to talk to an 1-W
ii  owfs           3.1p5-1      all          Dallas 1-wire support
ii  owfs-common    3.1p5-1      all          common files used by any of the O
un  owfs-doc       <keine>      <keine>      (keine Beschreibung vorhanden)
ii  owfs-fuse      3.1p5-1      armhf        1-Wire filesystem
ii  owftpd         3.1p5-1      armhf        FTP daemon providing access to 1-
ii  owhttpd        3.1p5-1      armhf        HTTP daemon providing access to 1
ii  owserver       3.1p5-1      armhf        Backend server for 1-Wire control
pi@Garage-Poolsteuerung:~ $


und hier noch die owfs.conf.  > hier ist das localhost am Ende entfernt


Bei der Zeile mit ! am Anfang habe ich noch einmal localhost weggelassen und einmal aaskommentiert -- hier kenn ich mich nicht aus????


Last login: Mon Apr  9 18:04:06 on ttys000
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:21:01 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo apt-get install owfs owserver
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
The following additional packages will be installed:
  fuse libavahi-client3 libfuse2 libow-3.1-5 owfs-common owfs-fuse owftpd
  owhttpd
Vorgeschlagene Pakete:
  owfs-doc
Die folgenden NEUEN Pakete werden installiert:
  fuse libavahi-client3 libfuse2 libow-3.1-5 owfs owfs-common owfs-fuse owftpd
  owhttpd owserver
0 aktualisiert, 10 neu installiert, 0 zu entfernen und 18 nicht aktualisiert.
Es müssen 644 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 1.844 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://debian.anexia.at/raspbian/raspbian stretch/main armhf libfuse2 armhf 2.9.7-1 [114 kB]
Holen:2 http://debian.anexia.at/raspbian/raspbian stretch/main armhf fuse armhf 2.9.7-1 [69,8 kB]
Holen:3 http://debian.anexia.at/raspbian/raspbian stretch/main armhf libavahi-client3 armhf 0.6.32-2 [51,3 kB]
Holen:4 http://debian.anexia.at/raspbian/raspbian stretch/main armhf owfs-common all 3.1p5-1 [16,2 kB]
Holen:5 http://debian.anexia.at/raspbian/raspbian stretch/main armhf libow-3.1-5 armhf 3.1p5-1 [265 kB]
Holen:6 http://debian.anexia.at/raspbian/raspbian stretch/main armhf owfs-fuse armhf 3.1p5-1 [20,9 kB]
Holen:7 http://debian.anexia.at/raspbian/raspbian stretch/main armhf owserver armhf 3.1p5-1 [28,6 kB]
Holen:8 http://debian.anexia.at/raspbian/raspbian stretch/main armhf owhttpd armhf 3.1p5-1 [28,6 kB]
Holen:9 http://debian.anexia.at/raspbian/raspbian stretch/main armhf owftpd armhf 3.1p5-1 [41,3 kB]
Holen:10 http://debian.anexia.at/raspbian/raspbian stretch/main armhf owfs all 3.1p5-1 [8.476 B]
Es wurden 644 kB in 2 s geholt (289 kB/s).
Vormals nicht ausgewähltes Paket libfuse2:armhf wird gewählt.
(Lese Datenbank ... 38556 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../0-libfuse2_2.9.7-1_armhf.deb ...
Entpacken von libfuse2:armhf (2.9.7-1) ...
Vormals nicht ausgewähltes Paket fuse wird gewählt.
Vorbereitung zum Entpacken von .../1-fuse_2.9.7-1_armhf.deb ...
Entpacken von fuse (2.9.7-1) ...
Vormals nicht ausgewähltes Paket libavahi-client3:armhf wird gewählt.
Vorbereitung zum Entpacken von .../2-libavahi-client3_0.6.32-2_armhf.deb ...
Entpacken von libavahi-client3:armhf (0.6.32-2) ...
Vormals nicht ausgewähltes Paket owfs-common wird gewählt.
Vorbereitung zum Entpacken von .../3-owfs-common_3.1p5-1_all.deb ...
Entpacken von owfs-common (3.1p5-1) ...
Vormals nicht ausgewähltes Paket libow-3.1-5:armhf wird gewählt.
Vorbereitung zum Entpacken von .../4-libow-3.1-5_3.1p5-1_armhf.deb ...
Entpacken von libow-3.1-5:armhf (3.1p5-1) ...
Vormals nicht ausgewähltes Paket owfs-fuse wird gewählt.
Vorbereitung zum Entpacken von .../5-owfs-fuse_3.1p5-1_armhf.deb ...
Entpacken von owfs-fuse (3.1p5-1) ...
Vormals nicht ausgewähltes Paket owserver wird gewählt.
Vorbereitung zum Entpacken von .../6-owserver_3.1p5-1_armhf.deb ...
Entpacken von owserver (3.1p5-1) ...
Vormals nicht ausgewähltes Paket owhttpd wird gewählt.
Vorbereitung zum Entpacken von .../7-owhttpd_3.1p5-1_armhf.deb ...
Entpacken von owhttpd (3.1p5-1) ...
Vormals nicht ausgewähltes Paket owftpd wird gewählt.
Vorbereitung zum Entpacken von .../8-owftpd_3.1p5-1_armhf.deb ...
Entpacken von owftpd (3.1p5-1) ...
Vormals nicht ausgewähltes Paket owfs wird gewählt.
Vorbereitung zum Entpacken von .../9-owfs_3.1p5-1_all.deb ...
Entpacken von owfs (3.1p5-1) ...
libfuse2:armhf (2.9.7-1) wird eingerichtet ...
Trigger für libc-bin (2.24-11+deb9u3) werden verarbeitet ...
Trigger für systemd (232-25+deb9u2) werden verarbeitet ...
Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
libavahi-client3:armhf (0.6.32-2) wird eingerichtet ...
owfs-common (3.1p5-1) wird eingerichtet ...

Creating config file /etc/owfs.conf with new version
fuse (2.9.7-1) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
libow-3.1-5:armhf (3.1p5-1) wird eingerichtet ...
owftpd (3.1p5-1) wird eingerichtet ...
owfs-fuse (3.1p5-1) wird eingerichtet ...
owserver (3.1p5-1) wird eingerichtet ...
owhttpd (3.1p5-1) wird eingerichtet ...
owfs (3.1p5-1) wird eingerichtet ...
Trigger für libc-bin (2.24-11+deb9u3) werden verarbeitet ...
Trigger für initramfs-tools (0.130) werden verarbeitet ...
Trigger für systemd (232-25+deb9u2) werden verarbeitet ...
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:21:49 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:25:35 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ dpkg -l ow*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name           Version      Architektur  Beschreibung
+++-==============-============-============-=================================
ii  owfs           3.1p5-1      all          Dallas 1-wire support
ii  owfs-common    3.1p5-1      all          common files used by any of the O
un  owfs-doc       <keine>      <keine>      (keine Beschreibung vorhanden)
ii  owfs-fuse      3.1p5-1      armhf        1-Wire filesystem
ii  owftpd         3.1p5-1      armhf        FTP daemon providing access to 1-
ii  owhttpd        3.1p5-1      armhf        HTTP daemon providing access to 1
ii  owserver       3.1p5-1      armhf        Backend server for 1-Wire control
pi@Garage-Poolsteuerung:~ $ sudo apt-get install owserver ow-shell owhttpd owftpd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
owftpd ist schon die neueste Version (3.1p5-1).
owftpd wurde als manuell installiert festgelegt.
owhttpd ist schon die neueste Version (3.1p5-1).
owhttpd wurde als manuell installiert festgelegt.
owserver ist schon die neueste Version (3.1p5-1).
Die folgenden NEUEN Pakete werden installiert:
  ow-shell
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 18 nicht aktualisiert.
Es müssen 23,6 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 151 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://debian.anexia.at/raspbian/raspbian stretch/main armhf ow-shell armhf 3.1p5-1 [23,6 kB]
Es wurden 23,6 kB in 0 s geholt (53,6 kB/s).
Vormals nicht ausgewähltes Paket ow-shell wird gewählt.
(Lese Datenbank ... 38646 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../ow-shell_3.1p5-1_armhf.deb ...
Entpacken von ow-shell (3.1p5-1) ...
Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
ow-shell (3.1p5-1) wird eingerichtet ...
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:28:01 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ dpkg -l ow*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name           Version      Architektur  Beschreibung
+++-==============-============-============-=================================
ii  ow-shell       3.1p5-1      armhf        shell utilities to talk to an 1-W
ii  owfs           3.1p5-1      all          Dallas 1-wire support
ii  owfs-common    3.1p5-1      all          common files used by any of the O
un  owfs-doc       <keine>      <keine>      (keine Beschreibung vorhanden)
ii  owfs-fuse      3.1p5-1      armhf        1-Wire filesystem
ii  owftpd         3.1p5-1      armhf        FTP daemon providing access to 1-
ii  owhttpd        3.1p5-1      armhf        HTTP daemon providing access to 1
ii  owserver       3.1p5-1      armhf        Backend server for 1-Wire control
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:32:14 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:39:45 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf

  GNU nano 2.7.4                Datei: /etc/owfs.conf                           

# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = 4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
# server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
#server: usb = all
                             [ 46 Zeilen gelesen ]
^G Hilfe     ^O Speichern ^W Wo ist    ^K Ausschneid^J Ausrichten^C Cursor
^X Beenden   ^R Datei öffn^\ Ersetzen  ^U Ausschn. r^T Rechtschr.^_ Zu Zeile


Ich bekomme keine Rückmeldung mit http und durch auch keine Devices angezeigt


Wo mache ich hier bitte den Fehler

Gruß
Helmut

System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Tom Major


Du könntest zur Fehlereingrenzung die fake devices in der owfs.conf aktivieren und schauen ob zumindest die über owhttpd auftauchen.
Oder wird bei owhttpd (default port 2121) überhaupt nichts angezeigt?

Und kann dieses Denkovi Interface den DS1820 powern, bzw. ist der DS1820 richtig angeschlossen?
Früher: FHEM 5.x
Jetzt: RaspberryMatic / ioBroker

Helmi55

Hallo Tom Major
habe jetzt die Fake Sensoren aktiviert und diese kann ich nun über httpd abfragen
und diese Sensoren erscheinen nun auch in FHEM.
Meine Ds18B20 werden laut Homepage unterstützt und er ist auch richtig angeschlossen (hat am alten System noch funktioniert)
Schwarz=GDN, Geld=Data und Rot=5V
Das ist meine aktuelle conf
Last login: Mon Apr  9 18:21:45 on ttys000
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Apr  9 18:42:32 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr 10 14:17:10 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr 10 14:26:19 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf
pi@Garage-Poolsteuerung:~ $ sudo reboot
Connection to 10.0.0.21 closed by remote host.
Connection to 10.0.0.21 closed.
Helmuts-iMac:~ helmutflieh$ ssh pi@10.0.0.21
pi@10.0.0.21's password:
Linux Garage-Poolsteuerung 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Apr 10 14:33:49 2018 from 10.0.0.23
pi@Garage-Poolsteuerung:~ $ sudo nano /etc/owfs.conf

  GNU nano 2.7.4                Datei: /etc/owfs.conf                           

# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = 4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
# server: usb = all
                             [ 46 Zeilen gelesen ]
^G Hilfe     ^O Speichern ^W Wo ist    ^K Ausschneid^J Ausrichten^C Cursor
^X Beenden   ^R Datei öffn^\ Ersetzen  ^U Ausschn. r^T Rechtschr.^_ Zu Zeile


Danke für eure Unterstützung
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Dr. Boris Neubert

Hi, hattest Du die owfs.conf aus der Commandref mal 1:1 ausprobiert? Grüße, Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Tom Major

Zitat von: Helmi55 am 10 April 2018, 14:36:27
Hallo Tom Major
habe jetzt die Fake Sensoren aktiviert und diese kann ich nun über httpd abfragen
und diese Sensoren erscheinen nun auch in FHEM.
Meine Ds18B20 werden laut Homepage unterstützt und er ist auch richtig angeschlossen (hat am alten System noch funktioniert)
Schwarz=GDN, Geld=Data und Rot=5V
Das ist meine aktuelle conf

Ok, gut dass es mit den Fake Sensoren geht, dann braucht man in die eine Richtung nicht weiter suchen.
Gib mal einen link auf den Adapter den Du benutzt.
Außerdem bitte mal die conf komplett posten, die ist momentan abgeschnitten und am Besten ohne die ganze ssh history davor..
Spannung 5V ist auch wirklich 5V und stabil? (Ich hatte mal ein ähnliches Problem wo es mit einem DS2480 und ca. 4,7V nicht ging, mit 5V dann schon..)
Früher: FHEM 5.x
Jetzt: RaspberryMatic / ioBroker

Helmi55

Hallo an alle Helfer,
das mit der Stromversorgung habe ich auch schon ins Auge gefasst. Mein Produktionssystem hängt an einem Hutschienennetzteil und mein Testsystem NUR an einem Ladegerät.
Nein das war es auch nicht. Hab es jetzt getauscht ohne Erfolg.
So nun zu den verschieden owfs.conf Dateien

1) die mit den Fake Devices die mitinstalliert wird
# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = 4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
# server: usb = all
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
#mountpoint = /mnt/1wire
#allow_other
#
####################### OWHTTPD #########################

http: port = 2121

####################### OWFTPD ##########################

ftp: port = 2120

####################### OWSERVER ########################

server: port = 4304


Hier habe ich per httpd Zugriff auf die FakeSensoren und obwohl am Netzteil kein ds18B20 in Sicht.

2) Variante: conf aus der CommandRef
A typical working configuration file /etc/owfs.conf looks as follows:

# server uses device /dev/onewire
server: device = /dev/onewire
# clients other than server use server
! server: server = localhost:4304
# port
server: port = 4304
# owhttpd
http: port = 2121
# owftpd
ftp: port = 2120


Kein DS18B20 und kein Zugriff auf httpd

3) Variante - conf vom WIKI
server: device = /dev/onewire
http: port = 2121
ftp: port = 2120
server: port = 4304


auch kein httpd Zugriff

Was mach ich hier falsch?
Danke
Helmut

System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Dr. Boris Neubert

An welchem Device hängt denn der Adapter? /dev/onewire, /dev/ttyUSB0, /dev/schlagmichtot? Das musst Du in dem Beispiel aus der Commandref anpassen.
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!

Helmi55

Hallo Boris
das hatte ich in der letzten Version vergessen - sorry.
ABER es funktioniert trotzdem nicht.

pi@Garage-Poolsteuerung:~ $ ls -l /dev/serial/by-id
insgesamt 0
lrwxrwxrwx 1 root root 13 Apr 11 17:52 usb-FTDI_FT232R_USB_UART_DAE003oi-if00-port0 -> ../../ttyUSB0
pi@Garage-Poolsteuerung:~ $


server: device = /dev/ttyUSB0
http: port = 2121
ftp: port = 2120
server: port = 4304


Ja und zur Frage von tom Major

dieser Adapter  https://denkovi.com/usb-to-one-wire-interface-adaptor-converter-thermometer

Gruß
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Helmi55

ENDLICH - gelöst

mit dieser conf funktioniert es

# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.

######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
#! server: server = 4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
# server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
server: device = /dev/ttyUSB0
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
#mountpoint = /mnt/1wire
#allow_other
#
####################### OWHTTPD #########################

http: port = 2121

####################### OWFTPD ##########################

ftp: port = 2120

####################### OWSERVER ########################

server: port = 4304


schönen Abend
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

Tom Major

Freut mich dass es jetzt geht.
Nur interessehalber, wo ist der Unterschied in der conf bei Deinen Posts von 17:58 und 18:39?
Ist da nicht alles gleich geblieben:
server: device = /dev/ttyUSB0
http: port = 2121
ftp: port = 2120
server: port = 4304
Früher: FHEM 5.x
Jetzt: RaspberryMatic / ioBroker

Helmi55

Das frage ich mich auch.
Hab den Pi jetzt wieder an das "Ladegerät" angeschlossen und auch hier funktioniert es.

Tja ich hab in den letzten 15 jähren meiner Tätigkeit sehr viel mit Software als Admin zu tun gehabt und für manche Dinge gab es nie einer
Erklärung.

Danke für eure Unterstützung
Gruß
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/