[gelöst] mcp23017 Fehlermeldungen bei Definition InterruptOut

Begonnen von Burny4600, 21 April 2017, 13:42:08

Vorheriges Thema - Nächstes Thema

Burny4600

Bekomme bei Änderung des Attributes immer Fehlermeldungen die ich füher nicht hatte.
wrong value: ui-bg_glass_65_ffffff_1x400.png for "attr mcp23017_B1_WST InterruptOut" use one of: on,off

Die Konfiguration sieht wie folgt aus.
# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

########################################
###         MCP23017 Modul           ###
########################################

### Digital I/O Bank 1
define mcp23017_B1_WST I2C_MCP23017 0x20
attr mcp23017_B1_WST IODev RPiI2C_1
attr mcp23017_B1_WST Interrupt A0,A1,A2,A3,A4,A5,A6,A7,B0,B1,B2,B3,B4,B5,B6,B7
attr mcp23017_B1_WST InterruptOut connected_active-low
attr mcp23017_B1_WST Pullup A0,A1,A2,A3,A4,A5,A6,A7,B0,B1,B2,B3,B4,B5,B6,B7
attr mcp23017_B1_WST alias Digital I/O Bank 1 | Port A0-A7,B0-B7
attr mcp23017_B1_WST devStateIcon Ok:it_net@lightgreen Initialized:it_net@yellow defined:it_net@yellow disconnected:it_net@red error:it_net@red
attr mcp23017_B1_WST group Schnittstellen I2C
attr mcp23017_B1_WST icon it_net
attr mcp23017_B1_WST invert_input A0,A1,A2,A3,A4,A5,A6,A7,B0,B1,B2,B3,B4,B5,B6,B7
attr mcp23017_B1_WST room _RxTx

# -----------------------------------------------------------------------------------------------

### Digital I/O Bank 2
define mcp23017_B2_WST I2C_MCP23017 0x21
attr mcp23017_B2_WST IODev RPiI2C_1
attr mcp23017_B2_WST OnStartup A0=off,A1=off,A2=off,A3=off,A4=off,A5=off,A6=off,A7=off,B0=off,B1=off,B2=off,B3=off,B4=off,B5=off,B6=off,B7=off
attr mcp23017_B2_WST OutputPorts A0,A1,A2,A3,A4,A5,A6,A7,B0,B1,B2,B3,B4,B5,B6,B7
attr mcp23017_B2_WST alias Digital I/O Bank 2 | Port A0-A7,B0-B7
attr mcp23017_B2_WST devStateIcon Ok:it_net@lightgreen Initialized:it_net@yellow defined:it_net@yellow disconnected:it_net@red error:it_net@red
attr mcp23017_B2_WST group Schnittstellen I2C
attr mcp23017_B2_WST icon it_net
attr mcp23017_B2_WST room _RxTx

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

########################################
###      Interrupt für MCP23017      ###
########################################

# attr INT poll_interval 1

#************** Entprellen der Aktion ***************
#** Steigende und fallende Flanke registrieren     **
#** Wenn IRQ ausgeloest wurde, dann Register lesen **
#** Entprellen des Tasters                         **
#** IRQ Reaktion beide Flanken beide auswerten     **
#** Port lesen und damit den IRQ zurücksetzen      **
#** RPI_GPIO IRQ21B Longpress:on/off wenn Taster   **
#** lange gedrueckt war                            **
#****************************************************

### RPI_GPIO MCP23017 Modul
define INT RPI_GPIO 21
attr INT active_low yes
attr INT alias RPI_GIPO 21 Interupt für MCP23017 Modul 1
attr INT devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr INT direction input
attr INT eventMap on:EIN off:AUS
attr INT icon control_on_off
attr INT interrupt both
attr INT pud_resistor up
attr INT room _GPIO,_IO
attr INT userReadings get_int {fhem ("get mcp23017_B1_WST,mcp23017_B2_WST")}

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

########################################
###    MCP23017 Digital I/O Bank 1   ###
########################################

### Ports A0-A7
### Aussenbereich Poolbeleuchtung
define AB_P_BLLED_S1 readingsProxy mcp23017_B1_WST:PortA0
attr AB_P_BLLED_S1 alias Aussenbereich - Pool - Beleuchtung LED - Schalter 1
attr AB_P_BLLED_S1 devStateIcon EIN:control_on_off@lightgreen AUS:general_aus@red
attr AB_P_BLLED_S1 event-on-change-reading state
attr AB_P_BLLED_S1 eventMap on:EIN off:AUS
attr AB_P_BLLED_S1 group InputPorts
attr AB_P_BLLED_S1 icon control_on_off
attr AB_P_BLLED_S1 room AB-Pool,_IO
attr AB_P_BLLED_S1 valueFn {($VALUE eq "on")?"on":"off"}

### Aussenbereich Solarbeleuchtung Schalter 1
define AB_PB_SBL_S1 readingsProxy mcp23017_B1_WST:PortA1
attr AB_PB_SBL_S1 alias Aussenbereich - Poolbereich - Solarbeleuchtung Schalter 1
attr AB_PB_SBL_S1 devStateIcon EIN:control_on_off@lightgreen AUS:general_aus@red
attr AB_PB_SBL_S1 event-on-change-reading state
attr AB_PB_SBL_S1 eventMap on:EIN off:AUS
attr AB_PB_SBL_S1 group InputPorts
attr AB_PB_SBL_S1 icon control_on_off
attr AB_PB_SBL_S1 room AB,_IO
attr AB_PB_SBL_S1 valueFn {($VALUE eq "on")?"on":"off"}

### Aussenbereich Pool Zirkulationspumpe Schalter
define AB_P_ZP_S1 readingsProxy mcp23017_B1_WST:PortA2
attr AB_P_ZP_S1 alias Aussenbereich - Pool - Zirkulationspumpe - Schalter 1
attr AB_P_ZP_S1 devStateIcon EIN:control_on_off@lightgreen AUS:general_aus@red
attr AB_P_ZP_S1 event-on-change-reading state
attr AB_P_ZP_S1 eventMap on:EIN off:AUS
attr AB_P_ZP_S1 group InputPorts
attr AB_P_ZP_S1 icon control_on_off
attr AB_P_ZP_S1 room AB-Pool,_IO
attr AB_P_ZP_S1 valueFn {($VALUE eq "on")?"on":"off"}

### Aussenbereich Wetterstation Regensensor
define AB_WS_RS readingsProxy mcp23017_B1_WST:PortA3
attr AB_WS_RS alias Aussenbereich - Wetterstation - Regensensor
attr AB_WS_RS devStateIcon REGEN:weather_rain_heavy@cyan TROCKEN:weather_sun@yellow
attr AB_WS_RS event-on-change-reading state
attr AB_WS_RS eventMap on:REGEN off:TROCKEN
attr AB_WS_RS group InputPorts
attr AB_WS_RS icon humidity
attr AB_WS_RS room Wetterstation,_IO
attr AB_WS_RS valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_A4 readingsProxy mcp23017_B1_WST:PortA4
attr mcp23017_B1_WST_A4 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_A4 event-on-change-reading state
attr mcp23017_B1_WST_A4 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_A4 group InputPorts
attr mcp23017_B1_WST_A4 icon control_on_off
attr mcp23017_B1_WST_A4 room _IO
attr mcp23017_B1_WST_A4 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_A5 readingsProxy mcp23017_B1_WST:PortA5
attr mcp23017_B1_WST_A5 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_A5 event-on-change-reading state
attr mcp23017_B1_WST_A5 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_A5 group InputPorts
attr mcp23017_B1_WST_A5 icon control_on_off
attr mcp23017_B1_WST_A5 room _IO
attr mcp23017_B1_WST_A5 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_A6 readingsProxy mcp23017_B1_WST:PortA6
attr mcp23017_B1_WST_A6 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_A6 event-on-change-reading state
attr mcp23017_B1_WST_A6 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_A6 group InputPorts
attr mcp23017_B1_WST_A6 icon control_on_off
attr mcp23017_B1_WST_A6 room _IO
attr mcp23017_B1_WST_A6 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_A7 readingsProxy mcp23017_B1_WST:PortA7
attr mcp23017_B1_WST_A7 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_A7 event-on-change-reading state
attr mcp23017_B1_WST_A7 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_A7 group InputPorts
attr mcp23017_B1_WST_A7 icon control_on_off
attr mcp23017_B1_WST_A7 room _IO
attr mcp23017_B1_WST_A7 valueFn {($VALUE eq "on")?"on":"off"}

