Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:CMD:cmd SENSOR NOT found in logs #1391

Open
jkwim opened this issue Oct 17, 2024 · 5 comments
Open

Error:CMD:cmd SENSOR NOT found in logs #1391

jkwim opened this issue Oct 17, 2024 · 5 comments
Labels
bug Something isn't working solved

Comments

@jkwim
Copy link

jkwim commented Oct 17, 2024

Describe the bug
Error:CMD:cmd SENSOR NOT found in logs.

Firmware:

  • Version: OpenBK7231N_1.17.740
  • Device: WHDZ03 Smart Plug with Energy Monitoring (CB2S BK7231N + BL0937)
  • Chip/model: BK7231N
  • Device config:

I have following flags enabled:

Flag 2 - [MQTT] Broadcast self state every N (def: 60) seconds (delay configurable by 'mqtt_broadcastInterval' and 'mqtt_broadcastItemsPerSec' commands)
Flag 10 - [MQTT] Broadcast self state on MQTT connect
Flag 21 - [MQTT] Retain power channels (Relay channels, etc)
Flag 30 - [MQTT] Enable Tasmota TELE etc publishes (for ioBroker etc)

Drivers are running:
3 drivers active (Charts,NTP,BL0937), total 37

autoexec.bat

alias mode_wifi setPinRole 8 WifiLED_n
alias mode_relay setPinRole 8 LED_n
// at reboot, set WiFiLEd
mode_wifi
// then, setup handlers
addChangeHandler WiFiState == 4 mode_relay 
addChangeHandler WiFiState != 4 mode_wifi 

startDriver BL0937
startDriver NTP
waitFor NTPState 1
ntp_setServer 192.168.1.235
ntp_timeZoneOfs +05:30

startDriver charts
// chart with max 48 samples, 2 variables and 2 vertical axes
chart_create 48 2 2
// set variables along with their axes
chart_setVar 0 "Voltage" "axv"
chart_setVar 1 "Power" "axp"
// setup axes
// axis_index, name, flags, label
chart_setAxis 0 "axv" 0 "Voltage (V)"
chart_setAxis 1 "axp" 1 "Power (W)"
addRepeatingEvent 5 -1 chart_addNow $voltage $power

To Reproduce

Info:MQTT:Publishing val (256 bytes) to tele/openbk7231N/SENSOR retain=0

Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR

Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-14T12:36:51","ENERGY":{"Power": 0.000000,"ApparentPower": 39.396476,"ReactivePower": 39.396476,"Factor":0.000000,"Voltage":237.316864,"Current":0.166007,"ConsumptionTotal":818.177917,"Yesterday": 423.476654,"ConsumptionLastHour":0.000000}})

Additional context
I had the plugs on 1.17.243 but unused for a while. I could not recall seeing this message in the log. After the upgrade I noticed the error.

Also after bootup similar error is seen for RESULT:

Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic stat/openbk7231N/RESULT
Error:CMD:cmd RESULT NOT found (args {"Time":"2024-10-16T11:24:57","Uptime":"0T00:00:14","UptimeSec":14,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":23,"POWER":"ON","Wifi":{"AP":1,"SSId":"xxxxxxxx","BSSId":"xxxxxxxxx","Channel":11,"Mode":"11n","RSSI":46,"Signal":-77,"LinkCount":21,"Downtime":"0T06:13:34"}})

@jkwim
Copy link
Author

jkwim commented Oct 17, 2024

This error comes when you enable
Flag 30 - [MQTT] Enable Tasmota TELE etc publishes (for ioBroker etc)

I have tried increasing the TeleInterval:
TasTeleInterval 10 60
And the error message now comes at intervals which match the TeleInterval except that there is a spurious error message which pops up every 70seconds. I could not figure out where the 70seconds come in.
(note that I have trimmed the text to about 140 columns to reduce the clutter)

$ nc 192.168.1.250 9000 | awk ' /SENSOR/ {print(strftime(), $0)}'
Thu Oct 17 11:27:09 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:09 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:26:58","ENERGY":{"Powe
Thu Oct 17 11:27:10 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:10 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:08","ENERGY":{"Powe
Thu Oct 17 11:27:20 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:20 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:20 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:18","ENERGY":{"Powe
Thu Oct 17 11:27:30 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:30 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:28","ENERGY":{"Powe
Thu Oct 17 11:27:40 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:40 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:40 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:38","ENERGY":{"Powe
Thu Oct 17 11:27:50 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:50 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:50 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:48","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:27:58 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:27:58 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:27:58 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:56","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:28:00 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:28:00 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:28:00 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:27:58","ENERGY":{"Powe
Thu Oct 17 11:28:10 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:28:10 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:28:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:28:08","ENERGY":{"Powe
Thu Oct 17 11:28:20 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:28:20 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:28:20 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:28:18","ENERGY":{"Powe
Thu Oct 17 11:28:30 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:28:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:28:30 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:28:28","ENERGY":{"Powe
Thu Oct 17 11:28:40 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:28:40 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:28:40 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:28:38","ENERGY":{"Powe
Thu Oct 17 11:28:50 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:28:50 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:28:50 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:28:48","ENERGY":{"Powe
Thu Oct 17 11:29:00 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:00 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:00 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:28:58","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:29:08 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:08 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:08 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:06","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:29:10 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:10 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:08","ENERGY":{"Powe
Thu Oct 17 11:29:20 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:20 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:20 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:18","ENERGY":{"Powe
Thu Oct 17 11:29:30 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:30 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:28","ENERGY":{"Powe
Thu Oct 17 11:29:40 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:40 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:40 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:38","ENERGY":{"Powe
Thu Oct 17 11:29:50 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:29:50 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:29:50 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:48","ENERGY":{"Powe
Thu Oct 17 11:30:00 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:01 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:01 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:29:58","ENERGY":{"Powe
Thu Oct 17 11:30:10 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:10 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:08","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:30:18 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:18 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:18 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:16","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:30:20 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:22 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:22 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:18","ENERGY":{"Powe
Thu Oct 17 11:30:30 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:30 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:28","ENERGY":{"Powe
Thu Oct 17 11:30:40 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:40 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:40 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:38","ENERGY":{"Powe
Thu Oct 17 11:30:50 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:30:50 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:30:50 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:48","ENERGY":{"Powe
Thu Oct 17 11:31:00 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:00 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:00 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:30:58","ENERGY":{"Powe
Thu Oct 17 11:31:10 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:10 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:08","ENERGY":{"Powe
Thu Oct 17 11:31:20 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:20 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:20 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:18","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:31:28 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:28 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:28 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:26","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:31:30 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:30 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:28","ENERGY":{"Powe
Thu Oct 17 11:31:40 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:40 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:40 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:38","ENERGY":{"Powe
Thu Oct 17 11:31:50 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:31:50 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:31:50 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:48","ENERGY":{"Powe
Thu Oct 17 11:32:00 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:00 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:00 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:31:58","ENERGY":{"Powe
Thu Oct 17 11:32:10 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:10 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:10 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:32:08","ENERGY":{"Powe
Thu Oct 17 11:32:20 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:20 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:20 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:32:18","ENERGY":{"Powe
Thu Oct 17 11:32:30 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:30 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:32:28","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:32:39 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:39 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:39 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:32:36","ENERGY":{"Powe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Thu Oct 17 11:32:40 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:40 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:40 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:32:38","ENERGY":{"Powe
Thu Oct 17 11:32:50 +0530 2024 Info:MQTT:Publishing val (255 bytes) to tele/openbk7231N/SENSOR retain=0
Thu Oct 17 11:32:50 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Thu Oct 17 11:32:50 +0530 2024 Error:CMD:cmd SENSOR NOT found (args {"Time":"2024-10-17T11:32:48","ENERGY":{"Powe

@openshwprojects
Copy link
Owner

I see, I've pushed a fix to silence it, can you check now?

@jkwim
Copy link
Author

jkwim commented Oct 21, 2024

Flashed Built on Oct 20 2024 14:44:11 version 1.17.754

The error for SENSOR is suppressed now.

$ nc 192.168.1.218 9000 | awk '/SENSOR/ {print(strftime(), $0)}'
Mon Oct 21 11:26:36 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Mon Oct 21 11:26:36 +0530 2024 Info:MQTT:Publishing val (256 bytes) to tele/openbk7231N/SENSOR retain=0
Mon Oct 21 11:26:36 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Mon Oct 21 11:26:36 +0530 2024 Info:MQTT:Publishing val (256 bytes) to tele/openbk7231N/SENSOR retain=0
Mon Oct 21 11:26:36 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Mon Oct 21 11:26:37 +0530 2024 Info:MQTT:Publishing val (256 bytes) to tele/openbk7231N/SENSOR retain=0
Mon Oct 21 11:26:37 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Mon Oct 21 11:26:39 +0530 2024 Info:MQTT:Publishing val (256 bytes) to tele/openbk7231N/SENSOR retain=0
Mon Oct 21 11:26:39 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic tele/openbk7231N/SENSOR
Mon Oct 21 11:26:42 +0530 2024 Info:MQTT:Publishing val (256 bytes) to tele/openbk7231N/SENSOR retain=0

However the error for RESULT still appeared:

Mon Oct 21 11:24:32 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic stat/openbk7231N/RESULT
Mon Oct 21 11:24:32 +0530 2024 Error:CMD:cmd RESULT NOT found (args {"Time":"2024-10-21T11:24:30","Uptime":"0T00:02:19","UptimeSec":139,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":23,"POWER":"ON","Wifi":{"AP":1,"SSId":"xxxx","BSSId":"xxxx","Channel":11,"Mode":"11n","RSSI":52,"Signal":-74,"LinkCount":21,"Downtime":"0T06:13:34"}})

@openshwprojects
Copy link
Owner

I see, thanks, I've added Result stub now, can you check?

@jkwim
Copy link
Author

jkwim commented Oct 22, 2024

Flashed 1.17.755 and now the error is gone.

$ nc 192.168.1.218 9000 | awk '/RESULT/ {print(strftime(), $0)}'
Tue Oct 22 17:00:30 +0530 2024 Info:MQTT:Publishing val (309 bytes) to stat/openbk7231N/RESULT retain=0
Tue Oct 22 17:00:30 +0530 2024 Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic stat/openbk7231N/RESULT

Thanks a lot for the quick fixes!

@openshwprojects openshwprojects added bug Something isn't working solved labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved
Projects
None yet
Development

No branches or pull requests

2 participants