Commit Graph

466 Commits

Author SHA1 Message Date
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
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
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
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
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
Vitor de Miranda Henrique
456497f7e6 Update README.md 2020-09-15 09:58:50 -05:00
Vitor de Miranda Henrique
928f29c7a6 Merge pull request #322 from ameixler/master
Allow accessing multiple Si7021s for temp and humidity info
2020-09-15 09:56:29 -05:00
Vitor de Miranda Henrique
7819ea6dea Merge branch 'master' into master 2020-09-15 09:56:22 -05:00
Vitor de Miranda Henrique
9b3895c263 Merge pull request #314 from Piranit/master
Brightness control for WS28B12 (Neopixel) fixed
2020-09-15 09:55:09 -05:00
Vitor de Miranda Henrique
37796fafbe Merge pull request #297 from benjamin-salchow/master
adds python 3.7 compatibility
2020-09-15 09:54:53 -05:00
Vitor de Miranda Henrique
eed486ff06 Merge pull request #321 from CapnBry/noupper
Do not uppercase user-supplied gcode
2020-09-15 09:53:09 -05:00
Christian Lorenz
d74c302af7 fixed issues #254 from the original code
see https://github.com/vitormhenrique/OctoPrint-Enclosure/issues/254
2020-08-25 00:37:17 +02:00
Vitor de Miranda Henrique
b0514fcfd3 Update README.md 2020-06-20 16:05:33 -05:00
Vitor de Miranda Henrique
1d1eb93aa7 Update README.md 2020-06-20 16:05:00 -05:00
ameixler
3b6233a731 Working changes
Confirmed works with 2 Si7021 modules.
2020-05-13 20:38:04 -04:00
ameixler
397ad4dead testing adding i2cbus settings 2020-05-13 18:49:40 -04:00
Bryan Mayland
cccf74bcf8 Do not uppercase user-supplied gcode 2020-05-12 15:32:16 +01:00
Piranit
d6e6de5946 forgotten parameter 'LED_BRIGHTNESS' for initialize Adafruit_NeoPixel added 2020-04-25 15:30:03 +03:00