OctoPrint-TuyaSmartplug
OctoPrint-TuyaSmartplug copied to clipboard
DEBUG: Something went wrong while running the command
The plugin used to work for me until recently. Does anyone know what the issue is here regarding the command in the log?
Debug Logging Generated: [2022-12-11 04:25:58,170] DEBUG: Checking status of Smart Switch. [2022-12-11 04:25:58,172] DEBUG: Sending command: info to Smart Switch [2022-12-11 04:25:59,334] DEBUG: Something went wrong while running the command [2022-12-11 04:28:20,678] DEBUG: Checking status of Smart Switch. [2022-12-11 04:28:20,679] DEBUG: Sending command: info to Smart Switch [2022-12-11 04:28:20,854] DEBUG: Something went wrong while running the command [2022-12-11 04:29:37,332] DEBUG: Checking status of Smart Switch. [2022-12-11 04:29:37,333] DEBUG: Sending command: info to Smart Switch [2022-12-11 04:29:38,573] DEBUG: Something went wrong while running the command [2022-12-11 04:29:41,078] DEBUG: Checking status of Smart Switch. [2022-12-11 04:29:41,078] DEBUG: Sending command: info to Smart Switch [2022-12-11 04:29:41,235] DEBUG: Something went wrong while running the command [2022-12-11 04:29:43,676] DEBUG: Checking status of Smart Switch. [2022-12-11 04:29:43,676] DEBUG: Sending command: info to Smart Switch [2022-12-11 04:29:44,930] DEBUG: Something went wrong while running the command
Which hardware and os are you running octoprint on?
The file you posted was blank.
Any update on this issue?
Can you log into octopi cli and run python --version and paste the results?
Can you log into octopi cli and run python --version and paste the results?
Inn your systeminfo.txt is says python version 3.7.3. I am guessing you are running octoprint in the venv and it is running python 3.7.3. Try running python3 --version. Either way if you are on python 3.7.3 then the plugin should work fine. Did anything change between it working and not working?
What command are you using in octoprint (M81 ip_address)? Is the ip address correct for the plug? Is use version 3.3 checked in the plugin for the plug?
Inn your systeminfo.txt is says python version 3.7.3. I am guessing you are running octoprint in the venv and it is running python 3.7.3. Try running python3 --version. Either way if you are on python 3.7.3 then the plugin should work fine. Did anything change between it working and not working?
Is on Python 3.7.3. I do not think I change anything before it was working. I am running on a normal raspberry pi only (not sure what is venv). Could it be anything to do with Tuya backend side regarding the keys and ID?
M81 command for my printer stated. It should be on its default setting, I didnt change anything for this command
My printer is still ON after running M81. My IP is correct cause I am using my Asus router to check the IP for each device. Version 3.3 is checked on the Smart Switch Tuya plugin configuration.
Is it working for your printer now ? Or do you encounter any issue.
Any update on this issue @swilsonnc ?
Have you tried using the smart life app adding your plug and turning it off and on there. That will at least let you know it works.Scott
Get Outlook for iOS
From: wongzhiwei98 @.>Sent: Monday, February 20, 2023 8:53 PMTo: ziirish/OctoPrint-TuyaSmartplug @.>Cc: swilsonnc @.>; Mention @.>Subject: Re: [ziirish/OctoPrint-TuyaSmartplug] DEBUG: Something went wrong while running the command (Issue #46) Any update on this issue @swilsonnc ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Yes, I have tested with the smart life apps and the switch work normally without issue.
For anyone else that sees this, do you guys have the same issue? If so, could you comment below? Thanks
Can you post a screenshot of your settings in octoprint?
Get Outlook for iOS
From: wongzhiwei98 @.>Sent: Wednesday, February 22, 2023 8:21 PMTo: ziirish/OctoPrint-TuyaSmartplug @.>Cc: swilsonnc @.>; Mention @.>Subject: Re: [ziirish/OctoPrint-TuyaSmartplug] DEBUG: Something went wrong while running the command (Issue #46)
Yes, I have tested with the smart life apps and the switch work normally without issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Can you post a screenshot of your settings in octoprint? Get Outlook for iOS From: wongzhiwei98 @.>Sent: Wednesday, February 22, 2023 8:21 PMTo: ziirish/OctoPrint-TuyaSmartplug @.>Cc: swilsonnc @.>; Mention @.>Subject: Re: [ziirish/OctoPrint-TuyaSmartplug] DEBUG: Something went wrong while running the command (Issue #46) Yes, I have tested with the smart life apps and the switch work normally without issue. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>