Lightwave mood switch error

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Lightwave mood switch error

#1 Post by cherowley » 22 Jan 2017, 18:22

hi!

I'm trying to use the lightwave mood switch with latext domoticz beta but when pressing any of the mood buttons I get an error in the domoticz log:

E.G

Error: RFLink: Unhandled switch command: MOOD=01
Error: RFLink: Unhandled switch command: MOOD=02
Error: RFLink: Unhandled switch command: MOOD=03

How do we use these buttons?

Thanks!

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: Lightwave mood switch error

#2 Post by cherowley » 24 Jan 2017, 12:08

Is it something that has to be compiled/added to Domoticz?

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: Lightwave mood switch error

#3 Post by Stuntteam » 24 Jan 2017, 12:33

Well.. I have no idea what to connect it to inside Domoticz..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: Lightwave mood switch error

#4 Post by cherowley » 24 Jan 2017, 12:37

Nor me lol!

I assume domoticz would need to be coded to link it to switches?

How about instead you change rflink to send switch commands instead of "mood" commands? That would be much quicker to be implemented than waiting for domoticz update :D

cherowley
Normal user
Posts: 125
Joined: 14 Jan 2016, 09:39

Re: Lightwave mood switch error

#5 Post by cherowley » 26 Jan 2017, 14:41

Many thanks William for implementing this :) :D

DaveR
New user
Posts: 1
Joined: 05 Feb 2017, 00:45

Re: Lightwave mood switch error

#6 Post by DaveR » 05 Feb 2017, 00:52

Hi, just registered on the forum as I've got my RFLink board working along my Domoticz set up.

Domoticz does support the mood controller properly using the RFXTRX433 interface (you can find info about this elsewhere), but the problem seems to be with the RFLink.

Cherowley, I'm new so I don't understand your comment of <<many thanks for implementing this WIlliam>>. Is William the person who may implement, or has this been done?

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: Lightwave mood switch error

#7 Post by Stuntteam » 05 Feb 2017, 11:05

Check your mail..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

gorstj
New user
Posts: 1
Joined: 21 Feb 2017, 21:49

Re: Lightwave mood switch error

#8 Post by gorstj » 21 Feb 2017, 21:50

Looking at the Domoticz source code it is expecting the following when the Group Off and Group 1 etc buttons are pressed on the Lightwave mood controller:

e.g. light5_sOff

Does this make sense to any of the RFLink developers??

https://github.com/CZ-NIC/domoticz-turr ... XNames.cpp (line 1212 onwards)

Code: Select all

	case sTypeLightwaveRF:
			bHaveGroupCmd=true;
			bHaveDimmer=true;
			maxDimLevel = 32;
			llevel = (int)float((100.0f / float(maxDimLevel))*atof(sValue.c_str()));
			switch (nValue)
			{
			case light5_sOff:
				lstatus="Off";
				break;
			case light5_sOn:
				lstatus="On";
				break;
			case light5_sGroupOff:
				lstatus="Group Off";
				break;
			case light5_sMood1:
				lstatus="Group Mood 1";
				break;
			case light5_sMood2:
				lstatus="Group Mood 2";
				break;
			case light5_sMood3:
				lstatus="Group Mood 3";
				break;
			case light5_sMood4:
				lstatus="Group Mood 4";
				break;
			case light5_sMood5:
				lstatus="Group Mood 5";
				break;

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: Lightwave mood switch error

#9 Post by Stuntteam » 21 Feb 2017, 23:33

It is unrelated and the issue was fixed a while ago already.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests