Hallo zusammen,
yowsup läuft erfolgreich, aber nach jedem Senden erhalte ich im Log den Eintrag:
WhatsAppZiel: commands not allowed
Das Kommando wird aber korrekt gesendet. WhatsAppZiel ist der Name des Empfangsdevices (siehe unten):
Aus der Definition eines IF-Statements:
...} elsif( $EVENT eq 'message: Sonne' ) {\
my $SA = ReadingsVal('T','sr_civil','');;\
my $SU = ReadingsVal('T','ss_civil','');;\
fhem ("set WhatsAppZiel send Sonnenaufgang: $SA \nSonnenuntergang: $SU")\
Definiton des Sende-Devices:
define WhatsApp yowsup
attr WhatsApp userattr acceptFrom
attr WhatsApp acceptFrom 49987654321
attr WhatsApp cmd /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup
Definition eines der Empfangsdevices:
define WhatsAppZiel yowsup 49987654321
attr WhatsAppZiel userattr allowedCommands commandPrefix
Kennt jemand die Ursache?
VG Yil
Hast Du mittlerweile eine Lösung gefunden? Ich habe zurzeit die gleiche Meldung in der Logdatei!?!
Danke.
Weiß ich tatsächlich nicht mehr - ich habe aber WhatsApp und yowsup komplett zur Seite gelegt, weil ich 2x von WhatsApp wg. der Nutzung von yowsup rausgeschmissen wurde. Seitdem nutze ich Telegram, das läuft stabil.
Danke für die Rückmeldung. ;)