Commit Graph

479 Commits

Author SHA1 Message Date
Vitor de Miranda Henrique
5f8bb6abe0 Merge branch 'master' into patch-1 2021-10-17 16:16:02 -05:00
Vitor de Miranda Henrique
8af8f27131 Merge pull request #404 from sschueller/master
Added Raspberry Pi CPU Temp
2021-10-17 16:13:07 -05:00
Vitor de Miranda Henrique
ab69ff7ae9 Merge pull request #439 from Dak0r/feature/shutdown_on_error 2021-10-13 21:56:25 -05:00
Stefan Schueller
b53344c057 Merge branch 'vitormhenrique-master' 2021-10-13 21:25:39 +02:00
Stefan Schueller
670d96be55 Merge branch 'master' of https://github.com/vitormhenrique/OctoPrint-Enclosure into vitormhenrique-master 2021-10-13 21:24:03 +02:00
Daniel Korgel
fc66d3a92b Fixed Line Ending in __init__.py 2021-10-13 20:39:45 +02:00
Daniel Korgel
7d40dec319 Removed debug logs 2021-10-13 20:37:37 +02:00
Daniel Korgel
262baca587 Fixed typos in settings description 2021-10-13 20:34:02 +02:00
Daniel Korgel
a6672b2907 Merge remote-tracking branch 'upstream/master' into feature/shutdown_on_error 2021-10-13 19:50:52 +02:00
Vitor de Miranda Henrique
e2817cc1b8 Merge pull request #392 from Dak0r/graph-pr-branch
Implemented temperature and humidity display in graph
2021-10-13 12:44:14 -05:00
Vitor de Miranda Henrique
9120c06587 Merge pull request #428 from unsplorer/DHT_Fix
adapt getDHTTemp.py to python3
2021-10-13 12:41:10 -05:00
Vitor de Miranda Henrique
c2b1819e22 Merge pull request #431 from pciavald/patch-1
add description to the output id argument
2021-10-13 12:38:49 -05:00
Vitor de Miranda Henrique
ac8929842c Update README.md 2021-10-13 12:38:11 -05:00
Vitor de Miranda Henrique
a4d17ae339 Merge pull request #419 from qtemp/master
Change read_raw_i2c_temp to return temp and humidity
2021-10-13 12:37:01 -05:00
Vitor de Miranda Henrique
bcde876786 Merge pull request #433 from hucker/patch-1
Update enclosure_settings.jinja2
2021-10-13 12:36:32 -05:00
Vitor de Miranda Henrique
a15863ba7f Merge pull request #436 from ademuri/master
Add option for pullup for DS18B20
2021-10-13 12:35:57 -05:00
Vitor de Miranda Henrique
37d7b77994 Merge pull request #438 from jneilliii/patch-1
fix deprecated payload in PrintDone event
2021-10-13 12:35:44 -05:00
Daniel Korgel
0d743fda49 Updated settings description text 2021-10-13 14:55:17 +02:00
Daniel Korgel
af58d60009 Merge branch 'graph-pr-branch' into feature/shutdown_on_error 2021-10-13 14:52:35 +02:00
Daniel Korgel
21281c9711 incremented settings version number 2021-10-13 14:40:11 +02:00
Daniel Korgel
28fbe7bec3 Merge remote-tracking branch 'upstream/master' into graph-pr-branch 2021-10-13 14:34:35 +02:00
jneilliii
528e3e8a2c fix deprecated payload in PrintDone event
This should resolve the error associated with #432
2021-10-13 00:48:40 -04:00
Adam Demuri
d615faef8d Add option for pullup for DS18B20
These sensors need a pullup resistor on the data pin. Instead of using
an external pullup, this adds an option to use an internal pullup.
2021-10-08 21:51:37 -06:00
Chuck Bass
f5ed2790c3 Update octoprint_enclosure/templates/enclosure_settings.jinja2
Co-authored-by: Mitch Gallman <qtemp@att.net>
2021-09-09 12:58:21 -07:00
Chuck Bass
1ce086b420 Update enclosure_settings.jinja2
Modified grammar to on settings page to sound correct to native English speakers.  Fixed minor spelling errors.
2021-08-04 21:59:04 -07:00
Pierre-Alexis Ciavaldini
d56eab29e9 add description to the output id argument
After struggling a bit to find the right argument, I think this description is a little more clear to what should be passed (tried the pin number and zero-based array before finding the right way in the code)
2021-08-03 19:58:21 +02:00
Mitchell Way
aa5bbe50ff adapt getDHTTemp.py to python3 2021-07-10 21:33:08 -05:00
Mitch Gallman
f90347105b Update __init__.py 2021-05-04 20:38:15 -04:00
Mitch Gallman
0c88c333a1 Handle nan in read_raw_i2c_temp 2021-05-04 20:11:04 -04:00
Mitch Gallman
04d57cc6d7 Change read_raw_i2c_temp to return both temp & hum
Change read_raw_i2c_temp to return both temperature and humidity.  Slave code concatenates the two float values into a byte array.
2021-05-03 23:22:52 -04:00
Mitch Gallman
65c0152437 Add hum_raw_i2c & temp_raw_i2c as humidity capable 2021-05-03 23:17:22 -04:00
Vitor de Miranda Henrique
607fc1d2fb Merge pull request #390 from raoulh/master
Add i2c gpio support
2021-04-28 14:57:17 -05:00
Daniel Korgel
a46e771f7e initial version of Auto Shutdown on Error 2021-04-07 20:18:25 +02:00
Vitor de Miranda Henrique
330d70e531 Update README.md 2021-03-18 21:52:01 -05:00
Daniel Korgel
77ac49ecf9 Fixed bug in config updater 2021-03-07 11:44:58 +01:00
Stefan Schueller
f3759a29bb Added RPI CPU Temp 2021-02-20 20:32:00 +01:00
Daniel Korgel
05cf1e9684 Implemented temperature and humidity display in graph 2021-02-10 21:05:43 +01:00
raoulh
c9103bcdf8 Add i2c gpio support (#1)
Implement support for i2c gpio devices (GPIO outputs and temp/humidity inputs)
2021-02-05 17:44:31 +01:00
coliss86
22c5f602c4 Update README.md 2020-12-23 15:21:39 +01:00
coliss86
7abaae199d Update README.md 2020-12-23 15:18:10 +01:00
coliss86
d7416837f6 Add markdown formatting 2020-12-23 15:12:10 +01:00
Vitor de Miranda Henrique
db22b12d83 Merge pull request #348 from Yeraze/Python_Stdout
Convert STDOUT from Popen's to UTF-8
2020-12-16 14:34:31 -06:00
Vitor de Miranda Henrique
9f72e0dcda Merge pull request #360 from RFBomb/master
Expand API for better Input Troubleshooting
2020-12-16 14:33:49 -06:00
Vitor de Miranda Henrique
4095481090 Merge pull request #376 from betarho/fix_typo
Fix some typos in README.md
2020-12-16 14:33:11 -06:00
Roberto Bonacina
64eecefe76 Fix some typos in README.md 2020-12-01 21:24:08 +01:00
RFBomb
546d7535ad Converted from Tab Spacing to 4xSpacebar Spacing to match original 2020-10-24 18:54:21 -04:00
RFBomb
223d61ff33 Expanded API for better debugging of inputs
- Added 3 support routines at top of the script to normalize / functionize reading the GPIO Pin States for both inputs and outputs. 
- The '/inputs' and '/outputs' API Calls will now include the current pin state (Human Readable), Label, GPIO Pin Number, and Index in their JSON outputs. 

These changes also resolve the api returning both 'false' and '0' as the pin states would sometimes show up as from the "val = if-else "statement.
2020-10-24 18:51:25 -04:00
RFBomb
2237920a8e Update __init__.py
Added IO status to the /inputs and /outputs API calls
2020-10-24 09:40:13 -04:00
Vitor de Miranda Henrique
ff9d899d10 Merge pull request #357 from gromeck/master
fixed issues #254 from the original code
2020-10-19 14:26:11 -05:00
Randall Hand
16f3ec8178 Convert STDOUT from Popen's to UTF-8
By default, Python3's STDOUT's that come back from Popen commands
are byte-arrays, not strings.  So attempting to do string operations
(like 'split' or 'strip') fail.  They must be converted to UTF-8
strings first.

This was causing the enclosure plugin to return false debug messages about
'disabling SUDO' when attempting to read my DHT22 sensor.
2020-10-04 10:25:35 -04:00