Replies: 2 comments 4 replies
-
Are you using getStatus?
Here is a working example I am using in a batch script:
FOR /F "delims=" %%A IN ('xidel.exe
http://192.168.7.121:8080/api/v1/status/getStatus -e
"sendDuration:=($json).sendDuration" -e
"sendRemainingDuration:=($json).sendRemainingDuration" -e
"workCoordX:=round(($json).workCoord.x,3)" -e
"workCoordY:=round(($json).workCoord.y,3)" -e
"workCoordZ:=round(($json).workCoord.z,3)" -e "state:=($json).state"
--output-format=cmd') DO %%A
Thanks,
…-Chris
On Tue, Jul 11, 2023 at 5:06 AM Turner66 ***@***.***> wrote:
Hello,
I am trying to use the Pendant UI v1 API to retrieve the current machine
status, but I am receiving a 404 error when attempting to access the
/api/v1/machine/status endpoint. I have confirmed that the Pendant UI API
is running on the specified server and port, and I am able to access the
main API page, but all other endpoints, such as the machine status
endpoint, are returning a 404 error. I am unable to find any documentation
for this specific API. Can you please provide some guidance on how to use
this API and resolve this issue?
Thank you.
—
Reply to this email directly, view it on GitHub
<#2250>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKYAC2UAL2MN6VGDVWK4LTLXPU6U5ANCNFSM6AAAAAA2F44W4A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Turner66
-
I don't but I originally trolled through this code, which serves as a
pretty clean example (starting at about line 143):
https://github.com/aleslukek/UGS-Wifi-Pendant/blob/master/UGS_Wifi_Pendant/d_presetup.ino
Thanks,
…-Chris
On Fri, Jul 14, 2023 at 4:52 AM Turner66 ***@***.***> wrote:
@chrisla23 <https://github.com/chrisla23> Thank you very much. Do you
have a collection of API calls that you could share. I would save a lot of
time and nerves.Love greetings.
—
Reply to this email directly, view it on GitHub
<#2250 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKYAC2RU3UEJ4CSMAKRGBC3XQECFDANCNFSM6AAAAAA2F44W4A>
.
You are receiving this because you were mentioned.Message ID:
<winder/Universal-G-Code-Sender/repo-discussions/2250/comments/6447636@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to use the Pendant UI v1 API to retrieve the current machine status, but I am receiving a 404 error when attempting to access the
/api/v1/machine/status
endpoint. I have confirmed that the Pendant UI API is running on the specified server and port, and I am able to access the main API page, but all other endpoints, such as the machine status endpoint, are returning a 404 error. I am unable to find any documentation for this specific API. Can you please provide some guidance on how to use this API and resolve this issue?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions