[32_yowsup.pm] Whatsapp versenden (Mit Handy- oder Festnetznummer)

Begonnen von AHA1805, 01 Oktober 2014, 21:58:55

Vorheriges Thema - Nächstes Thema

cpramhofer

Wisst ihr wie der aktuelle Status zum Thema Yowsup ist?

Ich habe es diese Woche mit drei verschiedenen Rufnummern (alles echte Handynummern) versucht und wurde immer geblockt.
Ich habe auch auf default Android umgestellt und den MD5 hash sowieso die Version geändert.
Verify SMS kam auch immer an, nur leider wurde dann mit absetzten des Registerierungs Befehls die Nummer gesperrt.

Ich finde es sehr schade weil die Idee super Smart ist und das Modul zu laufen scheint.

Gibt es irgendwelche Alternativen (für WhatsApp!)

JoWiemann

Zitat von: cpramhofer am 27 Mai 2018, 17:42:57
Wisst ihr wie der aktuelle Status zum Thema Yowsup ist?

Ich habe es diese Woche mit drei verschiedenen Rufnummern (alles echte Handynummern) versucht und wurde immer geblockt.
Ich habe auch auf default Android umgestellt und den MD5 hash sowieso die Version geändert.
Verify SMS kam auch immer an, nur leider wurde dann mit absetzten des Registerierungs Befehls die Nummer gesperrt.

Ich finde es sehr schade weil die Idee super Smart ist und das Modul zu laufen scheint.

Gibt es irgendwelche Alternativen (für WhatsApp!)

Wenn ich mich richtig erinnere musst Du für die Registrierung schon wieder umstellen. Also nur die SMS mit Android anfordern.


Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

Wasserwerk33

Hallo Leute

Habe ich irgendetwas falsch gemacht??
Habe ich noch eine möglichkeit die nummer wieder zu löschen und vielleicht neu anzufangen?? oder gibt es andere möglichkeiten??

Danke schon mal im vorraus

fhem@raspberrypi:/opt/yowsup-master$ python yowsup-cli registration -c /opt/yowsup-config/yowsup.config -r voice
INFO:yowsup.common.http.warequest:{"login":"495xxxxxx","status":"fail","reason":"old_version"}

status: fail
reason: old_version
login: 4954xxxxxx

thorschtn

Zitat von: cpramhofer am 27 Mai 2018, 17:42:57
Wisst ihr wie der aktuelle Status zum Thema Yowsup ist?

Bei mir läufts einwandfrei.

Mit yowsup-cli 2.0.15, yowsup 2.5.0  und /opt/yowsup-master/yowsup/env/env_s40.py  --> _Version = "2.16.12".

Zitat von: cpramhofer am 27 Mai 2018, 17:42:57
Gibt es irgendwelche Alternativen (für WhatsApp!)

Nein.
NUC - FHEM & HA
MapleCUN, Homematic, 433MHz, AB440, 1-Wire Bewässerung & Pool, Jarolift (Signalduino), Signal Messenger, Denon AVR, LG WebOS, AmazonEcho, Jura S90 (ESP8266), Sonoff, Xiaomi Mii Sauger, Worx SO500i

thorschtn

[quote author=Wasserwerk33 link=topic=27543.msg806570#msg806570 date=1527626909]

INFO:yowsup.common.http.warequest:{"login":"495xxxxxx","status":"fail","reason":"old_version"}

status: fail
reason: old_version
login: 4954xxxxxx

[/quote]

/opt/yowsup-master/yowsup/env/env_s40.py  --> _Version = "2.16.12".
NUC - FHEM & HA
MapleCUN, Homematic, 433MHz, AB440, 1-Wire Bewässerung & Pool, Jarolift (Signalduino), Signal Messenger, Denon AVR, LG WebOS, AmazonEcho, Jura S90 (ESP8266), Sonoff, Xiaomi Mii Sauger, Worx SO500i

Cybers

Zitat von: cpramhofer am 27 Mai 2018, 17:42:57Gibt es irgendwelche Alternativen (für WhatsApp!)

Ja, Telegram. Ich habe mich schon vor längerer Zeit von Whatsapp mit Fhem verabschiedet. Alle paar Tage händisch eingreifen, Nummer gesperrt, etc., das war mir einfach zu viel. Das Telegram-Modul läuft bei mir seit Beginn an ohne Probleme.

Gruß, Sascha
FHEM 6.2 auf Raspberry PI 4 / Smartvisu
Eltako Serie 14: FAM14, FGW14-USB, FSB14, FSR14-4x, FSR14-2x, FDG14, FTS14-EM in Kombination mit Jung F50 24V Tastern
1-Wire Temperatursensoren
aus alter Zeit:
Gott sei Dank nur noch 3 Homematic Jalousie- & Schaltaktoren! Wer sich mit Funk auskennt, legt Kabel

sylvester

Hallo zusammen,

ich habe auch gerade versucht, eine Nummer zu registrieren.
Leider bekomme ich auch immer die Rückmeldung "old_version".
Hat diese Tage schon jemand eine Nummer erfolgreich registriert?

Welche Konfiguration/Version/... habt ihr benutzt?

Viele Grüße

Stephan

JoWiemann

Hast Du diese Schritte beachtet?

1 - Change yowsup/env/env.py
Set DEFAULT = "s40" to DEFAULT = "android"

2 - Execute python setup.py install

3 - Request the WhatsApp verification code
yowsup-cli registration -r sms -C 34 -p 34XXXXXXXXX -m 214 -n 01 -E android -d

4 - Perform the validation of the phone number with the code received
yowsup-cli registration -R XXX-XXX -p 34XXXXXXXXX -C 34

Here, a lot of data will appear on the screen, but the most important one is a password.

5 - Save the configuration for later use. It will be saved in a file with the following format:
cc=34t
phone=xxxxxxxxxt
password=xxxxxxxxxxxxxxxx
Example of file name: whatsapp_config.txt

6 - Change yowsup/env/env.py
Set DEFAULT = "android" to DEFAULT = "s40"

7 - Execute python setup.py install

8 - Start the WhatsApp client with the configuration data
yowsup-cli demos --yowsup --config whatsapp_config.txt

9 - With step 7 we will be initiating session. Now you have to connect: /L

10 - We can send a message from the terminal to see that everything works fine:
/message send 34XXXXXXXX hello

11 - See the list of groups we have with that WhatsApp line
/groups list

12 - Etc.

Bitte darauf achten, dass nur zwei mal dieser Prozess mit der selben IP akzeptiert wird. Oft wird danach die Nummer für immer blockiert.


Gesendet von iPhone mit Tapatalk

Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

MCh76

Hallo zusammen, bin ebenfalls am verzweifeln.
schon bei der Anleitung gemäß Wiki: https://wiki.fhem.de/wiki/Yowsup
scheitert es bei mir beim Installieren des axolotl --> https://wiki.fhem.de/wiki/Yowsup
Folgende Fehler:


Collecting python-axolotl
Collecting cryptography (from python-axolotl)
  Using cached https://files.pythonhosted.org/packages/ec/b2/faa78c1ab928d2b2c634c8b41ff1181f0abdd9adf9193211bd606ffa57e2/cryptography-2.2.2.tar.gz
Collecting python-axolotl-curve25519 (from python-axolotl)
Collecting protobuf>=3.0.0.b2 (from python-axolotl)
  Using cached https://files.pythonhosted.org/packages/85/f8/d09e4bf21c4de65405ce053e90542e728c5b7cf296b9df36b0bf0488f534/protobuf-3.6.0-py2.py3-none-any.whl
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-axolotl) (2.7)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-packages (from cryptography->python-axolotl) (0.24.0)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography->python-axolotl) (1.8.0)
Collecting cffi>=1.7 (from cryptography->python-axolotl)
  Using cached https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz
Collecting enum34 (from cryptography->python-axolotl)
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting ipaddress (from cryptography->python-axolotl)
  Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from protobuf>=3.0.0.b2->python-axolotl) (39.2.0)
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.7->cryptography->python-axolotl) (2.18)
Building wheels for collected packages: cryptography, cffi
  Running setup.py bdist_wheel for cryptography ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-k4FHnU/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-Q8El2F --python-tag cp27:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
   #include <ffi.h>
                   ^
  compilation terminated.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-k4FHnU/cryptography/setup.py", line 319, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 128, in setup
      _install_setup_requires(attrs)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 514, in fetch_build_eggs
      replace_conflicting=True,
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 770, in resolve
      replace_conflicting=replace_conflicting
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1053, in best_match
      return self.obtain(req, installer)
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1065, in obtain
      return installer(requirement)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 581, in fetch_build_egg
      return cmd.easy_install(req)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 673, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 699, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 884, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1152, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1140, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-k4FHnU/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
   #include <ffi.h>
                   ^
  compilation terminated.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-k4FHnU/cryptography/setup.py", line 319, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 128, in setup
      _install_setup_requires(attrs)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
      dist.fetch_build_eggs(dist.setup_requires)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 514, in fetch_build_eggs
      replace_conflicting=True,
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 770, in resolve
      replace_conflicting=replace_conflicting
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1053, in best_match
      return self.obtain(req, installer)
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1065, in obtain
      return installer(requirement)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 581, in fetch_build_egg
      return cmd.easy_install(req)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 673, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 699, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 884, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1152, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1140, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed cleaning build dir for cryptography
  Running setup.py bdist_wheel for cffi ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-k4FHnU/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-7FmcvV --python-tag cp27:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-2.7
  creating build/lib.linux-armv7l-2.7/cffi
  copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-armv7l-2.7
  creating build/temp.linux-armv7l-2.7/c
  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
  c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
   #include <ffi.h>
                   ^
  compilation terminated.
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for cffi
  Running setup.py clean for cffi
Failed to build cryptography cffi
protobuf 3.6.0 has requirement six>=1.9, but you'll have six 1.8.0 which is incompatible.
Installing collected packages: cffi, enum34, ipaddress, cryptography, python-axolotl-curve25519, protobuf, python-axolotl
  Running setup.py install for cffi ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-k4FHnU/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-Q8zvZB/install-record.txt --single-version-externally-managed --compile:
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-2.7
    creating build/lib.linux-armv7l-2.7/cffi
    copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-2.7
    creating build/temp.linux-armv7l-2.7/c
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
    c/_cffi_backend.c:15:17: fatal error: ffi.h: Datei oder Verzeichnis nicht gefunden
     #include <ffi.h>
                     ^
    compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-k4FHnU/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-Q8zvZB/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-k4FHnU/cffi/



Hat jmd. einen Tipp/Idee?

Vielen Dank,
Chris

sylvester

Hallo,

ja, die Schritte habe ich beachtet. Ich komme allerdings nicht über die Code-Abfrage hinaus. Schon dort bekomme ich "old_version".
yowsup-cli v2.0.15
yowsup v2.5.7

Viele Grüße

Stephan

ersthelfer

Zitat von: sylvester am 06 Juli 2018, 12:00:20
... Ich komme allerdings nicht über die Code-Abfrage hinaus. Schon dort bekomme ich "old_version"....

