@henaa wrote:
Hi
Just create MQTT broker + client
I dont know how i create some switch or sensor in HA , right now i dont see the switch in the HA.
The log from the client : (its connect to HA)19:59:10 MQT: stat/tasmota/RESULT = {"POWER":"OFF"} 19:59:10 MQT: stat/tasmota/POWER = OFF 20:02:40 MQT: tele/tasmota/STATE = {"Time":"2019-12-25T20:02:40","Uptime":"0T01:10:19","UptimeSec":4219,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Wifi":{"AP":1,"SSId":"HOTFiber-1618","BSSId":"3C:17:10:C4:46:7C","Channel":11,"RSSI":74,"Signal":-63,"LinkCount":1,"Downtime":"0T00:00:11"}}
The log from HA : (connection good)
[INFO] found mqttuser on Home Assistant 1577296356: New client connected from 192.168.1.45 as DVES_74924A (p2, c1, k30, u'mqttuser'). 1577296642: Client auto-3BFCDC22-8B2E-7451-CCC8-B5B4BD184DF9 disconnected.
Posts: 2
Participants: 2