I wanted to build in an extra check (as the devices get offline sometimes and then the vpin updates go wrong). The extra check is to see if the relay pin is turned on or off and act accordingly.
Howver when I do a request I get: “Requested pin doesn’t exist in the app.” (I noticed that this happens for both digital and virtual pins) even though the hardware IS using these pins.
This makes me wonder: if the app is offline (phone is off) are these pins updated by the server? I would presume so, but if that is the case why do I get that message? There’s an argument to be made for the virtual pins, but certainly NOT for the digital pins as these are pure hardware related, not app related.