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.06k stars 4.78k forks source link

Power Monitoring (NX-SM223) Not able to measure Power #7258

Closed vaidyasr closed 4 years ago

vaidyasr commented 4 years ago

PROBLEM DESCRIPTION

I bought a Tuya clone plug from Amazon.in and flashed with tuya-convert with Tasmota. I tried to use the user template which looks similar to my model. But can't control the plug via Tasmota. So I have changed to generic and I was able to configure the Relay, Led & Button. Now, I can't figure out the power settings, tried various combinations, but still the main page shows all zeros. Please help how to measure the power.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [x] Provide the output of this command: `Status 0`:

16:14:43 RSL: stat/tasmota/STATUS = {"Status":{"Module":18,"FriendlyName":["Tasmota"],"Topic":"tasmota","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 16:14:43 RSL: stat/tasmota/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"Software/System restart","Uptime":"0T00:03:17","StartupUTC":"2019-12-19T15:11:26","Sleep":50,"CfgHolder":4617,"BootCount":74,"SaveCount":358,"SaveAddress":"F6000"}} 16:14:43 RSL: stat/tasmota/STATUS2 = {"StatusFWR":{"Version":"7.1.2(tasmota)","BuildDateTime":"2019-12-06T11:22:22","Boot":31,"Core":"2_61","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8285"}} 16:14:43 RSL: stat/tasmota/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Anuradha Sriram",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C8000100060000005A00000000000000","00000000","00000000"]}} 16:14:43 RSL: stat/tasmota/STATUS4 = {"StatusMEM":{"ProgramSize":562,"Free":440,"Heap":27,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashMode":3,"Features":["00000809","8FDAE397","043683A0","22B617CD","01001BC0","00007881"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,29","Sensors":"1,2,3,4,5,6,7,8,9,10,14,15,17,18,20,22,26,34"}} 16:14:43 RSL: stat/tasmota/STATUS5 = {"StatusNET":{"Hostname":"tasmota-4646","IPAddress":"192.168.1.215","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.1.1","Mac":"2C:F4:32:CC:D2:26","Webserver":2,"WifiConfig":2}} 16:14:43 RSL: stat/tasmota/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_CCD226","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} 16:14:43 RSL: stat/tasmota/STATUS7 = {"StatusTIM":{"UTC":"Thu Dec 19 15:14:43 2019","Local":"Thu Dec 19 16:14:43 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"08:39","Sunset":"16:54"}} 16:14:43 RSL: stat/tasmota/STATUS10 = {"StatusSNS":{"Time":"2019-12-19T16:14:43"}} 16:14:43 RSL: stat/tasmota/STATUS11 = {"StatusSTS":{"Time":"2019-12-19T16:14:43","Uptime":"0T00:03:17","UptimeSec":197,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"ON","Wifi":{"AP":1,"SSId":"Anuradha Sriram","BSSId":"50:0F:F5:9C:74:99","Channel":1,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:08"}}}

- [ ] Provide the output of the Console log output when you experience your issue; if applicable:
  _(Please use_ `weblog 4` _for more debug information)_

Console output here:



### TO REPRODUCE
_Steps to reproduce the behavior:_

### EXPECTED BEHAVIOUR
Tried various combinations in GPIO4/GPIO5/GPIO12 with 133/132/131 from the options. Still the values are 0.

### SCREENSHOTS
_If applicable, add screenshots to help explain your problem._

### ADDITIONAL CONTEXT
_Add any other context about the problem here._

**(Please, remember to close the issue when the problem has been addressed)**
Jason2866 commented 4 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 Chat for more user experience. See Community for forum. See Code of Conduct