Bei mir das Gleiche  :(
Ebenfalls "old Version"

Schafft es jemand zur Zeit das zu installieren?

Danke
Andreas

Thoffi1978

Zitat von: JoWiemann am 24 April 2018, 21:18:00
Hallo,

ich habe heute eine neue Telefonnummer eingerichtet. Soweit alles gut. Allerdings ging mein WhatsApp Device immer wieder offline und im Log wurde folgendes protokolliert:

... yowsup.layers.axolotl.layer_receive:invalidmessage or keyid for ...

Nach einigem suchen nun die Lösung. Ich habe natürlich zunächst auf der Konsole getestet. Dabei wird unter /root das Verzeichnis .yowsup mit den Keys für die Telefonnummer angelegt. Nach dem Starten des WhatsApp device wird im im Attribut home hinterlegten Verzeichnis auch ein Verzeichnis .yowsup mit den Keys angelegt. Nachdem ich nun das Verzeichnis im /root gelöscht habe läuft alles einwandfrei. Es scheint also so zu sein, dass sich das Defaultverzeichnis und das WhatsApp-Device-Verzeichnis nicht miteinander vertragen.

Grüße Jörg

Hallo,
leider habe ich auch das Problem.
Nachdem meine SD Karte sich "aufgelöst" hat und ich nun die Backup Karte nuzte, funktioniert Yowsup nicht mehr.
Ich habe das ".Yowsup" Verzeichnis in"root" gelöscht.
Alles neu gestartet und gewartet. Leider bekomme ich immer noch folgende Fehlermeldungen.
Raspi Eingabe:
pi@raspberrypi:/opt/yowsup-master $ python yowsup-cli demos -c /opt/yowsup-config/yowsup.config -s 4917xxxxxxx "Das ist ein Test"
yowsup-cli  v2.0.15
yowsup      v2.5.0

Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate


INFO:yowsup.layers.axolotl.layer_control:Axolotl layer is generating keys
Traceback (most recent call last):
  File "yowsup-cli", line 368, in <module>
    if not parser.process():
  File "yowsup-cli", line 272, in process
    self.startSendClient()
  File "yowsup-cli", line 324, in startSendClient
    stack.start()
  File "/opt/yowsup-master/yowsup/demos/sendclient/stack.py", line 31, in start
    self.stack.loop()
  File "/opt/yowsup-master/yowsup/stacks/yowstack.py", line 196, in loop
    asyncore.loop(*args, **kwargs)
  File "/usr/lib/python2.7/asyncore.py", line 216, in loop
    poll_fun(timeout, map)
  File "/usr/lib/python2.7/asyncore.py", line 156, in poll
    read(obj)
  File "/usr/lib/python2.7/asyncore.py", line 87, in read
    obj.handle_error()
  File "/usr/lib/python2.7/asyncore.py", line 83, in read
    obj.handle_read_event()
  File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event
    self.handle_read()
  File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 102, in handle_read
    self.receive(data)
  File "/opt/yowsup-master/yowsup/layers/network/layer.py", line 110, in receive
    self.toUpper(data)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 76, in toUpper
    self.__upper.receive(data)
  File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 29, in receive
    self.processReceived()
  File "/opt/yowsup-master/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived
    self.toUpper(oneMessageData)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 76, in toUpper
    self.__upper.receive(data)
  File "/opt/yowsup-master/yowsup/layers/auth/layer_crypt.py", line 65, in receive
    self.toUpper(payload)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 76, in toUpper
    self.__upper.receive(data)
  File "/opt/yowsup-master/yowsup/layers/coder/layer.py", line 35, in receive
    self.toUpper(node)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 76, in toUpper
    self.__upper.receive(data)
  File "/opt/yowsup-master/yowsup/layers/logger/layer.py", line 14, in receive
    self.toUpper(data)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 76, in toUpper
    self.__upper.receive(data)
  File "/opt/yowsup-master/yowsup/layers/axolotl/layer_control.py", line 44, in receive
    self.toUpper(protocolTreeNode)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 76, in toUpper
    self.__upper.receive(data)
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 189, in receive
    s.receive(data)
  File "/opt/yowsup-master/yowsup/layers/axolotl/layer_send.py", line 64, in receive
    if not self.processIqRegistry(protocolTreeNode):
  File "/opt/yowsup-master/yowsup/layers/__init__.py", line 156, in processIqRegistry
    successClbk(protocolTreeNode, originalIq)
  File "/opt/yowsup-master/yowsup/layers/axolotl/layer_base.py", line 65, in onSuccess
    sessionBuilder.processPreKeyBundle(preKeyBundle)
  File "build/bdist.linux-x86_64/egg/axolotl/sessionbuilder.py", line 166, in processPreKeyBundle
  File "/opt/yowsup-master/yowsup/layers/axolotl/store/sqlite/liteaxolotlstore.py", line 19, in getIdentityKeyPair
    return self.identityKeyStore.getIdentityKeyPair()
  File "/opt/yowsup-master/yowsup/layers/axolotl/store/sqlite/liteidentitykeystore.py", line 30, in getIdentityKeyPair
    publicKey, privateKey = result
TypeError: 'NoneType' object is not iterable

unter fhem:
WARNING:yowsup.layers.axolotl.layer_receive:InvalidMessage or KeyId for 49179xxxx, going to send a retry
WARNING:yowsup.layers.axolotl.layer_receive:InvalidMessage or KeyId for 49179xxxx, going to send a retry
WARNING:yowsup.layers.axolotl.layer_receive:InvalidMessage or KeyId for 49179xxxx, going to send a retry
2018.08.12 10:07:33 3: WhatsApp: sending /message send 49179xxxx 'hallo'
WARNING:yowsup.layers.axolotl.layer_receive:InvalidMessage or KeyId for 49179xxxx, going to send a retry
ERROR:yowsup.layers.interface.interface:Stream Error type: ack
{'ack': None}

INFO:yowsup.layers.interface.interface:Initiating reconnect


Empfangen kann ich leider auch keine Nachrichten mehr.
Yowsup wird aber als "online" angezeigt.

Gruß
Hoffi

Thoffi1978

Hallo,

auf dem Handy wird folgende Meldung von WA angezeigt
ZitatDie Nachricht "Warte auf diese Nachricht. Das kann einen Moment dauern." wird angezeigt
Dem FAQ von WA heißt dies, dass eine neue Sicherheitsnummer erstellt wird/wurde.

Warum kann ich keine Nachricht senden?

Lieben Gruß
Hoffi

no-faker

Hallo Gemeinschaft,

ich habe WA erst heute installiert und es funz einwandfrei!

Meine /yowsup/env/env_android.py sieht folgendermaßen aus:

_MD5_CLASSES = "w8cLtrYLTUQ8PIY5U5FL2Q=="

_VERSION = "2.18.253"
    _OS_NAME = "Android"
    _OS_VERSION = "4.3"
    _DEVICE_NAME = "endeavoru"
    _MANUFACTURER = "HTC"
    _BUILD_VERSION = "IMM76D"
    _AXOLOTL = True
...


Entsprechend die Registrierung damit machen!

yowsup-cli registration -c config -E android --requestcode sms

und analog dazu den code registrieren:
yowsup-cli registration -c config -E android --register XXX-XXX

Danach das PW in eurer config.xxx anpassen (optional)
Das sollte es eigentlich gewesen sein.

Ich hoffe jeder weiss wie der MD5_CLASSES zustande kommt. Falls es dazu Fragen gibt schreibe ich dazu auch noch zwei Zeilen :-)

heinzfo

Hallo

Auch mit attr disable 1 wird die Funktion ausgelöst!
Ist das ein Fehler, oder kann man das anders zu lösen?


defmod hfochler yowsup 491xxxx
attr hfochler userattr allowedCommands commandPrefix
attr hfochler disable 1
attr hfochler icon it_smartphone
attr hfochler room WhatsApp