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

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
Searching for way to connect the DS1820 to ThingSpeak
Avatar
frazelle09
Mexicali, Baja California

Silver
Forum Posts: 5
sp_UserOfflineSmall Offline
1
December 16, 2015 - 5:03 pm
sp_Permalink sp_Print sp_EditHistory

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."

Avatar
frazelle09
Mexicali, Baja California

Silver
Forum Posts: 5
sp_UserOfflineSmall Offline
2
December 16, 2015 - 9:43 pm
sp_Permalink sp_Print

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."

Avatar
frazelle09
Mexicali, Baja California

Silver
Forum Posts: 5
sp_UserOfflineSmall Offline
3
December 19, 2015 - 1:33 pm
sp_Permalink sp_Print sp_EditHistory

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."

Avatar
ThomasD
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
4
January 6, 2016 - 6:57 am
sp_Permalink sp_Print

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

Did you have same problem?

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
Avatar
ThomasD
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
6
January 7, 2016 - 2:18 am
sp_Permalink sp_Print

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.

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
7
January 7, 2016 - 11:13 pm
sp_Permalink sp_Print

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: jacktheripper125
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

bbruno22

pudderz

Utkya

Poornak26

LindasHed

reddysiva

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee