After "switch on" STATE not changed (ZWave)

Begonnen von nAyK, 28 Oktober 2013, 20:06:21

Vorheriges Thema - Nächstes Thema

nAyK

Hello.

If i press physically wall switch: in Fhem GUI node STATE is not changed, but if i click button switch from GUI: node STATE is changed.
Command "get node swbStatus" always displays the correct STATE.

Q: How refresh node STATE after physically switch on/off?
or
Can I be notified after clicking physically switch on/off?

Tnx.

rudolfkoenig

Normally the STATE should be updated.
Please look at the Event monitor, and tell me which events do you get when pressing the button.

nAyK

If i press physically button: in log file is nothing
If i press button from GUI i see:

2013.10.28 10:17:05 2: ZWave set lamp off

Maybe I'm wrong to add the device?
My steps:
1.
define lamp ZWave my_home_id 02
2.
attr lamp classes SWITCH_BINARY BASIC MANUFACTURER_SPECIFIC VERSION SWITCH_ALL ASSOCIATION CONFIGURATION ALARM

nAyK

(http://s020.radikal.ru/i713/1310/29/5a4cc137811c.jpg)
I have marked in the image what does not change after click the hardware button.

rudolfkoenig

Please start the Event Monitor in the Web frontend, or enter inform timer in a telnet session, and switch the hardware button after that.

Normally the device should be associated with the stick (this is done by FHEM upon first definition), and be configured to send events to the first associated device (default setting in the hardware).

Following might went wrong:
- the device specific configuration prevents sending the hardware events to the first associated group/device
- the hardware is already associated with another device, so the association command was binding the wrong devices together

nAyK

#5
I try it.

In telnet session situation repeated.
If i press switch in my wall: in telnet nothing
but if i click button in web GUI: in telnet i see
2013-10-31 22:18:15 ZWave lamp off

My switch device associated with stick and i see it from
get Zwave nodeList
and
get Zwave nodeInfo 02

Fhem does not know about the state of my devices :( if I control them physically

H3nr1

I have the same problem. When i switch my hardware switch the state is not updatet. I see this in event monitor
2013-11-06 20:03:18 EnOcean EnO_switch_002529E1 buttons: pressed
2013-11-06 20:03:18 EnOcean EnO_switch_00FF00E1 channelA: A0
2013-11-06 20:03:18 EnOcean EnO_switch_00FF00E1 A0
2013-11-06 20:03:18 EnOcean EnO_switch_00FF00E1 buttons: released
2013-11-06 20:03:18 EnOcean EnO_switch_00FF00E1 buttons: released
2013-11-06 20:03:24 EnOcean EnO_switch_00FF00E1 buttons: pressed
2013-11-06 20:03:24 EnOcean EnO_switch_00FF00E1 channelA: AI
2013-11-06 20:03:24 EnOcean EnO_switch_00FF00E1 AI
2013-11-06 20:03:24 EnOcean EnO_switch_00FF00E1 buttons: released

And the config in fhem.cfg
define EnO_switch_002529E1 EnOcean 00FF00E1
attr EnO_switch_00FF00E1 comment Keukenlamp
attr EnO_switch_00FF00E1 manufID 00D
attr EnO_switch_00FF00E1 room WoonKamer
attr EnO_switch_00FF00E1 subType switch
attr EnO_switch_00FF00E1 switchMode pushbutton
define FileLog_EnO_switch_00FF00E1 FileLog ./log/EnO_switch_00FF00E1-%Y.log EnO_switch_00FF00E1
attr FileLog_EnO_switch_00FF00E1 logtype text
attr FileLog_EnO_switch_00FF00E1 room EnOcean



How do i configure that manually in fhem.cfg?

Thanks
Henri

rudolfkoenig

> I have the same problem.

But not exactly, since you are using EnOcean devices. Please repost your question in the EnOcean group, so it will get the attention of the EnOcean-Module-Maintainer.

> How do i configure that manually in fhem.cfg?

What exactly?

H3nr1

Ok, i made a new post in enocean.

you say:
> Normally the device should be associated with the stick (this is done by FHEM upon first definition), and be configured to send events to the first associated device (default setting in the hardware).

I don't see that in my config for the enocean switch. How do i send events?

rudolfkoenig

My remark has to be interpreted in ZWave context, and you have EnOcean. Lets wait for the EnOcean Maintainer (Klaus) to answer your question.


nAyK

To solve the problem, I wrote my webGUI as frontend and leave Fhem as backend :)