Send variables to the Cayenne Dashboard

I want to monitor my Spa Pool controller via an Wifi shield. The Arduino controller has registers that contain counters or timers that I would like to sent to the Cayenne Dashboard. Is that possible, and if so, how?

Variables include heater ON duration timer, and other similar time/counter info.

Hi @brianhight.is,

I think this should be possible. There are various projects already created with Cayenne that control Spa pool if you search around the forum.

I hope you don’t mind, but I think a great first place to start is the Cayenne documentation.
http://mydevices.com/cayenne/docs/#sketch-files-virtual-pins

I think the link above should help!

-B

Hi Benny

I’ll have another, more careful look at the documentation. Thanks

Rgds
Brian

No problem, let us know if you still have questions afterwards, we’re all happy to help :slight_smile:

Interested to see your Spa Project when it’s complete too.

-B

The spa controller has been running well for several years. Now I want to
add remote monitoring with a WiFi shield and Cayenne widgets

Hi Benny,

The solution was much easier than I expected. I simply wrote a variable (in
this case, I used an index counter) to the widget using the code:

Cayenne.virtualWrite(VIRTUAL_PIN, index,TEMPERATURE ,CELSIUS );

I am interested in what names I can use in place of TEMPERATURE and
CELSIUS. Where can I find the list of names that are defined for these
fields? I would like to add TIME and SECONDS or MINUTES

Rgds
Brian