Request for help with creating automation
Hello, I would like to ask you for help in creating an automation. I have this door contact https://www.dragino.com/products/lorawan-nb-iot-door-sensor-water-leak/item/157-lds01.html Even if the door is not opened, the device will send a message once
Dynamic table and GPS co-ordinates
I have created a dynamic table which contains a column containing Location GPS coordinates for the sensing record (see attached image) What I would like to provide to user is the ability to click on the location gps co-ordinate and show the location on
Authorization denied - Sending Downlink using dashboard through Analysis
Hi TagoIO Team I have tried to use the updated snippet code example provided for "Sending Downlink using dashboard": /* ** Analysis Example ** Sending downlink using dashboard ** ** Using an Input Widget in the dashboard, you will be able to trigger a
To find if email exist.
Hello , Can i check by analisys if email/user already exist ? Can`t find it in documentation
Link device with bluedash using analisys
Hello, We are adding devices using input form and trigger analisys to do it. Is it possible to link device to specific bluedash using analisys ? For example if device has parameter/tag A. It will be linked and connected to bluedashboard - A If device
To know the number of emails used by each run user
Good day, I would like to know if there is any code for an analysis to be able to know the amount of emails sent by the run user. Let me explain: each end user can send a csv through a widget, but I would like to limit the amount of emails that can be
Custom "No Directory" Widget
After cloning the repository to test, when I try to follow the steps I get an error like "directory" does not exist.
Write Analysis to Get API call From the weather app and display the information on a widget
Hello! I am having a hard time writing the code for the analysis in extracting the API information from the weather app. I know I will need to store the data in the bucket, and have the API Key for the weather data, but knowing the parameters of which
Missing "analysis_token" environment variable: External Analysis Togo-SDK
Hi Folks! I am trying to run external analysis from a Tago SDK on Python, but I'm encountering an issue: 'Missing "analysis_token" environment variable' even though I've set the token parameter. Connected to TagoIO, Getting analysis information... Analysis
Topic and Payload non-platform standard
Hola!
I want to work with the following topic and payload: 023-06-28 22:53:27: [MQTT] Device publish {"topic":"Advantech/74FE486BAA2A/data","payload":"{\"s\":7,\"t\":\"2023-06-29T01:53:27Z\",\"q\":192,\"c\":0,\"di1\":false,\"di2\":false,\"do1\":false,\"do2\":false,\"ai1\":0.000,\"ai_st1\":4,\"ai2\":0.000,\"ai_st2\":4}","qos":1,"isHex":false,"bucket":"6499c4e835b04a000efbad2e","messageId":3400}
Linking to blueprint device dashboard with an internal link
Hi everyone, Last week I worked on creating a blueprint overview dashboard to show the last known locations of every tracker and storing that in a dummy device with a mutable bucket (following this post here). Now I wanted to add a link to the device
How to access Device query using listDevice ?
Hi, I am trying to use filter in listDevice to access device query but the function is returning query object of other device. Expected Device ID and returned device ID does not match. I have used filter in Java script works fine but in python script
minimum value Y axis auto-scale not working
Hi we are recently finding that setting 'Dynamic' scaling option for the Y-axis only works for the upper limit and set the minimum to zero. Is there any fix for this?
Change Variable if Date is today
Hello, is there a sample how I can change a value of a variable of an Device when the date is the same from antoher variable of the Date? Thanks Fabian
Is it possible to use python librairy (like NumPy)?
I am currently making an analysis who read the data collected throught device, interpolate them and save the data as a png who will be used in a custom widget. In order to interpolate my data, I intended to use the interpolation function of NumPy since
immutable to mutable bucket
We recently had to add an additional variable to be used for our solution. The initial setup is using an immutable bucket with a retention of 1 year. However, with the additional variable we need to change strategy. The 2 variables need to have different
Unique ID
I have a dynamic Table, and I want to generate for every entry an unique ID. Its also possible to generate it with an extra button in the Table Control. I dont know how I can get the date in my Analysis to handle to automated generation. Maybe somebody
Send Email by Analysis
Hey guys! I have this analysis that is being used to trigger an email and an SMS according to the established condition. It happens that the analysis runs without any errors, but the email or SMS does not arrive. I have already enabled permissions in
Analysis: device.sendData() requiring mqtt_topic
Hello! I have been testing the analysis code below and it is outputting this error: [2024-03-06 12:18:46] Error when inserting: Function Parse Error: TypeError: Cannot read properties of undefined (reading 'mqtt_topic') /* * Analysis Example * Operate
How to use Device Value in Hidden Field Form
Hello, how I can use a value from my device Source in a hidden field in a form? Is there any Chance... I want to insert a pre defiened Number from another Form, to add it to a table.. Thanks Fabian
Access the device token through the device_id
Hey guys. I'm trying to develop an analysis that captures all the devices I have at once. I was able to get the ID of all of them, but to access the variables, I need access to the token. But I'm not finding a way to access the token by ID. Is it possible
Multi Select User for Notification
Is it possible to select multiple Users for the Notification? This would be helpful to add :D
How do you use action tag in an analysis
I am currently facing a problem. I have an Analysis named "Get_Station_Meteo_Data" and it work perfectly. My problem is that I have several simular utilisation of this Analysis. - I use the Analysis Hourly and I also run it Daily. - I also collect the
Analysis Error Handling
Hi I handle my local errors like this async function Night(context, scope) { try { // ... (your existing Night function code) } catch (error) { context.log('Error in Night function:', error.message); } } // The function myAnalysis will run when you execute
Authorization Denied - Sending Email Through Analysis
For some reason I cannot send an email through analysis. Here is my code where I create a user and then want to send them a welcome email. I have an access policy where this analysis is allowed to send emails but I still get authorization denied. Any
Downlink Analysis Problem
Hello, i wrote this script for sending a downlink to an blueprint device: const { Account, Resources, Analysis, Device, Utils, Services } = require("@tago-io/sdk"); async function updateTag(context, scope) { // Requires scope to know what device and what
filter variable by date
Estou com dificuldade para filtrar as variáveis de um determinado período, neste caso, quero saber seu valor acumulado mensalmente, mês a mês, e quando a análise for executada, aparece apenas os dados mais recentes inseridos. Aqui está a análise: const
Adding timestamp to email export
The 'Email export' analysis provided by Tago is a simple way to automate export of data from a sensor for a defined period of time. However, the export file only contains the value without a timestamp. This makes the data practically useless. Is there
Deprecated account.devices
Noticed that account.devices is now deprecated. What can i do? Was using it for updating tags, creation and deletion of devices... const device_info = await account.devices.info(origin); account.devices.edit(origin, { tags }); const result = await account.devices
Cannot read properties of undefined (reading 'value') and Cannot read properties of undefined (reading ' metadata')
My current payload is this: [ { "variable": "segundo", "value": 9, "minuto": 45, "hora": 13, "dia": 4, "mes": 12, "ano": 23, "valor": 6486, "metadata": { "mqtt_topic": "mensagem/json" } } ] When I use emulator to send it so I can get the variables of
Multi variable Custom Widget
Looking for a developer to create a custom widget to show temperature plus the device name temperature is associated with we have on data stream with data from multiple devices providing temp, humidity , etc what I require is a temp widget that shows
Alert on missing data?
@Graeme Rae Is there a simple way to send an alert (email/sms/dash notification/other?) if data to a bucket hasn’t been received in a given time? I’d like to get an alert if a bucket hasn’t been updated within the last 6 hours. I can see the date stamp
Como enviar setpoint recebido em dashboard para tópico MQTT ?
Tenho uma aplicação utilizando o ESP32, o mesmo irá fazer o controle de um ar condicionado via infravermelho. Quero enviar o setpoint de temperatura via dashboard utilizando tópico MQTT. Alguem pode me ajudar
How would you trigger an alert for a boolean status over a period of time
for example: if water is flowing: flowrate = 1 if water is not flowing : flowrate = 0 how would i use this to trigger an alert if flowrate = 1 for (x) amount of time then send email etc...
generate pdf
I can't even run the pdf generator example, authorization denied appears, has anyone experienced this?
Trouble passing device_id from action
Hello, I'd like to pass the device_id of the device that triggers the analysis. This analysis is setup to trigger on mqtt topic. It then posts data to an http endpoint. I successfully get the payload, but am not able to pass the device_id through. Any
Best location to host external analysis
Hello, I am running my analysis in AWS. I believe many of the Tago services are also hosted in AWS. I want to host my analysis in the same region to reduce latency with API requests. What region would you recommend? Caio
Capture User on Custom Widget
Hello community, We are currently exploring Tago.io platform for integration into our projects, and so far, the experience has been quite positive. However, we are facing some challenges in implementing the Custom Widget, especially regarding the registration
(New SDK) - Authorization Denied sendDeviceData
Hello everyone, I'm facing a problem when trying to send data using the TagoIO SDK. Every time I try to send data I get an error message saying "Authorization Denied". I've already checked my access tokens and they appear to be correct. Here's an example
Upload image with form widget and send by email
Hello, I have a blueprint dashboard with a form widget. There is an upload file field and I want to trigger an analysis with submit button that send this file by email. I have this: const attachment = scope.find(x=> x.variable === 'attachment') await
Next Page