Comments (16)
Please attach moonraker.log. Its possible that you are using a pin that is reserved by another program (sysfs, or possibly Klipper itself). Moonraker must be able to gain exclusive control over the pin.
from moonraker.
Thanks for your reply.
Herewith log file for moonraker
Thanks
Please attach moonraker.log. Its possible that you are using a pin that is reserved by another program (sysfs, or possibly Klipper itself). Moonraker must be able to gain exclusive control over the pin.
from moonraker.
Thanks. Unfortunately the log file does not contain your attempt to configure with the [power] item enabled, so I am unable to determine what caused it to fail. You'll need to reproduce the error, then get the log without rebooting the Pi as a reboot deletes everything in the /tmp
directory.
Just to verify, you aren't trying to use the Pi's gpio17 in Klipper are you?
from moonraker.
I dont know whether I did reproduce the correctly but this the log I got before I reboot it.
Regarding to GPIO 17, yes, I intend to use that pin, the same pin I use when I use octoprint before moved to fluidd.
Any concern? I dont mind to change to other pin if needed.
thanks so much
Thanks. Unfortunately the log file does not contain your attempt to configure with the [power] item enabled, so I am unable to determine what caused it to fail. You'll need to reproduce the error, then get the log without rebooting the Pi as a reboot deletes everything in the
/tmp
directory.Just to verify, you aren't trying to use the Pi's gpio17 in Klipper are you?
from moonraker.
Unfortunately the [power] plugin is not configured in that log either. You will need to add the [power printer] section to mooraker.conf, restart moonraker, then grab the log before you reboot the Pi. If moonraker is unable to start you may have to use sftp to do this.
If any other application, such as Octoprint or Klipper, currently has access to gpio17 then Moonraker will be unable to acquire it, this will result in an error. You need to make sure that Klipper isn't using the pin in printer.cfg. If you would like you can also upload klippy.log as well so I can see what your klippy configuration looks like.
from moonraker.
Herewith the log files.
moonraker.log
klippy.log
btw, regarding to GPIO17. Yes, I was using it in Octopi but it on another micro SD so now only has fluidd in raspberry.
from moonraker.
Ok, you need to reinstall moonraker. This must be an older installation that never installed the gpiod module dependency.
SSH into the Pi and enter the following commands:
cd ~/moonraker
./scripts/install-moonraker.sh -r -f -c /path/to/moonraker.conf
Replace /path/to/moonraker.conf
with the actual path of where the file is located. If moonraker.conf is just in the home directory you can leave it out, ie:
./scripts/install-moonraker.sh -r -f
from moonraker.
Hi. Thanks for your response.
Just did script ./scripts/install-moonraker.sh -r -f -c /home/pi/klipper_config/moonraker.conf and installed successfully but I found that there is newer version of moonraker available found in UI setting, screenshot attached.
Everything looks good and I uncomment the power section and it freeze again.
Before I send this message, I did update moonraker and it cannot update. Only box with Repo moonraker: Updating Repo... and nothing happen.
Thanks
from moonraker.
The log is showing the power plugin has successfully loaded. With regard to the update, the log doesn't seem to include that request from Fluidd. Sometimes the "git" lock file doesn't get removed properly, however this should result in an error.
SSH into the pi and try to do a manual git pull:
cd ~/moonraker
sudo service moonraker stop
git pull
sudo service moonraker start
If you get an error saying that index.lock
exists, you may need to manually remove it:
rm -f ~/moonraker/.git/index.lock
Then you should be able to pull and restart the service.
from moonraker.
Hi. Thanks so much.
Work very well now and even better you add tab in dashboard to toggle on and off.
Very great work. Appreciate it
from moonraker.
was setting up my printer today with a new version of fluiddpi - and looks like the version of moonraker bundled with fluiddpi doesn't have the power features, not sure why...
from moonraker.
I have just started with fluiddpi. I had to update Moonraker, but after that Moonraker starts fine with the [power printer] section. However, nothing appears in Fluidd. (sorry, perhaps I ought to report this in the Fluidd rep, but it seems same topics as this issue).
edit: I hadn't read the log properly, I do have an error; I try the pull...
from moonraker.
cd ~/moonraker ./scripts/install-moonraker.sh -r -f -c /path/to/moonraker.conf
ok, the pull was up to date, but the install script fixed it. Sorry I didn't read before writing...
there seems to be some problem with the current fluiddpi and the update process, that causes the manual install to be needed.
from moonraker.
Thanks @SmoothieAq for the update.
@dushyantahuja It sounds like fluiddpi was built against an older version of moonraker. Its possible that it didn't have the necessary dependencies required to load the power module (specifically it needs gpiod). I would recommend trying the re-install as mentioned above. Remember to put the actual path to moonraker.conf for the -c option. I'm guessing it is at /home/pi/klipper_config/moonraker.conf
, but you will want to check your file system to be sure.
from moonraker.
Yes it is /home/pi/klipper_config/moonraker.conf
And you can not use a relative path ;-)
from moonraker.
from moonraker.
Related Issues (20)
- Ensure time is synced before refreshing the update manager status. HOT 1
- Device Power on mqtt zigbee2mqtt payload HOT 7
- Power locked_while_printing: True asserting at startup when not printing HOT 5
- Cannot Retrieve File Metadata for Spoolman HOT 10
- Spoolman Proxy: Include total count header in response
- How to add Authenticator HOT 2
- unable get printer info from moonraker HOT 5
- Gcode-shell-command Error: Failed to restart KlipperScreen.service: Interactive authentication required. HOT 2
- Can the file manager API also return a hash? HOT 7
- Fluidd Moonraker connection to elegoo Neptune 4+ on MAC failed (Force Refresh) HOT 5
- Add Flatpack
- Apprise update. HOT 2
- Add option to power off a power device when operating system shutdown. HOT 2
- Non working links for ids.
- Power device: add option to run custom gcode on on/off action
- [database.py:insert_item()] - Error inserting key 'instance_id' in namespace 'moonraker' HOT 5
- Login fails after upgrade HOT 9
- Missing Documentation for altering the instance_uuid HOT 3
- Add filament Iād to print history
- Mainsail cannot connect to Moonraker (connection Failed) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonraker.