Markus018
(Markus)
December 25, 2018, 10:31am
1
Hey Guys,
iam new with OpenHab and i got a problem which iam not able to solve, maybe some of you experts have some tips for me to solve my problem.
I have two Plug-Switches from Gosund (SP111) flashed with Tasmota. I have bind them to OPenhab via PaperUi and the switches are working, but when i switch one Plug on then the other switches on at the same time.
Do you have any explanations from me why the Plug does so?
Iam using OpenHab 2.4.0 with the MQTT binding 2.4.0.
My Configuration can be seen in the screenshot:
Best regards,
Markus
gitMiguel
(Miika Jukka)
December 25, 2018, 10:37am
2
I don’t use mqtt but I’ll take a guess that there’s a problem in your mqtt configuration. Those two items are somehow linked together.
Can you show us your item and mqtt configurations?
H102
(CM6.5 H102)
December 25, 2018, 2:24pm
3
Here’s a link that might help with the configuration and setup.
Carywin
(Cary)
December 25, 2018, 4:05pm
4
I’d say they both have the same topic set in MQTT configuration
CDriver
(CDriver)
December 26, 2018, 1:04am
5
Have you linked both things to the same item?
Markus018
(Markus)
December 26, 2018, 9:34am
6
Hey Guys,
thank you for your fast responses. Here are two screenshots of my MQTT configuration in Tasmota:
From my point of view it seems to be configurated correctly, but maybe i oversee something.
@H102 : I have read this topic and i have no idea at the moment why this is not working.
Maybe some off you can give me the decisive hint.
Best regards,
Markus
Markus018
(Markus)
December 26, 2018, 9:34am
7
Hey Guys,
here are the other Screenshots:
Markus018
(Markus)
December 26, 2018, 9:35am
8
And here is the screenshot of my item file:
vzorglub
(Vincent Regaud)
December 26, 2018, 9:44am
9
We need the screen shots of your channels
H102
(CM6.5 H102)
December 26, 2018, 1:22pm
10
@Markus018 if your having issues maybe try changing the Host from openhabianpi to the servers (the raspberry PI) IP address.
Markus018
(Markus)
December 26, 2018, 2:58pm
11
Screenshot of Channel Config:
Markus018
(Markus)
December 26, 2018, 2:59pm
12
Screenshot of second Channel Config:
Markus018
(Markus)
December 26, 2018, 3:01pm
13
The switching on and off works but it only changes both. Do you mean that this could be the problem?
H102
(CM6.5 H102)
December 27, 2018, 2:21am
14
You have a connection so the host address is not the issue. Something else is going on, so please post the logs you have in front tail.
Markus018
(Markus)
December 27, 2018, 3:51pm
15
Hey Guys,
something strange happens. I had a blackout and after the rasperry has been rebooted it works without any modifiaction from my side.
Really strange. Next time i try a reboot first. But many thanks for helping.
H102
(CM6.5 H102)
December 27, 2018, 3:58pm
16
Glad it’s back up and running.
Just something you might want to remember when having strange issues or upgrading OH versions is to clean the cache and reboot.
Here’s the commands for this:
sudo systemctl stop openhab
sudo openhab-cli clean-cache
sudo reboot
if you prefer to not reboot but clean cache only then substitute the reboot with
sudo systemctl start openhab
Hope this helps for any future issues.
If you would, please mark the topic as solved by clicking the square box on the post with the solution and edit the title to start with [Solved].
Thanks