← Sensors
Energy meter
Voltage, current and power now, and the energy used so far. Power is signed, so a circuit that feeds back (solar) reads negative.
Readings
5 sensorsSwitchON51330005-0D
Voltage230.1V51330005-4B
Current1.49A51330005-4A
Power342.5W51330005-89
Energy used18420Wh51330005-8C
Example readings
Device
- Status
- Simulated
- Device type
- 0x0005
- Link
- 2.4 GHz radio (nRF24L01+)
- Report
- 21 of 25 bytes, with the supply voltage
A device type named in the protocol. The simulated hub has one, so the software can already show it; there is no hardware or firmware yet.
On the radio
What it sends
Every report carries the readings below, in this order, after the device's supply voltage.
Report
type 2 · 21 bytes of readings| Sensor | Tag | Sent as | Sensor id |
|---|---|---|---|
| Switch | 0x0D | u8, 0 off, 1 on | 51330005-0D |
| Voltage | 0x4B | u16, 0.1 V | 51330005-4B |
| Current | 0x4A | u16, 0.01 A | 51330005-4A |
| Power | 0x89 | i32, 0.1 W; negative when exporting | 51330005-89 |
| Energy used | 0x8C | u32, Wh | 51330005-8C |