@nino-kurtalj New link is here: https://docs-v4.radixiot.com/script-examples
Best posts made by tungthanh500
-
Device disconnect and data logging
Hi all,
I'm building a Mango website to monitor some power meter via Ethenet. Below is my data point logging setting.
Today, my server disconnect or the meter disconnect, the server keeps logging last data value (see photo below)
From 3PM to 9PM, the server is disconnected so I expect the value should be 0.Is there are any setting so I can make sure the logging value is 0 if server/power meter disconnected, therefore I or anyone can realize the abnormal and check the server/meter?
Thank you.
Latest posts made by tungthanh500
-
RE: Docker and Mango v5.0.2
@MattFox If I am not wrong, in Mango 5, you must access the web with 8443 (or SSL route) and there is no workaround. I'm using an Mango instance on Windows to try stuff and no way out :"<
-
RE: Syntax for Read Permission = true in query
@Benoit You can post your devices structure here, we can give you some advise or suggestion.
About learning about script, you can see examples in people's posts -
RE: Syntax for Read Permission = true in query
@Benoit Totally agree with Matt. You should use tags more for easy filtering. It may takes some time but you can optimise your code
-
RE: Announcing the New Mango 5 Pre-Release: Download Now and Explore Exciting Features!
Congrat on new Version in few hours.
I found this "bug" (not sure if it is).
Below is my measurement of energy at my flat (latest 5.0.1). You can see that I clicked at 3 Jun, the values and timestamp appears on 4 Jun. This also happens on Mango 4.
-
RE: Announcing the New Mango 5 Pre-Release: Download Now and Explore Exciting Features!
@mumcs01 is there any place where we can give our feedback?
-
RE: Help with ideas for how to guide
@CraigWeb Do you mind making a tutorial regarding to SSL certify on Windows for Mango 5 (or Mango 4)? I know the system should be installed on Linux based for better configuration but Windows is preferred in my place and it is not easy for us to write an instruction on how to use everything on Ubuntu
-
RE: MySQL database restore
Hi @CraigWeb , actually I was trying to install a new Mango 5 instance. Everything is totally new. These are what I did:
1/ Install MySQL 8.0, create a database (scheme) named mango
2/ Install Mango 5 and paste a mango.properties file with MySQL info as above mentioned in mango_data folder.
3/ Start mango service and change admin password.
4/ Create a data source with some data point.
5/ Backup with Backup feature in System Setting -> SQL backup
6/ Delete data source and restore with System Setting -> SQL backup.
7/ See that orange warning pop up, but the deleted data source and data point is back, but I'm not sure if it normal or not. -
MySQL database restore
Hi, I just start to try using Mango 5 and MySQL. This is the first time I use MySQL at all. I can backup the sql with System -> SQL database backup but when I tried to restore, I got this warning
Even though, the deleted data source was restore but I don't know what may be wrong.
Below is my MySQL config in mango.properties. I doubt my db.mysql is not correct.
db.type=mysql db.url=jdbc:mysql://localhost/mango db.username=root db.password=mangotesting db.mysqldump=C:/Program Files/MySQL/MySQL Server 8.0/bin/mysqldump.exe db.mysql=C:/Program Files/MySQL/MySQL Server 8.0/bin/mysql.exe
-
RE: Mango instance cannot initialize
@CraigWeb thank you. I start fresh and restore with System settings -> SQL database backup -> select latest core-database-H2 zip file.
Is that enough? I check the Data point detail and found nothing in history :| Is there something I miss? I see also see MangoNoSQL-incremental-Mar-12-2023_063732.zip in backup folder but I have no idea how restore this file.Update: I restored from another backup file and found out that that latest is broken. All data is lost.
Thank you all for your help.
-
RE: Mango instance cannot initialize
@CraigWeb Is the mah2 DB at C:\mango_data\databases?