Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Wrong energy measures using module BL0937 #21223

Closed
3 of 14 tasks
gustavomahlow opened this issue Apr 20, 2024 · 0 comments
Closed
3 of 14 tasks

Wrong energy measures using module BL0937 #21223

gustavomahlow opened this issue Apr 20, 2024 · 0 comments

Comments

@gustavomahlow
Copy link

gustavomahlow commented Apr 20, 2024

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.
I bought a plug that comes with a CB2S module and changed it to an ESP02S (ESP8285N08).
Before soldering the new module, I tested every GPIO to discover which one was the SEL, CF1 and CF. I discovered that SEL is attached to PIN RX, CF1 is attached to pin 14, and CF is attached to pin 12.

After soldering and assembling the plug again, I started doing some tests, and I saw that even when nothing is connected to the device, it shows some current and power consumption.

I've tried calibrating the device, but the result is the same. The voltage was correct, but it shows current and power measurements when nothing is connected.

REQUESTED INFORMATION

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

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues
  • Searched the problem in discussions
  • Searched the problem in the docs
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): _____
  • Tasmota binary firmware version number used: 13.4.0(tasmota)
    • Pre-compiled
    • Self-compiled
  • Flashing tools used: _____
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here:
23:41:17.971 RSL: RESULT = {"NAME":"ESP-02S","GPIO":[1,1,1,1,1,1,0,0,1,1,1,0,0,1],"FLAG":0,"BASE":18}
23:41:18.178 RSL: RESULT = {"Module":{"0":"ESP-02S"}}
23:41:18.384 RSL: RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"2624":"HLWBL SEL_i"},"GPIO4":{"320":"Led_i1"},"GPIO5":{"32":"Button1"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"2720":"BL0937 CF"},"GPIO13":{"224":"Relay1"},"GPIO14":{"2656":"HLWBL CF1"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"}}
  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here:

  • Provide the output of this command: Status 0:
  STATUS 0 output here:
23:41:39.616 RSL: STATUS = {"Status":{"Module":0,"DeviceName":"Tomada Filtro","FriendlyName":["Tomada Filtro"],"Topic":"tasmota_97471E","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[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],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
23:41:39.652 RSL: STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:09:19","StartupUTC":"2024-04-20T02:32:20","Sleep":50,"CfgHolder":4617,"BootCount":8,"BCResetTime":"2024-04-20T03:23:55","SaveCount":28,"SaveAddress":"F8000"}}
23:41:39.682 RSL: STATUS2 = {"StatusFWR":{"Version":"13.4.0(tasmota)","BuildDateTime":"2024-02-14T16:13:56","Boot":31,"Core":"2_7_6","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8285N08","CR":"360/699"}}
23:41:39.702 RSL: STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Gustavo Mahlow",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000000"]}}
23:41:39.733 RSL: STATUS4 = {"StatusMEM":{"ProgramSize":646,"Free":356,"Heap":25,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"14325E","FlashFrequency":40,"FlashMode":"DOUT","Features":["0809","8F9AC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","54000020","00000080","00000000"],"Drivers":"1,2,3,!4,!5,!6,7,!8,9,10,12,!16,!18,!19,!20,!21,!22,!24,26,!27,29,!30,!35,!37,!45,62,!68","Sensors":"1,2,3,4,5,6","I2CDriver":"7"}}
23:41:39.768 RSL: STATUS5 = {"StatusNET":{"Hostname":"tasmota-97471E-1822","IPAddress":"192.168.100.65","Gateway":"192.168.100.1","Subnetmask":"255.255.255.0","DNSServer1":"200.225.197.34","DNSServer2":"8.8.8.8","Mac":"9C:9C:1F:97:47:1E","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
23:41:39.792 RSL: STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_97471E","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
23:41:39.814 RSL: STATUS7 = {"StatusTIM":{"UTC":"2024-04-20T02:41:39Z","Local":"2024-04-19T23:41:39","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":"-03:00","Sunrise":"01:50","Sunset":"15:47"}}
23:41:39.831 RSL: STATUS9 = {"StatusPTH":{"PowerDelta":[0,0,0],"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}}
23:41:39.848 RSL: STATUS10 = {"StatusSNS":{"Time":"2024-04-19T23:41:39","ENERGY":{"TotalStartTime":"2024-04-20T03:23:55","Total":0.001,"Yesterday":0.001,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000}}}
23:41:39.869 RSL: STATUS11 = {"StatusSTS":{"Time":"2024-04-19T23:41:39","Uptime":"0T00:09:19","UptimeSec":559,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"Gustavo Mahlow","BSSId":"34:0A:33:21:A8:7D","Channel":1,"Mode":"11n","RSSI":100,"Signal":-43,"LinkCount":1,"Downtime":"0T00:00:05"}}}
  • Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
  Console output here:

TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

image
In the screenshot above, nothing was connected
image

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

Repository owner locked and limited conversation to collaborators Apr 20, 2024
@Jason2866 Jason2866 converted this issue into discussion #21229 Apr 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant