Ankündigung

Einklappen
Keine Ankündigung bisher.

AVM Plugin

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

  • psilo
    antwortet
    Achja und mach mal testweise eine volle Rufnummer anstatt der **9..

    Einen Kommentar schreiben:


  • psilo
    antwortet
    Username und Passwort hast Du konfiguriert? Evtl musst Du den Service auch noch auf der Box selber freischalten!

    Check das mal:

    Unbenannt.PNG

    Resetting dropped connection ist "normal" bei einigen Nutzern und hat keine Auswirkung auf die Funktionalität
    Zuletzt geändert von psilo; 01.11.2016, 12:13.

    Einen Kommentar schreiben:


  • gama
    antwortet
    Hi,

    ich versuche Fritzbox calls auszulösen - jedoch bislang ohne Erfolg. Was gut funktioniert, ist das Auslesen der Parameter wie Verbindungsstatus, etc.

    Das Loglevel wurde auf DEBUG gesetzt und ich bekomme folgende Fehler:

    Code:
    2016-11-01  10:45:59 INFO     plugins.avm_fb7390 Starting new HTTPS connection (1): 192.168.1.1
    2016-11-01  10:45:59 DEBUG    plugins.avm_fb7390 "POST /upnp/control/deviceinfo HTTP/1.1" 401 188
    2016-11-01  10:45:59 INFO     plugins.avm_fb7390 Resetting dropped connection: 192.168.1.1
    2016-11-01  10:46:00 DEBUG    plugins.avm_fb7390 "POST /upnp/control/deviceinfo HTTP/1.1" 200 1470
    2016-11-01  10:46:00 DEBUG    plugins.avm_fb7390 "POST /igdupnp/control/WANIPConn1 HTTP/1.1" 200 448
    2016-11-01  10:46:00 DEBUG    plugins.avm_fb7390 "POST /igdupnp/control/WANIPConn1 HTTP/1.1" 200 379
    2016-11-01  10:46:17 INFO     caller       LOGIC caller.py triggered by None
    2016-11-01  10:46:17 DEBUG    caller       "POST /upnp/control/x_voip HTTP/1.1" 401 188
    2016-11-01  10:46:17 INFO     caller       Resetting dropped connection: 192.168.1.1
    2016-11-01  10:46:17 DEBUG    caller       "POST /upnp/control/x_voip HTTP/1.1" 500 428
    2016-11-01  10:46:17 DEBUG    caller       "POST /upnp/control/x_voip HTTP/1.1" 401 188
    2016-11-01  10:46:17 INFO     caller       Resetting dropped connection: 192.168.1.1
    2016-11-01  10:46:18 DEBUG    caller       "POST /upnp/control/x_voip HTTP/1.1" 500 428
    in der Logic "caller.py" trigger ich die Funktionen per.

    Code:
    sh.fritzbox_kg.set_call_origin("**610")
    sh.fritzbox_kg.start_call('**9')
    Seltsam ist nur, dass ich "401" Unauthorized zurück bekomme oder "500" Internal Server Error...

    Fritzbox Firmware: FRITZ!OS 6.53
    Heimnetz->Heimnetzüberischt->Netzwerkeinstellungen->Statusinformationen über UPNP ist aktiv


    Hat jemand Ansatzpunkte, wo ich weiter suchen könnte?

    Einen Kommentar schreiben:


  • Roho0303
    antwortet


    Wer lesen kann ist klar im Vorteil....

    Instance von
    fritzbox_7362SL auf fritzbox7362sl geändert und schon bekomme ich Werte... Oh man....

    Einen Kommentar schreiben:


  • Roho0303
    antwortet
    Hallo Zusammen,
    Ich habe ein Problem mit dem AVM Plugin. Der Zugriff auf meine Fritzbox über sh.start_call() aus einer logic heraus funktioniert. Leider bekomme ich aber keinerlei Daten aus der Fritzbox in meine Items. Der Log zeigt auch nichts. Ich bin mit meinem Latein am Ende. Ich hoffe hier hat jemand eine Idee!??
    Anbei meine Configs und Eckdaten

    FritzBox 7362SL Fritz.OS 6.50
    Smarthome NG 1.2.451
    Smartvisu 2.7
    RPi2B+

    Plugin Cfg.

    Code:
    [fb1]
        class_name = AVM
        class_path = plugins.avm
        username = r***
        password =0***
        host = 192.168.178.1
        port = 49443
        cycle = 300
        ssl = True     # use https or not
        verify = False # verify ssl certificate
        call_monitor = True
       # call_monitor_incoming_filter = ... #optional, don't set if you don't want to watch only one specific number with your call monitor
        instance = fritzbox_7362SL
    Smartvisu.config

    Code:
    [avm]
        [[FB7362SL]]
            [[[uptime]]]
            type = num
            visu_acl = ro
            avm_data_type@fritzbox_7362SL = uptime
            enforce_updates = yes
            [[[serial_number]]]
            type = str
            visu_acl = ro
            avm_data_type@fritzbox_7362SL = serial_number
            enforce_updates = yes
            [[[firmware]]]
            type = str
            visu_acl = ro
            avm_data_type@fritzbox_7362SL = software_version
            enforce_updates = yes
            [[[hardware_version]]]
            type = str
            visu_acl = ro
            avm_data_type@fritzbox_7362SL = hardware_version
            enforce_updates = yes
            [[[monitor]]]
                [[[[trigger]]]]
                type = bool
                avm_data_type@fritzbox_7362SL = monitor_trigger
                #avm_incoming_allowed = xxxxxxx
                #avm_target_number = xxxxxxxx
                enforce_updates = yes
                [[[[trigger2]]]]
                type = bool
                avm_data_type@fritzbox_7362SL = monitor_trigger
                #avm_incoming_allowed = xxxxxxxx
                #avm_target_number = xxxxxxxx
                enforce_updates = yes
                [[[[incoming]]]]
                    [[[[[is_call_incoming]]]]]
                    type = bool
                    avm_data_type@fritzbox_7362SL = is_call_incoming
                    [[[[[duration]]]]]
                    type = num
                    avm_data_type@fritzbox_7362SL = call_duration_incoming
                    [[[[[last_caller]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_caller_incoming
                    [[[[[last_calling_number]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_number_incoming
                    [[[[[last_called_number]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_called_number_incoming
                    [[[[[last_call_date]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_call_date_incoming
                    [[[[[event]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = call_event_incoming
                [[[[outgoing]]]]
                    [[[[[is_call_outgoing]]]]]
                    type = bool
                    avm_data_type@fritzbox_7362SL = is_call_outgoing
                    [[[[[duration]]]]]
                    type = num
                    avm_data_type@fritzbox_7362SL = call_duration_outgoing
                    [[[[[last_caller]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_caller_outgoing
                    [[[[[last_calling_number]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_number_outgoing
                    [[[[[last_called_number]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_called_number_outgoing
                    [[[[[last_call_date]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = last_call_date_outgoing
                    [[[[[event]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL= call_event_outgoing
                [[[[newest]]]]
                    [[[[[direction]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = call_direction
                    cache = yes
                    [[[[[event]]]]]
                    type = str
                    avm_data_type@fritzbox_7362SL = call_event
                    cache = yes
            [[[tam]]]
            index = 1
            type = bool
            visu_acl = rw
            avm_data_type@fritzbox_7362SL = tam
                [[[[name]]]]
                type = str
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = tam_name
                [[[[message_number_old]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = tam_old_message_number
                eval = (sh.avm.FB7362SL.tam.message_number_total()-sh.avm.FB7362SL.tam.message_number_new())
                eval_trigger = avm.FB7362SL.tam.message_number_total | avm.FB7362SL.tam.message_number_new
                [[[[message_number_new]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = tam_new_message_number
                [[[[message_number_total]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = tam_total_message_number
            [[[wan]]]
                [[[[connection_status]]]]
                type = str
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_connection_status
                [[[[connection_error]]]]
                type = str
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_connection_error
                [[[[is_connected]]]]
                type = bool
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_is_connected
                [[[[uptime]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_uptime
                [[[[ip]]]]
                type = str
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_ip
                [[[[upstream]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_upstream
                [[[[downstream]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_downstream
                [[[[total_packets_sent]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_total_packets_sent
                [[[[total_packets_received]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_total_packets_received
                [[[[total_bytes_sent]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_total_bytes_sent
                [[[[total_bytes_received]]]]
                type = num
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_total_bytes_received
                [[[[link]]]]
                type = bool
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wan_link
            [[[wlan]]]
                [[[[gf_wlan_1]]]]
                type = bool
                visu_acl = rw
                avm_data_type@fritzbox_7362SL = wlanconfig #2,4ghz
                avm_wlan_index = 1
                [[[[gf_wlan_1_ssid]]]]
                type = str
                visu_acl = ro
                avm_data_type@fritzbox_7362SL = wlanconfig_ssid #2,4ghz
                avm_wlan_index = 1
    Log smarthome

    Code:
    016-10-09  09:07:04 WARNING  Main         --------------------   Init smarthomeNG 1.2.451   --------------------
    2016-10-09  09:07:04 INFO     Main         Init Scheduler
    2016-10-09  09:07:04 INFO     Main         Init Plugins
    2016-10-09  09:07:06 INFO     Main         Init UZSU
    2016-10-09  09:07:06 INFO     Main         OperationLog MeldelisteConfigPuffer: logging to file /usr/local/smarthome/var/log/operationlog/{name}-{year:04}.log, keeping 50 entries in memory, caching active
    2016-10-09  09:07:06 INFO     Main         OperationLog Meldeliste: logging to file /usr/local/smarthome/var/log/operationlog/{name}-{year:04}.log, keeping 50 entries in memory, caching active
    2016-10-09  09:07:07 INFO     Main         Init AVM Plugin
    2016-10-09  09:07:07 INFO     Main         Init Items
    2016-10-09  09:07:09 INFO     Main         Item: EG.Buero.Schreibtischlampe.Notification_Log, olog rules: {'highlim': None, False: 'Aus', '*': 'value', 'lowlim': None, True: 'Ein'}
    2016-10-09  09:07:11 INFO     Main         Item: AA.Wasser.Brunnen.Fuellstand.Notification_Log, olog evaluating: ['sh.AA.Wasser.Brunnen.Fuellstand()']
    2016-10-09  09:07:11 INFO     Main         Item: AA.Wasser.Brunnen.Fuellstand.Notification_Log, olog rules: {'highlim': None, False: 'Aus', '*': 'value', 'lowlim': None, True: 'Ein'}
    2016-10-09  09:07:12 INFO     Main         Item: AA.Wasser.Brunnen.Pumpe_Status.Notification_Log, olog evaluating: ['sh.AA.Wasser.Brunnen.Fuellstand()']
    2016-10-09  09:07:12 INFO     Main         Item: AA.Wasser.Brunnen.Pumpe_Status.Notification_Log, olog rules: {'highlim': None, False: 'Aus', '*': 'value', 'lowlim': None, True: 'Ein'}
    2016-10-09  09:07:12 INFO     Main         Item: AA.Wasser.Brunnen.Liquiphant.Notification_Log, olog evaluating: ['sh.AA.Wasser.Brunnen.Fuellstand()']
    2016-10-09  09:07:12 INFO     Main         Item: AA.Wasser.Brunnen.Liquiphant.Notification_Log, olog rules: {'highlim': None, False: 'Aus', '*': 'value', 'lowlim': None, True: 'Ein'}
    2016-10-09  09:07:12 INFO     Main         Item: AA.IPCAM.Haustuer.Bewegung, olog rules: {'highlim': None, False: 'Aus', '*': 'value', 'lowlim': None, True: 'Ein'}
    2016-10-09  09:07:12 INFO     Main         Item: AA.IPCAM.Kellertuer.Bewegung, olog rules: {'highlim': None, False: 'Aus', '*': 'value', 'lowlim': None, True: 'Ein'}
    2016-10-09  09:07:12 INFO     Main         Items: 710
    2016-10-09  09:07:12 INFO     Main         Start Logics
    2016-10-09  09:07:13 INFO     Main         Start Plugins
    2016-10-09  09:07:13 WARNING  smartvisu    Installing widgets into smartVISU
    2016-10-09  09:07:13 INFO     smartvisu    install_widgets: Installing from '/usr/local/smarthome' to '/var/www/html/smartVISU'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/18: [Errno 13] Keine Berechtigung: '8eddfcbe645a6330e3a6d419d00ad33b6771c3127be40f1ea9ef25c10c57.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/30: [Errno 13] Keine Berechtigung: 'e629103b838cbae0536e59d29960fec77233501b84d0704cc4517d685616.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/35: [Errno 13] Keine Berechtigung: '7e22d2a5cbbd62d7f9da2ce656ed879e37b2c93c4695da29f87ab94f3d45.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/f0: [Errno 13] Keine Berechtigung: 'e390e20724258fac9ceef2c8f1319076345e2e7f85064a9853fcd788fd6f.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/bf: [Errno 13] Keine Berechtigung: '77ce7d83c9262c8431ec3bc67ba034d7d243647fd21bd74181ec8e6b5728.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/8f: [Errno 13] Keine Berechtigung: '4f9e67d823be971ea843fc89bcb7f5fe7264b0e2c1d032a52f77c8fad9c7.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/78: [Errno 13] Keine Berechtigung: '2078d2d0829de9605004f292c311e32df0848408512179f5cde51d74b96f.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/b1: [Errno 13] Keine Berechtigung: 'c1f10358d962de61d54b3886fbd6153fb8a32dba390919ae4cbfcaf36530.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/9c: [Errno 13] Keine Berechtigung: 'cf8299f21ead39abe21cc7dd355f14654561228c15829476133cc647399e.php'
    2016-10-09  09:07:13 INFO     BackendServer [09/Oct/2016:09:07:13] ENGINE Bus STARTING
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/50: [Errno 13] Keine Berechtigung: '57991d1fd348b404bdb0da0eca04f65e42a462dd19ae10cae8e3db727bcb.php'
    2016-10-09  09:07:13 INFO     BackendServer [09/Oct/2016:09:07:13] ENGINE Started monitor thread '_TimeoutMonitor'.
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/a5: [Errno 13] Keine Berechtigung: 'd77b73c9589008d6f0e997e5da2ef0f3243625c9db00f04e1e1b4b50ce1a.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/22: [Errno 13] Keine Berechtigung: 'de76b4acbc51ca2bbef3a52ced83ff0bf340045e6775b491693a74328ad7.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/55: [Errno 13] Keine Berechtigung: '34bd003abffd66961053b5bb741e7cc0d3febabad1cd35f755c7d47c9200.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/1d: [Errno 13] Keine Berechtigung: '976b07ea029837d6c300bcaac219881936f2538117c30b6438107dac4cf4.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/67: [Errno 13] Keine Berechtigung: 'ea11cda2de7c35ab5ed91db317bce8919eccb926966e389968c675a1c0ed.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/e0: [Errno 13] Keine Berechtigung: '619731e99a2ceeea379f17713a7cd96d9ee6cffee1f60c7dbcc4624ba727.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/d0: [Errno 13] Keine Berechtigung: 'bdad04965950eb926bf2b08ab9f8aea144f143a1da1a5815413a3a9bd1fb.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/ae: [Errno 13] Keine Berechtigung: '0cdf53c61b102525cb74c4920d6e6d15661e8aa2a480654a596667b04404.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/8a: [Errno 13] Keine Berechtigung: '4e46e914629ed9fca5343ba0e313011fa02a478fcfd223f7baa7ec1b0578.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/8d: [Errno 13] Keine Berechtigung: 'ec5d6d6c07cdb511c5eea14fc4d9350978a71434acb68be398e572b6ca78.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/b0: [Errno 13] Keine Berechtigung: '02b7856657c49110111553d0fd3cdfc332877fc2f0f16a2792435c111315.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/c3: [Errno 13] Keine Berechtigung: '7b8279244811fc6111e702946a4bd86a12d550cc213d817fa3ff90250226.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/dc: [Errno 13] Keine Berechtigung: 'a910ba3c72a6b690c9dd4162f5a11af0e9298f89c30b1276860705afb6f5.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/1b: [Errno 13] Keine Berechtigung: 'fc9bbc088fd4280ac5fa8b9af8b4c0d90ed61dc6c55f4ea45c3194427174.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/01: [Errno 13] Keine Berechtigung: '91636a355b06d9e1717e58bd7cffa2d90bacf986e45ae111c7c528c7b677.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/fd: [Errno 13] Keine Berechtigung: '10d1fc8f1666c91cb7546b3dd8c81f8d612de7c640a752a20533cb0785e4.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/ca: [Errno 13] Keine Berechtigung: 'bf390699e8b7de6eadc07afa972f28cb8f2d5a95b5dceec65a68b65fd3f6.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/86: [Errno 13] Keine Berechtigung: 'fd60561ee3d717a6f5b431872cab57215fae82f35c7d58440ef00d551960.php'
    2016-10-09  09:07:13 WARNING  smartvisu    Could not delete directory /var/www/html/smartVISU/temp/d5: [Errno 13] Keine Berechtigung: '076940cd9b932e644640ccbcd4384b9506680397cd456b8cc7b9ba2dc842.php'
    2016-10-09  09:07:13 INFO     smartvisu    install_widgets: Creating  directory for widgets
    2016-10-09  09:07:13 WARNING  smartvisu    Could not find or create directory for sh widgets: /var/www/html/smartVISU/widgets/sh_widgets
    2016-10-09  09:07:13 WARNING  smartvisu    Generating pages for smartVISU
    2016-10-09  09:07:13 INFO     smartvisu    copy_templates: Copying template 'heading.html' from plugin to smartVISU
    2016-10-09  09:07:13 INFO     BackendServer [09/Oct/2016:09:07:13] ENGINE Serving on http://192.168.178.168:8383
    2016-10-09  09:07:13 INFO     BackendServer [09/Oct/2016:09:07:13] ENGINE Bus STARTED
    2016-10-09  09:07:28 INFO     Main         VISU: Websocket handler uses protocol version 3
    2016-10-09  09:07:39 INFO     Main         VISU: Websocket handler uses protocol version 3
    Widgets:

    Code:
    {% import "Widgets/widget_avm.html" as avm %}
    
        <div class="block">
        <div class="set-2" data-role="collapsible-set" data-theme="c" data-content-theme="a" data-mini="true">
    
    
            <div data-role="collapsible" data-collapsed="false">
                <h3>Fritzbox Call-Monitor</h3>
    
                    {{avm.callmonitor_small('Callmonitor_7362SL', 'Fritzbox Call-Monitor', 'avm.FB7362SL.monitor.incoming.event', 'avm.FB7362SL.monitor.incoming.last_caller', 'avm.FB7362SL.monitor.incoming.last_call_date', 'avm.FB7362SL.monitor.incoming.duration')}}
    
    
            </div>
    
        </div>
    </div>
    
    <div class="block">
        <div class="set-2" data-role="collapsible-set" data-theme="c" data-content-theme="a" data-mini="true">
    
    
            <div data-role="collapsible" data-collapsed="false">
                <h3>Fritzbox Systeminfo</h3>
    
                    {{avm.system_info('Sysinfo_7362SL', 'avm.FB7362SL.uptime', 'avm.FB7362SL.firmware', 'avm.FB7362SL.hardware_version', 'avm.FB7362SL.serial_number')}}
    
    
            </div>
    
        </div>
    </div>
    https://knx-user-forum.de/core/image...BJRU5ErkJgggA=
    Zuletzt geändert von Roho0303; 09.10.2016, 08:33.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    dem post weiter vorne nach zu gehen eher so:

    loggers:
    requests.packages.urllib3.connectionpool:
    level: DEBUG

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Zitat von fuxl66 Beitrag anzeigen
    ich würde die Variante "Auskommentieren im Log" bevorzugen! Funktional hab ich ja auch bis dato keinerlei Einschränkungen bemerkt.
    Verstehe ich das richtig, dass die angesprochenen Log-Einträge "Resetting dropped connection" nur mit folgender logging.yaml Configuration nur beim Debug-Log eingetragen werden?

    Code:
    loggers:
        plugins.avm_repeater_og:
            level: DEBUG
        plugins.avm_repeater_eg:
            level: DEBUG
        plugins.avm_router_7360:
            level: DEBUG

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    ich würde die Variante "Auskommentieren im Log" bevorzugen! Funktional hab ich ja auch bis dato keinerlei Einschränkungen bemerkt.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    fuxl66 vielleicht hat bis zum nächsten Release jemand eine Idee woher das kommen könnte. ich sehe dazu halt auch nur die doku im netz, die sagt, dass hier die verbindung verloren wird. Evtl bau ich Dir am Wochenende mal eine Version ohne Sessions, mglw. ist dann das "Problem" dieser Ausgaben weg, allerdings wäre das performancetechnisch eine Spur schlechter. Frage ist was für die Betroffenen wichtiger ist, minimal bessere Performance und Auskommentierung der Meldung wie yaml-Logging-Konfiguration oder schlechtere Performance und von Haus aus keine Meldungen.

    Ich fände es auch spannend, ob außer mir noch jemand diese Meldungen NICHT bekommt.

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Zitat von psilo Beitrag anzeigen
    fuxl66 gehen die komplett weg, sobald du ein device raus nimmst? wie ist das verhalten? bei mir mit wie gesagt 2 extendern und 1er 7490 nichts zu sehen :-/ funktion ist aber wie gesagt dennoch gegeben.. vielleicht entsteht das auch irgendwie durch multithreading. versucht mal den 3 plugins unterschiedliche cycle intervalle zu geben, nur aus neugier. welchen cycle hast du denn gesetzt? wenn es zu kurz wird, ist das verhalten evtl auch wahrscheinlicher.
    da jedes device seine eigenen dropps hat, bleiben nur die übrig die noch aktiv sind.
    hab jetzt 275,300,325 als cycle.....gleiches ergebnis
    die dropps sind auch in sehr kurzen abständen. das Log wird sehr schnell befüllt.

    Funktional gibts trotzdem keine Probleme.

    Code:
    2016-08-16  09:33:54 INFO     plugins.avm_repeater_eg Starting new HTTP connection (1): 192.168.0.46
    2016-08-16  09:33:54 INFO     plugins.avm_router_7360 Starting new HTTP connection (1): 192.168.0.10
    2016-08-16  09:33:54 INFO     plugins.avm_repeater_og Starting new HTTP connection (1): 192.168.0.36
    2016-08-16  09:33:54 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  09:33:54 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  09:33:55 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  09:33:55 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  09:33:55 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  09:33:55 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  09:33:55 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  09:33:55 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  09:33:56 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  09:33:56 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  09:33:56 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  09:33:57 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  09:33:57 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  09:33:57 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  09:33:57 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    Zuletzt geändert von fuxl66; 06.09.2016, 19:20.

    Einen Kommentar schreiben:


  • psilo
    antwortet
    fuxl66 gehen die komplett weg, sobald du ein device raus nimmst? wie ist das verhalten? bei mir mit wie gesagt 2 extendern und 1er 7490 nichts zu sehen :-/ funktion ist aber wie gesagt dennoch gegeben.. vielleicht entsteht das auch irgendwie durch multithreading. versucht mal den 3 plugins unterschiedliche cycle intervalle zu geben, nur aus neugier. welchen cycle hast du denn gesetzt? wenn es zu kurz wird, ist das verhalten evtl auch wahrscheinlicher.

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Zitat von psilo Beitrag anzeigen
    fuxl66 Bitte unbedingt testen. Wäre ein Issue selbst für die 1.2 :-/
    Der Underline ist kein Problem.
    Auch die Groß-Kleinschreibung in der plugin.conf ist kein Problem.
    Sobald ich jedoch in der items.conf im instance "_EG" schreibe, funktioniert die Aktualisierung der items nicht.
    die Kombi "_EG" in der plugin.conf und "_eg" in der items.conf klappt aber problemlos.

    --> Grossbuchstaben in der items.conf haben mein Problem verursacht.

    Mit aktivem Router und 2 Repeatern bekomm ich allerdings auch dropped connections ins log. und nicht wenige.....

    Code:
    2016-08-16  08:32:06 INFO     plugins.avm_router_7360 Starting new HTTP connection (1): 192.168.0.10
    2016-08-16  08:32:06 INFO     plugins.avm_repeater_eg Starting new HTTP connection (1): 192.168.0.46
    2016-08-16  08:32:06 INFO     plugins.avm_repeater_og Starting new HTTP connection (1): 192.168.0.36
    2016-08-16  08:32:06 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  08:32:06 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  08:32:06 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  08:32:06 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  08:32:06 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  08:32:07 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  08:32:07 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  08:32:07 INFO     plugins.avm_repeater_og Resetting dropped connection: 192.168.0.36
    2016-08-16  08:32:07 INFO     plugins.avm_repeater_eg Resetting dropped connection: 192.168.0.46
    2016-08-16  08:32:07 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  08:32:08 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  08:32:09 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  08:32:10 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  08:32:11 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10
    2016-08-16  08:32:11 INFO     plugins.avm_router_7360 Resetting dropped connection: 192.168.0.10

    Einen Kommentar schreiben:


  • psilo
    antwortet
    fuxl66 Bitte unbedingt testen. Wäre ein Issue selbst für die 1.2 :-/

    Einen Kommentar schreiben:


  • fuxl66
    antwortet
    Zitat von psilo Beitrag anzeigen
    Kann es sein, dass die Groß- Kleinschreibung Mist baut? "plugins.avm_repeater_eg" steht im Log und nicht das erwartete "plugins.avm_repeater_EG".

    Evtl. muss es im Item avm_data_type@repeater_eg = wlanconfig_ssid heißen.

    cmalo : ist die "instance"-Vergabe case sensitive?
    Bingo. Ich hab nun die "instance" auf "repeatereg" geändert und nun werden meine Items auch aktualisiert. ob es nun am Underline oder der Großschreibung lag muss ich erst noch testen!

    DANKE für deinen Input!!!

    Einen Kommentar schreiben:


  • psilo
    antwortet
    Kann es sein, dass die Groß- Kleinschreibung Mist baut? "plugins.avm_repeater_eg" steht im Log und nicht das erwartete "plugins.avm_repeater_EG".

    Evtl. muss es im Item avm_data_type@repeater_eg = wlanconfig_ssid heißen.

    cmalo : ist die "instance"-Vergabe case sensitive?

    Einen Kommentar schreiben:

Lädt...
X