Got a lightwaverf relay (JSJSLW821), seems it has three states (stop, open and close). Would it be possible to add this to the lightwaverf binding, as it does not seem to work with the current switch command?
I am getting the following messages when I initiate the switch through the mobile app:
2015-08-02 17:31:56.896 [ERROR] [l.internal.LightwaveRFReceiver] - Error converting message: 103,!R1D4F^|Stop|Switch 1
2015-08-02 17:32:36.448 [ERROR] [l.internal.LightwaveRFReceiver] - Error converting message: 104,!R1D4F)|Close|Switch 1
2015-08-02 17:32:53.580 [ERROR] [l.internal.LightwaveRFReceiver] - Error converting message: 106,!R1D4F(|Open|Switch 1
also this weird one (constantly):
2015-08-02 17:33:38.335 [WARN ] [.l.internal.LightwaveRfBinding] - No item for incoming message[001,?V=“U2.91Y”
I have a light switch which sends those commands which I would like to use to control a hue bulb. It seems I can receive them but I can’t find any item types which can accept the commands. Ideally it should be able to map to a dimmer.
I think I’ll have to take the raw string and decode it in a rule.
It would be hard to emulate as a dimmer as the relay just sends 3 states:
Also the relay doesn’t report this all the time so for example if it is on a blind and the blind is fully open. You send a “CLOSE” and it will run until you send a stop… so there is no way of knowing a “percentage” it is closed or setting it to a “percentage” (that I know of). That being said I’ve never managed to install a working one of these relays so I could be wrong.
I could possibly do it as a Number (STOP = 0, OPEN = 1, CLOSE = -1). Although you can also use the relay a bit like a switch if you only connect two wires and I would also want it to be mappable to a switch.
Thinking about it further perhaps it would be best for it to map to a rollerblind as that had Open, Stop and Close.
I currently have a rule setup which translates to a dimmer by having open = + 20%, close = -20% and stop = toggle between 0% and 100%. This kind of functionality probably makes sense to be implemented by a rule but it would be easier to write the rule to map from a rollerblind to a dimmer rather than trying to inspect the raw message which I’m doing currently.
I don’t have any roller blinds so I’m not sure how they behave in openhab. However the command they get are Up/Down (but no stop?) Stop/Move (but no direction?) or percent which won’t work with the lightwaverf relay.
How do the controls work for roller blinds in the openhab ui? Can I implement Up/Down and Stop (but not Move) and get something that will work?
I’ve got the original mk1 WiFi Link @SupraWez, so it’s sent out by that one too.
I agree, it’s not causing me any issues either. But it would be good to parse this stuff though wouldn’t it? Certainly ‘uptime’ could be quite useful for knowing if the device has been restarted recently. I can tell what most of it is, but not sure about "macs":8 or "devs":0 ?
Interesting first I’ve seen that. My hub doesn’t show it. I’ve created a note to look at this but low priority at the moment as you note it doesn’t really effect anything and why parsing it might be nice I don’t see any real use for the data that is being sent.
Yeah it’s not really that important. I suppose it feels like it’d be neater somehow (!) to have it receive every message in some way, but it’s not causing any problems. I’m sure you’ve got plenty of better things to be getting on with!