rdnat
(Rudy)
January 14, 2019, 9:56pm
1
I have the similar problem. I update the system to openhab 2.4 enable the 1.x legacy but when press button hardware the sonoff works correctly and I see the right value on Habpanel but if I use habpanel to switch state of sonoff it doesn’t work…
I have try to reinstall mqtt action but nothing happens…
vzorglub
(Vincent Regaud)
January 14, 2019, 10:37pm
2
The old mqtt action will not work.
You will need to use the new actions as documented in the new mqtt binding
rdnat
(Rudy)
January 14, 2019, 10:55pm
3
also for the 1.x binding?
vzorglub
(Vincent Regaud)
January 14, 2019, 11:03pm
4
Yes also for the v1 binding
rdnat
(Rudy)
January 14, 2019, 11:04pm
5
But if i uninstall it… 1.x binding continue to works?
rdnat
(Rudy)
January 14, 2019, 11:06pm
7
I try just now…i remove Action Mqtt but it doesn’t works
rdnat
(Rudy)
January 14, 2019, 11:08pm
9
When click on switch on habpanel the command was sent but the state remain the same…nothing happen
rdnat
(Rudy)
January 14, 2019, 11:08pm
10
I use the old syntax on file.items 1.x
rdnat
(Rudy)
January 14, 2019, 11:11pm
11
And, if i use hardware button the state change correctly also in habpanel interface…
DaAndy
(Andreas B )
January 14, 2019, 11:17pm
12
Probably you have both bindings and action installed. Did not work for me with everything installed.
rdnat
(Rudy)
January 14, 2019, 11:25pm
13
No I have just resolved!
in items file the i have on command the “<” inboud when the correct is “>” outbound
BEFORE
Switch Acquarium “Light” (LR,gInterr) { mqtt="< [Broker:cmnd/sonoff-Acquarium /power:command::default], <[Broker:stat/sonoff-Acquarium/POWER:State:default]"}
AFTER
Switch Acquarium “Light” (LR,gInterr) { mqtt=">[Broker:cmnd/sonoff-Acquarium /power:command: :default], <[Broker:stat/sonoff-Acquarium/POWER:State:default]"}
vzorglub
(Vincent Regaud)
January 15, 2019, 7:32am
14
I have moved this to it’s own thread as it is an MQTTv1 issue