Fix clientId: use MA_001 instead of 001
This enables WellNuo voice_ask API to return real sensor data about Ferdinand (deployment_id=21) instead of generic responses. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
dcdd06739d
commit
321cd721ac
@ -57,7 +57,7 @@ class WellNuoLLM(llm.LLM):
|
|||||||
nonce = str(random.randint(0, 999999))
|
nonce = str(random.randint(0, 999999))
|
||||||
data = {
|
data = {
|
||||||
"function": "credentials",
|
"function": "credentials",
|
||||||
"clientId": "001",
|
"clientId": "MA_001",
|
||||||
"user_name": WELLNUO_USER,
|
"user_name": WELLNUO_USER,
|
||||||
"ps": WELLNUO_PASSWORD,
|
"ps": WELLNUO_PASSWORD,
|
||||||
"nonce": nonce,
|
"nonce": nonce,
|
||||||
@ -85,7 +85,7 @@ class WellNuoLLM(llm.LLM):
|
|||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
data = {
|
data = {
|
||||||
"function": "voice_ask",
|
"function": "voice_ask",
|
||||||
"clientId": "001",
|
"clientId": "MA_001",
|
||||||
"user_name": WELLNUO_USER,
|
"user_name": WELLNUO_USER,
|
||||||
"token": token,
|
"token": token,
|
||||||
"question": user_message,
|
"question": user_message,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user