• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Mobile data usage monitoring (dataMonitor app)

Scheduled Pinned Locked Moved App Development
72 Posts 12 Posters 18.3k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      ricardo65 @matteo
      last edited by 9 Apr 2020, 18:12

      @matteo Please ignore the last message, I have restarted the mobile and I have only put the sim and I have taken the consumption well and put it in the section of the sim.any anomaly that I observe I will communicatescreenshot20200409_201206366.png

      M 1 Reply Last reply 10 Apr 2020, 16:34 Reply Quote 0
      • M Offline
        matteo @ricardo65
        last edited by 10 Apr 2020, 16:34

        @ricardo65 please tell me if you find any misbehavior like the one you noticed before. It's strange, the two data shall not be mixed together. Let me now.

        In the meantime, I finally by-passed the error thrown with the arm64 compilation and I uploaded also the clickable for this architecture. To download it, please head to --------->.click for arm64

        I hope starting since now I'll receive some feedback from Pinephone/Raspberry Pi owners too 🙂

        Regards,

        Matteo

        R 1 Reply Last reply 10 Apr 2020, 17:53 Reply Quote 0
        • R Offline
          ricardo65 @matteo
          last edited by 10 Apr 2020, 17:53

          @matteo Any anomaly I see, I'll let you know. Thank you.

          1 Reply Last reply Reply Quote 0
          • M Offline
            matteo
            last edited by 3 May 2020, 18:19

            New app version 0.1.8 is available for both architecture armhf and arm64. Find relevant .click files at dataMonitor app Repository.
            Change log is the following:

            -Version 0.1.8-

            1. Indicator facility added for a quicker glance at data usage. It's optional and the user can decide whether to install it or not, from Settings. The implementation is based on the indicator-weather by B. Douglass and the recently released indicator-upower by Ernest: thanks to both the developers.

            2. Merged MR made by Jonatan Ziegler, who modified the mattdaemon.conf file and the relevant CMakeLists.txt to be architecture agnostic. To have the new file in place, you need to head to Settings, remove the daemon files by means of the dedicated button, close the app and re-open soon after to have automatically installed the new daemon files.

            3. Fixed a bug preventing to build for the arm64 architecture: clickable complained for too many zeroes of a constant number defined in the networkdaemon.cpp file only for being as big as possible but exceeding the long type capability. Reducing the number of zeroes did the trick.

            1 Reply Last reply Reply Quote 0
            • M Offline
              matteo
              last edited by matteo 23 May 2020, 16:25

              New app version 0.1.9 is now available for both architectures armhf and arm64. Find relevant .click files at dataMonitor app Repository.

              -Version 0.1.9-

              1. A brand new app restyling has been introduced with the present version. All the credits go to Michele (@mymike00 on Telegram) who made that possible! Thank you again Michele, this app is becoming more and more the flagship contribution of the Italian Community for the UBports - Ubuntu Touch project.

              2. New gesture added for the graph: starting since now you can long swipe to the right/left on the graph to have a look at the data usage archived for the earlier/later months.

              3. Added new Gestures info page and Credits page to the Information page of the app.

              4. For the graph, modified X axis scale to accommodate better the days labels and enlarged bars graphical horizontal edge (smaller gap between two adjacent bars) within each time step.

              5. Minor bug fixing.

              1 Reply Last reply Reply Quote 1
              • M Offline
                matteo
                last edited by 21 Jun 2020, 17:55

                New app version 0.1.9.2 is now available for both architectures armhf and arm64. Find relevant .click files at dataMonitor app Repository. This version in mainly aimed to solve this bug

                Change log:

                -Version 0.1.9.2-

                1. Fix to issue #5 "Inconsistent values (even negative)"; Actiondaemon.cpp file modified.
                M 1 Reply Last reply 3 Jul 2020, 17:35 Reply Quote 1
                • M Offline
                  matteo @matteo
                  last edited by 3 Jul 2020, 17:35

                  New app version 0.1.9.3 is now available for both architectures armhf and arm64. Find relevant .click files at dataMonitor app Repository.

                  Change log:

                  -Version 0.1.9.3-

                  1. Additional fix for issue #5 "Inconsistent values (even negative)", due to incoherent behavior at the changing of month; Actiondaemon.cpp file modified.

                  2. Fix for issue #9 "remove daemon does not give user feedback".

                  3. Fix for issue #10 "Horizontal axis shows days labels overlapped on some devices (e.g. BQ Aquaris E5 HD)".

                  4. Minor labels tinkering in the "Settings" section, to displaying more clearly text and messages.

                  Kind regards,

                  Matteo

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    matteo
                    last edited by matteo 7 Jun 2020, 17:48 6 Jul 2020, 17:47

                    New app version 0.1.9.4 is now available for both architectures armhf and arm64. Find relevant .click files at dataMonitor app Repository.

                    Change log:

                    -Version 0.1.9.4-

                    1. Previous fix for issue #10 "Horizontal axis shows days labels overlapped on some devices (e.g. BQ Aquaris E5 HD)" generated a regression which the present release tries to resolve.

                    2. Fix for issue #11 "Sometimes received data for one connection, either Wi-Fi or SIM, are stored for both, when both are enabled on the device". In addition, networkdaemon.cpp was also modified for the user case with 2 SIM cards enabled at the same time.

                    Kind regards,

                    Matteo

                    DISCLAIMER: I'm without a UT compatible device right now (waiting for a PinePhone to come though) and I'm struggling to move further the development of the present app, but still trying hard to. Therefore regressions due to difficulties to test parts of the code that cannot be tested right now with the clickable compilation for desktop are likely to happen (as it happened already with the previous build 0.1.9.3 for instance). I'm trying to have a little step by little step approach in this phase, to avoid as much as possible huge regressions or misbehavior. If you experienced issues, I kindly ask you to be patient since those will be resolved as soon as I can (of course the development will speed up again once I'll get my device) and to giving me any feedback by filing bug reports in the issues section of my repository page.

                    1 Reply Last reply Reply Quote 1
                    • M Offline
                      matteo
                      last edited by matteo 15 Aug 2020, 16:13

                      @ricardo65 Hey Folks, I'm back with a new shiny Pinephone here :beaming_face_with_smiling_eyes:
                      I just issued the new version 0.1.9.5 to resolve the suspended issues. Here below the change log:

                      -Version 0.1.9.5-

                      1. Small modification to the mattdaemon.conf file to take into account the modification explained at point 2) of the present list. In order to exploit that, user shall manually remove the earlier stored mattdaemon files, heading to 'Settings' and pressing the relevant button provided to remove the daemon files. Afterwards, closing and re-opening the app automatically restore those newly updated files to their correct location.

                      2. Changed QT function in Actiondaemon.cpp file from QGuiApplication to QCoreApplication, more appropriate for a non-graphical implementation of the Actiondaemon executable file.

                      3. Earlier fix for issue #10 "Horizontal axis shows days labels overlapped on some devices (e.g. BQ Aquaris E5 HD)" wasn't effective and generated a regression which the present release resolves: graphs are back in action.

                      4. First attempt to meeting suggestion raised with issue #4 "suggestion: remove some dividers". Now in the main app window, only two dividers are left to distinguish between SIM and Wi-Fi data.

                      5. First attempt to fixing issue #3 "data not displayed consistently in different views". The indicator is now designed to be updated every 30 seconds instead of earlier 60 seconds.

                      6. In the 'Credits' page I added a row for thanking @Pgcor from the UBports italian channel who helped me to successfully test several app versions on behalf of myself, without tiredness.

                      7. Polish translation added thanks to Daniel Frańczak (@Daniel20000522).

                      Kind regards,

                      Matteo

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        rocket2nfinity
                        last edited by 17 Aug 2020, 16:14

                        Would it be possible to include network information with this app for both wifi and cell?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          matteo
                          last edited by matteo 17 Aug 2020, 17:45

                          I believe it is possible, but it depends on the information you'd like to see displayed. Some kind on information regarding the network is already reported into the mattdaemon.log: the fastest way to dig into that is exploiting the LogViewer app you'll find in the OpenStore. Please, let me know if it satisfies your needs or not 😉

                          R 1 Reply Last reply 18 Aug 2020, 02:05 Reply Quote 0
                          • R Offline
                            rocket2nfinity @matteo
                            last edited by 18 Aug 2020, 02:05

                            @matteo When I tried to find that log, with log viewer, it tells me 'no logs found for the set filter'. Should I be looking under another location other than the default upstart?

                            Specifically i'm looking for band, provider, strength info for cell, and the equivalent for WiFi

                            M 1 Reply Last reply 18 Aug 2020, 05:47 Reply Quote 0
                            • M Offline
                              matteo @rocket2nfinity
                              last edited by 18 Aug 2020, 05:47

                              @rocket2nfinity the mattdaemon.log is located at .cache\upstart directory. However, I think only information regarding provider is included in there among your requirements. I don't even know if it's possible to have the other information, but I'll better investigate.

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                matteo
                                last edited by 18 Aug 2020, 20:57

                                @rocket2nfinity the information for the current network in the app are withdrawn mainly using the following Qt functions:

                                • qnetworkconfiguration
                                • qnetworkinterface

                                I don't see there other information such as band, provider or strength info for cell to be displayed. But if you have a suggestion in this regard, please be my guest :).

                                Thank you.

                                Matteo

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  matteo
                                  last edited by matteo 10 Mar 2020, 06:02 2 Oct 2020, 17:39

                                  New app version 0.1.9.6 is now available here. My intention is now to issue two or three additional versions prior to get to the final 0.2.0, which I believe will be the eligible version to be published in the OpenStore. I have just small modifications still missing, only to make the app as polished as possible before publishing, therefore I think it will be a fast process to get to the final version.
                                  Here below the current change log:

                                  -Version 0.1.9.6-

                                  1. Slight modifications to Actiondaemon.cpp and Daemon.qml files to further fix issue #5 "Inconsistent values (even negative)", still causing the indicator to show negative values for a small time step at every reboot.

                                  2. Added switcher options in 'Settings' to be able to choosing the data for SIM and Wi-Fi to be displayed in the indicator. This is a specific user request (for details see issue #6 "Select which data appears in notification bar").

                                  3. Removed few dividers from the Settings page to meeting suggestion raised with issue #4 "suggestion: remove some dividers".

                                  4. Graph bars better centered inside relevant days gaps.

                                  5. Indicator icon updated. Now this is hand made by the app author and not anymore provided as a default one (thanks to @abmyii for the hint).

                                  6. Thanks to a hint from @Danfro (Daniel Frost), now the Settings page scrolls down immediately to display a message.

                                  Any feedback on the current status of the app is always welcome.

                                  Thank you.

                                  1 Reply Last reply Reply Quote 1
                                  • M Offline
                                    matteo
                                    last edited by 11 Oct 2020, 06:58

                                    New app version 0.1.9.7 with .click files for arm64 and armhf architectures are now available here.
                                    Find below the current change log;

                                    -Version 0.1.9.7-

                                    1. Modification to mattdaemon-service.conf to be able to trigger the executable Actiondaemon file when rebooting the device; this is useful to resetting the daily received data soon after rebooting without waiting anymore for a transition time to occur (equal to the daemon time step, set in 'Settings'). For users who have previous versions of the app installed, once updated the app to the present version, the current stored mattdaemon files shall be manually removed, by heading to 'Settings' and pressing the relevant button provided to remove the daemon files. Afterwards, closing and re-opening the app automatically would restore those newly updated files to their correct location. A subsequent device shutdown and re-boot will eventually bring this file in normal operation.

                                    2. Added a lock in Settings for the daemon time step, to avoid changing this option by inadvertently touching the slider.

                                    Any feedback on the current status of the app is always welcome.

                                    Thank you.

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      matteo
                                      last edited by matteo 14 Oct 2020, 17:47

                                      New app version 0.1.9.8 with .click files for arm64 and armhf architectures are now available here.
                                      Find below the current change log:

                                      -Version 0.1.9.8-

                                      1. Added a second button in Settings to set a daily switch threshold for the app Theme, other than the nightly switch already available.

                                      2. SIM and WI-FI received data recap in the app Main page is now updated every time going back from the Graph page.

                                      3. Fixed error thrown when a database of data thresholds isn't yet created. This is useful to cleaning up the mattdaemon.log from undesired error report, which wasn't preventing the app to correctly work though.

                                      Any feedback on the current status of the app is always welcome.

                                      Thank you.

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        matteo
                                        last edited by 21 Nov 2020, 17:49

                                        New app version 0.1.9.9 with .click files for arm64 and armhf architectures are now available here.
                                        Find below the current change log:

                                        -Version 0.1.9.9-

                                        1. Message bubble implemented for the graph, to display data usage for each data bar, just tapping on the concerned bar. This is deliberately taken from the Talaan app made by Kugi Eusebio @javacookies. Thanks Kugi for your work.

                                        2. Main page and Chart page are now able to update theirs figures and chart automatically (every 10 seconds), the latter without the recourse to an update button, implementing the .qml 'Timer' cycle in the code. Because of that, for Chart page the update button on the top right hand side of it was deleted.

                                        3. Added mattdaemon status in the Indicator panel to acknowledging if the daemon is Active or Inactive.

                                        4. Refresh time in mattdaemon.conf file is set to 10 seconds (former 40 seconds) to be the app default update time step. With such modification the data usage is updated more frequently so that data not accounted for is more unlikely to occur and moreover battery drain doesn't seem to be much affected.

                                        5. Refresh time for dataMonitor Indicator is set to 10 seconds (former 30 seconds) to be better aligned to Main page app refresh time.

                                        6. Added a stop command to stop the mattdaemon daemon when uninstalled from Settings, to force it being inactive.

                                        7. Fix for actiondaemon.cpp file for appropriate data storage, when the device is kept alive continuously for more than one day.

                                        8. Exceeded data threshold notification is now translatable.

                                        Any feedback on the current status of the app is always welcome.

                                        Kindly note that the present version is the last test version and starting since the next one, i.e. the 0.2.0, you'll hopefully find it published in the OpenStore. What is now missing is only the artwork (to be clear the new app icon as minimum) which will probably not take me too much to implement it thanks to @C0n57an71n work). Thanks to the people who supported me in this journey, which was painful and instructive to me at the same time. See you in the OpenStore! Cheers.

                                        Matteo

                                        1 Reply Last reply Reply Quote 3
                                        • M Offline
                                          magnargj @matteo
                                          last edited by 11 Jun 2021, 10:58

                                          @matteo hi, I seem to have the same issue as @ricardo65 on my xiaomi mi a2, it is a dual sim phone, looks like the sim is rmnet_data*

                                          Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                          M 1 Reply Last reply 15 Jun 2021, 16:12 Reply Quote 0
                                          • T Offline
                                            trwidick
                                            last edited by 11 Jun 2021, 21:48

                                            Having Issue on Pixel 3A, adding limits do not show up and Mobile data receive or send does not show up, app crashes when I click on sim info, or data.
                                            This is the latest update from the App store.

                                            Currently Using: Google Pixel 3a (sargo) OTA-17

                                            M 1 Reply Last reply 15 Jun 2021, 16:14 Reply Quote 0
                                            • First post
                                              Last post