robertklep / name.klep.sonoff

Homey driver for Sonoff devices
7 stars 7 forks source link

Sonoff TH16 & Homey #41

Open axke1 opened 3 years ago

axke1 commented 3 years ago

Hallo, leider kann ich meinen TH16 nicht mit dem Homey verbinden. Die ewe-Link-Verbindung hat dagegen funktioniert und ich kann auf den TH16 über WLAN zugreifen. Wenn ich den TH16 aber in Homey integrieren will, findet er kein Gerät, das er hinzufügen kann. Der MQT Broker hat folgenden Log: 20210203-18:36:20 Packet published mqttjs_c5f4747d 20210203-18:36:20 mqttjs_c5f4747d has subscribed to topic tele/+/+ 20210203-18:36:20 mqttjs_c5f4747d has subscribed to topic stat/+/+ 20210203-18:36:20 Packet published {"clientId":"mqttjs_c5f4747d","topic":"tele/+/+"} 20210203-18:36:20 Packet published {"clientId":"mqttjs_c5f4747d","topic":"stat/+/+"} 20210203-18:37:07 mqttjs_c5f4747d has unsubscribed from topic tele/+/+ 20210203-18:37:07 mqttjs_c5f4747d has unsubscribed from topic stat/+/+ 20210203-18:37:07 client disconnected: mqttjs_c5f4747d 20210203-18:37:07 Packet published {"clientId":"mqttjs_c5f4747d","topic":"tele/+/+"} 20210203-18:37:07 Packet published {"clientId":"mqttjs_c5f4747d","topic":"stat/+/+"} 20210203-18:37:07 Packet published mqttjs_c5f4747d Was mache ich falsch?

robertklep commented 3 years ago

It's unclear to me if you're running Tasmota.

axke1 commented 3 years ago

Ich habe den MQT Broker installiert und dort den Port 1883 eingetragen. Danach habe ich in der Sonoff-App TH10/16 (Tasmota) ausgewählt und die IP-Adresse des Homeys eingegeben. Habe ich im MQT Broker einen Fehler? Bin ich evtl. mit dem TH16 zu weit vom WLAN-Router entfernt oder was mache ich falsch? Bzw. welche Infos brauchen Sie von mir, damit Sie mich besser verstehen?

robertklep commented 3 years ago

How did you configure the module in Tasmota, and what are the MQTT settings (topic etc) you're using?

Please reply in English, my German isn't great ;)

axke1 commented 3 years ago

I didn't configure the module in "Tasmota". Do you mean another app in the homey store? I just added the apps "Tasmota MQTT", "MQTT Broker" and "MQTT Client". In these apps I set the IP on 192.1##.##.### (is my homey" and the Port on 1883, I added the user "####" and a 4-digit-Password. But I'm not right sure, which one from these apps I'll need for using the TH16 ;-(

robertklep commented 3 years ago

Tasmota MQTT is a completely different app from mine. If you have questions about it, you can post them on the forum.