Results for
Using a Thingspeak42 node with NodeRed on a RaspberryPi 4. The node is showing data is being sent but nothing gets populated on graph in Thingspeak.
I would like to have a widget to control a pump connected to Thingspeak via Talkback. I have also established a connection with thingspeak where I publish my sensor data to the channel and can visualize the data through the various widgets. But I cant find a widget or method to control the pump from a graphical perspective on the channel (like a switch or button interface where clicking them would turn the pump on or off). Thingsboard seems to have the feature, not sure of thingspeak. If anyone knows a way please do comment out. Have a great day!
lorawan, MQTT,
Hi,
I use micro:bit and iot:bit to collect data about temperature and humidity (via BME 280, but I cant connect with ThingSpeak, but Iam connected on wifi.

What I make wrong?
Hi all
Learning home automation and found your webpage via cookbook sample code, which I cannot get work, i.e. sending a tweet. Somehow API keys should be OK as I got another sample from your page (bulkdata upload with Raspi) working just fine
Code seem to run and response is OK 200, am I just missing how to check this from twitter or? if I change API key to xxx response is 400 so
import time, os
import requests
MAX_TEMP = 19.0
MIN_T_BETWEEN_WARNINGS = 1 # Minutes
BASE_URL = 'https://api.thingspeak.com/apps/thingtweet/1/statuses/update/'
KEY = 'xxx'
def send_notification(temp):
status = 'Thingtweet: Room getting hot. room temp=' + str(temp)
data = {'api_key' : KEY, 'status' : status}
response = requests.post(BASE_URL, json=data)
print(response)
print(data)
def room_temp():
f = open('/mnt/1wire/28.55CA95F0013C/temperature','r')
room_temp = f.read()
return float(room_temp)
while True:
temp = room_temp()
print("room Temp (C): " + str(temp))
if temp > MAX_TEMP:
print("room TOO HOT!")
send_notification(temp)
print("No more notifications for: " + str(MIN_T_BETWEEN_WARNINGS) + " mins")
time.sleep(MIN_T_BETWEEN_WARNINGS * 1)
time.sleep(10)
i have imported data from a chanel, edited it and re uploaded again,
it returns error message when i upload it.
it says "The uploaded file was not imported because it is empty"
Mathworks returns also a message to my email saying "Timestamp already in channel."
Hello,
Can someone please give me a hint how the settings at Tasmoto have to be made in order to send data via MQTT to ThingSpeak.
Halil Kemal has an open channel tag: tasmota where this seems to work.
Thank you in advance for your support.
TOM
Dear community,
I would like to develop a fermentation model with 4 ODEs, one of which contains variable y. A "repeated assignment", e. g. y=5x+5, contains variable x that has been measured each second. These data (columns with time and corresponding value x in each row) are recorded in the Excel file.
Does anyone have any suggestion how to implement this in symbiology?
Thank you very much in advance,
Tetiana
How can I export data other than downloading it as a CSV file?
I want to embed the graphs in a website, how can I do that?
OR
How can I export data and display it on my own in the website?
Hi,
I want to develop a PK model based on some PK data. The PK data seems to display 2 peaks when one initial dose is given.
I would like to give one dose. A fraction of this dose (fr) is absorbed following the linear relationship - ka*Drug the other fraction (1-fr) is absorbed following a linear absorption (ka1*Drug) with a Tlag (it maybe a zero order). The fraction fr is unknown so it must be estimate.
Does anyone have can provide any suggestion to implement this in symbiology or provide a link where I can look?
Thank you very much in advance,
Ferran
Hello everyone! does anyone know how to use the simulink write block for mobile android? I am attaching a cell phone error message. Thank you!
I have a species which is absorbed in a zero-order manner. I want to model the reaction rate as "UptakeRate*ActiveState". So I can give value of 1 or 0 to ActivateState to control the active state of this process. The species itself is under control multiple processes, so I want to use Event to automatically change the active state of absorption.
However, when I use these two events:
Event 1,trigger: species > 0, Function: ActiveState =1; Event 2, trigger: species <=0, Function: ActiveState=0
The simulation seems to be stuck without stop.
Is there any way to solve this ? Thanks
Hello
I am Jos
i have made a program for upload data to mine channels in pytython 2.7, now I am forced to go to 3.9 and I cannot get the program running
code for 2.7
import httplib
import urllib
def WriteData():
while True:
params = urllib.urlencode({'key': 'xxxxxxxxxxxxxxxx', 'field1': '0.021'})
headers = {"Content-typZZe": "application/x-www-form-urlencoded","Accept": "text/plain"}
conn = httplib.HTTPConnection("api.thingspeak.com:80")
try:
conn.request("POST", "/update", params, headers)
response = conn.getresponse()
print (response.status, response.reason)
data = response.read()
conn.close()
except:
print ("connection failed")
break
can someone help me with this code?
Hello,
I am trying to do image to image regression neural network training. In place of digitTrain4DArrayData, I have used my own dataset of 500 input and 500 output grayscale images of size 100*100 pixels for training.
The code is as follows:
imds1 = datastore(fullfile(matlabdrive,"T10itTI"),"IncludeSubFolders",true,...
"FileExtensions",".png","type","image");
imds2 = datastore(fullfile(matlabdrive,"TFiSTI"),"IncludeSubFolders",true,...
"FileExtensions",".png","type","image");
dsnew = combine(imds1,imds2);
layers = [
imageInputLayer([100 100 1])
batchNormalizationLayer
reluLayer('Name','relu_1')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_2')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_3')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_4')
convolution2dLayer(1,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_5')
convolution2dLayer(3,1,'Stride',2)
batchNormalizationLayer
reluLayer('Name','relu_6')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_7')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_8')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_9')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_10')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_11')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_12')
convolution2dLayer(1,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_13')
transposedConv2dLayer(1,1,'Stride',2)
batchNormalizationLayer
reluLayer('Name','relu_14')
convolution2dLayer(1,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_15')
convolution2dLayer(1,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_16')
convolution2dLayer(3,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_17')
convolution2dLayer(1,1,'Stride',1)
batchNormalizationLayer
reluLayer('Name','relu_18')
transposedConv2dLayer(3,1,'Stride',2)
fullyConnectedLayer(1)
regressionLayer
]
lgraph = layerGraph(layers);
options = trainingOptions("adam", ...
InitialLearnRate=8e-3, ...
SquaredGradientDecayFactor=0.99, ...
MaxEpochs=20, ...
MiniBatchSize=64, ...
Plots="training-progress")
net=trainNetwork(dsnew, lgraph, options);
On running the code, I get following error:
Error using trainNetwork Invalid training data. The output size ([1 1 1]) of the last layer does not match the response size ([1 1 1972224]).
When I use fullyConnectedLayer(1972224) in place of fullyConnectedLayer(1), I get following error:
Error using trainNetwork Layer 'fc': Invalid initializer. Requested 1972224x17161 (252.2GB) array exceeds maximum array size preference (5.0GB). This might cause MATLAB to become unresponsive.
Error in mt1tt1 (line 95) net=trainNetwork(dsnew, lgraph, options);
Caused by: Error using nnet.internal.cnn.assembler.InitializeMixin/initializeLearnableParameters Layer 'fc': Invalid initializer. Requested 1972224x17161 (252.2GB) array exceeds maximum array size preference (5.0GB). This might cause MATLAB to become unresponsive.
Can you suggest correction in code?
Thankyou
Dear Community,
I'm new on ThingSpeak for nearly 4 weeks and I'm struggling to compute some MATLAB data. Mostly because I don't know the syntax.
I have a hourly graph of solar production in kW, I'm taking a sample every 20 seconds, and I would like to aggregate the data on a daily basis in kWh.
I guess I need to select the last 7 days of data using some thingsread function, add the data into an array and compute the daily data into an average/sum ... As you can see, I mostly got the mechanics but I'm struggling to create the car ;) Is there anyone kind enough to assist me ?
Thansk a lot !
Hallo, ich bin Anfänger und beschäftige mich gerade mit dem ELV-Modulsystem mit dem man über Steckmodule eine Sensor-Datenstation aufbauen kann, die Temp und Hum misst . Die Daten gehen dann vom Modul zu TTN und werden dort dann in einer decodierten Payload ausgegeben. Mittels Webhook Integration zu ThingSpeak will ich die Daten dann in zwei Felder-Widget für Temp und Hum ausgeben/auswerten.
Der erste Teil funktioniert und die Payload wird ausgegeben. Die Daten darin sind vernünftig.
Nun habe ich in TTN eine Integration mit Webhook "ThingSpeak" erstellt und den Decoder um zwei Zeilen entsprechend erweitert in denen Die Temperatur-Variable in "field1"-Variable geschrieben wird und die Humidity in eine "field2"-Variable.
Leider wird aber nicht wie erwartet die Datenausgabe in ThingSpeak erledigt. Die Field-Widgets bleiben leer.
Kann mir jemand helfen? Was mache ich falsch?
Hello, I'm a beginner and I'm currently working with the ELV module system with which you can set up a sensor data station using plug-in modules that measures temp and hum. The data then goes from the module to TTN, where it is then output in a decoded payload. Using webhook integration with ThingSpeak, I then want to output/evaluate the data in two field widgets for Temp and Hum.
The first part works and the payload is output. The data in it is reasonable.
Now I have created an integration with the "ThingSpeak" webhook in TTN and extended the decoder by two lines in which the temperature variable is written in a "field1" variable and the humidity in a "field2" variable.
Unfortunately, the data output in ThingSpeak is not done as expected. The field widgets remain empty.
Can someone help me? What am I doing wrong? Thanks
I am using the datastreamer addin in MS Excel for collecting sensor data. No I would like to write the data one by one to a thinkspeak channel. I need a VBA code example to learn more about this.
Thank you very much.
Hallo,
ich habe an meinem Raspi den DHT22 angeschlossen und die Werte werden mir auch korrekt ausgegeben,
jedoch wird mir bei Thingspeak keine Charts angezeigt, obwohl ich Read/Write API sowie Channel im Skript angegeben habe.
Nach folgender Referenz bin ich vorgegangen:
Hat noch jemand dieses Problem?
Hi every one. I am new to thingspeak. I want to share data between my siemens PLC and thingspeak channel without any use of PC. Cna anyone help me out with the ways of communication and harware needed for the application.
Note: I have created channel in thingspeak website. I need support for siemens PLC programming for data sharing.
Pls guide me.
Hi there!
There is a question, is it possible to send plot data from my channel to telegram bot as image file using ThingSpeak API or some other tools?