Closed ouinouin closed 3 months ago
could the problem with the command motorMIS be because of a difference of variable name between the header and the cpp file ? : OneToSixteen in onse side oneToSixteen on the other side (moreover the naming is quite wrong since drv 8825 can do microsteppings up to 1/32. :-)
Will change since it is not align. Tbh idk if this will solve.
Did the change https://github.com/arendst/Tasmota/commit/50979c328c11e48bbbd9b2abaa814843d448f281 solves the issue?
@Jason2866 : i m not yet around my system, i ll give a try witin 2 weeks and post the outcome.
Did the change 50979c3 solves the issue?
after getting external help, i could see that : motorMIS command response depends from the connection of all 3 pins to drive the microstep settings on the template, if you connect only one or two, this doesnt work.
for the motor command, there is no answer programmed,feedback i was misinterpretating the way tasmota cuts the commands between a prefix and a suffix, and was thinking that the prefix had to always be a valid command.
so finally not really a bug maybe just mising details in doc, i ll close it.
PROBLEM DESCRIPTION
Motor commands doesnt give feedback while called without argument when stepper motor is confgured MotorMIS commmand not working ?
REQUESTED INFORMATION
Backlog Template; Module; GPIO 255
:11:57:11.774 RSL: RESULT = {"NAME":"ESP32-DevKit","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1} 11:57:11.987 RSL: RESULT = {"Module":{"1":"ESP32-DevKit"}} 11:57:12.246 RSL: RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"0":"None"},"GPIO5":{"0":"None"},"GPIO6":{"0":"None"},"GPIO7":{"0":"None"},"GPIO8":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO11":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"0":"None"},"GPIO14":{"0":"None"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"},"GPIO18":{"0":"None"},"GPIO19":{"3744":"A4988 STP"},"GPIO20":{"0":"None"},"GPIO21":{"0":"None"},"GPIO22":{"3776":"A4988 ENA"},"GPIO23":{"3712":"A4988 DIR"},"GPIO24":{"0":"None"},"GPIO25":{"0":"None"},"GPIO26":{"0":"None"},"GPIO27":{"0":"None"},"GPIO32":{"0":"None"},"GPIO33":{"0":"None"},"GPIO34":{"0":"None"},"GPIO35":{"0":"None"},"GPIO36":{"0":"None"},"GPIO37":{"0":"None"},"GPIO38":{"0":"None"},"GPIO39":{"0":"None"}}
Status 0
:TO REPRODUCE
Steps to reproduce the behavior: issue some of the motor commands without argument, unlike many if not all commands in tasmota, this doesnt gives back the actual value (letting user think something is wrong)
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen. have a feedback of the actual set value while issuing the command without argument.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here. on my experiments, i wasnt able to do anything with the motorMIS command, , returning error with or without arguments.
(Please, remember to close the issue when the problem has been addressed)