Table of Contents

Android application: Power monitor for Atorch

Power monitor for Atorch Welcome to my power monitor application for Atorch power meters! This app allows users to track and monitor their power usage in real-time, helping them to save energy and reduce their carbon footprint. With this app, users can view detailed statistics on their energy consumption. Whether you're looking to save money on your energy bills or simply want to be more energy-efficient, this app is the perfect tool for you.

Supported for Atorch UD18 UD24 DT24 and similar USB or S1-B mains power meters, that share the same BLE Serial protocol

VersionDevelopmentLanguagePlatformScreenshots
0.3In-ProgressJavaScript, Droidscript Android

Source is available on GitHub repository

BLE Serial Protocol

Commands for UD18 UD24

CommandBytes
WH resetFF 55 11 03 01 00 00 00 00 51
AH resetFF 55 11 03 02 00 00 00 00 52
TIME resetFF 55 11 03 03 00 00 00 00 53
ALL resetFF 55 11 03 05 00 00 00 00 5d
SETUP ButtonFF 55 11 03 31 00 00 00 00 01
ENTER ButtonFF 55 11 03 32 00 00 00 00 02
[+] ButtonFF 55 11 03 33 00 00 00 00 03
[-] ButtonFF 55 11 03 34 00 00 00 00 0C

Commands for S1-B

CommandBytes
WH resetFF 55 11 03 01 00 00 00 00 51
Internal relayFF 55 11 03 02 00 00 00 00 52
TIME resetFF 55 11 03 03 00 00 00 00 53

Data from devices UD18 UD24 and S1B

BitUD18/24S1B
00FF
0155
02msg type: 0x01- data, 0x11- command, 0x02- ACK
03device type: 0x03- usb0x01- mains
04VV
05VV
06V, INT24 / 100V, INT24 / 10
07II
08II
09I, INT24I, INT24 / 10
0AmAhW
0BmAhW
0CmAh, INT24W, INT24/10
0DWhkWh
0EWhkWh
0FWhkWh
10Wh INT32, /100kWh INT32, /100
11D-Price
12D-, INT16, /100Price
13D+Price INT24, /100
14D+, INT16, /100Frequency
15 Frequency INT16, /10
16Temperature ºC BYTEPower Factor
17 Power Factor INT16, /1000
18Hour BYTE
19Minute BYTETemperature ºC BYTE
1ASecond BYTEHours
1B Hours INT16
1C Minutes BYTE
1D Seconds BYTE
1E
1F
20
21
22
23CRC ?? unknow algorithm

Downloads

PowerMon version 0.3

Permissions note

Storage- to save configuration file on your device

Location- to access BLE devices

.

Changes

Version 0.3

First release, compatible with Android 13 Compiled with Droidscript 2.58 Beta

Full changelog