# -----------------------------------------------------------------------------------------------

### Ports B0-B7
define mcp23017_B1_WST_B0 readingsProxy mcp23017_B1_WST:PortB0
attr mcp23017_B1_WST_B0 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B0 event-on-change-reading state
attr mcp23017_B1_WST_B0 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B0 group InputPorts
attr mcp23017_B1_WST_B0 icon control_on_off
attr mcp23017_B1_WST_B0 room _IO
attr mcp23017_B1_WST_B0 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B1 readingsProxy mcp23017_B1_WST:PortB1
attr mcp23017_B1_WST_B1 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B1 event-on-change-reading state
attr mcp23017_B1_WST_B1 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B1 group InputPorts
attr mcp23017_B1_WST_B1 icon control_on_off
attr mcp23017_B1_WST_B1 room _IO
attr mcp23017_B1_WST_B1 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B2 readingsProxy mcp23017_B1_WST:PortB2
attr mcp23017_B1_WST_B2 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B2 event-on-change-reading state
attr mcp23017_B1_WST_B2 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B2 group InputPorts
attr mcp23017_B1_WST_B2 icon control_on_off
attr mcp23017_B1_WST_B2 room _IO
attr mcp23017_B1_WST_B2 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B3 readingsProxy mcp23017_B1_WST:PortB3
attr mcp23017_B1_WST_B3 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B3 event-on-change-reading state
attr mcp23017_B1_WST_B3 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B3 group InputPorts
attr mcp23017_B1_WST_B3 icon control_on_off
attr mcp23017_B1_WST_B3 room _IO
attr mcp23017_B1_WST_B3 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B4 readingsProxy mcp23017_B1_WST:PortB4
attr mcp23017_B1_WST_B4 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B4 event-on-change-reading state
attr mcp23017_B1_WST_B4 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B4 group InputPorts
attr mcp23017_B1_WST_B4 icon control_on_off
attr mcp23017_B1_WST_B4 room _IO
attr mcp23017_B1_WST_B4 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B5 readingsProxy mcp23017_B1_WST:PortB5
attr mcp23017_B1_WST_B5 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B5 event-on-change-reading state
attr mcp23017_B1_WST_B5 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B5 group InputPorts
attr mcp23017_B1_WST_B5 icon control_on_off
attr mcp23017_B1_WST_B5 room _IO
attr mcp23017_B1_WST_B5 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B6 readingsProxy mcp23017_B1_WST:PortB6
attr mcp23017_B1_WST_B6 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B6 event-on-change-reading state
attr mcp23017_B1_WST_B6 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B6 group InputPorts
attr mcp23017_B1_WST_B6 icon control_on_off
attr mcp23017_B1_WST_B6 room _IO
attr mcp23017_B1_WST_B6 valueFn {($VALUE eq "on")?"on":"off"}

define mcp23017_B1_WST_B7 readingsProxy mcp23017_B1_WST:PortB7
attr mcp23017_B1_WST_B7 devStateIcon EIN:control_on_off@lightgreen AUS:control_home@red
attr mcp23017_B1_WST_B7 event-on-change-reading state
attr mcp23017_B1_WST_B7 eventMap on:EIN off:AUS
attr mcp23017_B1_WST_B7 group InputPorts
attr mcp23017_B1_WST_B7 icon control_on_off
attr mcp23017_B1_WST_B7 room _IO
attr mcp23017_B1_WST_B7 valueFn {($VALUE eq "on")?"on":"off"}

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

########################################
###    MCP23017 Digital I/O Bank 2   ###
########################################

### Ports A0-A7
### Aussenbereich Heizungen Sensoren 230VAC
define AB_HZ_S_230VAC readingsProxy mcp23017_B2_WST:PortA0
attr AB_HZ_S_230VAC alias Aussenbereich - Heizungen - Sensoren 230VAC
attr AB_HZ_S_230VAC cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_HZ_S_230VAC devStateIcon EIN:secur_frost_protection@lightgreen AUS:secur_frost_protection@gray
attr AB_HZ_S_230VAC eventMap on:EIN off:AUS
attr AB_HZ_S_230VAC group OutputPorts
attr AB_HZ_S_230VAC icon secur_frost_protection
attr AB_HZ_S_230VAC room Wetterstation,_IO
attr AB_HZ_S_230VAC setFn {($CMD eq "on")?"PortA0 on":"PortA0 off"}
attr AB_HZ_S_230VAC setList on off
attr AB_HZ_S_230VAC valueFn {($VALUE eq "on")?"on":"off"}
attr AB_HZ_S_230VAC webCmd ::EIN:AUS

### Aussenbereich Heizung Sensor Regenmenge
define AB_HZ_S_RM readingsProxy mcp23017_B2_WST:PortA1
attr AB_HZ_S_RM alias Aussenbereich - Heizung - Sensor Regenmenge
attr AB_HZ_S_RM cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_HZ_S_RM devStateIcon EIN:secur_frost_protection@lightgreen AUS:secur_frost_protection@gray
attr AB_HZ_S_RM eventMap on:EIN off:AUS
attr AB_HZ_S_RM group OutputPorts
attr AB_HZ_S_RM icon secur_frost_protection
attr AB_HZ_S_RM room Wetterstation,_IO
attr AB_HZ_S_RM setFn {($CMD eq "on")?"PortA1 on":"PortA1 off"}
attr AB_HZ_S_RM setList on off
attr AB_HZ_S_RM valueFn {($VALUE eq "on")?"on":"off"}
attr AB_HZ_S_RM webCmd ::EIN:AUS

### Aussenbereich Heizung Sensor Pegelmessung Mühlbach
define AB_HZ_S_PMM readingsProxy mcp23017_B2_WST:PortA2
attr AB_HZ_S_PMM alias Aussenbereich - Heizung - Sensor Pegelmessung Mühlbach
attr AB_HZ_S_PMM cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_HZ_S_PMM devStateIcon EIN:secur_frost_protection@lightgreen AUS:secur_frost_protection@gray
attr AB_HZ_S_PMM eventMap on:EIN off:AUS
attr AB_HZ_S_PMM group OutputPorts
attr AB_HZ_S_PMM icon secur_frost_protection
attr AB_HZ_S_PMM room Wetterstation,_IO
attr AB_HZ_S_PMM setFn {($CMD eq "on")?"PortA2 on":"PortA2 off"}
attr AB_HZ_S_PMM setList on off
attr AB_HZ_S_PMM valueFn {($VALUE eq "on")?"on":"off"}
attr AB_HZ_S_PMM webCmd ::EIN:AUS

### Aussenbereich Biotop Bach Zulauf
define AB_BBZ readingsProxy mcp23017_B2_WST:PortA3
attr AB_BBZ alias Aussenbereich - Biotop Bach Zulauf
attr AB_BBZ cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_BBZ devStateIcon EIN:sani_sprinkling@cyan AUS:sani_sprinkling@gray
attr AB_BBZ eventMap on:EIN off:AUS
attr AB_BBZ group OutputPorts
attr AB_BBZ icon sani_sprinkling
attr AB_BBZ room AB,_IO
attr AB_BBZ setFn {($CMD eq "on")?"PortA3 on":"PortA3 off"}
attr AB_BBZ setList on off
attr AB_BBZ valueFn {($VALUE eq "on")?"on":"off"}
attr AB_BBZ webCmd ::EIN:AUS

### Aussenbereich Poolbeleuchtung LED
define AB_P_BLLED readingsProxy mcp23017_B2_WST:PortA4
attr AB_P_BLLED alias Aussenbereich - Pool - Beleuchtung LED
attr AB_P_BLLED cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_P_BLLED devStateIcon EIN:light_led@yellow AUS:light_led@gray
attr AB_P_BLLED eventMap on:EIN off:AUS
attr AB_P_BLLED group OutputPorts
attr AB_P_BLLED icon light_led
attr AB_P_BLLED room AB-Pool,_IO
attr AB_P_BLLED setFn {($CMD eq "on")?"PortA4 on":"PortA4 off"}
attr AB_P_BLLED setList on off
attr AB_P_BLLED valueFn {($VALUE eq "on")?"on":"off"}
attr AB_P_BLLED webCmd ::EIN:AUS

### Aussenbereich Poolbereich Solarbeleuchtung
define AB_PB_SBL readingsProxy mcp23017_B2_WST:PortA5
attr AB_PB_SBL alias Aussenbereich - Poolbereich - Solarbeleuchtung
attr AB_PB_SBL cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_PB_SBL devStateIcon EIN:light_mirror@yellow AUS:light_mirror@gray
attr AB_PB_SBL eventMap on:EIN off:AUS
attr AB_PB_SBL group OutputPorts
attr AB_PB_SBL icon light_mirror
attr AB_PB_SBL room AB,_IO
attr AB_PB_SBL setFn {($CMD eq "on")?"PortA5 on":"PortA5 off"}
attr AB_PB_SBL setList on off
attr AB_PB_SBL valueFn {($VALUE eq "on")?"on":"off"}
attr AB_PB_SBL webCmd ::EIN:AUS

### Aussenbereich Wetterstation Umluftventilator
define AB_WS_ULV readingsProxy mcp23017_B2_WST:PortA6
attr AB_WS_ULV alias Aussenbereich - Wetterstation - Umluftventilator
attr AB_WS_ULV cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_WS_ULV devStateIcon EIN:vent_ventilation_level_3@lightgreen AUS:vent_ventilation_level_0@gray
attr AB_WS_ULV eventMap on:EIN off:AUS
attr AB_WS_ULV group OutputPorts
attr AB_WS_ULV icon vent_ventilation_level_0
attr AB_WS_ULV room Wetterstation,_IO
attr AB_WS_ULV setFn {($CMD eq "on")?"PortA6 on":"PortA6 off"}
attr AB_WS_ULV setList on off
attr AB_WS_ULV valueFn {($VALUE eq "on")?"on":"off"}
attr AB_WS_ULV webCmd ::EIN:AUS

### Aussenbereich Pool Zirkulationspumpe
define AB_P_ZP readingsProxy mcp23017_B2_WST:PortA7
attr AB_P_ZP alias Aussenbereich - Pool - Zirkulationspumpe - Frostschutz | Solarheizung | Reinigung | Desinfektion
attr AB_P_ZP cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr AB_P_ZP devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr AB_P_ZP eventMap on:EIN off:AUS
attr AB_P_ZP group OutputPorts
attr AB_P_ZP icon sani_pump
attr AB_P_ZP room AB-Pool,_IO
attr AB_P_ZP setFn {($CMD eq "on")?"PortA7 on":"PortA7 off"}
attr AB_P_ZP setList on off
attr AB_P_ZP valueFn {($VALUE eq "on")?"on":"off"}
attr AB_P_ZP webCmd ::EIN:AUS

# -----------------------------------------------------------------------------------------------

### Ports B0-B7
define mcp23017_B2_WST_B0 readingsProxy mcp23017_B2_WST:PortB0
attr mcp23017_B2_WST_B0 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B0 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B0 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B0 group OutputPorts
attr mcp23017_B2_WST_B0 icon sani_pump
attr mcp23017_B2_WST_B0 room _IO
attr mcp23017_B2_WST_B0 setFn {($CMD eq "on")?"PortB0 on":"PortB0 off"}
attr mcp23017_B2_WST_B0 setList on off
attr mcp23017_B2_WST_B0 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B0 webCmd ::EIN:AUS

define mcp23017_B2_WST_B1 readingsProxy mcp23017_B2_WST:PortB1
attr mcp23017_B2_WST_B1 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B1 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B1 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B1 group OutputPorts
attr mcp23017_B2_WST_B1 icon sani_pump
attr mcp23017_B2_WST_B1 room _IO
attr mcp23017_B2_WST_B1 setFn {($CMD eq "on")?"PortB1 on":"PortB1 off"}
attr mcp23017_B2_WST_B1 setList on off
attr mcp23017_B2_WST_B1 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B1 webCmd ::EIN:AUS

define mcp23017_B2_WST_B2 readingsProxy mcp23017_B2_WST:PortB2
attr mcp23017_B2_WST_B2 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B2 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B2 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B2 group OutputPorts
attr mcp23017_B2_WST_B2 icon sani_pump
attr mcp23017_B2_WST_B2 room _IO
attr mcp23017_B2_WST_B2 setFn {($CMD eq "on")?"PortB2 on":"PortB2 off"}
attr mcp23017_B2_WST_B2 setList on off
attr mcp23017_B2_WST_B2 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B2 webCmd ::EIN:AUS

define mcp23017_B2_WST_B3 readingsProxy mcp23017_B2_WST:PortB3
attr mcp23017_B2_WST_B3 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B3 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B3 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B3 group OutputPorts
attr mcp23017_B2_WST_B3 icon sani_pump
attr mcp23017_B2_WST_B3 room _IO
attr mcp23017_B2_WST_B3 setFn {($CMD eq "on")?"PortB3 on":"PortB3 off"}
attr mcp23017_B2_WST_B3 setList on off
attr mcp23017_B2_WST_B3 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B3 webCmd ::EIN:AUS

define mcp23017_B2_WST_B4 readingsProxy mcp23017_B2_WST:PortB4
attr mcp23017_B2_WST_B4 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B4 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B4 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B4 group OutputPorts
attr mcp23017_B2_WST_B4 icon sani_pump
attr mcp23017_B2_WST_B4 room _IO
attr mcp23017_B2_WST_B4 setFn {($CMD eq "on")?"PortB4 on":"PortB4 off"}
attr mcp23017_B2_WST_B4 setList on off
attr mcp23017_B2_WST_B4 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B4 webCmd ::EIN:AUS

define mcp23017_B2_WST_B5 readingsProxy mcp23017_B2_WST:PortB5
attr mcp23017_B2_WST_B5 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B5 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B5 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B5 group OutputPorts
attr mcp23017_B2_WST_B5 icon sani_pump
attr mcp23017_B2_WST_B5 room _IO
attr mcp23017_B2_WST_B5 setFn {($CMD eq "on")?"PortB5 on":"PortB5 off"}
attr mcp23017_B2_WST_B5 setList on off
attr mcp23017_B2_WST_B5 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B5 webCmd ::EIN:AUS

define mcp23017_B2_WST_B6 readingsProxy mcp23017_B2_WST:PortB6
attr mcp23017_B2_WST_B6 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B6 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B6 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B6 group OutputPorts
attr mcp23017_B2_WST_B6 icon sani_pump
attr mcp23017_B2_WST_B6 room _IO
attr mcp23017_B2_WST_B6 setFn {($CMD eq "on")?"PortB6 on":"PortB6 off"}
attr mcp23017_B2_WST_B6 setList on off
attr mcp23017_B2_WST_B6 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B6 webCmd ::EIN:AUS

define mcp23017_B2_WST_B7 readingsProxy mcp23017_B2_WST:PortB7
attr mcp23017_B2_WST_B7 cmdIcon EIN:remotecontrol/black_btn_GREEN AUS:remotecontrol/black_btn_RED
attr mcp23017_B2_WST_B7 devStateIcon EIN:sani_pump@lightgreen AUS:sani_pump@gray
attr mcp23017_B2_WST_B7 eventMap on:EIN off:AUS
attr mcp23017_B2_WST_B7 group OutputPorts
attr mcp23017_B2_WST_B7 icon sani_pump
attr mcp23017_B2_WST_B7 room _IO
attr mcp23017_B2_WST_B7 setFn {($CMD eq "on")?"PortB7 on":"PortB7 off"}
attr mcp23017_B2_WST_B7 setList on off
attr mcp23017_B2_WST_B7 valueFn {($VALUE eq "on")?"on":"off"}
attr mcp23017_B2_WST_B7 webCmd ::EIN:AUS

# -----------------------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------

Woran leigt das jetzt?
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

klausw

Hmm, da passt ja überhaupt nix
Die Fehlermeldung passt weder zur Konfiguration (value) noch zum Modul (on,off).

Frage zurück:
Was hast du seit "früher" verändert?  8)
RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Burny4600

Ausser FHEM Updates nichts.
Eigenartigerweise funktioniert aber alles bei den mcp23017 Modulen auf den verschiedenen Systemen.

Wenn ich auf den diversen Systemen das Attribut InterruptOut öffne und wieder schließe bekomme ich die unterschiedlichsten Meldungen.
Ich bin nur zufällig darüber gestolpert.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

rsteinkuhl

Hallo alle miteinander,

ich kann das so auch bestätigen, irgendwie ist das Modul I2C_MCP23017 etwas durcheinander.
Es lassen sich aber alle Befehle über die Eingabezeile eingeben und sie funktionieren auch.
Es muss mit dem Update zusammenhängen, ich betreibe 3 Raspi's mit jeweils 2 I2C_MC23017-Karten und ich habe nur einen Raspi aktualisiert, auf dem der Fehler dann auftritt.

Gruß Rainer

rsteinkuhl

Hallo alle miteinander,

nach einem heutigen Update funktioniert alles wieder normal.  :)

Burny4600

Das heutige Update hat bei mir jedenfalls nichts geändert.

Lösche ich InterruptOut und trage das Attribut neu ein bekomme ich keine Meldung.
Sowie ich eine Änderung im InterruptOut oder nur denn gleichen Zustand mit attr bestätige kommen diese Meldungen.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

Burny4600

Habe den Fehler gefunden!

Ich hatte vor längerer Zeit die Bezeichnung des Moduls von mcp23017_B1 nach mcp23017_B1_WST geändert.
Diese Änderung bewirkt nur bei dem InterruptOut diese Fehlermeldungen.
Bei allen anderen Attributen tritt keine Fehlermeldung auf.

Wenn eine nachträgliche Änderung der Modulbezeichnung durchgeführt wird, ist unbedingt die Datei fhem.save zulöschen wenn vorher FHEM angehalten wurde.
Nach dem Löschen der Datei FHEM neu starten und warten bis die fhem.save angelegt wurde.
Dannach kann das Attribut InterruptOut beliebig geändert werden.

Betreffend InterruptOut wäre vielleicht bei dem Modul mcp23017 eine Änderung nicht schlecht um solche eigenartigen Fehlermeldungen zu verhindern.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

klausw

Interessantes Phänomen. Ich habe im Moment aber keine Ahnung, woran das liegen könnte und wieso es nur dieses eine Attribut betrifft.
Wenn du einen Vorschlag machst, kann ich ihn gern einchecken.

Gesendet von meinem HTC One mit Tapatalk

RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Burny4600

Leider habe ich auch keinen Vorschlag welche Änderung im Modul dafür notwendig wäre.
So gut sind meine Programmierkenntnisse leider nicht.
Ich verstehe mehr von der Fehlersuche.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

klausw

Hast du die Bezeichnung per rename verändert?

Gesendet von meinem HTC One mit Tapatalk

RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Burny4600

Ich bin mir leider nicht mehr sicher, da ich manches im Nachhinein mit Sicherheit mit dem Nodepad++ ändern musste.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT

klausw

Hmm, die Frage ist, wo gesucht werden muss. Grundsätzlich sollte alles ohne Manipulation der cfg funktionieren. Eventuell hast du mit einer unvollständigen Modifikation neu gestartet.
Wenn du Muße hast dann versuche es nochmal nachzustellen. Ich weiß im Moment nicht wo ich suchen sollte

Gesendet von meinem HTC One mit Tapatalk

RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Burny4600

Soweit funktioniert es wieder.
Ich denke wenn es zu schwierig ist das wir es dabei lassen können.
Mfg Chris

Raspberry Pi 2/2+/3/3+/4 / Betriebssystem: Bullseye Lite
Schnittstellen: RFXtrx433E, SIGNALduino, MQTT, nanoCUL, HM-MOD-UART, 1-Wire, LAN, ser2net, FHEM2FEHEM
Devices: S.USV, APC-USV, Fronius Datalogger Web 2, FS20, IT, Resol VBUS & DL2, TEK603, WMR200, YouLess, Homematic, MQTT