mrbeam / beamos Goto Github PK
View Code? Open in Web Editor NEWAn OctoPi fork that includes all the Mr Beam special sauce.
License: GNU General Public License v3.0
An OctoPi fork that includes all the Mr Beam special sauce.
License: GNU General Public License v3.0
it looks like there is a error in the software_update_information.py
2021-04-20 11:11:03,276 - octoprint.plugins.findmymrbeam - INFO - FindMyMrBeam registration: OK - ip4_status: 200, public_ip: 212.114.227.216, ip6_status: 200, public_ip6: 2001:a61:58a:9001:ba27:ebff:fe88:95ff, hostname: MrBeam-5595, local_ips: 192.168.100.193, netconnectd_state: {'ap': False, 'wifi': True, 'wired': False}, internal_modes: []
2021-04-20 11:11:03,280 - octoprint.plugins.softwareupdate - ERROR - Error while retrieving update information from plugin mrbeam
Traceback (most recent call last):
File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate/__init__.py", line 111, in _get_configured_checks
hook_checks = hook()
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_mrbeam/__init__.py", line 2544, in get_update_information
return get_update_information(self)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_mrbeam/util/log.py", line 83, in wrapped
ret = f(*a, **kw)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_mrbeam/software_update_information.py", line 57, in get_update_information
_set_info_netconnectd_daemon(plugin, tier, beamos_date),
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_mrbeam/software_update_information.py", line 193, in _set_info_netconnectd_daemon
version = get_version_of_pip_module(package_name, pip_command)
NameError: global name 'package_name' is not defined
2021-04-20 11:11:03,291 - octoprint.plugins.softwareupdate - WARNING - Unknown update check type for target netconnectd: <n/a>
mrb_check -c config_file
Failed to refresh the list of images.
Please check your connection to the device.
2021-04-01 15:35:02,295 - octoprint.plugins.mrbeam.printing.comm_acc2 - ERROR - ERROR flashing GRBL 'grbl_0.9g_20190327_d2868b9.hex': FAILED (See Avrdude output above for details.):
Traceback (most recent call last):
File "/usr/bin/autoreset", line 4, in <module>
import smbus as smbus
ImportError: No module named smbus
Last observed with DEV-2021-04-21 on Mr Beam DC (Raspi 3b)
In fact it went off two times now...
Not sure if it's only the first boot though.
Create the devpi.mr-beam.org
server and have it contain all of the necessary wheels.
Auto change the hostname of the device if explicited in /etc/mrbeam, and do it before shutdown.
Also
OP does not automatically connect to GRBL
The current netconnectd version shipped on the image only has the "MrBeam-AP" ssid, making it difficult to know which machine we connected to.
The device with the RPI3B+ shuts down immedeatly after releasing the power button
I assume its's the reboot timing issue.
2021-04-15 14:01:30,218 - netconnectd.server - INFO - Waiting for connection on socket...
2021-04-15 14:01:30,619 - netconnectd.server - INFO - Recv: b'{"config_wifi":{'
2021-04-15 14:01:30,620 - netconnectd.server - INFO - Recv: b'"psk":"wififlitz' <--- pt 1
2021-04-15 14:01:30,621 - netconnectd.server - INFO - Recv: b't!1","force":fal' < --- pt 2
2021-04-15 14:01:30,621 - netconnectd.server - INFO - Recv: b'se,"ssid":"Olymp'
2021-04-15 14:01:30,622 - netconnectd.server - INFO - Recv: b'iaFunk"}}\x00'
Every Usb stick that provides the software update module must discriminate towards the octopi
key in /etc/mrbeam
and provide the correct update in these cases.
beamOS
with lowercase bMr Beam GmbH
by Mr Beam Lasers GmbH
2T
)Local IPs
and list all (external) local IPsnice ascii art btw ;-)
Perhaps they can be mounted to the image when building.
https://lab.github.com/githubtraining/github-actions:-publish-to-github-packages
https://docs.github.com/en/packages/guides/using-github-packages-with-github-actions
The Software update manager runs the updates with a simple pip install -U <package>
command.
The ~/.pip/pip.conf
file would only be added after the update ran.
Can the setup.py
be changed to point to a separate server for the update? Keep in mind that the devices only have pip version 9.0 ...
See download_url
option for setuptools
SP : 15/8
oprint2 (py2)
oprint3 (py3)
packages
avr_dude
LED strips server
mrb_hw_info
Fix systemd unit files
mrbeam-2X
mrbeam-dev
The idea:
Contents:
/boot/config.txt
einfügen: dtparam=spi=on
(SPI Treiber laden für LEDs spreading)we need to define when this is set.
alias ..="cd .."
alias ...="cd ../.."
alias ll="ls -l"
alias l="ls -al"
fine tune the new image
bash history:
i2cdetect -y 1
vcgencmd measure_temp
sudo reboot now
aliases:
data on login screen
If the device series is given in /etc/mrbeam (e.g. 2T), then generate the appropriate serial number (e.g. 00000000XXXXXXXX-2T) on first boot.
pi@MrBeam-57AA:~\> netconnectcli
Traceback (most recent call last):
File "/usr/bin/netconnectcli", line 33, in <module>
sys.exit(load_entry_point('netconnectd===0.1.0-dev-80-g4fc7d2b', 'console_scripts', 'netconnectcli')())
File "/usr/local/netconnectd/venv/lib/python3.7/site-packages/netconnectd/client.py", line 185, in client
args.func(config["socket"], args)
AttributeError: 'Namespace' object has no attribute 'func'
Can't be sure atm since I can't ssh into current image. but I do not get any reaction if I plug in one of our usb sticks (tested with support stick)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.