mirror of
https://github.com/Sthopeless/74757961.git
synced 2025-04-04 15:33:38 +02:00
Add files via upload
This commit is contained in:
parent
f7ef80795c
commit
d2e134ac6d
64
env.py
Normal file
64
env.py
Normal file
@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# online
|
||||
ACCESS_ID = ""
|
||||
ACCESS_KEY = ""
|
||||
## Mobile APP
|
||||
USERNAME = ""
|
||||
PASSWORD = ""
|
||||
COUNTRY_CODE = "31"
|
||||
SCHEMA = "smartlife"
|
||||
ASSET_ID = ""
|
||||
DEVICE_ID = ""
|
||||
ENDPOINT = "https://openapi.tuyaeu.com"
|
||||
|
||||
TUYA_UID = ""
|
||||
### Devices UUID
|
||||
ZIGBEE_LOCK = ""
|
||||
WIFI_LOCK = ""
|
||||
BECK_LOCK = ""
|
||||
WIFI_SCALE = ""
|
||||
LOCKPINCODE = "123456"
|
||||
|
||||
### MQTT Broker
|
||||
MQTT_BROKER = ''
|
||||
MQTT_PORT = 1883
|
||||
MQTT_CLIENT_ID = 'TuyaLock'
|
||||
MQTT_USERNAME = ''
|
||||
MQTT_PASSWORD = ''
|
||||
MQTT_TOPIC = 'TuyaLock'
|
||||
|
||||
MQTT_ZIGBEELOCK_TOPIC = "Doorlock"
|
||||
MQTT_WIFI_SCALE_TOPIC = "WiFi_Scale"
|
||||
|
||||
MQTT_TOPIC_CMD = "cmd"
|
||||
MQTT_TOPIC_LWT = "lwt"
|
||||
MQTT_TOPIC_STATUS = "status"
|
||||
|
||||
### HA Autodiscovery MQTT-Topics
|
||||
HA_DISCOVERY = "false"
|
||||
HA_DISCOVERY_TOPIC = ""
|
||||
HA_DISCOVERY_MSG = ''
|
||||
|
||||
### WiFi Scale Users_ID
|
||||
SCALE_USER_ID = ''
|
||||
|
||||
expired_token = "token is expired"
|
||||
DOORLOCK_TOPIC = MQTT_TOPIC + "/" + MQTT_ZIGBEELOCK_TOPIC
|
||||
DOORLOCK_TOPIC_CMD = DOORLOCK_TOPIC + "/" + MQTT_TOPIC_CMD
|
||||
DOORLOCK_TOPIC_STATUS = DOORLOCK_TOPIC + "/" + MQTT_TOPIC_STATUS
|
||||
WIFI_SCALE_TOPIC = MQTT_TOPIC + "/" + MQTT_WIFI_SCALE_TOPIC
|
||||
WIFI_SCALE_TOPIC_CMD = WIFI_SCALE_TOPIC + "/" + MQTT_TOPIC_CMD
|
||||
WIFI_SCALE_TOPIC_STATUS = WIFI_SCALE_TOPIC + "/" + MQTT_TOPIC_STATUS
|
||||
WIFI_SCALE_TOPIC_LWT = WIFI_SCALE_TOPIC + "/" + MQTT_TOPIC_LWT
|
||||
BLOCK_SIZE = 16
|
||||
PAGE_NO = '1'
|
||||
PAGE_SIZE = '999'
|
||||
FAKE_HEIGHT = '180'
|
||||
FAKE_WEIGHT = '666'
|
||||
FAKE_AGE = '35'
|
||||
FAKE_SEX = '1'
|
||||
FAKE_RESISTANCE = '683'
|
||||
MQTT_KEEP_ALIE_INTERVAL = 60
|
||||
TUYA_IMG_URL = "https://images.tuyacn.com/smart/"
|
||||
TUYA_OLD_IMG_URL = "smart/"
|
Loading…
x
Reference in New Issue
Block a user