- Platform information:
- Hardware: RasPi 3, deconz ZigBee Module
- OS: Linux openhabian 5.10.17-v7+ #1403 SMP armv7l GNU/Linux
- Java Runtime Environment: which java platform is used and what version
openjdk 11.0.11 2021-04-20 LTS
OpenJDK Runtime Environment Zulu11.48+21-CA (build 11.0.11+9-LTS)
OpenJDK Client VM Zulu11.48+21-CA (build 11.0.11+9-LTS, mixed mode) - openHAB version: openhabian 5.10.17-v7+ #1403 SMP
Apps: mosquitto
- Issue of the topic:
Openhabian is running. OH3 is installed and working. I can switch lights, change colour and so on. IIâm also able to switch ZigBee-Lights via deconz (but not shure whether my setup is best practise) Connection to mosquitto ist working: I can switch on/off two Tecin double plugs flashed with Tasmota.
I set up a testing environment with a Shelly 2.5 flashed with Tasmota. âTesting enviromentâ means the Shelly has power and is connected to the WiFi. The Shelly is configured as rollershutter and works like this (as far as I can determine). I did the configuration with the Webinterface console of Tasmota. The Shelly therefore has good connection to the WiFi. I can hear the switching sounds of the relay when clicking the buttons in the webinterface.
I created a new MQTT Generic Thing as rollershutter and a channel (RL-CZ). Clicking on the buttons show MQTT-commands in MQTTfx. Payloads are âOâ for open, âGâ for closed, âSâ for stop. LWT is working and tele/stat-messages are received by MQTTfx.
But the Shelly doesnât switch.
So, how do I set up OH3 (or mosquitto, or Tasmota) that itâll recognizes âGâ, âOâ, âSâ and reacts accordingly?
- Please post configurations (if applicable):
- Items configuration related to the issue: All generic except the name
- Sitemap configuration related to the issue: not that Iâm aware of any changes.
- Rules code related to the issue: not that Iâm aware of any changes.
- Services configuration related to the issue: not that Iâm aware of any changes.
- If logs where generated please post these here using code fences:
openhab.log
2021-05-21 16:44:14.977 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:44:14.984 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:45:14.986 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:45:14.994 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:46:14.996 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:46:15.005 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:47:15.007 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:47:15.016 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:48:15.018 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:48:15.026 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:49:15.029 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:49:15.037 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:50:15.040 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:50:15.048 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:51:15.050 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:51:15.057 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:52:15.060 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:52:15.068 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:53:15.071 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:53:15.079 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
2021-05-21 16:54:15.086 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to 'localhost'. Next attempt in 60000ms
2021-05-21 16:54:15.095 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 0ff7ceed-8909-4b37-ad9f-a763fe8bb7c5
Disconnects seem to be a little bit often. But the Tecin/Tasmota plug sockets are working and are switchable.