Closed BertoTavira closed 3 years ago
Getting error: undefined in Homebridge log, even when all seems to work well
To not to have errors in log, like when I used this old plugin
All seems to work but get an error: undefined every time it requests any status
{ "name": "Aspiradora", "model": "Roomba 671", "blid": "xxx", "robotpwd": "xxx", "ipaddress": "192.168.31.65", "autoRefreshEnabled": true, "keepAliveEnabled": false, "dockContactSensor": false, "binContactSensor": true, "cacheTTL": 1800, "_bridge": { "username": "0E:DE:AD:47:63:A7", "port": 46389 }, "accessory": "Roomba2" },
[01/03/2021, 14:08:33] [Aspiradora] Received status: {"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0} -- error: undefined [01/03/2021, 14:08:33] [Aspiradora] Battery status requested [01/03/2021, 14:08:33] [Aspiradora] Battery level requested [01/03/2021, 14:08:33] [Aspiradora] Charging status requested [01/03/2021, 14:08:33] [Aspiradora] Bin status requested [01/03/2021, 14:08:33] [Aspiradora] Running status requested [01/03/2021, 14:08:33] [Aspiradora] Received status: {"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0} -- error: undefined [01/03/2021, 14:08:33] [Aspiradora] Battery status requested [01/03/2021, 14:08:33] [Aspiradora] Battery level requested [01/03/2021, 14:08:33] [Aspiradora] Charging status requested [01/03/2021, 14:08:33] [Aspiradora] Bin status requested [01/03/2021, 14:08:35] [webostv] [LG TV] Connecting to TV [01/03/2021, 14:08:38] [Aspiradora] Running status requested [01/03/2021, 14:08:38] [Aspiradora] Received status: {"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":false,"binStatus":0} -- error: undefined [01/03/2021, 14:08:38] [Aspiradora] Battery status requested [01/03/2021, 14:08:38] [Aspiradora] Battery level requested [01/03/2021, 14:08:38] [Aspiradora] Charging status requested [01/03/2021, 14:08:38] [Aspiradora] Bin status requested
@BertoTavira This was resolved in #50
Getting error: undefined in Homebridge log, even when all seems to work well
Expected Behavior
To not to have errors in log, like when I used this old plugin
Current Behavior
All seems to work but get an error: undefined every time it requests any status
Versions
Configuration
Homebridge Log / Command Output