Other Temperature Sensors #1

Closed
opened 2016-09-30 23:56:03 +01:00 by wiesel24 · 12 comments
wiesel24 commented 2016-09-30 23:56:03 +01:00 (Migrated from github.com)

Is there any possibility to change the sensor type to DS18B20? So DHT sensors are sometimes hard to get in some countries. Would be nice if there is an easy way to change this. Also would be interesting adding a second or some more fans.

Thanks in advance
Regards
Dominik

Is there any possibility to change the sensor type to DS18B20? So DHT sensors are sometimes hard to get in some countries. Would be nice if there is an easy way to change this. Also would be interesting adding a second or some more fans. Thanks in advance Regards Dominik
vitormhenrique commented 2016-10-10 19:17:01 +01:00 (Migrated from github.com)

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

It should be implemented now. Please let me know if it works so I can close this.
wiesel24 commented 2016-10-13 07:29:14 +01:00 (Migrated from github.com)

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

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
vitormhenrique commented 2016-10-13 15:10:26 +01:00 (Migrated from github.com)

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.

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.
DomLuu commented 2016-10-13 15:20:40 +01:00 (Migrated from github.com)

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

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
wiesel24 commented 2016-10-16 14:42:37 +01:00 (Migrated from github.com)

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

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
vitormhenrique commented 2016-10-18 15:28:11 +01:00 (Migrated from github.com)

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.

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.
vitormhenrique commented 2016-12-10 01:46:17 +00:00 (Migrated from github.com)

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.

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.
DomLuu commented 2016-12-10 09:48:03 +00:00 (Migrated from github.com)

Hi vitor

I just finished my Enclosure last night :-)
I got without a heater 45C and so I have to control a fan for cooling.

Nice work with the new version.... I will try it!

My Enclosure:

Sent by iPhone5S

Am 10.12.2016 um 02:46 schrieb Vitor de Miranda Henrique notifications@github.com:

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.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi vitor I just finished my Enclosure last night :-) I got without a heater 45C and so I have to control a fan for cooling. Nice work with the new version.... I will try it! My Enclosure: Sent by iPhone5S > Am 10.12.2016 um 02:46 schrieb Vitor de Miranda Henrique <notifications@github.com>: > > 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. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub, or mute the thread. >
DomLuu commented 2016-12-10 17:44:04 +00:00 (Migrated from github.com)

Hi Vitor

the new version looks great…. thx

Just one thing, the old version disable the light after the print job is finish.
Is there any possibility to reactivate this „disable Light“ after Printjob?

Thx my friend…

Am 10.12.2016 um 02:46 schrieb Vitor de Miranda Henrique notifications@github.com:

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.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/1#issuecomment-266169665, or mute the thread https://github.com/notifications/unsubscribe-auth/AVwssJ3V0hZ-TNDq8P6SyGVK4tte17zUks5rGgRpgaJpZM4KLlQk.

Hi Vitor the new version looks great…. thx Just one thing, the old version disable the light after the print job is finish. Is there any possibility to reactivate this „disable Light“ after Printjob? Thx my friend… > Am 10.12.2016 um 02:46 schrieb Vitor de Miranda Henrique <notifications@github.com>: > > 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. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/1#issuecomment-266169665>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AVwssJ3V0hZ-TNDq8P6SyGVK4tte17zUks5rGgRpgaJpZM4KLlQk>. >
vitormhenrique commented 2016-12-10 18:32:48 +00:00 (Migrated from github.com)

Yeap...

I'll add a "disable this IO after job is complete " on the settings.... i'll also add a possible delay...

I'll use the plugin to shutdown the entire printer after printing.

Atenciosamente,
Vitor Henrique

On Dec 10, 2016, at 11:44 AM, DomLuu notifications@github.com wrote:

Hi Vitor

the new version looks great…. thx

Just one thing, the old version disable the light after the print job is finish.
Is there any possibility to reactivate this „disable Light“ after Printjob?

Thx my friend…

Am 10.12.2016 um 02:46 schrieb Vitor de Miranda Henrique notifications@github.com:

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.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/1#issuecomment-266169665, or mute the thread https://github.com/notifications/unsubscribe-auth/AVwssJ3V0hZ-TNDq8P6SyGVK4tte17zUks5rGgRpgaJpZM4KLlQk.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeap... I'll add a "disable this IO after job is complete " on the settings.... i'll also add a possible delay... I'll use the plugin to shutdown the entire printer after printing. Atenciosamente, Vitor Henrique > On Dec 10, 2016, at 11:44 AM, DomLuu <notifications@github.com> wrote: > > Hi Vitor > > the new version looks great…. thx > > Just one thing, the old version disable the light after the print job is finish. > Is there any possibility to reactivate this „disable Light“ after Printjob? > > > Thx my friend… > > > > Am 10.12.2016 um 02:46 schrieb Vitor de Miranda Henrique <notifications@github.com>: > > > > 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. > > > > — > > You are receiving this because you commented. > > Reply to this email directly, view it on GitHub <https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/1#issuecomment-266169665>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AVwssJ3V0hZ-TNDq8P6SyGVK4tte17zUks5rGgRpgaJpZM4KLlQk>. > > > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub, or mute the thread. >
vitormhenrique commented 2017-01-01 20:33:24 +00:00 (Migrated from github.com)

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.

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.
DomLuu commented 2017-01-01 20:52:10 +00:00 (Migrated from github.com)

wow thats great - thx soon much and a happy new year!

Am 01.01.2017 um 21:33 schrieb Vitor de Miranda Henrique notifications@github.com:

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.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/1#issuecomment-269918346, or mute the thread https://github.com/notifications/unsubscribe-auth/AVwssI9SmU5Q5ca6LYFD5JjXoQ6md-yzks5rOA2VgaJpZM4KLlQk.

wow thats great - thx soon much and a happy new year! > Am 01.01.2017 um 21:33 schrieb Vitor de Miranda Henrique <notifications@github.com>: > > 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. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub <https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/1#issuecomment-269918346>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AVwssI9SmU5Q5ca6LYFD5JjXoQ6md-yzks5rOA2VgaJpZM4KLlQk>. >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#1