Neues Modul: Nello

Begonnen von neumann, 06 August 2017, 20:15:41

Vorheriges Thema - Nächstes Thema

CoolTux

Abspeichern und Neustart machen. Da wird wohl die undefine nicht ganz stimmig sein.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Andy89

Zitat von: CoolTux am 22 Januar 2019, 18:08:57
Abspeichern und Neustart machen. Da wird wohl die undefine nicht ganz stimmig sein.

damit hast du mich auf eine Idee gebracht. Neustarts haben nichts gebracht, aber das undefine ist in der Tat nicht stimmig.
Habe ausnahmsweise (!) in die fhem.cfg geschaut und da tauchen im Raum hidden tatsächlich noch Nello - Devices auf, die wahrscheinlich durchs autocreate enstanden sind: Nello_MQTT und Nello_Events. Ich werd die zwei Devices wie gewohnt (nicht in der cfg) löschen und gehe davon aus, dass danach als gut ist.

Danke!  :)
FHEM 6.0 auf rPi4 docker (mit Alexa & Siri); dbLog, FTUI, Sonos, XiaomiMapCreator auf rPi4 docker;
raspimatic auf rPi3+ > diverse Aktoren und Sensoren;
LGW > (PCA301),EC3000,LaCrosse; MQTT2 > WLAN-Steckdosen,Xiaomi Map;
Harmony Hub;Sonos;Onkyo AVR;RGB WLAN Controller;Netatmo;Withings;Unifi;AMAD

ViRaZ

#62
Hallo,

ich habe Nello in FHEM eingebunden und der Login scheint zu funktionieren. Die Türe kann ich öffnen und ein notify das auf Klingeln reagiert funktioniert sporadisch auch manchmal. Genau hier liegt mein Problem. Es scheint, als würden die "Helfermodule" welche durch detectDeviceID erzeugt werden fehlen (ich kann zumindest im Raum hidden oder in der fhem.cfg nichts entsprechendes finden.

Beim Befehl set nello detectDeviceID erscheinen folgende Meldungen im Log:
2019.06.27 20:56:51 3: nello: login successful
2019.06.27 20:56:52 3: nello: login successful
2019.06.27 20:57:32 3: nello: opening door to detect device ID now.
2019.06.27 20:57:32 3: nello: opened
2019.06.27 20:57:32 3: nello: opened
2019.06.27 20:57:36 3: nello: fhem hat die Hauseingangst�r ge�ffnet.
2019.06.27 20:57:36 3: nello: fhem hat die Hauseingangst�r ge�ffnet.
2019.06.27 20:57:45 3: nello: failed to detect deviceID

Hat mir jemand einen Rat wie ich die Device ID erzeugen lassen kann?

Viele Grüße
ViRaZ

ChHerrm

Hallo,
bei mir besteht das gleiche Problem. Es ging bei mir auch eine ganze Mal (sporadisch), auch ohne erfolgreiches detectDeviceID. Inzwischen synchronisiert sich das aber überhaupt niemals. Hier mein Log, erst nochmal neu eingeloggt und anschließend detectDeviceID:


2019.07.18 20:46:11 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/31_Nello.pm line 237.
2019.07.18 20:46:11 1: stacktrace:
2019.07.18 20:46:11 1:     main::__ANON__                      called by ./FHEM/31_Nello.pm (227)
2019.07.18 20:46:11 1:     main::Nello_apiRequest              called by ./FHEM/31_Nello.pm (208)
2019.07.18 20:46:11 1:     main::Nello_authenticate            called by ./FHEM/31_Nello.pm (196)
2019.07.18 20:46:11 1:     main::Nello_login                   called by ./FHEM/31_Nello.pm (107)
2019.07.18 20:46:11 1:     main::Nello_Set                     called by fhem.pl (3579)
2019.07.18 20:46:11 1:     main::CallFn                        called by fhem.pl (1796)
2019.07.18 20:46:11 1:     main::DoSet                         called by fhem.pl (1828)
2019.07.18 20:46:11 1:     main::CommandSet                    called by fhem.pl (1209)
2019.07.18 20:46:11 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2525)
2019.07.18 20:46:11 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (898)
2019.07.18 20:46:11 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (538)
2019.07.18 20:46:11 1:     main::FW_Read                       called by fhem.pl (3584)
2019.07.18 20:46:11 1:     main::CallFn                        called by fhem.pl (723)
2019.07.18 20:46:12 3: Nello_one: login successful
2019.07.18 20:48:04 3: Nello_one: opening door to detect device ID now.
2019.07.18 20:48:05 3: Nello_one: opened
2019.07.18 20:48:05 3: Nello_one: opened
2019.07.18 20:48:09 3: Wohnl_aus return value: -1
2019.07.18 20:48:09 3: Wohnl_an return value: -1
2019.07.18 20:48:09 3: Nello_one ring
2019.07.18 20:48:09 3: Nello_one: Jemand hat geklingelt, aber nello hat nicht ge�ffnet.
2019.07.18 20:48:09 3: Nello_one: IWA hat die Hauseingangst�r ge�ffnet.
2019.07.18 20:48:18 1: PERL WARNING: Use of uninitialized value $status in string eq at ./FHEM/31_Nello.pm line 374.
2019.07.18 20:48:18 1: stacktrace:
2019.07.18 20:48:18 1:     main::__ANON__                      called by ./FHEM/31_Nello.pm (374)
2019.07.18 20:48:18 1:     main::Nello_dispatch                called by FHEM/HttpUtils.pm (108)
2019.07.18 20:48:18 1:     main::HttpUtils_Err                 called by fhem.pl (3127)
2019.07.18 20:48:18 1:     main::HandleTimeout                 called by fhem.pl (646)
2019.07.18 20:48:18 3: Nello_one: failed to detect deviceID


Wäre super wenn mir jemand weiterhelfen könnte. Das Ding finde ich ansonsten richtig gut, wäre schade wenn ich das in FHEM nicht richtig zum Laufen bekomme :-[

Vielen Dank!



rob

Hallo.

Vielleicht lässt sich nun aufatmen: https://www.heise.de/newsticker/meldung/Smarter-Tueroeffner-Nello-Neuer-Eigentuemer-fuehrt-Betrieb-weiter-4573479.html
Laut Artikel ist der Umstieg auf eine neue App nötig.

Viele Grüße
rob

micomat

Hat jemand seit den Hiobsbotschaften von Nello mal versucht einen neuen User anzulegen?
Ich wollte einen neuen User fuer die neue Fhem Installation anlegen, allerdings bekomme ich offenbar die dazugehoerige Einladungsmail nicht.
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

ChHerrm

#68
Hallo zusammen,
nach einiger (Frust-)Zeit habe ich mir nun nochmal vorgenommen, den Nello per detectDeviceId auszulesen. Also ein neues Nello-Device angelegt, erfolgreich eingeloggt und dann mit dem detectDeviceID zu folgendem enttäuschendem Log-Eintrag gekommen:
2020.04.07 18:35:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/31_Nello.pm line 237.
2020.04.07 18:35:25 1: stacktrace:
2020.04.07 18:35:25 1:     main::__ANON__                      called by ./FHEM/31_Nello.pm (227)
2020.04.07 18:35:25 1:     main::Nello_apiRequest              called by ./FHEM/31_Nello.pm (208)
2020.04.07 18:35:25 1:     main::Nello_authenticate            called by ./FHEM/31_Nello.pm (196)
2020.04.07 18:35:25 1:     main::Nello_login                   called by ./FHEM/31_Nello.pm (107)
2020.04.07 18:35:25 1:     main::Nello_Set                     called by fhem.pl (3579)
2020.04.07 18:35:25 1:     main::CallFn                        called by fhem.pl (1796)
2020.04.07 18:35:25 1:     main::DoSet                         called by fhem.pl (1828)
2020.04.07 18:35:25 1:     main::CommandSet                    called by fhem.pl (1209)
2020.04.07 18:35:25 1:     main::AnalyzeCommand                called by ./FHEM/01_FHEMWEB.pm (2525)
2020.04.07 18:35:25 1:     main::FW_fC                         called by ./FHEM/01_FHEMWEB.pm (898)
2020.04.07 18:35:25 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (538)
2020.04.07 18:35:25 1:     main::FW_Read                       called by fhem.pl (3584)
2020.04.07 18:35:25 1:     main::CallFn                        called by fhem.pl (723)
2020.04.07 18:35:25 3: Nello_one: login successful
2020.04.07 18:35:25 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/31_Nello.pm line 237.
2020.04.07 18:35:25 1: stacktrace:
2020.04.07 18:35:25 1:     main::__ANON__                      called by ./FHEM/31_Nello.pm (227)
2020.04.07 18:35:25 1:     main::Nello_apiRequest              called by ./FHEM/31_Nello.pm (220)
2020.04.07 18:35:25 1:     main::Nello_updateActivities        called by ./FHEM/31_Nello.pm (449)
2020.04.07 18:35:25 1:     main::Nello_poll                    called by ./FHEM/31_Nello.pm (295)
2020.04.07 18:35:25 1:     main::Nello_dispatch                called by FHEM/HttpUtils.pm (592)
2020.04.07 18:35:25 1:     main::__ANON__                      called by fhem.pl (720)
2020.04.07 18:35:25 3: Nello_one: login successful
2020.04.07 18:36:18 1: PERL WARNING: Use of uninitialized value $status in string eq at ./FHEM/31_Nello.pm line 374.
2020.04.07 18:36:18 1: stacktrace:
2020.04.07 18:36:18 1:     main::__ANON__                      called by ./FHEM/31_Nello.pm (374)
2020.04.07 18:36:18 1:     main::Nello_dispatch                called by FHEM/HttpUtils.pm (592)
2020.04.07 18:36:18 1:     main::__ANON__                      called by fhem.pl (720)
2020.04.07 18:36:18 3: Nello_one: failed to detect deviceID


Hat jemand eine Idee, was ich falsch mache und wie ich den Nello endlich zuverlässig in FHEM eingebunden bekomme? :-\

EDIT: Habt ihr die unschöne Verzögerung denn auch OBWOHL bei euch mit detectdeviceID alles geklappt hat? Dann könnte ich mir alles Weitere eigentlich sparen und würde dann eher mal das Python-Projekt ausprobieren worüber ich gestolpert bin (https://pypi.org/project/pynello/) und um FHEM per MQTT außenrum kommunizieren lassen. Vlt ist da die Verzögerung dann nicht.