Comments (8)
Also thanks very much for your hard work on this! This is an awesome project
and I will continue to assist where I can.
Original comment by [email protected]
on 14 Feb 2013 at 4:16
from webiopi.
can you add :
1) precise component ref
2) webiopi driver you used (OneWireTemp or DS*)
3) dump of /sys/bus/w1/devices/{device_id}/w1_slave when this error occurs
Original comment by [email protected]
on 14 Feb 2013 at 9:55
from webiopi.
[deleted comment]
from webiopi.
1) DS18B20
2) in my /etc/webiopi/config I used the following temp0 = DS18B20
28-000004664d5f
I'm not sure what else you are looking for here on the driver info.
3)
pi@raspberrypi /sys/bus/w1/devices $ cat
/sys/bus/w1/devices/28-000004664d5f/w1_slave
3e 00 4b 46 7f ff 02 10 51 : crc=51 YES
3e 00 4b 46 7f ff 02 10 51 t=3875
Again the reason for this error is because the temperature is below 10 degrees
C. The code fix I did above fixes the problem.
Thank you,
-Jason
Original comment by [email protected]
on 14 Feb 2013 at 12:01
from webiopi.
[deleted comment]
from webiopi.
ok, I did not well understood first time.
I will rather use :
i = lines[1].find('=')
temp = lines[1][i+1:]
return int(temp)
thanks for feedback, I will correct it later today.
Original comment by [email protected]
on 14 Feb 2013 at 1:29
from webiopi.
Good idea on the fix because that will also handle when there are less than 4
chars etc...
don't forget to divide by 1000.0
return int(temp)/1000.0
Original comment by [email protected]
on 14 Feb 2013 at 2:59
from webiopi.
This issue was closed by revision r898.
Original comment by [email protected]
on 14 Feb 2013 at 5:49
- Changed state: Fixed
from webiopi.
Related Issues (20)
- Adafruit MCP9808 Temperature Sensor HOT 2
- PiFaceDigital driver has missing close() method
- Dont work on Raspberry 2 HOT 6
- Unable to grab Webiopi or to communicate the problem. HOT 1
- WebIOPi not working on Raspberry Pi 2 HOT 2
- NameError: global name 'GPIO' is not defined HOT 18
- Customzed HTML file is not loading HOT 1
- DAC MCP4921 HOT 1
- error 403
- Google Analytics enabled, not to be disabled (easily), not shown in documentation
- ~
- WebiOpi Tutorial_Basis don´t work for me
- rpi.gpio not working after installing webiopi HOT 2
- Saving matplotlib figure
- Webiopi is not working on Raspberry 2 HOT 1
- POST set function to PWM not working HOT 1
- Cannot install Webiopi on RPi 2
- Apache
- I cannot see all of the 40 raspberry pi pins on the Webiopi
- gpio boxes greyedout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webiopi.