AMoo-Miki / homebridge-tuya-lan

Homebridge plugin for IoT devices that use Tuya Smart's platform
MIT License
196 stars 50 forks source link

Tuya Lan Homebridge Amoo-Miki #248

Open sukisha1976 opened 3 years ago

sukisha1976 commented 3 years ago

Hi all

Thanks Amoo_Miki for the Tuya plugin.

I managed to get most of my lights recognised by Apple Home (my main objective) with a config like: { "devices" : [ { "id" : "006086302cf43223beac", "key" : "4f63fb47d3959a11", "name" : "Kitchen Light 4", "type" : "RGBTWLight" },

However some are still not recognised in Apple Home and I get some of the following errors in the log: [28/06/21, 12:55 PM] [TuyaAccessory] Socket had a problem and will reconnect to Dining Room Light 1 (ECONNRESET)

[28/06/21, 12:55 PM] [TuyaAccessory] Closed connection with Dining Room Light 1

[28/06/21, 1:07 PM] [HOOBS A55A@Dining Room Light 1@Dining Room Light 1@Brightness] characteristic value expected valid finite number and received "NaN" (number)

[28/06/21, 1:07 PM] [HOOBS A55A@Dining Room Light 1@Dining Room Light 1@Hue] characteristic was supplied illegal value: number 597 exceeded maximum of 360

[28/06/21, 1:07 PM] [HOOBS A55A@Dining Room Light 1@Dining Room Light 1@Saturation] characteristic was supplied illegal value: number 234 exceeded maximum of 100

[28/06/21, 1:07 PM] [HOOBS A55A@Entrance Light 2@Entrance Light 2@Brightness] characteristic value expected valid finite number and received "NaN" (number)

[28/06/21, 1:07 PM] [HOOBS A55A@Entrance Light 2@Entrance Light 2@Hue] characteristic was supplied illegal value: number 597 exceeded maximum of 360

[28/06/21, 1:07 PM] [HOOBS A55A@Entrance Light 2@Entrance Light 2@Saturation] characteristic was supplied illegal value: number 234 exceeded maximum of 100

[28/06/21, 1:07 PM] [HOOBS A55A@Dining Room Light 2@Dining Room Light 2@Brightness] characteristic value expected valid finite number and received "NaN" (number)

[28/06/21, 1:07 PM] [HOOBS A55A@Dining Room Light 2@Dining Room Light 2@Hue] characteristic was supplied illegal value: number 597 exceeded maximum of 360

[28/06/21, 1:07 PM] [HOOBS A55A@Dining Room Light 2@Dining Room Light 2@Saturation] characteristic was supplied illegal value: number 234 exceeded maximum of 100

[28/06/21, 1:07 PM] [HOOBS A55A@Entrance light 1@Entrance light 1@Brightness] characteristic value expected valid finite number and received "NaN" (number)

[28/06/21, 1:07 PM] [HOOBS A55A@Entrance light 1@Entrance light 1@Hue] characteristic was supplied illegal value: number 597 exceeded maximum of 360

[28/06/21, 1:07 PM] [HOOBS A55A@Entrance light 1@Entrance light 1@Saturation] characteristic was supplied illegal value: number 234 exceeded maximum of 100

Any help would be greatly appreciated.

Thanks Wayne