Giter VIP home page Giter VIP logo

bambusource2raw's People

Contributors

hisptoot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bambusource2raw's Issues

Not sure how to get started

This is exactly the project i've been looking for but i'm struggling to get setup.

In portainer I try to build the image using the dockerfile but get this message. Any ideas?

Step 5/13 : WORKDIR /bambu-bin



 ---> Using cache

 ---> c83892d060a7

Step 6/13 : COPY bambusource2raw /bambu-bin/bambusource2raw



COPY failed: file not found in build context or excluded by .dockerignore: stat bambusource2raw: file does not exist

Error trying to get device id.

Get dev id and access code of the machine
./bambusource2raw list_dev -u <account_name> -p -r <region: us cn>

I'm using my email address - maybe it needs something else?

Output is:

by hisptoot 2022.12.26
user_name: REDACTED
passwd specified by user
region: us
getting token by login
getting user_id by token
curl_easy_perform() failed: Failed writing received data to disk/application
failed get_user_id
{"tfaKey":""}

Does not recover after power off and on of the P1P

Thanks for this project! I was able to get it running on Gentoo Linux.

Could you maybe enhance it so that it recovers automatically after the P1P was powered down for a while and was started again?

At the moment, I have to do it manually by pressing CTRL-C and starting it again.

Errors when trying to connect to a P1P

I have everything working properly with 2 X1Cs and now I'm trying to get this working on my P1P with firmware version 01.02.02.00. I'm following all directions from the README but unfortunately bambusource2raw is returning errors when trying to connect to the printer.

wait for 5 seconds
starting bambusource2raw
ffmpeg version 5.1.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
by hisptoot 2022.12.26
p1p ip: <x.x.x.x>
access code specified by user
getting user info by BambuNetworkEngine.conf
region: eu user_id: <xxxxxxxxxx> dev_id: <xxxxxxxxxxxxxx>
Starting Session
[1] [BambuTunnelLocal::open] host=<x.x.x.x> port=6000
[1] [BambuTunnelTutk::read]  [-104]
[1] [BambuTunnel::read_sample] error [-104]
[1] [BambuTunnel::read_sample] error [1]
[1] [BambuTunnel::read_sample] error [1]
[1] [BambuTunnel::read_sample] error [1]
[1] [BambuTunnel::read_sample] error [1]
[1] [BambuTunnel::read_sample] error [1]

I have no idea what to do with this error. I just unpacked this P1P and updated the firmware to the latest version, so I can't tell whether this does work with an earlier firmware.

New version of bambulabs supports camera in lan mode

is there a plan to update the code that would support the new mode?

https://github.com/bambulab/BambuStudio/releases/tag/v01.07.00.53

Liveview in LAN only mode (X1) https://github.com/bambulab/BambuStudio/issues/1372 We have received multiple requests from our customers in regard to having liveview available in LAN only mode. The latest firmware for X1 series combined with the latest version of Bambu Studio introduces support for accessing the video from the printer locally, without requiring an internet connection. Please note that when the printer is set in LAN only mode, you will not have access to the liveview stream from Bambu Handy. Please update the printer firmware to V01.06 as well.

munmap_chunk(): invalid pointer

Trying to generate the cfg and I get this error, any idea?

root@5151c851e8b2:/bambu-bin# ./bambusource2raw gen_cfg -u [email protected] -p xxxxx-r eu -d xxxxx
by hisptoot 2022.12.26
user_name: xxxxx
passwd specified by user
region: eu
dev_id: xxxxx
getting token by login
getting user_id by token
user_id: xxxxx
region: eu user_id: xxxxx dev_id: xxxxx
munmap_chunk(): invalid pointer
Aborted (core dumped)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.