arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.12k stars 4.79k forks source link

Sonoff POW with node-red fail to receive stat and tele commands #5943

Closed jordiponsmartell closed 5 years ago

jordiponsmartell commented 5 years ago
### ISSUE DESCRIPTION - TROUBLESHOOTING _A clear description of what the issue is and be as extensive as possible_ Hi, I'm testing a Sonoff Pow with the 6.5 firmware in node-red. When I publish commands to the topic from node-red, I have the responses on the console of the device webserver, but can't receive them in node-red. I'm able to turn ON/OFF the output of the device and I see the messages that I publish from node-red to the device web server. I'm subscribed in node-red to +/+/+ to receive all the MQTT commands and see them on the debug console, but I receive only ; pow1/tele/LWT, pow1/stat/RESULT, pow1/stat/POWER, pow1/tele/UPTIME and the comands I publish but can't receive the Status responses, even if I see them on the device website. The MQTT communication seems to work fine, but, what I'm missing? I'm a newbie on Tasmota and node-red, is there a parameter that filters the messages I can receive? ### REQUESTED INFORMATION _Make sure these boxes are checked before submitting your issue. Thank you_ **FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED** - [x ] Read the [Contributing Guide and Policy](https://github.com/arendst/Sonoff-Tasmota/blob/development/CONTRIBUTING.md) and [the Code of Conduct](https://github.com/arendst/Sonoff-Tasmota/blob/development/CODE_OF_CONDUCT.md) - [x ] Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues) - [x ] Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting) - [x ] Searched the problem in the forum (https://groups.google.com/d/forum/sonoffusers) - [x ] Searched the problem in the chat (https://discord.gg/Ks2Kzd4) - [x ] Device used (i.e. Sonoff Basic) :Sonoff POW - [x ] Tasmota binary firmware version number used : Sonoff-Tasmota 6.5.0 por Theo Arends / (pre-compiled or self-compiled ?) - [x ] Development IDE - Compiler / Upload tools used : Arduino 1.8.8 / FTDI - [x ] Provide the output of command ``status 0`` : ``` STATUS 0 OUTPUT HERE: 22:59:39 RSL: pow1/stat/STATUS = {"Status":{"Module":6,"FriendlyName":["pow1"],"Topic":"pow1","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":0,"SaveData":10,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 22:59:39 RSL: pow1/stat/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://thehackbox.org/tasmota/release/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T05:27:54","StartupUTC":"2019-06-10T16:31:45","Sleep":50,"CfgHolder":1,"BootCount":4,"SaveCount":23,"SaveAddress":"F5000"}} 22:59:39 RSL: pow1/stat/STATUS2 = {"StatusFWR":{"Version":"6.5.0(classic)","BuildDateTime":"2019-06-10T18:27:27","Boot":7,"Core":"2_5_2","SDK":"2.2.1(cfd48f3)"}} 22:59:39 RSL: pow1/stat/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Caiman",""],"TelePeriod":20,"Resolution":"558180C0","SetOption":["00088009","280500000100000000000000000000000000","00000200"]}} 22:59:39 RSL: pow1/stat/STATUS4 = {"StatusMEM":{"ProgramSize":519,"Free":484,"Heap":28,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"1640EF","FlashMode":3,"Features":["00002C0A","60002390","00800008","00000096","000000C0"]}} 22:59:39 RSL: pow1/stat/STATUS5 = {"StatusNET":{"Hostname":"pow1-3009","IPAddress":"192.168.88.209","Gateway":"192.168.88.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.0.1","Mac":"84:F3:EB:3E:4B:C1","Webserver":2,"WifiConfig":4}} 22:59:39 RSL: pow1/stat/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.88.243","MqttPort":1883,"MqttClientMask":"SONOFF_%06X","MqttClient":"SONOFF_3E4BC1","MqttUser":"DVES_USER","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}} 22:59:39 RSL: pow1/stat/STATUS7 = {"StatusTIM":{"UTC":"Mon Jun 10 21:59:39 2019","Local":"Mon Jun 10 22:59:39 2019","StartDST":"Mon Jun 17 18:00:00 2019","EndDST":"Mon Jun 17 18:00:00 2019","Timezone":"+01:00"}} 22:59:39 RSL: pow1/stat/STATUS9 = {"StatusPTH":{"PowerDelta":80,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 22:59:39 RSL: pow1/stat/STATUS10 = {"StatusSNS":{"Time":"2019-06-10T22:59:39","ENERGY":{"TotalStartTime":"2019-06-10T17:29:01","Total":0.005,"Yesterday":0.000,"Today":0.005,"Power":3,"ApparentPower":3,"ReactivePower":0,"Factor":1.00,"Voltage":225,"Current":0.012}}} 22:59:39 RSL: pow1/stat/STATUS11 = {"StatusSTS":{"Time":"2019-06-10T22:59:39","Uptime":"0T05:27:54","Vcc":3.468,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"POWER":"ON","Wifi":{"AP":1,"SSId":"Caiman","BSSId":"6C:3B:6B:27:0C:65","Channel":8,"RSSI":98,"LinkCount":1,"Downtime":"0T00:00:05"}}} ``` - [x ] Provide the output of console when you experience your issue if apply : _(Please use_ ``weblog 4`` _for more debug information)_ ``` CONSOLE OUTPUT HERE: Here is the lack of information. ``` **(Please, remember to close the issue when the problem has been addressed)**
ascillato2 commented 5 years ago

Please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you. Github issues are meant for Tasmota Software Bug Reporting.

Please check the Contributing Guideline and Policy and the Support Guide.

Thanks.


Support Information

See Wiki for more information. See FAQ for common questions/answers and links if none of your question is in the list See Chat for more user experience. See Community for forum. See Code of Conduct