Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
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.
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
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.
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'
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.
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?
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?
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.
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.
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar