Commit Graph

429 Commits

Author SHA1 Message Date
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
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
Vitor de Miranda Henrique
ab1c5b204e Merge pull request #313 from Columbo818/master
Add AM2320.py
2020-04-20 09:24:13 -05:00
Charles Miller
72faf58dfa update AM2320.py 2020-04-20 15:17:57 +01:00
Charles Miller
cf3934c2fe formatting: AM2320.py 2020-04-20 15:14:53 +01:00
Charles Miller
960cf5b300 Add AM2320.py
Adds support and UI options for the AM2320 i2c sensor
2020-04-20 15:12:39 +01:00
Benjamin Salchow
67e980e9f7 adds python 3.7 compatibility 2020-03-15 13:15:38 +01:00
Vitor de Miranda Henrique
2fcd76b025 Merge pull request #272 from UnchartedBull/master
Update API temperature values
2019-11-26 10:12:06 -06:00
UnchartedBull
8d492ab378 Update inputs as well 2019-11-26 16:34:13 +01:00
Vitor de Miranda Henrique
e55826fb40 Merge pull request #261 from UnchartedBull/master
Make API RESTful (kind of)
2019-10-20 13:52:03 -05:00
Vitor de Miranda Henrique
508591a3ff Merge pull request #259 from munzli/master
added MCP9808 support
2019-10-20 13:49:54 -05:00
UnchartedBull
046df7a51d Fix output value not returned 2019-10-10 17:46:36 +02:00
UnchartedBull
893fb11463 Update docs 2019-10-10 15:29:48 +02:00
StefanCohen
a9ef64eb23 First version of the new API documentation
The new REST API documentation
2019-10-10 00:40:43 +02:00
UnchartedBull
c54219fd1a correct naming plus restructuring 2019-10-09 23:42:14 +02:00
UnchartedBull
f9e32d8e8b Rename 2019-10-09 23:17:21 +02:00
UnchartedBull
fad2581e01 should work now 2019-10-09 23:16:01 +02:00
UnchartedBull
6c36d4b924 First idea for new API concept 2019-10-09 22:39:41 +02:00
UnchartedBull
11897cdbbc Limit temperature outputs 2019-10-09 22:28:17 +02:00
UnchartedBull
b62235af15 remove flask import 2019-10-09 17:17:37 +02:00
UnchartedBull
0601d16559 rewrote API to be kind of RESTful 2019-10-09 17:11:33 +02:00
UnchartedBull
5023e08c77 started changing first apis 2019-10-09 15:04:04 +02:00
UnchartedBull
5fe4481a54 Merge branch 'master' of https://github.com/UnchartedBull/OctoPrint-Enclosure 2019-10-09 13:59:54 +02:00
UnchartedBull
5798beeeec first draft for kind of RESTful API 2019-10-09 13:59:51 +02:00
Timon G
0983363b5f Update setup.py 2019-10-09 00:38:50 +02:00
UnchartedBull
e8237841dd Add Temperature GET API 2019-10-08 23:28:27 +02:00
munzli
01e727cb94 configurable sensor address for mcp9808 2019-09-29 19:00:31 +02:00
munzli
de5aa9463f added support for mcp9808 temperature sensor 2019-09-29 17:55:34 +02:00
Vitor de Miranda Henrique
f096d0db96 Merge pull request #232 from Tirpitz93/Lower_temp_cut
Lower temp cut
2019-03-29 11:06:58 -03:00
Lonja Selter
069aaa24c2 fix logic error in temperature cut off 2019-03-29 13:19:27 +00:00
Lonja Selter
5b2766c158 fix logic error in temperature cut off 2019-03-29 13:18:14 +00:00
Vitor de Miranda Henrique
22115074d2 Merge pull request #231 from Tirpitz93/Lower_temp_cut
Lower temp cut
2019-03-28 16:22:16 -03:00
Vitor de Miranda Henrique
d17fafee99 Merge pull request #229 from Tirpitz93/master
Temporary fix for PWM, Spelling mistakes and debug messages
2019-03-28 16:19:39 -03:00
Lonja Selter
cceb90ebdc constrain duty cycle to temp a -> 100 2019-03-28 17:53:08 +00:00
Tirpitz93
567666c3c8 Merge pull request #2 from Tirpitz93/REST
edits made in incorrect branch
2019-03-28 17:04:06 +00:00
Lonja Selter
9a6b727e40 added debug message to clear_channel 2019-03-28 16:59:05 +00:00
Lonja Selter
210976537b more spelling in templates 2019-03-28 16:50:25 +00:00
Lonja Selter
3674b79af6 remove debug setting from logging messages 2019-03-28 15:33:39 +00:00
Tirpitz93
7134510206 Merge pull request #1 from Tirpitz93/fix_PWM
Fix pwm
2019-03-28 14:47:07 +00:00