Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No status #429

Open
Sle77en opened this issue May 13, 2024 · 20 comments
Open

No status #429

Sle77en opened this issue May 13, 2024 · 20 comments

Comments

@Sle77en
Copy link

Sle77en commented May 13, 2024

Hello,

i got some problems with the "status" command. Nothing happens.
Other commands are working.
I have the Latest Plugin and Octoprint Version.
Also tried to reinstall it. Same result.

@giloser
Copy link
Collaborator

giloser commented May 17, 2024

HI I made a version on my fork could you test if it helps and I'll merge the pull request to the main version?
https://github.com/giloser/OctoPrint-Telegram/archive/refs/heads/master.zip
thanks

@Sle77en
Copy link
Author

Sle77en commented May 17, 2024

Hey & thank you. I have tested it, but still the same problem...

Uploading IMG_0381.PNG…

@Sle77en
Copy link
Author

Sle77en commented May 17, 2024

IMG_0381

@giloser
Copy link
Collaborator

giloser commented May 27, 2024

HI ,

I add the new management of camera to my forks, could you please test it again?

https://github.com/giloser/OctoPrint-Telegram/archive/refs/heads/master.zip

@Sle77en
Copy link
Author

Sle77en commented May 27, 2024

Done, but still the same problem.

@giloser
Copy link
Collaborator

giloser commented May 27, 2024

could you activate the debug log and send me a log file please?

@Sle77en
Copy link
Author

Sle77en commented May 28, 2024

i activated the log in the plugin settings. But which log do you need now?

@giloser
Copy link
Collaborator

giloser commented May 28, 2024

the octoprint.log in .octoprint/logs/octoprint.log

please

@Sle77en
Copy link
Author

Sle77en commented May 28, 2024

i dont want to post this public. Can you send me your email address?

@giloser
Copy link
Collaborator

giloser commented May 28, 2024

[email protected]

@giloser
Copy link
Collaborator

giloser commented May 28, 2024

ok I see in the log that the request to send the message come back with a 400 status which means bad request... which is strange.
Looks like when we send message without image we got a return status of 200 which is what we expected.

So now we have to understand why we got a 400 status when you try to send with image.

coudl send me by email a print screen of your config of the status message?
what do you have for a camera? big résolution?

@Sle77en
Copy link
Author

Sle77en commented May 28, 2024

IMG_0415

Yep i also think its a image problem.

I use a Logitech C270 USB Webcam.

I dont know what you mean:

coudl send me by email a print screen of your config of the status message?

@giloser
Copy link
Collaborator

giloser commented May 31, 2024

Hi sorry no need for that part.

I just pushed a new commit , I add an error management to send the message without image if it doesn't go with image so you should always get the message even if there is not image.

I also add some info about the image in the log so please update, try again and send me your log once again so I can see if I found more info about why the image doesn't pass.

@Sle77en
Copy link
Author

Sle77en commented May 31, 2024

Done. But still the same problem. I just send you the log by mail.

@giloser
Copy link
Collaborator

giloser commented Jun 10, 2024

could you show me the config of the web cam you have? (the ip and port configured to take a snaphot)
and just to be sure it's working fine inside octoprint? you have the stream? and if you call the snapshot url in a browser you got an image?
thanks

@Investegate
Copy link

Bildschirmfoto 2024-06-10 um 12 20 19 Bildschirmfoto 2024-06-10 um 12 20 09

Yes the webcam works with octoprint. I can open the cam in a exrtra tab: 192.168.1.33/webcam/?action=stream

@giloser
Copy link
Collaborator

giloser commented Jun 15, 2024

ok I tried again some change even if I dont really understand why it's not working.
I fix the fact that if there is no image you should receive the message without image at least
so could you try again to update with the previous url? thanks

@Sle77en
Copy link
Author

Sle77en commented Jun 18, 2024

Done. Now i get a message but without image.

IMG_0459

@rogodra
Copy link

rogodra commented Jun 19, 2024

Hi, I have the same problem. With the update provided the /status command works, but I do not receive the image.

I use OctoPrint 1.10.2 with OctoPi 0.18.0.

I have multi-instance:

The first instance is in:
http://192.168.1.30:80/webcam/?action=stream

http://192.168.1.30:80/webcam/?action=snapshot
http://127.0.0.1:8080/?action=snapshot

Second instance:
http://192.168.1.30:81/webcam/?action=stream

http://192.168.1.30:81/webcam/?action=snapshot
http://127.0.0.1:8081/?action=snapshot

@giloser
Copy link
Collaborator

giloser commented Jan 3, 2025

Hi ,

could you try this version please?
https://github.com/giloser/OctoPrint-Telegram/archive/refs/tags/1.6.9.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants