ArduinoCloudThing

For the Betta version can I get an example of how to update a property on a Thing?
I have a Thing called sensorTower with a property named LIGHT. When I say sensorTower.writeProperty(...) I get an error that says ArduinoCloudThing doesn't have a member named writeProperty.

Hi Swisslegend

Would also like to know how to pass properties around.

More used to Thinkspeak and EASYIOT where I can set criteria for things and act on them.

Some basic documentation for testers would be great.

Bob.

Updating properties should be transparent from the code.

The library should detect changes to properties automatically and send them to the cloud depending on the update strategy selected ( on change or timed ).

You can have a look at one of my example sketches Arduino Cloud

More used to Thinkspeak and EASYIOT where I can set criteria for things and act on them.

I suspect you are referring to being able to react to thing's properties from the cloud ( like ie. IFTTT)?

Yes on the thingspeak I can set logical operators for actions.

EG "if x>y then do this" of course its done under the GUI itself.
Not sure how far away you are from anything like that ?

EDIT
Just seen the other replies...
You seem to be well on your way.

@Swisslegend Please have a look at Examples topic. We will add examples sketches showcasing different features there.

Hope that clarify things a bit!

Thank you very much for the suggestions, I'll figure it out.

Very cool. The example provided by endorama cleared it all up. My properties in my sensorTower thing are being changed. Love it!