Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to communicate with Tasmota device #1

Open
jeylites opened this issue Oct 10, 2017 · 3 comments
Open

Unable to communicate with Tasmota device #1

jeylites opened this issue Oct 10, 2017 · 3 comments

Comments

@jeylites
Copy link

jeylites commented Oct 10, 2017

Hi,

I tried following the example config sketch, Homekit app created a device but there's no response with tasmota led.

SONOFF LED DEVICE

00:00:00 Project sonoff SonoffLED (Topic SonoffLED, Fallback DVES_49B667, GroupTopic sonoffs) Version 5.8.0
00:00:00 WIF: Connecting to AP1 HOME in mode 11N as SonoffLED...
00:00:03 WIF: Connected
00:00:03 DNS: Initialized
00:00:03 HTP: Web server active on SonoffLED.local with IP address 192.168.1.6
00:00:03 UPP: Multicast (re)joined
00:00:04 MQT: Attempting connection...
02:54:16 DNS: Query done. MQTT services found 0
02:54:16 MQT: Connected
02:54:16 MQT: tele/SonoffLED/LWT = Online (retained)
02:54:16 MQT: cmnd/SonoffLED/POWER =
02:54:16 MQT: tele/SonoffLED/INFO1 = {"Module":"Sonoff LED", "Version":"5.8.0", "FallbackTopic":"DVES_49B667", "GroupTopic":"sonoffs"}
02:54:16 MQT: tele/SonoffLED/INFO2 = {"WebServerMode":"Admin", "Hostname":"SonoffLED", "IPAddress":"192.168.1.6"}
02:54:16 MQT: tele/SonoffLED/INFO3 = {"RestartReason":"Software/System restart"}
02:54:17 UPP: Multicast (re)joined
02:54:18 MQT: stat/SonoffLED/RESULT = {"POWER":"ON"}
02:54:18 MQT: stat/SonoffLED/POWER = ON
02:54:25 MQT: tele/SonoffLED/STATE = {"Time":"2017-10-11T02:54:25", "Uptime":0, "Vcc":2.762, "POWER":"ON", "Wifi":{"AP":1, "SSId":"HOME", "RSSI":60, "APMac":"A4:C1:E9:EC:39:CE"}}

Config File

`{
"bridge":{
"name":"Homebridge",
"username":"XXXX",
"port":XXXX,
"pin":"XXXX"
},
"description":"This is an example configuration file. You can use this as a template for creating your own configuration file.",
"platforms":[

],
"accessories":[
{
"accessory":"mqtt-switch-tasmota",
"name":"sonoffo",
"url":"mqtt://192.168.1.40",
"topics":{
"statusGet":"stat/sonoffo/RESULT",
"statusSet":"cmnd/sonoffo/POWER",
"stateGet":"tele/sonoffo/STATE"
},
"onValue":"ON",
"offValue":"OFF",
"activityTopic":"tele/sonoffo/LWT",
"activityParameter":"Online",
"startCmd":"cmnd/sonoff/TelePeriod",
"startParameter":"60",
"manufacturer":"ITEAD",
"model":"Sonoff",
"serialNumberMAC":""
},
{
"accessory":"SonoffTasmotaHTTPLED",
"name":"SonoffLED",
"hostname":"SonoffLED"
}
]
}
`

@ageorgios
Copy link
Owner

ageorgios commented Oct 10, 2017

SonoffTasmotaHTTPLED is for using a Tasmota firmwared flashed Sonoff LED Strip
https://www.itead.cc/sonoff-led.html

It controls it with HTTP and not MQTT as I can conclude from your logs.

Please give me the output of the homebridge service to see if I can help.
something like:
sudo journalctl -u homebridge

@jeylites
Copy link
Author

What do you mean by output of the Homebridge Service? Sorry for the noob question.

@ageorgios
Copy link
Owner

ageorgios commented Oct 10, 2017

I mean the log of the homebridge instance you run

try this command:
sudo journalctl -u homebridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants