Editing Termómetro conectado online
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 321: | Line 321: | ||
El código de la claúsula ''Then'' simplemente envía dos peticiones http POST al servidor de Duckstore siguiendo el formato JSON de su API. La primera petición se envía al widget ''Counter'' y la segunda al widget ''Timeline''. La doucmentación de Carriots incluye un [https://www.carriots.com/tutorials/others_APIs/ducksboard tutorial para integrar Ducksboard] que explica en detalle este código . | El código de la claúsula ''Then'' simplemente envía dos peticiones http POST al servidor de Duckstore siguiendo el formato JSON de su API. La primera petición se envía al widget ''Counter'' y la segunda al widget ''Timeline''. La doucmentación de Carriots incluye un [https://www.carriots.com/tutorials/others_APIs/ducksboard tutorial para integrar Ducksboard] que explica en detalle este código . | ||
− | '''Importante:''' sustituir en el código los valores ''your_ducksboard_api_key, your_ducksboard_PUSH_URL_counter_widget, your_ducksboard_PUSH_URL_timeline_widget'' por los valores que se han | + | '''Importante:''' sustituir en el código los valores ''your_ducksboard_api_key, your_ducksboard_PUSH_URL_counter_widget, your_ducksboard_PUSH_URL_timeline_widget'' por los valores que se han obtnido en el paso 5. |
Una vez creado el listener, cualquier lectura de temperatura recibida por Carriots desde electricImp (paso 4) será reenviada a los dos widgets de Ducksboard. Además la medida también quedará almacenada en el servidor de Carriots | Una vez creado el listener, cualquier lectura de temperatura recibida por Carriots desde electricImp (paso 4) será reenviada a los dos widgets de Ducksboard. Además la medida también quedará almacenada en el servidor de Carriots | ||
− | '''Nota: ''' | + | '''Nota: ''' |
=== Enlaces === | === Enlaces === |