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

v6.2.1 on Sonoff POW TelePeriod does not change tele/sonoff/SENSOR update frequency #4145

Closed
4 tasks done
netcompsys opened this issue Oct 23, 2018 · 2 comments
Closed
4 tasks done
Labels
duplicated Result - Duplicated Issue

Comments

@netcompsys
Copy link

IMPORTANT NOTICE
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

Describe the bug
A clear and concise description of what the bug is.
when altering the TelePeriod paramter only the reporting interval of tele/sonoff2/STATE is changed
the interval for tele/sonoff2/SENSOR is about 8 per minute

eg
21:34:13 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:34:13","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":5,"Factor":0.25,"Voltage":236,"Current":0.082}}
21:34:54 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:34:54","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":15,"Factor":0.38,"Voltage":236,"Current":0.171}}
21:34:59 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:34:59","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":17,"Factor":0.28,"Voltage":236,"Current":0.258}}
21:35:00 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:00","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":7,"Factor":0.12,"Voltage":236,"Current":0.258}}
21:35:01 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:01","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":15,"Factor":0.25,"Voltage":236,"Current":0.260}}
21:35:04 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:04","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":8,"Factor":0.14,"Voltage":235,"Current":0.240}}
21:35:05 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:05","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":15,"Factor":0.27,"Voltage":235,"Current":0.240}}
21:35:07 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:07","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":8,"Factor":0.12,"Voltage":236,"Current":0.275}}
21:35:08 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:08","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":15,"Factor":0.24,"Voltage":236,"Current":0.265}}
21:35:09 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:09","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":8,"Factor":0.13,"Voltage":236,"Current":0.265}}
21:35:16 MQT: tele/sonoff2/SENSOR = {"Time":"2018-10-23T21:35:16","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":6,"Factor":0.19,"Voltage":235,"Current":0.133}}
21:35:16 CMD: TelePeriod
21:35:16 MQT: stat/sonoff2/RESULT = {"TelePeriod":"300"}

Also, make sure these boxes are checked [x] before submitting your issue - Thank you!

  • Searched the problem in issues and in the wiki
  • Hardware used : Sonof POW r1
  • Development/Compiler/Upload tools used : flashesp8266 and sonoff.bin
  • Provide the output of commandstatus 0 :
21:37:34 CMD: status 0
21:37:34 MQT: stat/sonoff2/STATUS = {"Status":{"Module":6,"FriendlyName":["sonoff2"],"Topic":"sonoff2","ButtonTopic":"0","Power":1,"PowerOnState":4,"LedState":0,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}}
21:37:34 MQT: stat/sonoff2/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://domus1:80/api/arduino/sonoff.ino.bin","RestartReason":"Software/System restart","Uptime":"0T07:55:16","StartupUTC":"2018-10-23T12:42:18","Sleep":0,"BootCount":1550,"SaveCount":4237,"SaveAddress":"F5000"}}
21:37:34 MQT: stat/sonoff2/STATUS2 = {"StatusFWR":{"Version":"6.2.1","BuildDateTime":"2018-09-09T16:50:26","Boot":31,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
21:37:34 MQT: stat/sonoff2/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":2,"SysLog":0,"LogHost":"domus1","LogPort":514,"SSId":["VM3382624","VM3382624_EXT"],"TelePeriod":300,"SetOption":["00000009","55818000","00000001"]}}
21:37:34 MQT: stat/sonoff2/STATUS4 = {"StatusMEM":{"ProgramSize":471,"Free":532,"Heap":15,"ProgramFlashSize":1024,"FlashSize":4096,"FlashMode":3,"Features":["00000809","0FDAE794","000003A0","23B617CE","00000000"]}}
21:37:34 MQT: stat/sonoff2/STATUS5 = {"StatusNET":{"Hostname":"sonoff2","IPAddress":"192.168.0.92","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"8.8.8.8","Mac":"EC:FA:BC:00:98:C9","Webserver":2,"WifiConfig":5}}
21:37:34 MQT: stat/sonoff2/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.0.61","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_0098C9","MqttUser":"","MqttType":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
21:37:34 MQT: stat/sonoff2/STATUS7 = {"StatusTIM":{"UTC":"Tue Oct 23 20:37:34 2018","Local":"Tue Oct 23 21:37:34 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":1,"Sunrise":"07:23","Sunset":"17:46"}}
21:37:34 MQT: stat/sonoff2/STATUS9 = {"StatusPTH":{"PowerDelta":80,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}}
21:37:34 MQT: stat/sonoff2/STATUS10 = {"StatusSNS":{"Time":"2018-10-23T21:37:34","ENERGY":{"Total":1.311,"Yesterday":0.086,"Today":0.087,"Power":6,"Factor":0.31,"Voltage":235,"Current":0.085}}}
21:37:34 MQT: stat/sonoff2/STATUS11 = {"StatusSTS":{"Time":"2018-10-23T21:37:34","Uptime":"0T07:55:16","Vcc":3.154,"POWER":"ON","Wifi":{"AP":1,"SSId":"VM3382624","RSSI":76,"APMac":"AC:84:C6:9E:C7:AE"}}}

**Expected behavior**
I thought that TelePeriod would alter the frequency of all tele messages


**(Please, remember to close the issue when the problem has been addressed)**
@ascillato
Copy link
Contributor

Teleperiod command change the time between tele messages.

There you have every few second a tele message with only power because you have set powerdelta.

see commands in the wiki for setting your powerdelta.

@ascillato2
Copy link
Collaborator

multi-duplicate issue #3795, #3660, #3648, #4130

@ascillato2 ascillato2 added the duplicated Result - Duplicated Issue label Oct 23, 2018
arendst added a commit that referenced this issue May 24, 2019
Change default PowerDelta from 80% to 0% on new installations (#5858, #5028, #4813, #4130, #4145, #3795, #3778, #3660, #3648)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

No branches or pull requests

3 participants