Nodemcu heartbeat monitor


#1

hello every body…i’ve written my code to calculate Bpm and my device is connected to cayenne and i’ve set my dashboard and alerts…but i"m stuck in how to send my data to cayenne…any one could help me? c1


#2

to send data you need to call this line at time interval Cayenne.virtualWrite(mqtt_channel_number, value, "type value", "unit value"); Data types for Cayenne MQTT API


#3

thank you so much…
i need cayenne to work smutaneously with the amped heart sensor,i used the instruction cayenne.run();
but i have the following problem error: ‘class CayenneMQTTWiFiClient’ has no member named ‘run’

      Cayenne.run();

could you help me with that?


#4

I think you want Cayenne.loop(); instead. What device/connection method are you using?


#5

@adam this issue was already solved in another post created by same user How to run cayenne continously with heart pulse in my code?