Searching for way to connect the DS1820 to ThingSpeak | Raspberry Pi | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Searching for way to connect the DS1820 to ThingSpeak
No permission to create posts
December 16, 2015
5:03 pm
Avatar
frazelle09
Mexicali, Baja California

Silver
Members
Forum Posts: 5
Member Since:
December 16, 2015
sp_UserOfflineSmall Offline

We just figured out how to use the Privateeyepi programs to upload the info to their site and now today are looking for a more robust website and more OpenSource.

We found ThingSpeak and this tutorial http://www.raspberrypi-spy.co.uk/2015/06/basic-temperature-logging-to-the-internet-with-raspberry-pi/ for a different type of sensor, but don't know how to modify the python script to make it work with our DS1820. Matt's script looks very robust but we have neither a button, nor a LED nor his type of sensor, so we're kinda stuck.

Suggestions welcome and in the meantime, have a great afternoon! 🙂

"The earth is one country and mankind its citizens."
Bahá'u'lláh
"La tierra es un sólo país y la humanidad sus ciudadanos."

December 16, 2015
9:43 pm
Avatar
frazelle09
Mexicali, Baja California

Silver
Members
Forum Posts: 5
Member Since:
December 16, 2015
sp_UserOfflineSmall Offline

Found a site in Spanish which has a script which we'll use. First we'll see if we can get it working like it is, then maybe translate into English.

http://nergiza.com/como-hacer-un-registrador-de-temperatura-online-con-raspberry-pi/

Have a great evening! 🙂

"The earth is one country and mankind its citizens."
Bahá'u'lláh
"La tierra es un sólo país y la humanidad sus ciudadanos."

December 19, 2015
1:33 pm
Avatar
frazelle09
Mexicali, Baja California

Silver
Members
Forum Posts: 5
Member Since:
December 16, 2015
sp_UserOfflineSmall Offline

Just a day after finding the site we had it working. Later on, we located what appears to be another, more user-friendly site called ThingSpeak which we are currently using/experimenting with. We can translate some/all of the Nergiza page that has to do with the script we used if anyone needs it to be done. Just let us know and we'll be happy to help.

Have a great day! 🙂

"The earth is one country and mankind its citizens."
Bahá'u'lláh
"La tierra es un sólo país y la humanidad sus ciudadanos."

January 6, 2016
6:57 am
Avatar
ThomasD
New Member
Members
Forum Posts: 2
Member Since:
January 6, 2016
sp_UserOfflineSmall Offline

I have tryed to copy the script from the link, I keep getting an "400 Bad Request" error.

Did you have same problem?

January 6, 2016
10:22 pm
Avatar
rw950431

Top
Members
Forum Posts: 271
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline
January 7, 2016
2:18 am
Avatar
ThomasD
New Member
Members
Forum Posts: 2
Member Since:
January 6, 2016
sp_UserOfflineSmall Offline

I have the sensor working, I couldn't get contact to the Thingspeak channel. The problem was a rookie mistake, i had written an O instead of a zero (0), in nano in terminal they are very similar.
I have contact to the thingspeak now, but can't get the script to keep pushing data to thingspeak.com.

January 7, 2016
11:13 pm
Avatar
rw950431

Top
Members
Forum Posts: 271
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

Easiest way to run a script periodically is via "cron" http://linux.die.net/man/5/crontab

Alternatively you can implement a loop in the python script but then you need to worry about keeping the script running in all error conditions.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: James181
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

James181, kimberlypg2, JamesAdorb, waynesmith, paulettebw60, ashleytb4

Administrators: Hans: 387, lee: 457