Ankündigung

Einklappen
Keine Ankündigung bisher.

Umfrage: Amazon Echo

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #91
    Außerdem ist mir aufgefallen, dass ich dimmen nur dann kann wenn ich eine gruppe dimme. Also ich habe im Büro Spots und eine Deckenlampe. Sage ich nun "Alexa, setze Büro Spots auf 50%" sagt sie, dass es für dieses Gerät nicht verfügbar ist. Gruppiere ich nun aber beide Lampen und sage "Alexa, setze Büro auf 50%" dann dimmt sie beide Lampen auf 50%

    Kommentar


      #92
      Increment geht nun

      Kommentar


        #93
        dann wuerde ich mal eine discovery anstoßen, z.b. ueber deine lambda funktion und das ergebnis posten. vllt passt da noch ne gruppenbildung nicht o.ä.

        bzgl. deiner frage vor paar tagen zu validierung des oauth tokens: dieser wird von mir gar nicht validiert, koennte ich auch nicht - der service verlaesst sich momentan noch darauf durch einen reverse proxy entsprechend abgesichert zu sein. daran kann man noch arbeiten.

        Kommentar


          #94
          Damit kann ich erstmal leben. Ich schalte eine Sophos UTM davor mit reverse Proxy. Passt mir so. Hab ein langes komplexes PW in der Auth. Muss also gehen.
          Das mit deinen Env Variablen hat bei mir aber nicht richtig funktioniert. Hab die in der lambda vorne dran deklariert, aber nicht über die env variablen

          Kommentar


            #95
            War übrigens ein Item Fehler. Hab mich vertippt. Nun geht das.

            Kommentar


              #96
              die environmentals kannst du einfach im formular unter dem lambda code-editor definieren, key-value paare

              Kommentar


                #97
                hast du eigentlich noch probleme mit parallelem backend-plugin?

                Kommentar


                  #98
                  Hab ich gemacht, aber dann kann er gar keine Verbindung initiieren. Soll ich das nochmal nachstellen und den Fehler posten?

                  Kommentar


                    #99
                    Code:
                    2016-11-30  20:31:54 INFO     alexa        [30/Nov/2016:20:31:54] ENGINE Bus STARTING
                    2016-11-30  20:31:54 INFO     alexa        [30/Nov/2016:20:31:54] ENGINE Started monitor thread '_TimeoutMonitor'.
                    2016-11-30  20:31:54 INFO     alexa        [30/Nov/2016:20:31:54] ENGINE Started monitor thread 'Autoreloader'.
                    2016-11-30  20:31:54 INFO     alexa        [30/Nov/2016:20:31:54] ENGINE Serving on http://0.0.0.0:9000
                    2016-11-30  20:31:54 INFO     alexa        [30/Nov/2016:20:31:54] ENGINE Bus STARTED
                    2016-11-30  20:31:54 INFO     alexa        Alexa: service started
                    2016-11-30  20:32:20 DEBUG    CP Server Thread-10 Alexa: discovery-directive 'DiscoverAppliancesRequest' received
                    2016-11-30  20:32:20 INFO     CP Server Thread-10 192.168.1.1 - - [30/Nov/2016:20:32:20] "POST / HTTP/1.1" 200 3003 "" ""
                    2016-11-30  20:34:01 DEBUG    CP Server Thread-11 Alexa: control-directive 'SetPercentageRequest' received
                    2016-11-30  20:34:01 DEBUG    CP Server Thread-11 Alexa: setPercentage(OG.Buero.JalousieTuer.Position, 80.0)
                    2016-11-30  20:34:01 INFO     CP Server Thread-11 192.168.1.1 - - [30/Nov/2016:20:34:01] "POST / HTTP/1.1" 200 180 "" ""
                    2016-11-30  20:34:34 DEBUG    CP Server Thread-12 Alexa: control-directive 'SetPercentageRequest' received
                    2016-11-30  20:34:34 DEBUG    CP Server Thread-12 Alexa: setPercentage(OG.Buero.JalousieTuer.Position, 100.0)
                    2016-11-30  20:34:34 INFO     CP Server Thread-12 192.168.1.1 - - [30/Nov/2016:20:34:34] "POST / HTTP/1.1" 200 180 "" ""
                    2016-11-30  20:34:44 INFO     Main         VISU: Websocket handler uses protocol version 4
                    2016-11-30  20:34:48 INFO     Main         VISU: Websocket handler uses protocol version 4
                    2016-11-30  20:34:55 INFO     Main         VISU: Websocket handler uses protocol version 4
                    2016-11-30  20:34:59 INFO     Main         VISU: Websocket handler uses protocol version 4
                    ^C
                    root@smartvisu:/opt/smarthome# nano /usr/local/smarthome/etc/plugin.conf
                    root@smartvisu:/opt/smarthome# tail -f /var/log/smarthome.log
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 INFO     alexa        [30/Nov/2016:20:36:28] ENGINE Serving on http://0.0.0.0:9000
                    2016-11-30  20:36:28 INFO     alexa        [30/Nov/2016:20:36:28] ENGINE Bus STARTED
                    2016-11-30  20:36:28 INFO     alexa        Alexa: service started
                    2016-11-30  20:36:28 INFO     BackendServer [30/Nov/2016:20:36:28] ENGINE Serving on http://0.0.0.0:9000
                    2016-11-30  20:36:28 INFO     BackendServer [30/Nov/2016:20:36:28] ENGINE Bus STARTED
                    ^C
                    root@smartvisu:/opt/smarthome# less /var/log/smarthome.log
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-34     Unhandled exception: <WorkerThread(CP Server CP Server Thread-18, started 140413813909248)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-35     Unhandled exception: <WorkerThread(CP Server CP Server Thread-19, started 140413788731136)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-36     Unhandled exception: <WorkerThread(CP Server CP Server Thread-20, started 140413813909248)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-37     Unhandled exception: <WorkerThread(CP Server CP Server Thread-21, started 140413788731136)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-38     Unhandled exception: <WorkerThread(CP Server CP Server Thread-22, started 140413813909248)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-39     Unhandled exception: <WorkerThread(CP Server CP Server Thread-23, started 140413788731136)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 ERROR    Dummy-40     Unhandled exception: <WorkerThread(CP Server CP Server Thread-24, started 140413813909248)>
                    <class 'KeyError'>
                      File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
                        self._bootstrap_inner()
                      File "/usr/lib/python3.4/threading.py", line 912, in _bootstrap_inner
                        del _limbo[self]
                    
                    2016-11-30  20:36:28 INFO     alexa        [30/Nov/2016:20:36:28] ENGINE Serving on http://0.0.0.0:9000
                    2016-11-30  20:36:28 INFO     alexa        [30/Nov/2016:20:36:28] ENGINE Bus STARTED
                    2016-11-30  20:36:28 INFO     alexa        Alexa: service started
                    2016-11-30  20:36:28 INFO     BackendServer [30/Nov/2016:20:36:28] ENGINE Serving on http://0.0.0.0:9000
                    2016-11-30  20:36:28 INFO     BackendServer [30/Nov/2016:20:36:28] ENGINE Bus STARTED
                    Bei aktivem Backend Plugin

                    Code:
                    root@smartvisu:/opt/smarthome# netstat -tulpen
                    Active Internet connections (only servers)
                    Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
                    tcp        0      0 0.0.0.0:2424            0.0.0.0:*               LISTEN      1000       3314779     32612/python3
                    tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          11471       818/exim4
                    tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      0          2471412     21699/smbd
                    tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1000       3314775     32612/python3
                    tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      0          2471413     21699/smbd
                    tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          9454        349/rpcbind
                    tcp        0      0 0.0.0.0:2323            0.0.0.0:*               LISTEN      1000       3314780     32612/python3
                    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          10496       374/sshd
                    tcp        0      0 0.0.0.0:35383           0.0.0.0:*               LISTEN      106        9564        358/rpc.statd
                    tcp6       0      0 ::1:25                  :::*                    LISTEN      0          11472       818/exim4
                    tcp6       0      0 :::55418                :::*                    LISTEN      106        9570        358/rpc.statd
                    tcp6       0      0 :::443                  :::*                    LISTEN      0          3153652     28475/apache2
                    tcp6       0      0 :::445                  :::*                    LISTEN      0          2471410     21699/smbd
                    tcp6       0      0 :::6720                 :::*                    LISTEN      0          9974        1/systemd
                    tcp6       0      0 :::139                  :::*                    LISTEN      0          2471411     21699/smbd
                    tcp6       0      0 :::111                  :::*                    LISTEN      0          9457        349/rpcbind
                    tcp6       0      0 :::80                   :::*                    LISTEN      0          3153648     28475/apache2
                    tcp6       0      0 :::22                   :::*                    LISTEN      0          10508       374/sshd
                    udp        0      0 0.0.0.0:948             0.0.0.0:*                           0          9453        349/rpcbind
                    udp        0      0 127.0.0.1:958           0.0.0.0:*                           0          9556        358/rpc.statd
                    udp        0      0 192.168.1.10:3672       0.0.0.0:*                           108        10663       394/knxd
                    udp        0      0 0.0.0.0:36862           0.0.0.0:*                           106        9561        358/rpc.statd
                    udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          9450        349/rpcbind
                    udp        0      0 192.168.1.255:137       0.0.0.0:*                           0          2471215     21658/nmbd
                    udp        0      0 192.168.1.10:137        0.0.0.0:*                           0          2471214     21658/nmbd
                    udp        0      0 0.0.0.0:137             0.0.0.0:*                           0          2471211     21658/nmbd
                    udp        0      0 192.168.1.255:138       0.0.0.0:*                           0          2471217     21658/nmbd
                    udp        0      0 192.168.1.10:138        0.0.0.0:*                           0          2471216     21658/nmbd
                    udp        0      0 0.0.0.0:138             0.0.0.0:*                           0          2471212     21658/nmbd
                    udp6       0      0 :::39685                :::*                                106        9567        358/rpc.statd
                    udp6       0      0 :::948                  :::*                                0          9456        349/rpcbind
                    udp6       0      0 :::111                  :::*                                0          9455        349/rpcbind
                    Das Backendplugin läuft dann auch nicht

                    Kommentar


                      Auch wenn OT:
                      Zitat von hotzen Beitrag anzeigen
                      @[B]junibart hab das mal mit dem bestellungen ersetzen durch warenkorb-artikel durchgekaspert aber das scheint (auch lt. forum) gefixt zu sein.
                      Da ist nix gefixt, habe heute gerade einen Babyschlafsack gegen einen Dot getauscht.
                      Und der Schlafsack ist noch nicht einmal bei mir angekommen.

                      Kommentar


                        ich koennte heulen - habe das sogar mit dem account meiner frau durchgekaspert. ich kriege die option einfach nicht angeboten. das problem haben im amazon forum mehrere leute. kannst du noch einen bestellen oder gibts haushalts beschraenkungen?

                        Kommentar


                          So komisch! Hab nun alle meine Items eingepflegt und plötzlich weigert sich Alexa wieder Devices zu finden. Das ist aber auch ein zickiges Plugin
                          Keine Ahnung warum jetzt plötzlich keine Geräte mehr da sind.

                          Kommentar


                            Zum Auswachsen. Zurück zur alten items.conf dann wieder nur ein Gerät hinzugefügt. Jetzt wird das auch wieder nicht gefunden. Die Funktion auf AWS wird wieder grün, Reihenfolge von JSON ist wieder durcheinander. Keine Ahnung warum das jetzt wieder nicht geht. hotzen hast du was kaputt gefixt?

                            Kommentar


                              hm, glaube nicht. vielleicht ist alexa bisschen bitchig was device-discovery angeht? muesste man mal googlen.
                              magst mir mal deine discovery-messages schicken?

                              Kommentar


                                aws mit discovery json von seite 5
                                Code:
                                 
                                 {   "header": {     "payloadVersion": "2",     "messageId": "cdb7cfe49b2b46cdb045afe651a90f81",     "name": "DiscoverAppliancesResponse",     "namespace": "Alexa.ConnectedHome.Discovery"   },   "payload": {     "discoveredAppliances": [       {         "manufacturerName": "smarthomeNG.alexa",         "friendlyName": "Wohnzimmer Ofen",         "applianceId": "wohnzimmer-ofen",         "version": "1.0.0",         "modelName": "smarthomeNG.alexa-device",         "actions": [           "turnOff",           "turnOn"         ],         "isReachable": true,         "additionalApplianceDetails": {           "item1": "EG.Wohnzimmer.SpotsOfen.Schalten"         },         "friendlyDescription": ""       }     ]   } }
                                Log

                                Code:
                                2016-11-30  21:57:53 DEBUG    CP Server Thread-18 Alexa: discovery-directive 'DiscoverAppliancesRequest' received
                                2016-11-30  21:57:53 INFO     CP Server Thread-18 192.168.1.1 - - [30/Nov/2016:21:57:53] "POST / HTTP/1.1" 200 539 "" ""
                                Nur ein Item drin

                                Kommentar

                                Lädt...
                                X