Wattage on Nous A1T (Tasmota 12.4.0)

  • Platform information:
    • Hardware: _Raspberry 4
    • OS: Openhabian
    • Java Runtime Environment: Zulu 11
    • openHAB version: 3.4.2
  • Issue of the topic: wattage on Nous A1T (Tasmota 12.4.0)

I don’t know why, I don’t get any values for the current energy. The item itself is online and the switch channel works. I also tried with ‘…Voltage’ and ‘…Power’ instead of ‘…Current’.

UID: mqtt:topic:7dd45ad012:982970f1eb
label: "PWR: TV"
thingTypeUID: mqtt:topic
configuration:
  payloadNotAvailable: Offline
  availabilityTopic: tele/TV/LWT
  payloadAvailable: Online
bridgeUID: mqtt:broker:7dd45ad012
location: Rockito
channels:
  - id: PWT_TV
    channelTypeUID: mqtt:switch
    label: "PWR: TV"
    description: ""
    configuration:
      commandTopic: cmnd/TV/POWER
      stateTopic: stat/TV/POWER
      off: OFF
      on: ON
  - id: Watt_TV1
    channelTypeUID: mqtt:number
    label: "Watt: TV"
    description: null
    configuration:
      stateTopic: tele/TV/SENSOR
      transformationPattern: JSONPATH:$.ENERGY.Current

Hi,

Can you use mqtt explorer to connect to MQTT server and see what is the values send by your NOUS A1T ?

Br
Artur

After rebooting it seems to work, now thers’s a line shown, but the values are all 0.
Here are the values of the mqtt explorer:

{
  "ip": "192.168.178.97",
  "dn": "TV",
  "fn": [
    "TV",
    null,
    null,
    null,
    null,
    null,
    null,
    null
  ],
  "hn": "TV-2817",
  "mac": "485519182B01",
  "md": "NOUS A1T",
  "ty": 0,
  "if": 0,
  "ofln": "Offline",
  "onln": "Online",
  "state": [
    "OFF",
    "ON",
    "TOGGLE",
    "HOLD"
  ],
  "sw": "12.4.0",
  "t": "TV",
  "ft": "%prefix%/%topic%/",
  "tp": [
    "cmnd",
    "stat",
    "tele"
  ],
  "rl": [
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "swc": [
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1,
    -1
  ],
  "swn": [
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null
  ],
  "btn": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "so": {
    "4": 0,
    "11": 0,
    "13": 0,
    "17": 0,
    "20": 0,
    "30": 0,
    "68": 0,
    "73": 0,
    "82": 0,
    "114": 0,
    "117": 0
  },
  "lk": 0,
  "lt_st": 0,
  "sho": [
    0,
    0,
    0,
    0
  ],
  "sht": [
    [
      0,
      0,
      0
    ],
    [
      0,
      0,
      0
    ],
    [
      0,
      0,
      0
    ],
    [
      0,
      0,
      0
    ]
  ],
  "ver": 1
}

tasmota/discovery/485519182B01/config

{
  "sn": {
    "Time": "2023-03-22T19:20:27",
    "ENERGY": {
      "TotalStartTime": "2023-03-21T12:16:45",
      "Total": 0.035,
      "Yesterday": 0.001,
      "Today": 0.034,
      "Power": 0,
      "ApparentPower": 0,
      "ReactivePower": 0,
      "Factor": 0,
      "Voltage": 0,
      "Current": 0
    }
  },
  "ver": 1
}

tasmota/discovery/485519182B01/sensors

```*emphasized text*

I really don’t know why. But after changing between different states (total, voltage…) it seems to work. But there is a big lag of around five minutes when I switch devices on and off.

Hi,
I think, that’s the standard, when you read just the “tele” topics, as Tasmota sends the “tele” topics based on the content of “teleperiod”. Standard is 300, which are 300 seconds aka. 5 min. Change “teleperiod” to eg. 15 and you will see updates every 15 seconds.
And to get the ON/OFF status right away , you should use the “stat” topic.

You’re right! Thank you!