The photos in the tutorial show a login page, but the tutorial jumps right into the user registration page construction.
I created a simple login page and pointed it to /auth since when I pointed it to /users and logged in, the response was always “Email already exists.”.
If I put in credentials to create a new user, I get a json response which includes the new token printed on my screen.
My confusion is how I get from /auth to the /devices endpoint.
In my application, each login will be hardcoded via tags to a single device. SO if the user logs in and passes authentication, they should be redirected to /devices/{id}/data where they will see the last states for their device.
I switched and used portions of the Huddle Application and now I am able to login and view one of my dashboards.
I’ll probably need a few hints on how to setup a page to display my device states - I assume I create an experience workflow to gate the states (Device Get) and then i create a page that formats the results?
We recently released the Connected Product Foundation (CPF), which is a much more complete starting template for new applications. It delivers a ton of this capability out of the box. Since it sounds like you’re starting from scratch, I would definitely recommend trying it out.
@Brandon_Cannaday when I try to add the CPF it says I don’t have enough resources available. I don’t have enough workflow and experience pages remaining.
Is it possible to backup my entire experience so I can restore everything (including data) if I run into problems while I rebuild everything using CPF?
If you want to restore what you originally had, you can delete all experience resources again and import the previous application export and choose just to import just the experience resources.
Will the CPF solve Losant’s problem with time zones?
Our customers need graphs counting data per day.
But there are errors in the bar chart data in Losant when we select a 24h resolution.
This resolution only provides correct data for countries located in GMT-0.
see our July 2023 post.
The CPF does not directly help this issue. The built-in bucketing is performed directly in the time-series database for performance reasons and we do not yet support the ability to pass in custom timezones. This is something we’ve been investigating for a while.