You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this belongs in issues or over here in discussions. I'm messing around with IBBQ-4BW thermometer that supports Tuya integration. When polled locally, tinytuya gives me something like this: "devices": [ { "ip": "192.168.1.xx", "gwId": "xxxxx", "active": 2, "ability": 0, "mode": 0, "encrypt": true, "productKey": "xxx", "version": "3.3", "dps": { "devId": "xxxx", "dps": { "1": true, "13": 52837, "19": "F", "101": 76, "102": 15, "104": true, "107": 6690, "108": 327661, "109": 327660, "110": 327661, "111": false, "112": 21, "116": 0, "117": 0, "118": 0, "119": 0 } }, "name": "IBBQ-4BW", "key": "xxxx", "mac": "xxxx", "id": "xxxx", "ver": "3.3" },
When pulled on through the cloud (or when I look through the functions on Tuya IoT account), I get about twice as much functions though - I've added numbers for an easier reference:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm not sure if this belongs in issues or over here in discussions. I'm messing around with IBBQ-4BW thermometer that supports Tuya integration. When polled locally, tinytuya gives me something like this:
"devices": [ { "ip": "192.168.1.xx", "gwId": "xxxxx", "active": 2, "ability": 0, "mode": 0, "encrypt": true, "productKey": "xxx", "version": "3.3", "dps": { "devId": "xxxx", "dps": { "1": true, "13": 52837, "19": "F", "101": 76, "102": 15, "104": true, "107": 6690, "108": 327661, "109": 327660, "110": 327661, "111": false, "112": 21, "116": 0, "117": 0, "118": 0, "119": 0 } }, "name": "IBBQ-4BW", "key": "xxxx", "mac": "xxxx", "id": "xxxx", "ver": "3.3" },
When pulled on through the cloud (or when I look through the functions on Tuya IoT account), I get about twice as much functions though - I've added numbers for an easier reference:
DP Instruction Standard Instruction
switch 98 1
fault 99
temp_unit_convert 100 19?
Battery_Percentage 101 +
Screen_Timeout 102 +
other_1 103
Sound_Mode 104
Alarm_Pending 105
other 106
Temperature_1 107
Temperature_2 108
Temperature_3 109
Temperature_4 110
WakeUpCloseBackLight 111
Physical_Temperature 112
Probe_Color 113
Test_Interface
Compensation_Error_1 114
Compensation_Error_2 115
Compensation_Error_3 116
Compensation_Error_4 117
Preset_1 118
Preset_2 119
Preset_3 120
Preset_4 121
Timer1_Alarm_State 122
Timer2_Alarm_State 123
Timer3_Alarm_State 124
Timer4_Alarm_State 125
"status": [ { "code": "switch", "value": true }, { "code": "fault", "value": 28347321 }, { "code": "temp_unit_convert", "value": "F" }, { "code": "Battery_Percentage", "value": 76 }, { "code": "Screen_Timeout", "value": 15 }, { "code": "other_1", "value": "AQE=" }, { "code": "Sound_Mode", "value": true }, { "code": "other", "value": "O+Htisad92" }, { "code": "Temperature_1", "value": 6670 }, { "code": "Temperature_2", "value": 327660 }, { "code": "Temperature_3", "value": 327660 }, { "code": "Temperature_4", "value": 327660 }, { "code": "WakeUpCloseBackLight", "value": false }, { "code": "Physical_Temperature", "value": 21 }, { "code": "Probe_Color", "value": "AQIDBA==" }, { "code": "Test_Interface", "value": 0 }, { "code": "Compensation_Error_1", "value": 0 }, { "code": "Compensation_Error_2", "value": 0 }, { "code": "Compensation_Error_3", "value": 0 }, { "code": "Compensation_Error_4", "value": 0 }, { "code": "Preset_1", "value": "ENwFAAA=" }, { "code": "Preset_2", "value": "ALAEAAA=" }, { "code": "Preset_3", "value": "AAAAAAA=" }, { "code": "Preset_4", "value": "AAAAAAA=" }, { "code": "Timer1_Alarm_State", "value": false }, { "code": "Timer2_Alarm_State", "value": false }, { "code": "Timer3_Alarm_State", "value": false }, { "code": "Timer4_Alarm_State", "value": false } ],
Is there a way to get to these functions locally? It looks like set_dpsUsed function might be able to do this, but I could not get it to work, e.g.,
d.set_dpsUsed({"122": True})
did not make DP 122 appear in the list.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions