Histogram Widget: Sort by value
I'm sure this is a simple setting, but I can find it. How can you sort a histogram by value, not by series or time? Thanks, Vincent
Analysis to send MQTT message
@Adams Zeidler Hello I´m working on an analysis to send a MQTT message to my device under topic “button”; I Have a variable called “push_payload” that is updated when a form is updated. I have already tested an action triggered by the variable update
Running Analysis using API
Is it possible to run an analysis using the API. I can't find any documentation about the analysis API, I just tried it but keep getting authorization errors. Using Postman: POST: https://api.tago.io/analysis/<analysis_id>/run Headers: Whatever I tried,
Multithreading with external Python Analysis
I have been looking at options to allow for an external script to be called in a non-blocking way. In my case I have a script that post processes data from a sensor when it is parsed and placed in a bucket. However, since I have many devices, processing
Account info for sending emails and sms from analysis
I am setting up an application for a hardware device that users will create their own tago run account and register the device with. One thing I am working through is creating email/sms notifications for certain conditions which will be handled by an
Generating user tokens for login
Hello. I see when I click the "login as user" button, a token is generated. https://floracloud.florainstruments.com/auth/login?bytoken={mytoken} Is there a way to create and manage your own tokens using the API? I want to make a token for a run user where
Passing Parameters from Action to Analysis
As per https://help.tago.io/portal/en/community/topic/passing-parameters-to-analysis-ex-device-token I want to run the same analysis against each device as it provides an update. The above topic no longer seems accurate, as the Account class seems to
Download data by analysis
I'm making an application and I would like to download and save the bucket data as .CSV. I'm currently using analize to generate the .CSV and save in the Files, but I haven't found any function that allows me to download the .CSV to the machine. Is there
Query data between range of values
Hello, I have data in a bucket ranging with values between 100-150. In my analysis I would like to query the largest data point between two time periods, BUT I only want the largest data values between 100-120 not 100-150. For example; if the max value
Edit Tags for a Specific Device
In the following code I am creating a device from a form on blueprint devices with their corresponding labels. But now what I would like is to be able to edit that data from the device labels. const { Analysis, Account, Utils, Device } = require("@tago-io/sdk");
Create Devices from an excel file
Can you create devices loaded from an excel???
Analysis to move from Mutable to Immutable Bucket
Does anyone have an analysis written that will transfer data from a mutable bucket to an immutable bucket after a specific time period has passed? For example a device sends data into the mutable bucket from the factory, it then stays in there for 1 month,
EspMQTTClient Arduino ESP32 with hex mqtt payload.
When attempting sending this hex payload = [0x01, 0x02, 0x03, 0x00, 0x04, 0x05 ], the ESP32 subscribed packaged breaks with the 0x00 (null or zero termination character). I think this is an ESP32 issue but I would like to kindly ask help from if somebody
SenseCap S2120 8-in-1 Weather Sensor
Hello, I have a SenseCap S2120 and I used the payload form Tago. But for some reason Im not getting all the variables. these are the only variables Im getting. Bellow. I need the others like wind_direction, rain_gauge. Can someone help me on how can I
Translations in a custom widget
Hi, is it possible to use dictionaries for translating text in a custom widget. We obviously tried something like: button.innerHTML = '#CWDGT.BUTTON_TEXT#'; but that didn't work. Any guidance would be highly appreciated. Thanks, Vincent
Analysis Help for 3 pulse meters
I have been working on an analysis tool to try and get the max number of pulses in a month. This has been very difficult for me. I can not seem to find an example that does a max by month. Even some examples within the community are not working correctly.
Send data from XLSX File to TagoIo
How can the data, column of an XLSX file be sent to a device or bucket, and then be able to use that data in Tagoio ?
Does anyone have an example UDP server?
Hi All! I am trying to communicate NB-IoT with UDP (CoAP). Currently, TagoIO provides examples of TCP/IP, but I can't find UDP at all. Can I get an example related to UDP Server(middleware)? I'm new to developer, so I don't know much about it, so I need
Terms and Conditions
Hi I would like to add a required field on my user login page that requires the user to check a box indicating they have read the terms and conditions before they are allowed to login. is this possible? Thanks Steven
Dashboard lag
Hello everyone! I'm here because I need your support. What happens is this: The dashboards are crashing a lot as shown in the video I uploaded, I click to switch tables or try to scroll the page and Tago's screen just crashes, it takes a long time to
Device variable data not matching
Why is the soil moisture meter displaying flow and calculate flag data, which are typically associated with a Flow Meter, instead of showing relevant data such as soil temperature, moisture, or electrical conductivity (EC)? Please see attachments be
Variable overwrite or deletion
Hi there, Some best practice advice it would be very useful here. I have several variables stored on mutable device that are updated through Analysis. I have need only of the last value, is there a chance to overwrite the variable or I have to delete
Why is my flow meter not showing pulse rate or different data than raw payload?
I tried to get a reading or pulse or some data to gather to figure out my gallons per minute with this Dragino SW3L Flow Meter. As seen from the screen shots I am only getting the payload in a raw form. What am I doing wrong?
Clear SetTimeout timeout in Tagoio ?
From the following code, how can I manage to delete the setTimeout so that Analysis does not consume me since I have a waiting time of 1 minute if it is "Door Open" . If a "Door Close" data arrives, the Analysis should cut the SetTimeOut of "Door Open"
Data Usage Report For All Sensors
Does anyone know if there's a way to use Analysis to create a report that lists the data amount (records) for all of the sensor's in a profile/account? Thanks!
Cannot get my CLI to work correctly
I am running as administrator in my Command Prompt. Why am I not able to get the same results? Below, the first two screenshots show how i installed the CLI and the Builder successfully. However, it will not give me the same results as in the third pic
Custom pin in the map widget
Is it possible to set a custom image for the pin in the map widget and I don't mean the Infobox image but the pin itself.
clearTimeout
I would like to know why the following code when the condition that the last variable was "Undefined_Close" is met and the second to last was === "Open" cancels the SetTimeout of the "Undefined_Open" that is in process. Because if an "Open" data arrives
Minimum, maximum, and average. - how to modify
Hello, Can anyone advise how to modiify analisys Minimum, maximum, and average. I would like to use it for more then 30 devices, so my plan is to use in Environment Variables account token instead device token and in code have possibility to add devices.
Analysis Billing
A versão free da Tago suporta até 3k minutos/mês de análise. Meus scripts estão sendo cobrados por 1 segundo cada execução que aparece no console. Eu já estou chegando ao limite e ainda estou usando apenas como debug. A cobração é 3k minutos/mês mes
Subscribe to MQTT Broker Messages
Can I subscribe to another MQTT broker's messages? For instance, we have a remote device sending data to an MQTT broker. Can you use Tago to subscribe to messages from this broker? Basically like MQTT Fx?
Problems receiving SMS text messages
I have alerts set up to send SMS texts to multiple numbers. One of the numbers is my own. Recently, the alert sent the text as it should but only to me. The other people did not receive it. Has this happened to anyone else? I tried changing the format
How to get the last 180 day worth of data
Hi, I'm trying to get the last 180 days worth of data with .getData() but for some reason it only gets to the 21s of Jun. var datum = '2023-01-01'; var today = new Date(); var manual= Date.parse(datum); var yesterday = new Date(manual); const keresett_datum
Input form Date
Hello, Is it possible on an input form to take the calendar start date that user inputs, and make that the timestamp for all of the variables submitted through that form? For instance, if I chose to submit 6/27/2023 in my calendar input and submitted
How to publish hex values to the MQTT?
I have a hex string sequence: mySeq = "01fa02" to be published as sequence: 0x01 0xFA 0x02. I am using Python in the Analysis and I don't find a solution, please, How do I do it?
Copying files from Tago Files to AWS S3 Storage
Hello, One of our clients requires us to make backup copies of Tago files in their AWS S3 storage. I know Tago is AWS based. All of the nodejs examples I can find require the AWS-SDK library which I don't think is available in regular analysis code. Two
Downlink failed with status 500
I'm trying to downlink from Tago to a device Strega. The manual of this device tells me that the data of how to send a downlink as follows: payload = 31 and Port = 1. The problem when running the Analysis is that I get the following error: Downlink failed
Time Zone Analysis?
I am writing to ask you about a problem I am having with the time zone of my project. Currently, the project uses the use-1 time zone by default, but I need to use Chihuahua, which has a difference of three hours. The problem arises when I save a variable
LoRaWAN (Helium) Connector Parser
Has anyone else noticed a change to the LoRaWAN connector parser (Helium in my case) where the variables are now split out in to "x_value", "x_name", "x_type", "x_unit", "x_channel" and so on? Previously it was "x" which then had the name/value pairs
Payload parser assign predetermined group values to variables
Hi, I have used a mqtt csv parser to get comma delimited values of a variable into cast number values. I use the same variable name so im getting the same variables with different values. I need to assign now predetermined group values in order to see
Next Page