Env.get from LoRa notecard returns empty body

Hi, using in-browser terminal and via USB-connection, I’m trying to get the device env variables from notehub. However, my
{"req":"env.get"}
returns:
{"body":{}}

I’ve included a screenshot of Environment and Terminal. I’ve tried this both on firmware 7.5.2 and 8.1.3


Hi @e669danesh,

When using Notecard LoRa, you have to set up templates for your environment variables using the env.template API (prior to setting the environment variable values in Notehub). Hope that helps!

Rob

2 Likes