FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: CH am 20 August 2017, 12:12:28

Titel: Volkszähler
Beitrag von: CH am 20 August 2017, 12:12:28
Guten Morgen,

ich habe einen raspberry pi mit FHEM.
Mit Hilfe eines anderen Thread habe ich es (denke ich) jetzt geschafft den Volkszähler und JSON zu installieren.
Ich habe die Dateien für den Volkszähler in die angegeben Ordner geschoben, sie sind auch da.
JSON habe ich mit Putty installiert (sudo cpan install json), mehr nicht. Hot hoffentlich auch geklappt.

Ich kann fhem und den raspberry über putty ansprechen.
Wenn ich jetzt aber den Volkszähler in fhem ansprechen möchte (define Verbrauch_aktuell VOLKSZAEHLER 192.168.178.45 80 635481a0-6fcd-11e2-8587-eda25228f8bf average 60), stürzt anscheinend fhem ab.
Ich kann danach zwar noch mit Putty auf den raspberry zugreifen, der läuft also anscheinend noch. Aber wenn ich mit smarthome.local auf fhem möchte, kommt (An internal server error occurred. Please try again later.). Dann hilft nur noch Stecker raus-Stecker rein. Dann geht wieder alles bis ich define... versuche.
Es liegt also wohl an dem Befehl. Vermutlich ist die IP falsch, oder der channel.
Wie bekomme ich raus ob ich eine andere IP oder einen anderen channel nehmen muss?
Ich hab den Befehl einfach aus dem Wiki kopiert.

Vielen Dank für eure Unterstützung im voraus.
Titel: Antw:Volkszähler
Beitrag von: tiroso am 20 August 2017, 12:19:19
Was steht denn in dem Log?
Titel: Antw:Volkszähler
Beitrag von: CH am 20 August 2017, 12:25:21
2017.08.20 09:05:23 1: usb create starting
2017.08.20 09:05:23 3: Probing CUL device /dev/ttyAMA0
2017.08.20 09:05:24 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.08.20 09:05:24 3: Probing FRM device /dev/ttyAMA0
2017.08.20 09:05:29 1: usb create end
2017.08.20 09:05:29 2: Messages collected while initializing FHEM: ./log/fhem.save: Please define FileLog_Verbrauch_aktuell first
2017.08.20 09:05:29 0: Featurelevel: 5.7
2017.08.20 09:05:29 0: Server started with 47 defined entities (fhem.pl:13054/2017-01-13 perl:5.020002 os:linux user:fhem pid:638)
2017.08.20 09:05:29 2: ZWDongle_ProcessSendStack: no ACK, resending message 0107000301020100f9
2017.08.20 09:19:13 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:21:21 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:23:28 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:25:36 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:27:43 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:29:50 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:31:58 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:34:05 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:36:12 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:38:20 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:40:27 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:42:34 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:44:42 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:46:49 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:48:56 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:51:04 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:51:04 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:54:11 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:56:19 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 09:58:26 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:00:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:02:41 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:04:48 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:06:55 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:09:03 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:11:10 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:11:13 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:14:17 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:16:25 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:18:32 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:18:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:19:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:20:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:21:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:22:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:25:40 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:27:47 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:29:54 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:32:02 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:34:09 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:36:16 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:38:24 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:40:31 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:42:38 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:44:46 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:46:53 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:49:00 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:49:04 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:52:08 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:54:15 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:56:23 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 10:58:30 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:00:37 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:02:45 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:04:52 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:06:59 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:09:07 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:11:14 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:13:21 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:15:29 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:17:36 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:19:44 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:21:51 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:23:58 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:26:06 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:28:13 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:30:20 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:32:28 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:34:35 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:36:42 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:38:50 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:40:57 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:43:04 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:45:12 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:47:19 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:49:27 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:51:34 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:53:41 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:55:49 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 11:57:56 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:00:03 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:02:11 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:04:18 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:06:25 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:08:33 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:10:40 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:12:48 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:14:55 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:17:02 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:19:10 2: VOLKSZAEHLER Can't get http://192.168.178.45:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Can't connect to 192.168.178.45:80
2017.08.20 12:17:05 1: Including fhem.cfg
2017.08.20 12:17:05 3: telnetPort: port 7072 opened
2017.08.20 12:17:05 3: WEB: port 8083 opened
2017.08.20 12:17:05 3: WEBphone: port 8084 opened
2017.08.20 12:17:05 3: WEBtablet: port 8085 opened
2017.08.20 12:17:06 2: eventTypes: loaded 87 events from ./log/eventTypes.txt
2017.08.20 12:17:06 3: Opening ZWAVE1 device /dev/ttyS0
2017.08.20 12:17:06 3: Setting ZWAVE1 serial parameters to 115200,8,N,1
2017.08.20 12:17:06 1: ZWAVE1: SOF missing (got 00 instead of 01)
2017.08.20 12:17:07 3: ZWAVE1 device opened
2017.08.20 12:17:08 1: Including ./log/fhem.save
2017.08.20 12:17:08 1: ./log/fhem.save: Please define FileLog_Verbrauch_aktuell first

2017.08.20 12:17:08 1: usb create starting
2017.08.20 12:17:09 3: Probing CUL device /dev/ttyAMA0
2017.08.20 12:17:09 3: Probing TCM_ESP3 device /dev/ttyAMA0
2017.08.20 12:17:09 3: Probing FRM device /dev/ttyAMA0
2017.08.20 12:17:14 1: usb create end
2017.08.20 12:17:14 2: Messages collected while initializing FHEM: ./log/fhem.save: Please define FileLog_Verbrauch_aktuell first
2017.08.20 12:17:14 0: Featurelevel: 5.7
2017.08.20 12:17:14 0: Server started with 47 defined entities (fhem.pl:13054/2017-01-13 perl:5.020002 os:linux user:fhem pid:635)
2017.08.20 12:17:14 2: ZWDongle_ProcessSendStack: no ACK, resending message 0107000301020100f9
2017.08.20 12:17:15 3: ZWave got config for fibaro/fgwp102-zw5.xml from ./FHEM/lib/fhem_zwave_deviceconfig.xml.gz
2017.08.20 12:17:15 3: ZWave set OG1_FL_Stehlampe1 on
Titel: Antw:Volkszähler
Beitrag von: CH am 20 August 2017, 13:42:56
Can't connect to 192.168.178.45:80

bedeutet ja das die IP das Problem ist.

In der Anleitung im Wiki steht <ip-address>: IP des Volkszaehlers, nur was ist die IP des Volkszählers? Die IP des raspberry? Den erreiche ich mit smarthome.local.
Titel: Antw:Volkszähler
Beitrag von: Amenophis86 am 20 August 2017, 14:24:29
Schau on deinem Router nach mit welcher IP such das Ding anmeldet.
Titel: Antw:Volkszähler
Beitrag von: CH am 20 August 2017, 14:50:07
Smarthome steht im Router unter 192.168.188.37, also eine andere.

Der Versuch führte zwar wieder zu nichts, zumindest aber auch nicht mehr zu einem Aufhängen.

2017.08.20 14:41:35 3: ZWave set OG1_FL_Stehlampe1 off
2017.08.20 14:43:58 3: ZWave got config for fibaro/fgms-zw5.xml from ./FHEM/lib/fhem_zwave_deviceconfig.xml.gz
2017.08.20 14:43:59 3: ZWave got config for fibaro/fgd212.xml from ./FHEM/lib/openzwave_deviceconfig.xml.gz
2017.08.20 14:44:00 3: ZWave got config for devolo/mt02646.xml from ./FHEM/lib/openzwave_deviceconfig.xml.gz
2017.08.20 14:44:49 2: VOLKSZAEHLER Can't get http://192.168.188.37:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Internal Server Error
2017.08.20 14:45:49 2: VOLKSZAEHLER Can't get http://192.168.188.37:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Internal Server Error
2017.08.20 14:46:03 3: ZWave set OG1_FL_Stehlampe1 on
2017.08.20 14:46:33 3: ZWave set OG1_FL_Stehlampe1 off
2017.08.20 14:46:49 2: VOLKSZAEHLER Can't get http://192.168.188.37:80/middleware.php/data/635481a0-6fcd-11e2-8587-eda25228f8bf.json?from=60%20seconds%20ago&tuples=1 -- 500 Internal Server Error
2017.08.20 14:46:59 3: ZWave set OG1_FL_Stehlampe1 on


Jetzt bemängelt er auch nicht mehr die IP, leider sagt er aber auch nicht wo das Problem jetzt liegen soll.
Titel: Antw:Volkszähler
Beitrag von: CH am 20 August 2017, 15:04:06
Ich fürchte ich habe das Problem gefunden  :-\

Ich habe lediglich das FHEM-Modul installiert, um den Volkszähler auszulesen. Nicht den Volkszähler selbst.
https://wiki.fhem.de/wiki/Volkszaehler (https://wiki.fhem.de/wiki/Volkszaehler)
ZitatDas FHEM-Modul für Volkszaehler.org bindet diese Daten in FHEM ein. Das Modul 23_VOLKSZAEHLER.pm greift per http auf den Volkszaehler zu und...
Deswegen findet er auch nichts, weil da nichts ist.

Kann ich überhaupt auf meinen Raspberry das ich für Fhem nutze einen Volkszähler installieren, oder muss ich dafür ein anderes Raspberry kaufen?  :-[
http://wiki.volkszaehler.org/howto/raspberry_pi_image (http://wiki.volkszaehler.org/howto/raspberry_pi_image) zeigt die Installation des Volkszähler, ich glaube aber auf einem "jungfräulichem" Raspberry.

Titel: Antw:Volkszähler
Beitrag von: Amenophis86 am 20 August 2017, 19:47:15
[quote autor="CpmmandRef"]Das Modul 23_VOLKSZAEHLER.pm greift per http auf den Volkszaehler zu[/quote]

wo kein Volkszähler, da kein Zugriff ;)
Titel: Antw:Volkszähler
Beitrag von: Klaus0815 am 20 August 2017, 19:54:19
ZitatKann ich überhaupt auf meinen Raspberry das ich für Fhem nutze einen Volkszähler installieren

Ja, das geht problemlos

Dir ist aber klar, dass das Volkszähler-Modul Daten aus dem VZ in FHEM bringt?
Irgendwie müssen die Daten ja erst mal in den VZ kommen, geht aber auch, z.B. mit notify und vzclient
Titel: Antw:Volkszähler
Beitrag von: CH am 21 August 2017, 15:13:28
Kann ich das einfach mit dem Image machen? https://wiki.volkszaehler.org/howto/raspberry_pi_image (https://wiki.volkszaehler.org/howto/raspberry_pi_image)
Oder geht das nur bei einem noch nicht installiertem fhem? Nicht das ich mein laufendes fhem damit zerstöre.

@Klaus0815
Inzwischen ist mir das klar. Ich taste mich noch ran, dazu dachte ich kann ich dann den vzlogger nutzen?

Gruß Carsten
Titel: Antw:Volkszähler
Beitrag von: amenomade am 21 August 2017, 16:01:26
Mit einem Image wird die gesamte Partition überschrieben.
Titel: Antw:Volkszähler
Beitrag von: Klaus0815 am 21 August 2017, 19:33:41
ZitatInzwischen ist mir das klar. Ich taste mich noch ran, dazu dachte ich kann ich dann den vzlogger nutzen?

Geht wohl auch mit vzlogger, ich hatte erst den Volkszähler, dann FHEM, nutze die DIagramme von FHEM nicht, da der VZ das wesentlich schöner und komfortabler darstellt

Was willst Du denn loggen? Temperaturen?

Titel: Antw:Volkszähler
Beitrag von: CH am 22 August 2017, 07:58:28
Ich bin noch unschlüssig ob ich einen zweiten Raspberry nur für den Volkszähler kaufen soll, oder Volkszähler und Fhem auf dem einen vorhandenen installieren soll.
Ich habe den 3er, also leistungstechnisch sollte es klappen. Er steht jetzt eh auf dem Sicherungskasten, also der Standort passt auch. Nur die Installation macht mir noch zu schaffen. Für die Installation per Image gibt es ja eine Anleitung, aber wie ich es auf ein vorhandeses, laufendes System bekomme ohne das zu überschreiben habe ich noch nicht rausgefunden.  :-\

@Klaus0815
Mein Gesamtstromverbrauch ist zur Zeit, meiner Meinung nach, zu hoch. Deshalb möchte ich vor allem den Stromverbrauch loggen. Ob ich später noch die Wasseruhr dazu nehme muss ich sehen.
Titel: Antw:Volkszähler
Beitrag von: amenomade am 22 August 2017, 09:41:04
https://wiki.volkszaehler.org/software/middleware/installation
https://wiki.volkszaehler.org/software/controller/vzlogger/installation_cpp-version


Titel: Antw:Volkszähler
Beitrag von: Pilsi am 06 Oktober 2017, 09:24:18
@CH:
Wie weit ist dein Projekt? Ich habe genau das selbe vor und bin mir unschlüssig ob 1 oder 2 Raspis..
Mein alter FHEM-Raspi läuft einwandfrei ist aber vermutlich für beides zu mager auf der Brust also muß ein neuer 3er her.
Laufen denn Volkszähler und FHEM auf einem Raspi zufriedenstellend oder wären getrennte Raspis besser?
Mein FHEM-Raspi wird "nur" zum Lesen meiner Heizungsdaten verwendet, keine Hausautomation (ist auch nicht geplant).

Und falls einen Raspi, wie ist es einfacher:
Erst Volkszaehlerinstallation und dann FHEM oder andersrum?
Titel: Antw:Volkszähler
Beitrag von: onkel-tobi am 07 Oktober 2017, 17:27:52
@Pilsi:
Wenn keine Heimautomation gewünscht ist, nimm direkt nur Volkszähler.
Wozu hast du denn fhem dann überhaupt im Einsatz?

Ich habe FHEM und verwende vzlogger auf dem selben RPi, allerdings ohne die VZ-Oberfläche.

Gruß,
Tobi
Titel: Antw:Volkszähler
Beitrag von: australien am 08 Oktober 2017, 12:41:11
@onkel-tobi

genau das will ich auch machen, kannst du mir sagen wie das funktioniert?

danke im Voraus

Robert
Titel: Antw:Volkszähler
Beitrag von: Pilsi am 12 Oktober 2017, 12:27:55
Zitat von: onkel-tobi am 07 Oktober 2017, 17:27:52
@Pilsi:
Wozu hast du denn fhem dann überhaupt im Einsatz?

Ich habe FHEM und verwende vzlogger auf dem selben RPi, allerdings ohne die VZ-Oberfläche.

Gruß,
Tobi
Ich verwende FHEM um meine Heizung auszulesen und die Daten zu visualisieren.
Hausautomation hatte ich angedacht, hab ich aber momentan auf Eis gelegt da ich das FS20-System im Einsatz hat und dieses ja keinen Rückkanal besitzt. Ausserdem hab ich meinen FS20-Selbstbau-Cul noch nicht programmiert...

Ich werde jetzt erstmal den FHEM auf den neuen Raspi umziehen und dann weiterschauen.
Titel: Antw:Volkszähler
Beitrag von: AnDiBaCkE am 02 Januar 2020, 08:33:01
Hallo zusammen,

gibt es mit FHEM die Möglichkeit direkt auf die berechneten Werte des Volkszählers zuzugreifen? Das Auslesen der aktuellen Leistung (AVERAGE) klappt ganz gut aber 24h Verbrauch (CONSUMPTION) und Zählerstand (LAST) sind in FHEM nicht plausibel. Im Volkszähler wird hingegen alles richtig dargestellt.

Würde mich über Hilfe freuen.

Vielen Dank!

Gruß,
AnDiBaCkE
Titel: Antw:Volkszähler
Beitrag von: marv99 am 14 Januar 2020, 21:48:17
Hallo AnDiBaCkE,

bei mir läuft es (halbwegs) mit dem nachfolgenden "Zählerstand" Device:

defmod VZ_zaehlerstand VOLKSZAEHLER <<ip-volkszaehler>> 80 <<channel-uuid>> consumption 1800 1576800000
attr VZ_zaehlerstand userattr initial
attr VZ_zaehlerstand initial <<initialer-stand-in-watt>>
attr VZ_zaehlerstand group Strom
attr VZ_zaehlerstand room Verbrauch
attr VZ_zaehlerstand stateFormat { ((AttrVal("$name", "initial", 0) + ReadingsVal("$name", "CONSUMPTION", 0))/1000) . " kWh" }


Bitte <<ip-volkszaehler>>, <<channel-uuid>> und <<initialer-stand-in-watt>> entsprechend ersetzen, sowie "group" und "room", wie benötigt.

Der erste Trick ist, "consumption" anstelle von "last" zu verwenden, zumindest bei meinem Zähler!

Außerdem muss noch eine "period" hinter der Abrufzeit angegeben werden.
In meinem Device sind 1576800000 Sekunden = 50 Jahre, die Middleware wird also mit "from=heute - 50 Jahre" aufgerufen und rechnet damit über alle Werte im Volkszähler.

Bitte beachte, dass wenn Du im Device das "Internal DEF" änderst, das "stateFormat" überschrieben wird und gegebenenfalls neu eingetragen werden muss!

Du könntest wohl auch wie in https://forum.fhem.de/index.php/topic,74479.15.html beschrieben mittels HTTPMOD direkt abrufen und dort "consumption" auslesen:
http://<<ip-volkszaehler>>:80/middleware.php/data/<<channel-uuid>>.json?from=1970&tuples=1

Viel Erfolg
Marv99