Sorry if I’m being noob here but I’m new on iOT technologies.
I’m working on Particle with a RaspPi B (Raspbian up to date), and I need to create several online + offline functions.
Let’s take a simple example : I need to switch on and off a LED from an App AND from a physical button, but I also need this button to work offline :
- I created a function on particle, which is working through particle console,
- I can call this function through the mobile app using the API, everything fine,
- But is there a way to call this particle function from the physical button (connected to Raspi by a pin), and even without wifi ?
Otherwise I can probably redevelop a function with Python or C specifically for the Raspi + button, but that means 2 parallel developments and losing the practicality of Arduino language.
Maybe Particle CLI on Linux could be the solution ? Not sure about offline possibility with it, but for know I didn’t achieve to install it (there is a bug I need to figure out).
Thank you very much for your help, hopefully this is just a simple thing to achieve :o