Hauptmenü

Strom Messen: ELV EM1000s

Begonnen von zgadgeter, 17 August 2013, 13:50:02

Vorheriges Thema - Nächstes Thema

zgadgeter

Hallo,
bin immer noch Anfänger, deswegen die Frage.
Ich habe FHEM auf der Fritz7390 eingerichtet. Dazu einige IT Rolladen Steuergeräte Konfiguriert. Funktioniert alles.
Ich habe auch einen ELV EM1000s Strom Lesegerät montiert, mit IR Sensor, und FHEM scheint das alles erkannt zu haben, als CUL_EM_2? Keine Ahnung warum dieser Name. Abgelesene Werte werden übermittelt, allerdings sehr unregelmäßig.
Aber, ich habe das gerät nicht konfiguriert oder kalibriert (Umdrehungen pro KwH, etc.) Irgendwie komme ich da nicht weiter.
Unten mal ein Auszug von meiner FHEM.cfg.
Vielleicht kann mir jemand helfen das ganze richtig zu konfigurieren?
danke schon mal in Vorfeld:
fhem.cfg
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\\\\\
\\\\\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\\\\\
telnetPort has no password/globalpassword attribute.\\\\\
\\\\\
Restart fhem for a new check if the problem is fixed,\\\\\
or set the global attribute motd to none to supress this message.\\\\\

attr global statefile ./log/fhem.save
attr global userattr devStateIcon icon sortby webCmd
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create


# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.

#define FHZ FHZ /dev/USB0
#define CUL CUL /dev/ttyACM0@9600 1234
#attr CUL rfmode HomeMatic

#define EUL TCM 310 /dev/ttyACM0@57600
#define BscBor TCM 120 /dev/ttyUSB0@9600
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600
#FB_checkPw does not for FB-OS > 5.22
#attr WEB basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr WEBphone basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr WEBtablet basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr telnetPort globalpassword {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
define CUL_0 CUL /dev/ttyACM0@9600 1034
define CUL_EM_2 CUL_EM 2
attr CUL_EM_2 room CUL_EM
define FileLog_CUL_EM_2 FileLog ./log/CUL_EM_2-%Y.log CUL_EM_2:CNT.*
attr FileLog_CUL_EM_2 logtype power8:Power,text
attr FileLog_CUL_EM_2 room CUL_EM
define weblink_CUL_EM_2 weblink fileplot FileLog_CUL_EM_2:power8:CURRENT
attr weblink_CUL_EM_2 label "CUL_EM_2 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_CUL_EM_2 room Plots
define FS20_1b1b00 FS20 1b1b 00
attr FS20_1b1b00 room FS20
define FileLog_FS20_1b1b00 FileLog ./log/FS20_1b1b00-%Y.log FS20_1b1b00
attr FileLog_FS20_1b1b00 logtype text
attr FileLog_FS20_1b1b00 room FS20
define FS20_1b1b01 FS20 1b1b 01
attr FS20_1b1b01 room FS20
define FileLog_FS20_1b1b01 FileLog ./log/FS20_1b1b01-%Y.log FS20_1b1b01
attr FileLog_FS20_1b1b01 logtype text
attr FileLog_FS20_1b1b01 room FS20
define wl_0 weblink fileplot FileLog_CUL_EM_2:power8:CURRENT
define officerolladen IT 0F00FF000F FF F0
attr officerolladen IODev CUL_0
attr officerolladen model itl500
define LV_TV_rolladen IT 0F0000000F FF F0
attr LV_TV_rolladen IODev CUL_0
attr LV_TV_rolladen model ITL500
define LV_couch_rolladen IT 0F00F0000F FF F0
attr LV_couch_rolladen IODev CUL_0
attr LV_couch_rolladen model itl500
define LV_dine_rolladen IT 0F000F000F FF F0
attr LV_dine_rolladen IODev CUL_0
attr LV_dine_rolladen model itl500
define kitchen_rolladen IT 0F0000F00F FF F0
attr kitchen_rolladen IODev CUL_0
attr kitchen_rolladen model itl500
define guestroom_rolladen IT 0F00F0F00F FF F0
attr guestroom_rolladen IODev CUL_0
attr guestroom_rolladen model itl500
define FHT_5757 FHT 5757
attr FHT_5757 retrycount 3
attr FHT_5757 room FHT
define FileLog_FHT_5757 FileLog ./log/FHT_5757-%Y.log FHT_5757
attr FileLog_FHT_5757 logtype fht:Temp/Act,text
attr FileLog_FHT_5757 room FHT
define weblink_FHT_5757 weblink fileplot FileLog_FHT_5757:fht:CURRENT
attr weblink_FHT_5757 label "FHT_5757 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_FHT_5757 room Plots

# a new weather try
define Wetter_meteo weblink iframe http://www.meteoblue.com/de_CH/wetter/vorhersage/widget/vilkerath_de_151874?&pictoicon=1&maxtemperature=1&mintemperature=1&windspeed=1&winddirection=1&uv=1&precipitation=1&spot=1&v=2
attr Wetter_meteo htmlattr width="350" height="400"

NUC FHEM mit vielen Intertechno/FS20/Flamingo schalter
und Busware CUL und nanoCUL