joba-1 / Tasmoticz

Domoticz MQTT autodiscovery plugin for Tasmota devices
MIT License
24 stars 18 forks source link

Support for "YTF IR Bridge Module" #17

Open luckysession opened 3 years ago

luckysession commented 3 years ago

Hi Guys,

maybe possible for support LG AC aircondition?

First tasmota switch Dual R2 works fine...

Thx for

lucky

2020-07-07 22:15:00.888 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs [] 2020-07-07 22:15:02.393 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/LWT 2020-07-07 22:15:06.310 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/LWT 2020-07-07 22:15:06.361 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/INFO1 2020-07-07 22:15:06.361 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: INFO1, message: {'Module': 'YTF IR Bridge', 'Version': '8.3.1(ir)', 'FallbackTopic': 'cmnd/DVES_0455FA_fb/', 'GroupTopic': 'cmnd/tasmotas/'} 2020-07-07 22:15:06.361 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs [] 2020-07-07 22:15:06.362 (MQTT_tasmota) Handler::requestStatus: cmnd/tasmota_0455FA 2020-07-07 22:15:06.362 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/INFO2 2020-07-07 22:15:06.362 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/INFO3 2020-07-07 22:15:06.614 (MQTT_tasmota) Handler::onMQTTPublish: topic: stat/tasmota_0455FA/STATUS 2020-07-07 22:15:06.614 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: STATUS, message: {'Status': {'Module': 62, 'DeviceName': 'IR-Remote', 'FriendlyName': ['Josephin'], 'Topic': 'tasmota_0455FA', 'ButtonTopic': '0', 'Power': 0, 'PowerOnState': 3, 'LedState': 1, 'LedMask': 'FFFF', 'SaveData': 1, 'SaveState': 1, 'SwitchTopic': '0', 'SwitchMode': [0, 0, 0, 0, 0, 0, 0, 0], 'ButtonRetain': 0, 'SwitchRetain': 0, 'SensorRetain': 0, 'PowerRetain': 0}} 2020-07-07 22:15:06.615 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs [] 2020-07-07 22:15:10.676 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/STATE 2020-07-07 22:15:10.676 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: STATE, message: {'Time': '2020-07-07T21:15:10', 'Uptime': '0T00:00:09', 'UptimeSec': 9, 'Heap': 25, 'SleepMode': 'Dynamic', 'Sleep': 50, 'LoadAvg': 19, 'MqttCount': 1, 'Wifi': {'AP': 1, 'SSId': '*****', 'BSSId': '.....', 'Channel': 7, 'RSSI': 98, 'Signal': -51, 'LinkCount': 1, 'Downtime': '0T00:00:03'}} 2020-07-07 22:15:10.677 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []

2020-07-07 22:19:08.491 (MQTT_tasmota) Handler::onMQTTPublish: topic: stat/tasmota_0455FA/RESULT 2020-07-07 22:19:08.491 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IRHVAC': {'Vendor': 'LG', 'Model': 2, 'Power': 'On', 'Mode': 'Auto', 'Celsius': 'On', 'Temp': 22, 'FanSpeed': 'Auto', 'SwingV': 'Auto', 'SwingH': 'Auto', 'Quiet': 'On', 'Turbo': 'Off', 'Econo': 'On', 'Light': 'Off', 'Filter': 'Off', 'Clean': 'Off', 'Beep': 'On', 'Sleep': -1}} 2020-07-07 22:19:08.492 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs [] 2020-07-07 22:19:08.593 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/RESULT 2020-07-07 22:19:08.593 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IrReceived': {'Protocol': 'UNKNOWN', 'Bits': 30, 'Hash': '0xBA5FB442', 'Repeat': 0}} 2020-07-07 22:19:08.593 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs [] 2020-07-07 22:19:22.816 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_B35069/STATE 2020-07-07 22:19:22.817 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_B35069, cmnd: cmnd/tasmota_B35069, tail: STATE, message: {'Time': '2020-07-07T21:19:22', 'Uptime': '0T00:20:09', 'UptimeSec': 1209, 'Heap': 26, 'SleepMode': 'Dynamic', 'Sleep': 50, 'LoadAvg': 19, 'MqttCount': 1, 'POWER1': 'OFF', 'POWER2': 'OFF', 'Wifi': {'AP': 1, 'SSId': 'EG.HLW16Wolf.net', 'BSSId': '34:31:C4:45:FD:B2', 'Channel': 6, 'RSSI': 78, 'Signal': -61, 'LinkCount': 1, 'Downtime': '0T00:00:03'}} 2020-07-07 22:19:22.817 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_B35069, Idxs [1, 2] 2020-07-07 22:19:22.870 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_B35069/SENSOR 2020-07-07 22:19:22.870 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_B35069, cmnd: cmnd/tasmota_B35069, tail: SENSOR, message: {'Time': '2020-07-07T21:19:22', 'Shutter1': {'Position': 0, 'Direction': 0, 'Target': 0}} 2020-07-07 22:19:22.871 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_B35069, Idxs [1, 2] 2020-07-07 22:19:23.523 (MQTT_tasmota) Handler::onMQTTPublish: topic: stat/tasmota_0455FA/RESULT 2020-07-07 22:19:23.523 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IRHVAC': {'Vendor': 'LG', 'Model': 1, 'Power': 'Off', 'Mode': 'Off', 'Celsius': 'On', 'Temp': 22.5, 'FanSpeed': 'Auto', 'SwingV': 'Off', 'SwingH': 'Off', 'Quiet': 'Off', 'Turbo': 'Off', 'Econo': 'Off', 'Light': 'Off', 'Filter': 'Off', 'Clean': 'Off', 'Beep': 'Off', 'Sleep': -1}} 2020-07-07 22:19:23.523 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs [] 2020-07-07 22:19:23.574 (MQTT_tasmota) Handler::onMQTTPublish: topic: tele/tasmota_0455FA/RESULT 2020-07-07 22:19:23.575 (MQTT_tasmota) Handler::onMQTTPublish: device: tasmota_0455FA, cmnd: cmnd/tasmota_0455FA, tail: RESULT, message: {'IrReceived': {'Protocol': 'LG', 'Bits': 28, 'Data': '0x88C0051', 'DataLSB': '0x1031008A', 'Repeat': 0, 'IRHVAC': {'Vendor': 'LG', 'Model': 1, 'Power': 'Off', 'Mode': 'Off', 'Celsius': 'On', 'Temp': 15, 'FanSpeed': 'Auto', 'SwingV': 'Off', 'SwingH': 'Off', 'Quiet': 'Off', 'Turbo': 'Off', 'Econo': 'Off', 'Light': 'Off', 'Filter': 'Off', 'Clean': 'Off', 'Beep': 'Off', 'Sleep': -1}}} 2020-07-07 22:19:23.575 (MQTT_tasmota) tasmota::findDevices: fullName: tasmota_0455FA, Idxs []