This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Rather than reporting the status of the LED, how do I configure the Light sample to publish the ADC's readings?

I see on the forums that this is done through access_model_publish, but I cannot find where that is called in the Light sample.

Parents
  • Hi Jala, 

    Could you let me know which exact example you are working on ? 
    You are correct that you can call access_model_publish() to send the data to a node. But you need to define your own model instead of using the light switch model for example. (In the light switch example the data is sent inside status_send() function)

    We have created some proprietary models that you can have a look inside \models\vendor.

Reply
  • Hi Jala, 

    Could you let me know which exact example you are working on ? 
    You are correct that you can call access_model_publish() to send the data to a node. But you need to define your own model instead of using the light switch model for example. (In the light switch example the data is sent inside status_send() function)

    We have created some proprietary models that you can have a look inside \models\vendor.

Children
Related