Ankündigung

Einklappen
Keine Ankündigung bisher.

SmartHome.py 1.0 Release & SmartHome.Pi 2.1

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

    #46
    Hallo,

    Zitat von Chefkoch81 Beitrag anzeigen
    Kann ich mit einem GIT oder SVN Befehl updaten?
    lade bitte das aktuelle Image 16_2 noch runter und verwende das.

    Bis bald

    Marcus

    Kommentar


      #47
      Zitat von mknx Beitrag anzeigen
      Hi Stefano,

      just take the latest 2013-11-16_2.img.zip

      so long

      Marcus

      Thanks!

      Kommentar


        #48
        Danke für das Update,
        Daumern hoch!

        Kommentar


          #49
          Ich habe das Raspb Image "2013-11-16_2" drübergebügelt und habe das kleine Problem, dass sh.py nicht automatisch startet. Nach jedem Neustart muss ich es manuel starten.

          Läuft der autostart bei euch sauber durch?

          Kommentar


            #50
            Hi!
            Ich wollte mich auch mal bedanken für die super arbeit.
            Ich stehe allerdings noch ganz am Anfang mit Smarthome.pi.
            Daher kann ich noch nichts beitragen, wollte aber mal ein Lebenszeichen senden, dass es ein neuer User gibt :-)
            Grüße
            Marc

            Kommentar


              #51
              Hi Marc,

              willkommen im Club :-)

              Bis bald

              Marcus

              Kommentar


                #52
                Hi Geert,

                Zitat von geertg Beitrag anzeigen
                Thanks for your help. What I see is that there seems to be no connection between the Smartvisu and smarthome.py. I use a demo project and changed some groupsadresses.
                have you tried the IP of the Pi instead of smarthome.local? I mean in the smartvisu configuration.

                so long

                Marcus

                Kommentar


                  #53
                  Hallo,

                  da war ich zu übereifrig und habe mir leider nur die Pages gesichert.
                  item.Config ist nicht das Problem.
                  Der REst konnte ich hoffentlich komplett reproduzieren.
                  Ein Groupswrite funktioniert mit den Einstellungen.
                  Aber die Visu zeigt keine Funktion.
                  Im smarthome.log sind zich Meldungen:
                  Code:
                  2013-12-14 01:01:57 ERROR    Main         Problem reading smartvisu.conf: 'utf-8' codec can't decode byte 0xfc in position 773: invalid start byte
                  Traceback (most recent call last):
                    File "/usr/smarthome/bin/smarthome.py", line 291, in start
                      item_conf = lib.config.parse(self._items_dir + item_file, item_conf)
                    File "/usr/smarthome/lib/config.py", line 46, in parse
                      for raw in f.readlines():
                    File "/usr/lib/python3.2/codecs.py", line 300, in decode
                      (result, consumed) = self._buffer_decode(data, self.errors, final)
                  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 773: invalid start byte
                  2013-12-14 01:02:08 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  2013-12-14 01:07:08 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  Init SmartHome.py 1.0-5-g5300605
                  2013-12-14 01:09:53 ERROR    Main         Problem reading smartvisu.conf: 'utf-8' codec can't decode byte 0xfc in position 773: invalid start byte
                  Traceback (most recent call last):
                    File "/usr/smarthome/bin/smarthome.py", line 291, in start
                      item_conf = lib.config.parse(self._items_dir + item_file, item_conf)
                    File "/usr/smarthome/lib/config.py", line 46, in parse
                      for raw in f.readlines():
                    File "/usr/lib/python3.2/codecs.py", line 300, in decode
                      (result, consumed) = self._buffer_decode(data, self.errors, final)
                  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 773: invalid start byte
                  2013-12-14 01:10:05 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  Init SmartHome.py 1.0-5-g5300605
                  2013-12-14 01:13:38 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  Init SmartHome.py 1.0-5-g5300605
                  2013-12-14 01:16:44 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  2013-12-14 01:21:45 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  2013-12-14 01:26:45 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  Init SmartHome.py 1.0-5-g5300605
                  2013-12-14 01:31:05 ERROR    dummy        Logic: dummy, File: /usr/smarthome/logics/dummy_series.py, Line: 2, Method: <module>, Exception: 'SmartHome' object has no attribute 'first'
                  Traceback (most recent call last):
                    File "/usr/smarthome/lib/scheduler.py", line 327, in _task
                      exec(obj.bytecode)
                    File "/usr/smarthome/logics/dummy_series.py", line 2, in <module>
                      sh.first.living.temperature(random.randint(20, 23))
                  AttributeError: 'SmartHome' object has no attribute 'first'
                  Wäre über einen Hinweis dankbar.

                  Danke und gruß,
                  Lio

                  Kommentar


                    #54
                    Hallo Lio,

                    bitte mache einen neuen Thread mit mehr Informationen auf.
                    Was ist das eigentliche Problem? Ich verstehe nur Bahnhof.

                    https://knx-user-forum.de/smarthome-...rbehebung.html

                    Ein Teil der Fehlermeldung beruht auf einer 'kaputten' smartvisu.conf.
                    Die ist anscheinend nicht im UTF-8 Format.

                    Bis bald

                    Marcus

                    Kommentar


                      #55
                      Hi Lio,

                      Ich hatte solche Fehlermeldungen ebenfalls. Prüfe mal, ob Du in der Items.conf irgendwo Umlaute/Sonderzeichen hast.
                      Bei mir lag es nämlich daran, dass ich dies bei den Namen verwendet hatte (also z.B. name = Küche).

                      Die SH 0.9 hatte damit kein Problem, aber anscheinend die 1.0.

                      Gruss
                      Jochen.

                      Kommentar


                        #56
                        connection

                        Zitat von mknx Beitrag anzeigen
                        Hi Geert,



                        have you tried the IP of the Pi instead of smarthome.local? I mean in the smartvisu configuration.

                        so long

                        Marcus
                        I tried booth but it isn't working. It works when I select Smarthome.py as driver instead of eibd. The only problem I mention is that the status of the object are not the actual status of the objects when I open a visu page. Even I add the init state and the listen adresses in the config page. Will it works with Linknx? Any experience with it?

                        Kommentar


                          #57
                          Zitat von geertg Beitrag anzeigen
                          Will it works with Linknx? Any experience with it?
                          Are you kidding? You are in the SH.py forum.
                          But without information it is hard to guess whats your problem is.

                          Maybe you could start a new thread. What information is needed is documented here: https://knx-user-forum.de/smarthome-...rbehebung.html

                          So long

                          Marcus

                          Kommentar


                            #58
                            Mein smarthome.pi hat einen Kernel Panic beim Booten und kann das root Filesystem nicht mehr mounten. Leider habe ich die letzten Anpassungen an der Config nicht gesichert ... :-(

                            Auf der SD hat es ja zwei Partitionen, die erste ist FAT die zweite ist ext4. Ist die erste Partition die Boot Partition? Kann ich diese einfach von einer guten SD Card kopieren und dann nochmals probieren?

                            Gibt es irgendeine Möglichkeit, die ext Partition zu reparieren / mounten?

                            Danke, Tom

                            Kommentar


                              #59
                              Du solltest diese an jedem anderen Linux PC mounten können. Selbst für Windows gibts bestimmt einen ext-Treiber.
                              Dann kannst Du in Ruhe Deine Config auslesen und neu aufsetzen.
                              Derzeit zwischen Kistenauspacken und Garten anlegen.
                              Baublog im Profil.

                              Kommentar


                                #60
                                Hi Tom,

                                die erste die Boot und die zweite die Root-Partition. Boot ist FAT und Root ist ext4.
                                Einfach was kopieren ist nicht. Wie Matthias geschrieben hat: SD am besten in einen (Linux-)Rechner stecken und von dort versuchen auf die 2. Partition mit den Daten zu kommen.

                                Bis bald

                                Marcus

                                Kommentar

                                Lädt...
                                X