Ankündigung

Einklappen
Keine Ankündigung bisher.

Sonos Anbindung

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

  • jonny7792
    antwortet
    Hoi ,

    ich hatte die angabe „enforce_update: yes „
    nicht gesetzt.
    nun bekomme ich auf die GA einen Text gesendet.
    was etwas doof ist das für Aktueller Titel und Radio verschiedene GA nötig sind ?!oder ist es möglich Aktuellen Titel und Radio auf die selbe senden zu lassen.
    Habe einen MDT Taster 86 Smart im Einsatz wäre damit auch Eibe Art „Laufschrift“ möglich für Interpret , Titel und Sender ?


    Mit freundlichen Grüßen

    Einen Kommentar schreiben:


  • pfischi
    antwortet
    jonny7792

    Du kannst mir gerne mal deine Items-Datei zukommen lassen, dann schaue ich mir das mal an (eventl. Formatierungsfehler).

    Du kannst auch mal selber im Backend (Plugin) von SmarthomeNG schauen, ob unter deinen Sonos-Items die Werte für track_title bzw. stream-content (nur bei Radio) gesetzt werden.

    Gruss,

    Stefan
    Zuletzt geändert von pfischi; 29.08.2018, 22:56.

    Einen Kommentar schreiben:


  • pfischi
    antwortet
    Abend,

    wer Lust hat kann gerne die neue Vorab-Version testen und mir Feedback / Bugs geben.
    Einen kleine Fehler habe ich gefixt, sowie auf das neue SoCo-Framework geupdatet.

    LINK Github

    Gruss,

    Stefan

    Einen Kommentar schreiben:


  • jonny7792
    antwortet
    Edit_ Sonos läuft mit dem Plugin:

    Was jetzt noch schön wäre :

    Ich habe eine Liste mit den Radio Sendern unter Sonos Favoriten gespeichert wie kann man diese Liste abrufen?

    Desweiteren würde ich gerne den Aktuellen Song anzeigen lassen bei Spotify und evtl den Aktuellen Radiosender

    habe es mal so getestet aber da passiert nichts..

    Code:
    stream_content:
    type: str
    sonos_recv: stream_content
    knx_dpt: 16
    knx_send: 2/3/5
    Zuletzt geändert von jonny7792; 29.08.2018, 18:48.

    Einen Kommentar schreiben:


  • pfischi
    antwortet
    Lassen sich die Speaker von deinem SmarthomeNG-Host anpingen?

    Einen Kommentar schreiben:


  • jonny7792
    antwortet
    Hallo,

    anbei die Config vom Sonos Pligin


    Code:
    Sonos:
        class_name: Sonos
        class_path: plugins.sonos
        # tts: true                                     # optional, default:  false
        # local_webservice_path: /tmp/tts               # optional, default:  empty. If 'tts' is enabled, this option is mandatory. 
                                                        # All tts files will be stored here.
        # local_webservice_path_snippet: /tmp/snippet   # optional, default:  empty. For some reasons it could be necessary to have 
                                                        # separated paths for TTS files and your own snippet files. You can define the
                                                        # local path for your snippets here. If 'tts' is enabled and 
                                                        # 'local_webservice_path_snippet' is empty, the value for 
                                                        # 'local_webservice_path' is used for your snippet audio files.
        webservice_ip: automatic                   # optional, default:  automatic. You can set a specific ip address.
                                                        # If you're using a docker container, you have to set the host 
                                                        # ip address here.  
        webservice_port: 23500                        # optional, default:  23500
        # discover_cycle: 120                           # optional, default:  120 (in seconds)
        # speaker_ips:                                  # optional. You can set static IP addresses for your Sonos speaker. This
        #   - 192.168.1.10                              # will disable auto-discovery. This is useful if you're using a 
        #   - 192.168.1.77                              # containerized environment with restricted network access.

    Das gesammte Log :


    Code:
    ....
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:13:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:17:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:21:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:25:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:29:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:33:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:37:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:41:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:45:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:49:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:53:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  09:57:47 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  09:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  09:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:01:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:05:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:09:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:13:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:17:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:21:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:25:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:29:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:33:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:37:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:41:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:45:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:49:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:53:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  10:57:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  10:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  10:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:01:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:05:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:09:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:13:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:17:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:21:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:25:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:29:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:33:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:37:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:41:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:45:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:49:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:53:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  11:57:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  11:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  11:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:01:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:05:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:09:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:13:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:17:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:21:48 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:25:49 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:29:49 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:33:49 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:37:50 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:41:50 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:45:50 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:49:51 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:53:51 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  12:57:51 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  12:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  12:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:01:51 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:05:52 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:09:52 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:13:52 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:17:52 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:21:52 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:25:53 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:29:53 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:33:53 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:37:53 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:41:53 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:45:53 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:49:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:53:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  13:57:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  13:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  13:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:01:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:05:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:09:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:13:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:17:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:21:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:25:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:29:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:33:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:37:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:41:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:45:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:49:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:53:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  14:57:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  14:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  14:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:01:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:05:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:09:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:13:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:17:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:21:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:25:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:29:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:33:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:37:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:41:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:45:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:49:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:53:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  15:57:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  15:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  15:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:01:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:05:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:09:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:13:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:14:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:14:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:17:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:19:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:19:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:21:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:24:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:24:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:25:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:29:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:29:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:29:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:33:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:34:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:34:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:37:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:39:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:39:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:41:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:44:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:44:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:45:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:49:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:49:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:49:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:53:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:54:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:54:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  16:57:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  16:59:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  16:59:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:01:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:04:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:04:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:05:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:09:38 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:09:38 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:09:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:13:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:14:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:14:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:17:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:19:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:19:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:21:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:24:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:24:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:25:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:29:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:29:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:29:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:33:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:34:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:34:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:37:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:39:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:39:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:41:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:44:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:44:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:45:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:49:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:49:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:49:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:53:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:54:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:54:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  17:57:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  17:59:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  17:59:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  18:01:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:04:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  18:04:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  18:05:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:09:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  18:09:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  18:09:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:13:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:14:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  18:14:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  18:17:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:19:39 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  18:19:39 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  18:21:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:25:54 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-24  18:27:50 WARNING  sonos             Sonos: : coordinator is empty
    2018-08-24  18:29:14 WARNING  lib.plugin        Error while stopping plugin 'sonos''
    2018-08-24  18:29:15 WARNING  __main__          SmartHomeNG stopped
    2018-08-24  18:29:19 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (cc1288de)   --------------------
    2018-08-24  18:29:19 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
    2018-08-24  18:29:27 WARNING  plugins.cli       CLI: You should set a password for this plugin.
    2018-08-24  18:29:31 WARNING  sonos             Sonos: volume_dpt3 item has no volume parent item. Ignoring!
    2018-08-24  18:29:31 ERROR    lib.item          Item Sonos.Kueche.helper: problem creating: 'Items' object has no attribute 'conf'
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/item.py", line 468, in __init__
        child = Item(smarthome, self, child_path, value)
      File "/usr/local/smarthome/lib/item.py", line 531, in __init__
        update = plugin.parse_item(self)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2433, in parse_item
        uid = self._resolve_uid(item)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2740, in _resolve_uid
        if self.has_iattr(parent_item.conf, 'sonos_uid'):
    AttributeError: 'Items' object has no attribute 'conf'
    2018-08-24  18:29:32 WARNING  lib.config        Problem parsing 'Status-Garten' invalid character. Valid characters are: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@*
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.track_album_art
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.track_title
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.track_uri
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.radio_station
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.streamtype
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.track_artist
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.stream_content
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.track_album
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.previous
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.current_transport_actions
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.next
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.mute
    2018-08-24  18:29:35 WARNING  plugins.visu_websocket Client 192.168.178.58:58243 requested invalid item: Sonos.Kueche.sonos_playlists
    2018-08-24  18:29:37 WARNING  sonos             Sonos: : speaker is not initialized.
    2018-08-24  18:29:38 WARNING  sonos             Sonos: : speaker is not initialized.
    2018-08-24  18:29:39 WARNING  sonos             Sonos: : speaker is not initialized.
    2018-08-24  18:29:39 WARNING  sonos             Sonos: : speaker is not initialized.
    2018-08-24  18:29:39 WARNING  sonos             Sonos: : speaker is not initialized.
    2018-08-24  18:29:46 ERROR    root              Serial port '/dev/ttyUSB0' does not exist, please check the spelling
    2018-08-24  18:29:46 ERROR    plugins.dlms      no results from smartmeter query received
    2018-08-24  18:29:47 WARNING  sonos             Sonos: rincon_7828caa3007601400: coordinator is empty
    2018-08-24  18:32:30 WARNING  __main__          SmartHomeNG stopped
    2018-08-24  18:37:27 WARNING  __main__          --------------------   Init SmartHomeNG 1.5.1.master (cc1288de)   --------------------
    2018-08-24  18:37:27 WARNING  __main__          Running in Python interpreter 'v3.5.3 final' on linux platform
    2018-08-24  18:37:34 WARNING  plugins.cli       CLI: You should set a password for this plugin.
    2018-08-24  18:37:36 ERROR    sonos             Sonos: Your webservice_ip parameter is invalid. 'automatic' is not a vaild ip address. Disabling TTS.
    2018-08-24  18:37:39 WARNING  sonos             Sonos: volume_dpt3 item has no volume parent item. Ignoring!
    2018-08-24  18:37:39 ERROR    lib.item          Item Sonos.Kueche.helper: problem creating: 'Items' object has no attribute 'conf'
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/item.py", line 468, in __init__
        child = Item(smarthome, self, child_path, value)
      File "/usr/local/smarthome/lib/item.py", line 531, in __init__
        update = plugin.parse_item(self)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2433, in parse_item
        uid = self._resolve_uid(item)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2740, in _resolve_uid
        if self.has_iattr(parent_item.conf, 'sonos_uid'):
    AttributeError: 'Items' object has no attribute 'conf'
    2018-08-24  18:37:39 WARNING  lib.config        Problem parsing 'Status-Garten' invalid character. Valid characters are: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_@*
    2018-08-24  18:37:53 WARNING  sonos             Sonos: rincon_7828caa3007601400: coordinator is empty
    Version
    SmartHomeNG Version: 1.5.1.master (cc1288de) in /usr/local/smarthome - v1.5.1 -
    SmartHomeNG Plugins Version: 1.5.1.3c2531a5.HEAD in /usr/local/smarthome/plugins - v1.5.1



    Einen Kommentar schreiben:


  • pfischi
    antwortet
    Zitat von jonny7792 Beitrag anzeigen

    So habe meinen Sonos nun erhalten jedoch kommt von SmarthomeNG folgender Fehler



    Code:
    2018-08-23 15:54:23 ERROR sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
    File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
    obj()
    File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
    for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-23 15:58:23 ERROR sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Kannst du mal deine Einstellung für das Sonos-Plugin posten? Und stelle mal bitte das Logging für das Plugin auf Debug. Du kannst mir PM auch das komplette Log schicken. Deine Version von SHNg und dem Plugin wären noch interessant.

    Und wenn alles geht, kannst du dir die tatsächlich sparen Die Verbindung von GAs mit dem Plugin ist Standard, ich schalte die Boxen auch per Schalter und stelle die Lautstärke darüber ein. Hier ein Beispiel aus dem FAQ des Plugins:

    Volume-Beispiel

    Ob das mit dem Display geht weiss ich nicht, aber prinzipiell steht dem nichts im Wege.


    Gruss,

    Stefan
    Zuletzt geändert von pfischi; 23.08.2018, 22:00.

    Einen Kommentar schreiben:


  • pfischi
    antwortet
    Zitat von aschwith Beitrag anzeigen
    Hallo @Smarcus,

    ah interessant. Bei mir war der 0.4 Offset dringend nötig (RasberryPi3).

    pfischi: Sollte man den Parameter konfigurierbar machen?

    VG
    Alex
    Klar. Ich schaue mir das an.

    EDIT: Hey, du hast ja die Arbeit schon erledigt. Super. Und sogar die Doku gepflegt. Besten dank.


    Zitat von aschwith Beitrag anzeigen
    Hallo zusammen,

    eine Frage in die Runde: Gibt es eine Möglichkeit, mit dem Plugin direkt ein Album zu starten oder geht das nur über den Umweg einer Playlist?

    Viele Grüße
    Alex
    Geht leider nicht (mehr). Sonos hat den Zugriff auf die Streaming-APIs (wie z.B. Spotify etc) gesperrt, bzw. man kommt an den entsprechenden Auth-Key nicht ran.


    Zitat von aschwith Beitrag anzeigen
    Habe seit langem gerade mal wieder eine Exepction im SonosPlugin gefunden:
    VG
    Sporadischer Natur oder regelmäßig? Wie ich sehe betrifft es ja noch andere. Sonos hat hier bestimmt wieder ein Update gemacht. Das SoCo-Framework wurde geupdatet und werde das entsprechend einpflegen.


    Gruss,

    Stefan
    Zuletzt geändert von pfischi; 23.08.2018, 22:02.

    Einen Kommentar schreiben:


  • jonny7792
    antwortet
    Hallo pfischi ,

    ich erwarte meinen Sonos Speaker und werde dann voller Freude dein Plugin testen.

    Ich hätte noch eine Frage.

    Ist es möglich die Sonos in Kombination mit deinem Plugin auch über meinen Schalter in der Küche zu starten, Sprich die Items mit einer GA zu verbinden?
    Ist es weiterhin möglich den aktuellen Song bzw Radiosender über ein 14 Byte Objekt auf dem Schalter mit Display anzeigen zu lassen?



    Gruss


    PS: 600 Euro für das KNX --> Sonos Gateway möchte ich jetzt nicht ausgeben wenn man mit deinem Plugin ein ähnliches Ergebnis Erziehlen kann




    So habe meinen Sonos nun erhalten jedoch kommt von SmarthomeNG folgender Fehler



    Code:
    2018-08-23  15:54:23 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/scheduler.py", line 517, in _task
        obj()
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2771, in _discover
        for zone in zones:
    TypeError: 'NoneType' object is not iterable
    2018-08-23  15:58:23 ERROR    sonos_discover_scheduler Method sonos_discover_scheduler exception: 'NoneType' object is not iterable
    Zuletzt geändert von jonny7792; 23.08.2018, 20:22. Grund: nachtrag

    Einen Kommentar schreiben:


  • SMarcus
    antwortet
    Dann ist das wahrscheinlich auch was für Pfischi(?) Neuer SoCo Fehler. Kommt jedesmal, wenn man TTS aktiviert und verhindert damit die TTS Sprachausgabe.

    Code:
    2018-08-17  21:09:43 ERROR    lib.item          Item sonos.kueche.play_tts: problem running <bound method Sonos.update_item of <plugins.sonos.Sonos object at 0x7f2570781400>>: 'SoCo' object has no attribute '_build_album_art_full_uri'
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/item.py", line 1039, in __update
        method(self, caller, source, dest)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2642, in update_item
        volume, self._snippet_duration_offset, fade_in)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2249, in play_tts
        self._play_snippet(file_path, webservice_url, volume, duration_offset, fade_in)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2174, in _play_snippet
        snap.snapshot()
      File "/usr/local/smarthome/plugins/sonos/soco/snapshot.py", line 133, in snapshot
        track_info = self.device.get_current_track_info()
      File "/usr/local/smarthome/plugins/sonos/soco/core.py", line 1217, in get_current_track_info
        track['album_art'] = self._build_album_art_full_uri(
    AttributeError: 'SoCo' object has no attribute '_build_album_art_full_uri'
    Gruss
    Marcus

    Einen Kommentar schreiben:


  • aschwith
    antwortet
    Du hast alles richtig gemacht. Im Code war noch ein Fehler. Fix liegt im Develop Zweig. Bezüglich der SoCo Faults hoffe ich, dass Pfischi dort bei Gelegenheit mal reinschauen kann.
    Grüße
    Alex

    Einen Kommentar schreiben:


  • SMarcus
    antwortet
    Irgendwas hängt jetzt bei mir. Zuerst lief es mit dem Offset, jetzt bekomme ich jedesmal Fehlermeldungen:

    Code:
    2018-08-14  19:54:48 ERROR    lib.item          Item sonos.kueche.play_tts: problem running <bound method Sonos.update_item of <plugins.sonos.Sonos object at 0x7fd60406c9e8>>: 'Speaker' object has no attribute '_Speaker__snippet_duration_offset'
    Traceback (most recent call last):
      File "/usr/local/smarthome/lib/item.py", line 1039, in __update
        method(self, caller, source, dest)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2630, in update_item
        volume, fade_in)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2242, in play_tts
        self._play_snippet(file_path, webservice_url, volume, fade_in)
      File "/usr/local/smarthome/plugins/sonos/__init__.py", line 2158, in _play_snippet
        duration = int(round(tag.duration)) + self.__snippet_duration_offset
    AttributeError: 'Speaker' object has no attribute '_Speaker__snippet_duration_offset'
    Habe SHNG v 1.5.1 Master. Hab ich das Update falsch implementiert?

    Gruss
    Marcus

    Einen Kommentar schreiben:


  • SMarcus
    antwortet
    Cool, danke Alex.

    Ja, Offset 0.0 passt jetzt bei mir.

    Ich habe noch eine spezielle Sprachausgabe die sich wenige 1/10 Sek. wiederholt, aber noch nicht die Ursache gefunden warum das nur bei der Einen passiert (Während ich das schreibe: Kann es sein das ich die mp3 im temporären Verzeichnis löschen muss, damit die mp3 dann neu erstellt wird...? Cache - Effekt?) Mal testen, kann aber eigentlich nicht sein weil der Offset sich auf die Wiedergabe bezieht und auf die mp3 Erstellung keinen Einfluss hat.

    Gruss
    Marcus

    Einen Kommentar schreiben:


  • aschwith
    antwortet
    Hallo SMarcus ,

    ich habe im Sonos Plugin den Audio Snippet Offset konfigurierbar gemacht. Standardmäßig ist dieser jetzt 0.0 Sekunden. Sollte damit jetzt für Dich passen und für andere Harware manuell konfigurierbar sein. Die Änderungen sind im Develop Zweig.
    Grüße
    Alex

    Einen Kommentar schreiben:


  • SMarcus
    antwortet
    Hmmm, auch bei mir scheint sich was geändert zu haben:

    Code:
    2018-07-25  21:14:15 WARNING  plugins.sonos.soco.events Event contains illegal metadatafor 'av_transport_uri_meta_data'.
    Error message: 'Unknown UPnP class: object.item.audioItem.linein.homeTheater'
    The result will be a SoCoFault.
    Meldung kommt unregelmässig alle 5 bis 15 Minuten, sobald die 3.1 Sonos Anlage mit der Playbar über den Fernseher (optischer Eingang) aktiviert ist.

    Habe SHNG 1.5.1 mit Sonos Plugin 1.4.6 auf einem NUC.

    Marcus

    Einen Kommentar schreiben:

Lädt...
X