-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contributing back jpgimenez changes to cbpi3 #258
base: master
Are you sure you want to change the base?
Conversation
- create DummyPWM for PWM testing
Bumps [python-engineio](https://github.com/miguelgrinberg/python-engineio) from 0.9.2 to 3.8.2.post1. - [Release notes](https://github.com/miguelgrinberg/python-engineio/releases) - [Changelog](https://github.com/miguelgrinberg/python-engineio/blob/master/CHANGES.md) - [Commits](https://github.com/miguelgrinberg/python-engineio/commits) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [httplib2](https://github.com/httplib2/httplib2) from 0.9.2 to 0.18.0. - [Release notes](https://github.com/httplib2/httplib2/releases) - [Changelog](https://github.com/httplib2/httplib2/blob/master/CHANGELOG) - [Commits](httplib2/httplib2@0.9.2...v0.18.0) Signed-off-by: dependabot[bot] <[email protected]>
Bump httplib2 from 0.9.2 to 0.18.0
Bumps [flask](https://github.com/pallets/flask) from 0.12.4 to 1.0. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst) - [Commits](pallets/flask@0.12.4...1.0) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.11.10 to 0.15.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/master/CHANGES.rst) - [Commits](pallets/werkzeug@0.11.10...0.15.3) Signed-off-by: dependabot[bot] <[email protected]>
Bump flask from 0.12.4 to 1.0
Bump werkzeug from 0.11.10 to 0.15.3
….8.2.post1 Bump python-engineio from 0.9.2 to 3.8.2.post1
Remove hardcoded http protocol for polling. bundle.js are using location.protocol instead of "http://" now.
Graphs are not diplayed with python 3. --> modules/log/endpoints.py requires change in line 59:
''' |
charts fixed df8c6a7
|
I have added some code to display only one point per minute.
Also on lines 80 and 121 of Modules/core/controler.py added tank name in the bottom of the graph.
|
fermenter.py causes an error: -> fix: |
* add Vagrantfile to test installation
I use cbpi only to brew, I ferment with brewpiless, but I'll try to fix this... |
could you create a PR against my branch? or maybe send me a patch... |
ok, i changed the code yesterday to the line i posted and the error was gone |
Will investigate haw to create a PR.
El El dom, 9 de ago. de 2020 a la(s) 16:11, Juan Pablo Giménez <
[email protected]> escribió:
… I have added some code to display only one point per minute.
Now loads ok a 5 days fermentation graph.
import csv
array = []
with open(filename, 'rb') as f:
reader = csv.reader(f)
l_time=0
for row in reader:
try:
p_time=int((datetime.datetime.strptime(row[0], "%Y-%m-%d %H:%M:%S") - datetime.datetime(1970, 1, 1)).total_seconds()) * 1000
if ( abs(float(row[1])) < 100 ) and ( p_time >= l_time ):
l_time = p_time + 60000;
array.append([p_time , float(row[1])])
except:
pass
return array
Also on lines 80 and 121 of Modules/core/controler.py added tank name in
the bottom of the graph.
80 result.append({"name": kettle.name+" Temp", "data_type": "sensor", "data_id": kettle.sensor})
121 result.append({"name": fermenter.name+" Temp", "data_type": "sensor", "data_id": fermenter.senso
r})
could you create a PR against my branch? or maybe send me a patch...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#258 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXBW4N7WDC5DOBFQVOSR5TR73YGBANCNFSM4PSSLBBQ>
.
|
Remove reference to w1_bus_master1 since sensors could be no several bus masters like # CraftBeerPi 1-wire support dtoverlay=w1-gpio,gpiopin=4 dtoverlay=w1-gpio,gpiopin=27 dtoverlay=w1-gpio,gpiopin=18 :
Update __init__.py
master branch includes the following changes:
If you want to use this changes on your cbpi installation, download the patch https://patch-diff.githubusercontent.com/raw/Manuel83/craftbeerpi3/pull/258.patch and apply it.