lukics
(Slaviša Lukić)
May 5, 2019, 12:24pm
1
In the old binding following configuration at Item-Level was possible:
Switch Landroid_start_stop "LM Start/Stopp" <switch> {mqtt=">[mqtt:landroid/set/start:command:ON:true],>[mqtt:landroid/set/stop:command:OFF:true]"}
Depending on the item state different command was executed.
I know that using proxies and rules that can be accomplished too.
I would like to know if there is a similar possibility as in the old binding.
Any idea?
suntribe
(suntribe)
May 5, 2019, 12:48pm
2
I think that you can manage this by defining a new item that you would define it’s property to follow another item.
lukics
(Slaviša Lukić)
May 5, 2019, 12:51pm
3
Could so sketch an example?
suntribe
(suntribe)
May 5, 2019, 12:55pm
4
suntribe
(suntribe)
May 5, 2019, 1:04pm
5
Actualy, I think that rawrocker-to-on-off would suit your needs better…
opus
(JĂĽrgen Baginski)
May 5, 2019, 1:26pm
6
If you look into the "Show more’ section of your channel configuration you will find settings for “On/Open value” and “Off/Closed value” which should suit your needs.
lukics
(Slaviša Lukić)
May 5, 2019, 4:27pm
7
I cannot see how I could translate a switch
ON to mqtt:landroid/set/start
OFF to android/set/stop
This linking is useful for lining ON/OFF of one channel to Channel of supported Types (Dimmer/Color, etc)
lukics
(Slaviša Lukić)
May 5, 2019, 4:29pm
8
I am using .things file defining the Bridge, Thing and Channels.
How does it look in such case?
opus
(JĂĽrgen Baginski)
May 5, 2019, 5:20pm
9
I could look into the Documentation , but why don’t you DIY?
1 Like
lukics
(Slaviša Lukić)
May 5, 2019, 5:21pm
10
Looking and found in the documentation:
Type switch : mowing "LM mowing" [ stateTopic="landroid/status/statusCode", commandTopic="landroid/set/mow ", on="start", off="stop" ]
lukics
(Slaviša Lukić)
May 5, 2019, 5:24pm
11
I was really looking, but almost the same time you sent the link, I found it myself
Sometimes it is not so simple to filter out all the search result.
Thank you for your effort.
1 Like
Billiboy
(Steffen)
May 17, 2019, 3:50pm
12
In which file did you insert the switch:
Do you have the other items for the remaining functions for me?
poki123
(poki123)
January 2, 2021, 11:53pm
13
Hello Slaviša Lukić,
I have the same problem. Did you manage this somehow? Without rules?
Thank you,
Juraj