Link to private chart shows 'Invalid Channel' | ThingSpeak API | 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
Link to private chart shows 'Invalid Channel'
No permission to create posts
May 5, 2020
1:10 am
Avatar
tpts
New Member
Members
Forum Posts: 4
Member Since:
May 5, 2020
sp_UserOfflineSmall Offline

Hi,

I've a channel that reports my freezer's temperature and the 'No Data Check' feature to report a power outage (e.g. Raspberry PI goes offline). I'm using React/ThingHttp to trigger an IFTTT notification when my RPI goes offline (no data check). It works great.

I can also track the temperature of my freezer by logging in to the thingspeak dashboard.

I tried to send the URL to the temperature chart to my mobile phone but when I click on the URL I get 'Invalid Channel'. It's because thingspeak does not know who I am on my mobile phone and the channel is private.

However, I was expecting that thingspeak.com would ask for my login credentials and then show me the chart (and just that chart).

It works fine when I make the channel public but that's not something I like to do (my freezer's reading are private to me).

Is there any way to share a link to a chart (or channel) so that a person who knows the correct login credentials to thingspeak can view that chart?

-t

May 7, 2020
11:19 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 861
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Use the charts API and embed the read api key in the link that you send. Then the user you send the link to will not need to be logged in. If the api key gets out of your hands, you can manually change it when you wish. If you supply the read key, other users will not have the ability or write data or to see the channel view. They will be able to read data.
https://www.mathworks.com/help/thingspeak/createchart.html

FYI, MATLAB answers is the preferred location for ThingSpeak Community support.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

briskpanda, Dejw0089, Yassine Ben Salah, anis, 43994554AKS, suda

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457