Does Notecard connected to internet all the time?

Hi,
I am planning to use Notecard together with PI Hat to send data to cloud.

  1. Is device online once configured
  2. what is the best method to trigger an even from RPI 4 and / call HTTP rout ?

cheers
Kumudu

Hey @Kumudu,

Welcome to the Blues community!

Is device online once configured

You control how often the Notecard makes a network location with the hub.set request’s mode argument. See hub Requests - API Reference - Blues Developers. If you want the Notecard constantly connected, you can issue a {"req":"hub.set","mode":"continuous"} request to set its mode to "continuous".

what is the best method to trigger an even from RPI 4 and / call HTTP rout ?

I’d recommend going through both our Raspberry Pi sensor tutorial, which teaches you how to add Notes using your Notecard, and then our routing tutorial, which teaches you how to route those Notes via HTTP/HTTPS.

TJ

Thanks TJ. That was very helpful.