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
Response from status request on a plug mini device (both us and JP) gives an electric current value over 500 times higher than it should be (in amps).
Expected Behavior
GET status of Plug mini device.
Receive response with accurate electric current value.
Steps To Reproduce
GET status of Plug mini device.
Receive response with an electric current value ~500 times that expected.
Logs
Following is an example response from a plug that is powering my dryer:
{
"statusCode": 100,
"body": {
"version": "V1.8-1.8",
"power": "on",
"voltage": 103.1,
"weight": 1.2,
"electricityOfDay": 119,
"electricCurrent": 51,
"deviceId": "redacted",
"deviceType": "Plug Mini (JP)",
"hubDeviceId": "redacted"
},
"message": "success"
}
103.1V * 51A = 5.3kW
My device is off. According to the SwitchBot app, it's currently using 102.8V at 0.1A so that should be 10.28W.
lostllama
changed the title
Plug Mini Status electric current off by factor of 10
Plug Mini Status electric current off by factor of ~500 ?
Dec 18, 2024
Analysis
Response from status request on a plug mini device (both us and JP) gives an electric current value over 500 times higher than it should be (in amps).
Expected Behavior
GET status of Plug mini device.
Receive response with accurate electric current value.
Steps To Reproduce
GET status of Plug mini device.
Receive response with an electric current value ~500 times that expected.
Logs
103.1V * 51A = 5.3kW
My device is off. According to the SwitchBot app, it's currently using 102.8V at 0.1A so that should be 10.28W.
https://api.switch-bot.com/v1.1/devices/{{device_id}}/status
The text was updated successfully, but these errors were encountered: