tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for Smart Weather Station

Open robcret opened this issue 1 year ago • 2 comments
trafficstars

It's a beautiful weather station from different brands like blitzwolf

   Version = 3.3  Type = default, MAC = 
    Status: {'102': True, '105': 'c', '106': '0', '109': 'kmh', '110': 'hpa', '111': False, '113': 0, '129': True, '131': 226, '132': 24, '133': -21, '134': 53}

Information about DPS mappings

curl --request GET "https://openapi.tuyaeu.com/v2.0/cloud/thing/bfcdd8e2ad3f3b5329wiuh/shadow/properties" --header "sign_method: HMAC-SHA256" --header "client_id: 7ne5u9j83rgaq3cr5rjn" --header "t: 1713304902245" --header "mode: cors" --header "Content-Type: application/json" --header "sign: E4DB8895F4BD7EB6A132243A3E7098CE7225C6991A4123250085110ED318BAA6" --header "access_token: 732a0a68485f926ea4004d3b22460c0c"
ResponseCopy
{
  "result": {
    "properties": [
      {
        "code": "time",
        "custom_name": "",
        "dp_id": 101,
        "time": 1713304884878,
        "value": "GAQRAAEAAw=="
      },
      {
        "code": "time_1224",
        "custom_name": "",
        "dp_id": 102,
        "time": 1712714277467,
        "value": true
      },
      {
        "code": "weather",
        "custom_name": "",
        "dp_id": 103,
        "time": 1713304885363,
        "value": "BwBHA8kHAAAABAI="
      },
      {
        "code": "temp_unit_convert",
        "custom_name": "",
        "dp_id": 105,
        "time": 1712714277467,
        "value": "c"
      },
      {
        "code": "lcd_brightness",
        "custom_name": "",
        "dp_id": 106,
        "time": 1713302445705,
        "value": "3"
      },
      {
        "code": "remote_state",
        "custom_name": "",
        "dp_id": 107,
        "time": 1713304885131,
        "value": "AQECAgEBAQ=="
      },
      {
        "code": "icon_show_hide",
        "custom_name": "",
        "dp_id": 108,
        "time": 1713182081553,
        "value": "AQEBAAAAAQEBAQE="
      },
      {
        "code": "speed_unit_convert",
        "custom_name": "",
        "dp_id": 109,
        "time": 1712714275415,
        "value": "kmh"
      },
      {
        "code": "pre_unit_convert",
        "custom_name": "",
        "dp_id": 110,
        "time": 1712714275436,
        "value": "hpa"
      },
      {
        "code": "Time_internet",
        "custom_name": "",
        "dp_id": 111,
        "time": 1712787563892,
        "value": false
      },
      {
        "code": "maxmin_set",
        "custom_name": "",
        "dp_id": 112,
        "time": 1713219462904,
        "value": "PACUAGQAPACUAGQAPACUAGQAPACUAGQAD9wELgPAPACUAGQA"
      },
      {
        "code": "Weather_Error",
        "custom_name": "",
        "dp_id": 113,
        "time": 1713233385084,
        "value": 0
      },
      {
        "code": "T_h_uv_w_p_Alarm",
        "custom_name": "",
        "dp_id": 117,
        "time": 1713304885273,
        "value": "AwMDAwMDAwMDAwMDAw=="
      },
      {
        "code": "Alarm_Action",
        "custom_name": "",
        "dp_id": 128,
        "time": 1713219463268,
        "value": "AAA="
      },
      {
        "code": "lcd_night",
        "custom_name": "",
        "dp_id": 129,
        "time": 1712714355813,
        "value": true
      },
      {
        "code": "lcd_night_time",
        "custom_name": "",
        "dp_id": 130,
        "time": 1713219463405,
        "value": "FwAGAA=="
      },
      {
        "code": "local_temp",
        "custom_name": "",
        "dp_id": 131,
        "time": 1713303823458,
        "value": 205
      },
      {
        "code": "local_hum",
        "custom_name": "",
        "dp_id": 132,
        "time": 1713304673504,
        "value": 30
      },
      {
        "code": "sub1_temp",
        "custom_name": "",
        "dp_id": 133,
        "time": 1713304381240,
        "value": -39
      },
      {
        "code": "sub1_hum",
        "custom_name": "",
        "dp_id": 134,
        "time": 1713304381254,
        "value": 65
      },
      {
        "code": "sub2_temp",
        "custom_name": "",
        "dp_id": 135,
        "time": 1704281422594,
        "value": 160
      },
      {
        "code": "sub2_hum",
        "custom_name": "",
        "dp_id": 136,
        "time": 1704288915165,
        "value": 39
      },
      {
        "code": "sub3_temp",
        "custom_name": "",
        "dp_id": 137,
        "time": 1704289363024,
        "value": 76
      },
      {
        "code": "sub3_hum",
        "custom_name": "",
        "dp_id": 138,
        "time": 1704289363084,
        "value": 45
      }
    ]
  },
  "success": true,
  "t": 1713304902425,
  "tid": "e873e0ecfc3c11ee8a7bd6bc131ddf9b"
}

bfcdd8e2ad3f3b5329wiuh

Information about how the device functions

Tuya Wifi Smart Weather Station Temperature & Humidity Meter Large Screen Weather Clock Temp & Humidity with 1/3PCS Sensor

Functions: ● Colour Screen Digital sensor, more accurate temperature and humidity

● Automatically obtain weather data and synchronize

● APP intelligent control, easy operation, rich functions, APP sharing

● Air pressure/UV/wind speed/temperature and humidity alarm function setting reminder

● You can view the historical data trend record of temperature and humidity

● ID UI innovation private model patent, product appearance is more in line with home attributes

● It can support 3 sub-machines, and take the temperature and humidity of different positions at the same time

● Display content, you can DIY according to your own preferences

● The display brightness can be adjusted in 3 gears, and the night mode is added, which does not affect sleep

● Diversified installation methods make installation easier. It can be hung on the wall or placed on the desktop

Specifications:

● Material: ABS+PC

● Input: 100-240V, 50/60Hz

● Output: 5V, 2A

● Standby Current: About 6uA for auxiliary machine

● Standby Time: 6 months for auxiliary machine

● Communication Way: Wifi(2.4G)+Bluetooth module

● Communication Frequency for Auxiliary

● Machine: 433MHz

● Communication Distance for Auxiliary Machine: 80M (empty outdoor environment)

● Temperature Display Unit: ℃/℉

● Humidity Display Unit: RH%

● Temperature Range & Accuracy: -20~60℃, ±0.5℃

● Humidity Range & Accuracy: 0%~99%, ±2%RH

● Operating Temperature: -20~60℃

● Auxiliary Machine Power Supply: 3V 1000mA

● Main Machine Size: 160 * 23.5mm / 6.30 * 0.93in

● Auxiliary Machine: 45 * 15mm / 1.77 * 0.59in

robcret avatar Apr 16 '24 23:04 robcret

Rather than the /v2.0/cloud/thing/DEVICEID/shadow/properties api call, the /v2.0/cloud/thing/DEVICEID/model api call results are more complete, showing also the list or range of possible values, and including some (Chinese language but translatable) description which can be useful sometimes to understand better.

Are you able to get that?

make-all avatar Jun 01 '24 11:06 make-all