Giter VIP home page Giter VIP logo

Comments (12)

vitormhenrique avatar vitormhenrique commented on May 18, 2024 1

It should be implemented now. Please let me know if it works so I can close this.

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024 1

You should use GetTemperature1820.py instead of GetTemperature.py.
Manually copy the script on "~/.octoprint/plugins/OctoPrint-Enclosure/extras/" or any other place.

Make it executable
chmod +x ~/.octoprint/plugins/OctoPrint-Enclosure/extras/GetTemperature1820.py
Also the script is waiting for a argument, type
~/.octoprint/plugins/OctoPrint-Enclosure/extras/GetTemperature1820.py 1820

And see if the terminal print the temperature. Also please get the my updates from yesterday.

from octoprint-enclosure.

DomLuu avatar DomLuu commented on May 18, 2024 1

Hallo Dominik

gehe davon aus du sprichst auch Deutsch (wegen deinem Nick). Ich habe Vitor gebeten den DS1820 zu implementieren, da ich mein eigenes Script dazu nicht eingebunden bekommen habe. Vitor hat entsprechend gleich alles in sein Plugin implementiert. Ich würde dir folgendes Vorgehen vorschlagen:

  1. Enclosure Plugin über Octopi zu deinstallieren.
  2. den Ordnerpfad per Console manuell zu erstellen: (mkdir ...) /.octoprint/plugins/OctoPrint-Enclosure/extras
  3. alle 3 Get..py Files manuell reinzukopieren (https://github.com/vitormhenrique/OctoPrint-Enclosure/tree/master/extras)
  4. alle Files ausführbar machen: chmod +x ~/.octoprint/plugins/OctoPrint-Enclosure/extras/GetTemperature1820.py
  5. wiringPi installieren (falls noch nicht vorhanden) / Achtung bei mir hat es einen zusätzlichen Eintrag in der /etc/rc.local benötigt (da muss ganz unten noch "dtoverlay=w1-gpio" rein
  6. Plugin NEU installieren
  7. Die Enclosure PluginSettings entsprechend anpassen

Funktioniert dein Sensor grundsätzlich? --> http://tutorials-raspberrypi.de/raspberry-pi-temperatur-mittels-sensor-messen/

Grüsse Dominik

from octoprint-enclosure.

wiesel24 avatar wiesel24 commented on May 18, 2024

Hi,
Wow, thank you for your afford! I tried it but it didn't work. I edited the GetTemperature.py script to take a look and the correct ID of my DS18B20 sensor is in it. Sorry for not understanding the code, but it have a .py script that works and the temperature is displayed. So the temperature sensor is correctly installed. I don't get any output if I ran your script. I think that's the problem.

And sorry for begging, but it is also possible to address a second Fan in the Plugin?

Maybe you will find a solution.

Thank you!

Regards
Dominik

from octoprint-enclosure.

wiesel24 avatar wiesel24 commented on May 18, 2024

Hi Vitor, Hallo Dominik :-)

@vitor
Thank you everything worked perfect after your and dominik's advices!!! I don't want to be nervy but maybe if you got time some day maybe there is the possibility to add a second fan option to this superb plugin. I know you're doing this in your free time! Thank you for everything Vitor!

@dominik
Danke deiner tollen Anleitung habe ich es endlich hinbekommen. Lustig das du auch zufällig Dominik heißt ;-)
Vielleicht kann Vitor ja wirklich irgendwann einen 2 Fan dazu basteln im Interface.
Danke nochmals!

BG
Dominik

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024

I'm current working on an alternative to OctopiPanel. After I finish that I can implement the second fan. You should be able to implement that fairly easily using my current code.

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024

Dominik,
Just to let you know that I updated the code to enable control of 4 generic IO on rPi. You can now control up to 4 different things using the plugin.

from octoprint-enclosure.

DomLuu avatar DomLuu commented on May 18, 2024

from octoprint-enclosure.

DomLuu avatar DomLuu commented on May 18, 2024

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024

I added the functionality to disable the IO when print is complete, you can also configure a delay if you want.
There is also a new functionality, a filament sensor, it will pause your print if you run out of filament.

from octoprint-enclosure.

DomLuu avatar DomLuu commented on May 18, 2024

from octoprint-enclosure.

Related Issues (20)

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.