Ankündigung

Einklappen
Keine Ankündigung bisher.

AVM Plugin

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

  • kunig
    antwortet
    Sollte die Call-Funktion nun eigentlich funktionieren oder nicht? Bei mir klappts nämlich nicht mit der 7490.
    Egal ob mit http oder https, Port 49000 oder 49443. Wählhilfe ist aktiviert und auch Zugriff per Heimnetz.
    Im Log steht immer nur "Resetting dropped connection: fritz.box"

    Einen Kommentar schreiben:


  • psilo
    antwortet
    wobei ich sehe gerade: plugins.avm_repeater_eg Starting update loop for instance repeater_eg

    Check bitte mal, dass Deine Items wirklich ok sind wegen Klammerung etc... er MUSS an der Stelle was rausloggen wenn Du das self.logger.debug richtig drin hast. Mir kommts so vor, als springt er da ggf. wegen der Items nicht rein

    und änder den block temporär - wie bereits geschrieben - so (erste Zeile):

    Code:
            if True: #"wlanconfig_%s_%s" % (item.conf['avm_wlan_index'], action) in self._response_cache:
                try:
                    response = self._session.post(url, data=soap_data, timeout=self._timeout, headers=headers,
                                                  auth=HTTPDigestAuth(self._fritz_device.get_user(),
                                                                      self._fritz_device.get_password()),
                                                  verify=self._verify)
                    self.logger.debug(response.content)
                except Exception as e:
                    self.logger.error("Exception when sending POST request: %s" % str(e))
                    return
                self._response_cache["wlanconfig_%s_%s" % (item.conf['avm_wlan_index'], action)] = response.content
            else:
                self.logger.debug("Accessing TAM reponse cache for action %s!" % action)
    Zuletzt geändert von psilo; 24.08.2016, 06:46.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    vermutlich ist die 2te instanz des plugins nicht aktiv. welche smarthomeng version? was zeigt das backend plugin im reiter plugins an

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Leider auch damit keinen Erfolg. Ich bekomm keinerlei Infos ins Log.

    Code:
            if "wlanconfig_%s_%s" % (item.conf['avm_wlan_index'], action) in self._response_cache:
                try:
                    response = self._session.post(url, data=soap_data, timeout=self._timeout, headers=headers,
                                                  auth=HTTPDigestAuth(self._fritz_device.get_user(),
                                                                      self._fritz_device.get_password()),
                                                  verify=self._verify)
                    self.logger.debug(response.content)
                except Exception as e:
                    self.logger.error("Exception when sending POST request: %s" % str(e))
                    return
                self._response_cache["wlanconfig_%s_%s" % (item.conf['avm_wlan_index'], action)] = response.content
            else:
                self.logger.debug("Accessing TAM reponse cache for action %s!" % action)
    log:
    Code:
    2016-08-23  08:54:02 WARNING  Main         --------------------   Init smarthomeNG 1.2.442.dev   --------------------
    2016-08-23  08:54:02 DEBUG    Main         Python 3.4.2
    2016-08-23  08:54:02 INFO     Main         Init Scheduler
    2016-08-23  08:54:02 DEBUG    Scheduler    creating 5 workers
    2016-08-23  08:54:02 INFO     Main         Init Plugins
    2016-08-23  08:54:02 DEBUG    Main         Plugin: visu
    2016-08-23  08:54:02 DEBUG    Main         Plugin: smartvisu
    2016-08-23  08:54:02 DEBUG    Main         Plugin: BackendServer
    2016-08-23  08:54:03 DEBUG    Main         BackendServer: Using local ip address '192.168.0.33'
    2016-08-23  08:54:03 DEBUG    Main         BackendServer running from '/usr/local/smarthome/plugins/backend'
    2016-08-23  08:54:03 DEBUG    Main         Plugin: cli
    2016-08-23  08:54:03 DEBUG    Main         Plugin: sql
    2016-08-23  08:54:03 DEBUG    Main         SQLite 3.8.7.1
    2016-08-23  08:54:03 DEBUG    Main         SQLite: database integrity ok
    2016-08-23  08:54:03 DEBUG    Main         SQLite pack next time: 2016-08-24 03:02:00+02:00
    2016-08-23  08:54:03 DEBUG    Main         Plugin: RepeaterEG
    2016-08-23  08:54:03 DEBUG    Main         set plugin RepeaterEG instance to repeater_eg
    2016-08-23  08:54:03 INFO     Main         Init AVM Plugin
    2016-08-23  08:54:03 INFO     Main         Init Items
    2016-08-23  08:54:03 DEBUG    Main         Item env.core.memory = 24309760.0 via SQLite None None
    2016-08-23  08:54:03 DEBUG    Main         Item env.core.threads = 17.0 via SQLite None None
    2016-08-23  08:54:03 DEBUG    Main         Item env.core.garbage = 0.0 via SQLite None None
    2016-08-23  08:54:03 DEBUG    Main         Item env.core: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sunrise.azimut: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sunrise.elevation: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sunset.azimut: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sunset.elevation: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sun_position.azimut: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sun_position.elevation: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location.sun_position: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.location: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.system.load = 0.01 via SQLite None None
    2016-08-23  08:54:03 DEBUG    Main         Item env.system.libs: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env.system: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item env: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item AVM.wlan: no type specified.
    2016-08-23  08:54:03 DEBUG    Main         Item AVM: no type specified.
    2016-08-23  08:54:03 INFO     Main         Items: 54
    2016-08-23  08:54:03 INFO     Main         Start Logics
    2016-08-23  08:54:03 DEBUG    Main         Reading Logics from /usr/local/smarthome/lib/env/logic_conf
    2016-08-23  08:54:03 DEBUG    Main         Reading Logics from /usr/local/smarthome/etc/logic.conf
    2016-08-23  08:54:03 DEBUG    Main         Logic: env_init
    2016-08-23  08:54:03 DEBUG    Main         Logic: env_stat
    2016-08-23  08:54:03 DEBUG    Main         env_stat next time: 2016-08-23 08:54:17+02:00
    2016-08-23  08:54:03 DEBUG    Main         Logic: env_daily
    2016-08-23  08:54:03 DEBUG    Main         env_daily next time: 2016-08-24 06:00:00+02:00
    2016-08-23  08:54:03 DEBUG    Main         Logic: env_loc
    2016-08-23  08:54:03 INFO     Main         Start Plugins
    2016-08-23  08:54:03 DEBUG    Main         Starting visu Plugin
    2016-08-23  08:54:03 DEBUG    Main         Starting smartvisu Plugin
    2016-08-23  08:54:03 DEBUG    Main         Starting BackendServer Plugin
    2016-08-23  08:54:03 DEBUG    BackendServer BackendServer: rest run
    2016-08-23  08:54:03 DEBUG    Main         Starting cli Plugin
    2016-08-23  08:54:03 INFO     BackendServer [23/Aug/2016:08:54:03] ENGINE Bus STARTING
    2016-08-23  08:54:03 DEBUG    Main         Starting sql Plugin
    2016-08-23  08:54:03 INFO     BackendServer [23/Aug/2016:08:54:03] ENGINE Started monitor thread '_TimeoutMonitor'.
    2016-08-23  08:54:03 DEBUG    Main         Starting RepeaterEG Plugin
    2016-08-23  08:54:03 DEBUG    RepeaterEG   Scheduler: Name changed by adding plugin instance name to: plugins.avm_repeater_eg
    2016-08-23  08:54:03 DEBUG    RepeaterEG   plugins.avm_repeater_eg next time: 2016-08-23 08:54:05+02:00
    2016-08-23  08:54:04 INFO     BackendServer [23/Aug/2016:08:54:04] ENGINE Serving on http://192.168.0.33:8383
    2016-08-23  08:54:04 INFO     BackendServer [23/Aug/2016:08:54:04] ENGINE Bus STARTED
    2016-08-23  08:54:04 DEBUG    BackendServer BackendServer: engine started
    2016-08-23  08:54:04 DEBUG    Connections  _websocket: binding to 0.0.0.0:2424 (TCP)
    2016-08-23  08:54:04 DEBUG    Connections  CLI: binding to 127.0.0.1:2323 (TCP)
    2016-08-23  08:54:05 DEBUG    plugins.avm_repeater_eg Starting update loop for instance repeater_eg
    2016-08-23  08:54:05 DEBUG    Scheduler    plugins.avm_repeater_eg next time: 2016-08-23 08:59:05+02:00
    2016-08-23  08:54:09 DEBUG    env_init     Item env.core.version = 1.2.442.dev via Logic None None
    2016-08-23  08:54:09 DEBUG    env_init     Item env.core.start = 2016-08-23 08:54:09.154763+02:00 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_init     Item env.system.name = visulogo via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunrise = 2016-08-24 06:18:54.013589+02:00 via Logic None None
    2016-08-23  08:54:09 DEBUG    sh.gc        Garbage collector: collected 0 objects.
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunrise.azimut.degrees = 94.45 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunrise.elevation.degrees = 17.69 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_init     Item env.system.start = 2016-08-22 11:58:26.251680+02:00 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunrise.azimut.radians = 1.65 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunrise.elevation.radians = 0.31 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunset = 2016-08-23 20:22:59.389836+02:00 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunset.azimut.degrees = 314.15 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunset.elevation.degrees = -16.86 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunset.azimut.radians = 5.48 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sunset.elevation.radians = -0.29 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sun_position.azimut.degrees = 101.32 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sun_position.elevation.degrees = 23.36 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sun_position.azimut.radians = 1.77 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.sun_position.elevation.radians = 0.41 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.moonrise = 2016-08-23 23:01:39.784587+02:00 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.moonset = 2016-08-23 12:27:26.245640+02:00 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.moonphase = 6 via Logic None None
    2016-08-23  08:54:09 DEBUG    env_loc      Item env.location.day = True via Logic None None
    2016-08-23  08:54:09 DEBUG    Scheduler    sh.gc next time: 2016-08-24 02:04:00+02:00
    2016-08-23  08:54:09 DEBUG    Scheduler    env_loc next time: 2016-08-23 09:24:09+02:00
    2016-08-23  08:54:09 DEBUG    sh.gc        Object references: 23202
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.system.libs.ephem_version = 3.7.6.0 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.core.memory = 24125440 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.system.load = 0.02 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.system.diskfree = 13472985088 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.system.disksize = 15581499392 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.system.diskusage = 1445142528 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.system.diskusagepercent = 9.27 via Logic None None
    2016-08-23  08:54:17 DEBUG    env_stat     Item env.location.moonlight = 71 via Logic None None
    2016-08-23  08:54:17 DEBUG    Scheduler    env_stat next time: 2016-08-23 08:59:17+02:00
    2016-08-23  08:59:05 DEBUG    plugins.avm_repeater_eg Starting update loop for instance repeater_eg
    2016-08-23  08:59:05 DEBUG    Scheduler    plugins.avm_repeater_eg next time: 2016-08-23 09:04:05+02:00
    2016-08-23  08:59:17 DEBUG    env_stat     Item env.system.load = 0.0 via Logic None None
    2016-08-23  08:59:17 DEBUG    Scheduler    env_stat next time: 2016-08-23 09:04:17+02:00
    2016-08-23  09:04:05 DEBUG    plugins.avm_repeater_eg Starting update loop for instance repeater_eg
    2016-08-23  09:04:05 DEBUG    Scheduler    plugins.avm_repeater_eg next time: 2016-08-23 09:09:05+02:00
    2016-08-23  09:04:17 DEBUG    Scheduler    env_stat next time: 2016-08-23 09:09:17+02:00
    2016-08-23  09:04:26 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:26] "GET / HTTP/1.1" 200 3975 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:29 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:29] "GET /items.html HTTP/1.1" 200 12618 "http://192.168.0.33:8383/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:30 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:30] "GET /items_json.html HTTP/1.1" 200 5493 "http://192.168.0.33:8383/items.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:34 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:34] "GET /item_detail_json.html?item_path=AVM.firmware HTTP/1.1" 200 669 "http://192.168.0.33:8383/items.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:38 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:38] "GET /item_detail_json.html?item_path=AVM.wlan.uf_wlan_1 HTTP/1.1" 200 709 "http://192.168.0.33:8383/items.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:39 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:39] "GET /item_detail_json.html?item_path=AVM.wlan.uf_wlan_1_ssid HTTP/1.1" 200 717 "http://192.168.0.33:8383/items.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:41 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:41] "GET /item_detail_json.html?item_path=AVM.wlan.uf_wlan_2 HTTP/1.1" 200 709 "http://192.168.0.33:8383/items.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:43 INFO     CP Server Thread-9 192.168.0.1 - - [23/Aug/2016:09:04:43] "GET /item_detail_json.html?item_path=AVM.wlan.uf_wlan_2_ssid HTTP/1.1" 200 717 "http://192.168.0.33:8383/items.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36"
    2016-08-23  09:04:55 INFO     Main         Number of Threads: 17
    2016-08-23  09:04:55 INFO     Main         Stop Plugins
    2016-08-23  09:04:55 DEBUG    Main         Stopping visu Plugin
    2016-08-23  09:04:55 DEBUG    Main         Stopping smartvisu Plugin
    2016-08-23  09:04:55 DEBUG    Main         Stopping BackendServer Plugin
    2016-08-23  09:04:55 DEBUG    Main         BackendServer: shutting down
    2016-08-23  09:04:55 INFO     Main         [23/Aug/2016:09:04:55] ENGINE Bus STOPPING
    2016-08-23  09:04:55 INFO     Main         [23/Aug/2016:09:04:55] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.0.33', 8383)) shut down
    2016-08-23  09:04:55 INFO     Main         [23/Aug/2016:09:04:55] ENGINE Stopped thread '_TimeoutMonitor'.
    2016-08-23  09:04:55 INFO     Main         [23/Aug/2016:09:04:55] ENGINE Bus STOPPED
    2016-08-23  09:04:55 INFO     Main         [23/Aug/2016:09:04:55] ENGINE Bus EXITING
    2016-08-23  09:04:55 INFO     Main         [23/Aug/2016:09:04:55] ENGINE Bus EXITED
    2016-08-23  09:04:55 DEBUG    Main         BackendServer: engine exited
    2016-08-23  09:04:55 DEBUG    Main         Stopping cli Plugin
    2016-08-23  09:04:55 DEBUG    Main         Stopping sql Plugin
    2016-08-23  09:04:56 DEBUG    Main         Stopping RepeaterEG Plugin
    2016-08-23  09:04:57 INFO     Main         Thread: Main, still alive
    2016-08-23  09:04:57 INFO     Main         Thread: _TimeoutMonitor, still alive
    items
    Code:
    [AVM]
        [[firmware]]
            type = str
            visu_acl = ro
            avm_data_type@repeater_EG = software_version
        [[wlan]]
            [[[uf_wlan_1]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig
                avm_wlan_index = 1
            [[[uf_wlan_1_ssid]]]
                type = str
                visu_acl = ro
                avm_data_type@repeater_EG = wlanconfig_ssid
                avm_wlan_index = 1
            [[[uf_wlan_2]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig # Guest
                avm_wlan_index = 2
            [[[uf_wlan_2_ssid]]]
                type = str
                visu_acl = ro
                avm_data_type@repeater_EG = wlanconfig_ssid
                avm_wlan_index = 2
    plugin
    Code:
    [RepeaterEG]
        class_name = AVM
        class_path = plugins.avm
        password = xxxxxx
        host = 192.168.0.46
        port = 49443
        cycle = 300
        ssl = True # use https or not
        verify = False # verify ssl certificate
        instance = repeater_EG
    Ich hab übrigens 2 300E im Netz. beide getestet, selbes Ergebnis.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    Methode: def _update_wlan_config(self, item): ab Zeile 1471

    Code:
                try:
                    response = self._session.post(url, data=soap_data, timeout=self._timeout, headers=headers,
                                                  auth=HTTPDigestAuth(self._fritz_device.get_user(),
                                                                      self._fritz_device.get_password()),
                                                  verify=self._verify)
                    self.logger.debug(response.content)
                except Exception as e:
                    self.logger.error("Exception when sending POST request: %s" % str(e))
                    return
    Damit nicht der Cache zieht (sonst siehst Dus nur bei einem Loop), kannst Du in Zeile 1470 das
    "if not "wlanconfig_%s_%s" % (item.conf['avm_wlan_index'], action) in self._response_cache:"
    zu einem
    "if True:"
    ändern.

    Und so lange evtl. den Router rausnehmen, sonst gibts zuviele Logs.

    Ich denke irgendwas hakt beim Setup / der Anbidnung des Extenders. mein 300E ist auch als LAN Bridge und hier geht alles. Gerade nochmal anhand der WLAN ID getestet. Auf Anhieb sehe ich aber nichts.

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Vorab....ich bin keine Entwickler.
    Ich hab versucht "response.content" entsprechend zu platzieren.
    Leider gibt das Log danach nicht mehr Auskunft.

    In welche Zeile muss ich das setzen um zb. meine Items zu loggen?

    Code:
     
     self.logger.debug(response.content)


    items.conf
    Code:
        [[wlanRepeaterEG]]
            [[[uf_wlan_1]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig
                avm_wlan_index = 1
            [[[uf_wlan_1_ssid]]]
                type = str
                visu_acl = ro
                avm_data_type@repeater_EG = wlanconfig_ssid
                avm_wlan_index = 1
            [[[uf_wlan_2]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig # Guest
                avm_wlan_index = 2
            [[[uf_wlan_2_ssid]]]
                type = str
                visu_acl = ro
                avm_data_type@repeater_EG = wlanconfig_ssid
                avm_wlan_index = 2
    Die beiden Bools bleiben auf false und ssid´s bleiben leer.

    Unbenannt.JPG
    Unbenannt1.JPG

    Einen Kommentar schreiben:


  • psilo
    antwortet
    Update: mein 300E hat mind. in der Oberfläche DEF keine Trennung zwischen zwei Frequenzbändern: sdf.PNG

    "Sind im WLAN-Router beide Frequenzbänder aktiviert, wird bei der Einrichtung mittels WPS (Wi-Fi Protected Setup) die WLAN-Verbindung immer über das 2,4 GHz-Frequenzband hergestellt. Damit der Verbindungsaufbau über das 5 GHz-Frequenzband erfolgt, muss das 2,4 GHz-Frequenzband des WLAN-Routers während der Einrichtung des Repeaters deaktiviert werden."
    https://avm.de/service/fritzwlan/fri...ter-verbinden/

    Dementsprechend ist Dein Wlan2 Guest und Wlan3 gibt es nicht. So ists bei mir auch.
    Zuletzt geändert von psilo; 22.08.2016, 12:28.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    dann einfach mal in den jew. funktionen wie immer "response.content" rausloggen. Da sollte dann drinnenstehen was schief läuft.

    und bitte mal firmware update auf die neuste version, falls noch nicht geschehen

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Zitat von psilo Beitrag anzeigen
    Alle Items? Glaube der 300er hatte gar kein 5ghz WLAN, oder? Bitte erstmal schauen, ob wirklich keines geht..
    Doch, der 300E hat 5Ghz Wlan. Ich bekomme ja auch keine Rückmeldung zur Firmware. OS 6.30


    Zitat von psilo Beitrag anzeigen
    dazu auch mal prüfen, ob der 300 richtig konfiguriert ist, um zugriff zu erlauben
    der Repeater ist richtig konfiguriert. Er ist ja auch aktive in Verwendung. Mir ist nicht bekannt wie ich den Zugriff für das Plugin nicht erlauben könnte.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    Noch was: mein 300er hat auch keinen User, sondern nur ein Passwort (username weglassen!). Ok sehe, dass das bei Dir auch weg ist.

    Hier meine Config:

    Code:
    [wlan_repeater_300]
        class_name = AVM
        class_path = plugins.avm
        password = xxx
        host = 192.168.178.4
        port = 49443
        cycle = 240
        ssl = True     # use https or not
        verify = False # verify ssl certificate
        call_monitor = False
        instance = wlan_repeater_300
    dazu auch mal prüfen, ob der 300 richtig konfiguriert ist, um zugriff zu erlauben
    Zuletzt geändert von psilo; 22.08.2016, 11:56.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    Alle Items? Glaube der 300er hatte gar kein 5ghz WLAN, oder? Bitte erstmal schauen, ob wirklich keines geht..

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Hallo,

    Ich habe leider Probleme mit dem Plugin in Verbindung mit meinem Repeater 300E.
    Im Log wird zwar das Plugin gestartet aber meine Items werden irgendwie ignoriert bzw. meine Items werden nicht entsprechend aktualisiert. Via Backend bleibt das Item SSID leer und die WLAN´s auf false obwohl das 5Ghz Netz an ist.

    Mit meinem Router 7360 funktioniert´s!

    Wo liegt der Fehler?

    P.S. der Repeater ist als LAN Bridge konfiguriert.

    Plugin.conf
    Code:
    [RepeaterEG]
        class_name = AVM
        class_path = plugins.avm
        password = xxxxxx (von mir unkenntlich gemacht)
        host = 192.168.0.46
        port = 49000
        cycle = 300
        ssl = false
        verify = False
        instance = repeater_EG
    items.conf
    Code:
    [AVM]
        [[firmware_RepeaterEG]]
            type = str
            visu_acl = ro
            avm_data_type@repeater_EG = software_version
        [[wlanRepeaterEG]]
            [[[uf_wlan_1]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig #2,4ghz
                avm_wlan_index = 1
            [[[uf_wlan_1_ssid]]]
                type = str
                visu_acl = ro
                avm_data_type@repeater_EG = wlanconfig_ssid #2,4ghz
                avm_wlan_index = 1
            [[[uf_wlan_2]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig #5 GHz
                avm_wlan_index = 2
            [[[uf_wlan_3]]]
                type = bool
                visu_acl = rw
                avm_data_type@repeater_EG = wlanconfig # Guest
                avm_wlan_index = 3
    log
    Code:
    2016-08-22  12:02:11 WARNING  Main         --------------------   Init smarthomeNG 1.2.442.dev   --------------------
    2016-08-22  12:02:11 DEBUG    Main         Python 3.4.2
    2016-08-22  12:02:11 INFO     Main         Init Scheduler
    2016-08-22  12:02:11 DEBUG    Scheduler    creating 5 workers
    2016-08-22  12:02:11 INFO     Main         Init Plugins
    2016-08-22  12:02:11 DEBUG    Main         Plugin: visu
    2016-08-22  12:02:11 DEBUG    Main         Plugin: smartvisu
    2016-08-22  12:02:11 DEBUG    Main         Plugin: BackendServer
    2016-08-22  12:02:12 DEBUG    Main         BackendServer: Using local ip address '192.168.0.33'
    2016-08-22  12:02:12 DEBUG    Main         BackendServer running from '/usr/local/smarthome/plugins/backend'
    2016-08-22  12:02:12 DEBUG    Main         Plugin: cli
    2016-08-22  12:02:12 DEBUG    Main         Plugin: sql
    2016-08-22  12:02:12 DEBUG    Main         SQLite 3.8.7.1
    2016-08-22  12:02:12 DEBUG    Main         SQLite: database integrity ok
    2016-08-22  12:02:12 DEBUG    Main         SQLite pack next time: 2016-08-23 03:02:00+02:00
    2016-08-22  12:02:12 DEBUG    Main         Plugin: Router7360
    2016-08-22  12:02:12 DEBUG    Main         set plugin Router7360 instance to router_7360
    2016-08-22  12:02:12 INFO     Main         Init AVM Plugin
    2016-08-22  12:02:12 DEBUG    Main         Plugin: RepeaterEG
    2016-08-22  12:02:12 DEBUG    Main         set plugin RepeaterEG instance to repeater_eg
    2016-08-22  12:02:12 INFO     Main         Init AVM Plugin
    2016-08-22  12:02:12 INFO     Main         Init Items
    2016-08-22  12:02:13 DEBUG    Main         Item env.core.memory = 22655053.642317053 via SQLite None None
    2016-08-22  12:02:13 DEBUG    Main         Item env.core.threads = 17.0 via SQLite None None
    2016-08-22  12:02:13 DEBUG    Main         Item env.core.garbage = 0.0 via SQLite None None
    2016-08-22  12:02:13 DEBUG    Main         Item env.core: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sunrise.azimut: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sunrise.elevation: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sunset.azimut: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sunset.elevation: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sun_position.azimut: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sun_position.elevation: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location.sun_position: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.location: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.system.load = 0.13015432153123832 via SQLite None None
    2016-08-22  12:02:13 DEBUG    Main         Item env.system.libs: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env.system: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item env: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item AVM.wlanRepeaterEG: no type specified.
    2016-08-22  12:02:13 DEBUG    Main         Item AVM: no type specified.
    2016-08-22  12:02:14 INFO     Main         Start Logics
    2016-08-22  12:02:14 DEBUG    Main         Reading Logics from /usr/local/smarthome/lib/env/logic_conf
    2016-08-22  12:02:14 DEBUG    Main         Reading Logics from /usr/local/smarthome/etc/logic.conf
    2016-08-22  12:02:14 DEBUG    Main         Logic: env_init
    2016-08-22  12:02:14 DEBUG    Main         Logic: env_daily
    2016-08-22  12:02:14 DEBUG    Main         env_daily next time: 2016-08-23 06:00:00+02:00
    2016-08-22  12:02:14 DEBUG    Main         Logic: env_loc
    2016-08-22  12:02:14 DEBUG    Main         Logic: env_stat
    2016-08-22  12:02:14 DEBUG    Main         env_stat next time: 2016-08-22 12:02:29+02:00
    2016-08-22  12:02:14 INFO     Main         Start Plugins
    2016-08-22  12:02:14 DEBUG    Main         Starting visu Plugin
    2016-08-22  12:02:14 DEBUG    Main         Starting smartvisu Plugin
    2016-08-22  12:02:14 DEBUG    Main         Starting BackendServer Plugin
    2016-08-22  12:02:14 DEBUG    BackendServer BackendServer: rest run
    2016-08-22  12:02:14 DEBUG    Main         Starting cli Plugin
    2016-08-22  12:02:14 INFO     BackendServer [22/Aug/2016:12:02:14] ENGINE Bus STARTING
    2016-08-22  12:02:14 DEBUG    Main         Starting sql Plugin
    2016-08-22  12:02:14 INFO     BackendServer [22/Aug/2016:12:02:14] ENGINE Started monitor thread '_TimeoutMonitor'.
    2016-08-22  12:02:14 DEBUG    Main         Starting Router7360 Plugin
    2016-08-22  12:02:14 DEBUG    Router7360   Scheduler: Name changed by adding plugin instance name to: plugins.avm_router_7360
    2016-08-22  12:02:14 DEBUG    Main         Starting RepeaterEG Plugin
    2016-08-22  12:02:14 DEBUG    Router7360   plugins.avm_router_7360 next time: 2016-08-22 12:02:16+02:00
    2016-08-22  12:02:14 DEBUG    RepeaterEG   Scheduler: Name changed by adding plugin instance name to: plugins.avm_repeater_eg
    2016-08-22  12:02:14 DEBUG    RepeaterEG   plugins.avm_repeater_eg next time: 2016-08-22 12:02:16+02:00
    2016-08-22  12:02:14 INFO     BackendServer [22/Aug/2016:12:02:14] ENGINE Serving on http://192.168.0.33:8383
    2016-08-22  12:02:14 INFO     BackendServer [22/Aug/2016:12:02:14] ENGINE Bus STARTED
    2016-08-22  12:02:14 DEBUG    BackendServer BackendServer: engine started
    2016-08-22  12:02:14 DEBUG    Connections  _websocket: binding to 0.0.0.0:2424 (TCP)
    2016-08-22  12:02:14 DEBUG    Connections  CLI: binding to 127.0.0.1:2323 (TCP)
    2016-08-22  12:02:16 DEBUG    plugins.avm_router_7360 Starting update loop for instance router_7360
    2016-08-22  12:02:16 DEBUG    plugins.avm_repeater_eg Starting update loop for instance repeater_eg
    2016-08-22  12:02:16 DEBUG    Scheduler    plugins.avm_router_7360 next time: 2016-08-22 12:07:16+02:00
    2016-08-22  12:02:16 DEBUG    Scheduler    plugins.avm_repeater_eg next time: 2016-08-22 12:07:16+02:00
    Zuletzt geändert von fuxl66; 22.08.2016, 11:23.

    Einen Kommentar schreiben:


  • McTao
    antwortet
    Ok, jetzt habe ich den Fehler dann doch behoben.

    Ich hatte bei der Item-Definition bei einem Attribut die Hierarchie nicht richtig berücksichtigt. Somit gab es ein Objekt nicht, dass ich ansprechen wollte.

    Gruss Andreas

    Einen Kommentar schreiben:


  • psilo
    antwortet
    McTao woher kommt denn der Fehler?

    Einen Kommentar schreiben:


  • McTao
    antwortet
    Hi,

    wo der Fehler her kommt, weiss ich, hatte aber noch nicht die Muße die Items zu überprüfen.

    Ich benutze die Version aus dem DEV.
    Ich bastel mir gerade noch eine 2. Lösung (Wahrscheinlich Ping etc) damit ich nicht abwesend bin, wenn das Handy sich im Repeater (TP-LINK) anmeldet.

    Gruss Andreas

    Einen Kommentar schreiben:

Lädt...
X