Closed omriileviii closed 4 years ago
Can you send through your config file.
On 2 Jun 2019, at 6:55 am, omriileviii notifications@github.com wrote:
Hi When I try get Tuya device I get this message
[ { id: 'XXXXXXXXXXXXXc98b5e9', key: 'f6fe2XXXXXXX75' }, { id: '1867XXXXXXXXXXXXXXfdd', key: '795bXXXXXXXX1c84ec' }, { id: 'bf22cXXXXXXXXXXXcnkga', key: undefined }, { id: 'bf3eb2XXXXXXXXXXzy4c', key: undefined }, { id: 'bf52XXXXXXXXXXXd04zz5z', key: undefined }, { id: 'bfa7dXXXXXXXXXXXXXn8d', key: undefined }, { id: 'bfXXXXXXXXXX740efbvbwi', key: undefined }, { id: '37138205ecfabc994d9e', key: 'f8b2be5XXXXXXXX8ed' }, { id: '37138205XXXXXX995299', key: 'a1cXXXXXXXX0e' },
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
{ "bridge": { "name": "Homebridge", "username": "XX:XX:XX:XX:XX:XX", "port": XXXXX, "pin": "031-45-154" },
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.", "ports": { "start": 52100, "end": 52150, "comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to." }, "accessories": [ ],
"platforms": [
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideScanFrequencyButton": true,
"hideLearnButton": true,
"hideWelcomeMessage": true,
"homebridgeDirectory": "/users/omrilevi/.homebridge/",
"accessories": [
{
"name": "תריס",
"type": "switch",
"data": {
"on": "b2001401XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX920200b0a2009201f0c1f0b1f0b1f0b0a200a201f0b0a200a2009211f0a1f0c1f0b0a200a201f0b0a200a2009201f0b0a0005dc00000000",
"off": "b2007c0XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0b1f0b1f0b0a200a201f0b0a201f0b0a2009200a000142090005dc000000000000000000000000"
}
},
{
"name": "סגירת תריס",
"type": "switch",
"data": {
"on": "b20534000a21200cXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000",
"off": "b2007c000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1f0b0a200a201f0b1f0b1f0b1f0b0a200a201f0b0a2009200a201f0b1f0b1f0b0a200a201f0b0a201f0b0a2009200a000142090005dc000000000000000000000000"
}
},
{
"name": "Volume Up",
"type": "switch",
"enableAutoOff": true,
"onDuration": 2.5,
"data": [{
"data": "2600480000012894151114XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX435151114351436143614361435153515000d05",
"sendCount": 5,
"interval": 0.3
}]
},
{
"name": "Mute",
"type": "switch",
"data": {
"off": "2600500000012a93121411140f3a1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX37123813381100052a0001294a11000d050000000000000000",
"on": "2600500000012895121311XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1311381239103912381200052a0001274b13000d050000000000000000"
}
},
{
"name": "טלווזיה",
"type": "switch",
"data": {
"off": "2600480000012a9313121312XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX13361436143613000d05",
"on": "2600500000012aXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1500052800012a4915000d050000000000000000"
}
},
{
"name": "Volume Down",
"type": "switch",
"enableAutoOff": true,
"onDuration": 2.5,
"data": [{
"data": "2600500000012a931XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX81238113911391100052b0001284a12000d050000000000000000",
"sendCount": 5,
"interval": 0.3
}]
},
{
"name": "מזגן",
"type": "air-conditioner",
"pseudoDeviceTemperature": 25,
"minTemperature": 10,
"maxTemperature": 30,
"replaceAutoMode": "heat",
"ignoreTemperatureWhenOff": true,
"data": {
"off": "2600ca008f8f113712XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1113123511361137111311121113111311131311111310131137113611371136113710000d050000000000000000000000000000",
"temperature30": {
"pseudo-mode": "heat",
"data": "2600ca008e9011371XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3711131037113611371136111311131113103711131113101311131137103711000d050000000000000000000000000000"
},
"temperature25": {
"pseudo-mode": "cool",
"data": "2600ca00929014331410143314331410141013341410131014331410141013341433141014331433141014331434XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0141014101310143314341310141014101310141014101310141014331433143413341433143314000d050000000000000000000000000000"
},
"temperature24": {
"pseudo-mode": "cool",
"data": "2600ca00939XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX101410131014101410131014341310141014101310141013101434131014341334133414331434133414000d050000000000000000000000000000"
},
"temperature23": {
"pseudo-mode": "cool",
"data": "2600ca00938f14331410143314341310141014331410131014341310141014331434131014331434131014341334143314XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX13101410141013101410141013341311133413101410141013101434131014331410143314341334143314000d050000000000000000000000000000"
},
"temperature22": {
"pseudo-mode": "cool",
"data": "2600ca00909214341310143314341310141013341410131113341310141014331434131012361136111212361136123512361XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX334143314000d050000000000000000000000000000"
},
"temperature21": {
"pseudo-mode": "cool",
"data": "2600ca00938f14341310143413341410131014331410141013341410131014331434131014341334141013341433143314341XXXXXXXXXXXXXXXXXXXXXXXXXXX14101311131014101311131012351236111212121212111212121136121211121236113612351236113612000d050000000000000000000000000000"
},
"temperature20": {
"pseudo-mode": "cool",
"data": "2600ca00938f143413101434133414101310143314101410133414101310143314341310143413341410133414XXXXXXXXXXXXXX12000d050000000000000000000000000000"
},
"temperature19": {
"pseudo-mode": "cool",
"data": "2600ca00909214331410143314341310141014331410140f1434131014101433143314101433143413101434133414331433143413XXXXXXXXXXXXXXXX6111311121212111212121212131014101334143314101410131014101235123611121212113612351236113612000d050000000000000000000000000000"
},
"temperature16": {
"pseudo-mode": "cool",
"data": "2600ca00XXXXXXXXXXXX4101334141013101433141014101334143314101433143314101433143413341433143314341310143413101410141013101410131113101410140f141014101310141014101334143314341334133414331434133413000d050000000000000000000000000000"
}
}
}
]
},
{
"platform": "TuyaLan",
"name": "TuyaLan",
"devices": [
{
"name": "דוד",
"type": "Outlet",
"id": "62XXXXXXXXXXXXXe5e",
"key": "9XXXXXXX97"
},
{
"name": "מטבח",
"type": "SimpleLight",
"id": "37XXXXXXXXXXXXXe04",
"key": "8XXXXXXXX508"
},
{
"name": "אור טלווזיה",
"type": "SimpleLight",
"id": "18XXXXXXXXXXXXXdd",
"key": "79XXXXXXXXXXc"
},
{
"name": "איפור",
"type": "SimpleLight",
"id": "380XXXXXXXXXXXXX780",
"key": "9873XXXXXXXXXa5a8"
},
{
"name": "מדרגות",
"type": "SimpleLight",
"id": "371XXXXXXXXXXXXXXXe9",
"key": "811XXXXXXXXXXX00"
},
{
"name": "סלון",
"type": "SimpleLight",
"id": "37138XXXXXXX299",
"key": "a1cXXXXXXXd30e"
},
{
"name": "מחסן",
"type": "SimpleLight",
"id": "37138205XXXXXXX94d9e",
"key": "fXXXXXXXXX868ed"
},
{
"name": "פינת אוכל",
"type": "SimpleLight",
"id": "371382XXXXX94fb4",
"key": "a1cXXXXXXXX0e"
}
]
}
]
}
@omriileviii, ~I am not sure I understand the problem you are facing. Could you please elaborate?~ nvm, I am blind!
By the way, you can give the latest rc
release a shot by doing npm i -g homebridge-tuya-lan@rc
. It includes logic to understand this newer API.
The Setup Instructions have changed in case you need to obtain a fresh id
and key
.
Closing for inactivity. Please reopen if you continue to face the problem.
Hi When I try get Tuya device I get this message
[ { id: 'XXXXXXXXXXXXXc98b5e9', key: 'f6fe2XXXXXXX75' }, { id: '1867XXXXXXXXXXXXXXfdd', key: '795bXXXXXXXX1c84ec' }, { id: 'bf22cXXXXXXXXXXXcnkga', key: undefined }, { id: 'bf3eb2XXXXXXXXXXzy4c', key: undefined }, { id: 'bf52XXXXXXXXXXXd04zz5z', key: undefined }, { id: 'bfa7dXXXXXXXXXXXXXn8d', key: undefined }, { id: 'bfXXXXXXXXXX740efbvbwi', key: undefined }, { id: '37138205ecfabc994d9e', key: 'f8b2be5XXXXXXXX8ed' }, { id: '37138205XXXXXX995299', key: 'a1cXXXXXXXX0e' },