Comments (12)
It should be implemented now. Please let me know if it works so I can close this.
from octoprint-enclosure.
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.
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:
- Enclosure Plugin über Octopi zu deinstallieren.
- den Ordnerpfad per Console manuell zu erstellen: (mkdir ...) /.octoprint/plugins/OctoPrint-Enclosure/extras
- alle 3 Get..py Files manuell reinzukopieren (https://github.com/vitormhenrique/OctoPrint-Enclosure/tree/master/extras)
- alle Files ausführbar machen: chmod +x ~/.octoprint/plugins/OctoPrint-Enclosure/extras/GetTemperature1820.py
- 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
- Plugin NEU installieren
- 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.
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.
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.
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.
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.
from octoprint-enclosure.
from octoprint-enclosure.
from octoprint-enclosure.
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.
from octoprint-enclosure.
Related Issues (20)
- PWM Duty cycle not correct HOT 1
- Control a 12v LED Strip with the software HOT 8
- Plugin suddenly stopped working with "You must setup() the GPIO channel first
- gcode in Cura dont work HOT 1
- Outputs not working after intialy working HOT 1
- Wait for second temperature value before toggling outputs
- Regular IOs don't toggle when plugin "Smart-Filament-Sensor" is enabled HOT 1
- DS18B20 Sensor - Not getting readings in dashboard HOT 1
- Support for sub-plugins, probably in V2
- Inputs randomly triggering
- Can only turn on light and psu. Not off HOT 1
- Analog temperature sensor HOT 1
- DHT22 Temp sensor on Pi 4 HOT 3
- Pi 4 DHT 22 Not working HOT 3
- Switch control via Terminal
- Issue calling a script
- OctoLight worked for me but this fails HOT 1
- actif low gpio
- Turn On a LED at the end of the print session
- installation issue HOT 2
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 octoprint-enclosure.