16 lines
371 B
Python
Raw Normal View History

2025-09-25 10:52:52 +08:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
async def boot():
"""脚本启动函数"""
2025-10-01 15:20:55 +08:00
VWED.device.register_and_run(
device_ids=["SIM-1"],
device_type="vehicle",
brand_name="huarui",
command_type="state",
handler=vda5050_vehicle_handler
)
def vda5050_vehicle_handler(message):
# print(message, "=====================")
pass
2025-09-29 09:35:08 +08:00