Skip to content

LoRaWAN: AU915 - LoRaConfig 42 inconsistent results #23387

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

Open
9 of 15 tasks
robclark56 opened this issue May 7, 2025 · 0 comments
Open
9 of 15 tasks

LoRaWAN: AU915 - LoRaConfig 42 inconsistent results #23387

robclark56 opened this issue May 7, 2025 · 0 comments
Assignees
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended

Comments

@robclark56
Copy link
Contributor

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.

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
  • Problem is not scripter related, in this case open a discussion and tag gemu2015
  • Device used (e.g., Sonoff Basic): _LilygoT3S3
  • Tasmota binary firmware version number used: _14.6.0.1(75b109c-tasmota32)
    • Pre-compiled
    • Self-compiled
  • Flashing tools used: _____
  • Provide the output of command: Backlog Template; Module; GPIO 255:
14:49:33.908 CMD: Backlog Template; Module; GPIO 255
14:49:33.923 MQT: stat/tasmota_5390B0/RESULT = {"NAME":"LilygoT3S3-SX126x","GPIO":[1,1,1,672,1,736,704,10656,10688,1,1,1,1,1,1,1,1,608,640,1,1,1,10784,10720,1,1,6210,1,1,0,1,0,1,1,1,1,1,0],"FLAG":0,"BASE":1}
14:49:34.160 MQT: stat/tasmota_5390B0/RESULT = {"Module":{"0":"LilygoT3S3-SX126x"}}
14:49:34.363 MQT: stat/tasmota_5390B0/RESULT = {"GPIO0":{"None":0},"GPIO1":{"None":0},"GPIO2":{"None":0},"GPIO3":{"SPI MISO1":672},"GPIO4":{"None":0},"GPIO5":{"SPI CLK1":736},"GPIO6":{"SPI MOSI1":704},"GPIO7":{"LoRa CS":10656},"GPIO8":{"LoRa Rst":10688},"GPIO9":{"None":0},"GPIO10":{"None":0},"GPIO11":{"None":0},"GPIO12":{"None":0},"GPIO13":{"None":0},"GPIO14":{"None":0},"GPIO15":{"None":0},"GPIO16":{"None":0},"GPIO17":{"I2C SCL1":608},"GPIO18":{"I2C SDA1":640},"GPIO19":{"None":0},"GPIO20":{"None":0},"GPIO21":{"None":0},"GPIO33":{"LoRa DIO1":10784},"GPIO34":{"LoRa Busy":10720},"GPIO35":{"None":0},"GPIO36":{"None":0},"GPIO37":{"Option A3":6210},"GPIO38":{"None":0},"GPIO39":{"None":0},"GPIO40":{"None":0},"GPIO41":{"None":0},"GPIO42":{"None":0},"GPIO43":{"None":0},"GPIO44":{"None":0},"GPIO45":{"None":0},"GPIO46":{"None":0},"GPIO47":{"None":0},"GPIO48":{"None":0}}
  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
no rules

  • Provide the output of this command: Status 0:
14:50:30.933 CMD: status 0
14:50:30.937 MQT: stat/tasmota_5390B0/STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"tasmota_5390B0","ButtonTopic":"0","Power":"1","PowerLock":"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,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
14:50:30.942 MQT: stat/tasmota_5390B0/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota32/release/tasmota32s3.bin","RestartReason":"Software reset CPU","Uptime":"0T04:18:30","StartupUTC":"2025-05-07T02:32:00","Sleep":50,"CfgHolder":4617,"BootCount":4,"BCResetTime":"2025-05-07T01:52:15","SaveCount":15}}
14:50:30.946 MQT: stat/tasmota_5390B0/STATUS2 = {"StatusFWR":{"Version":"14.6.0.1(75b109c-tasmota32)","BuildDateTime":"2025-05-06T20:05:49","Core":"3_1_3","SDK":"5.3.2.250403","CpuFrequency":240,"Hardware":"ESP32-S3 v0.2","CR":"414/699"}}
14:50:30.950 MQT: stat/tasmota_5390B0/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"FileLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["UniFi",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000000"]}}
14:50:30.960 MQT: stat/tasmota_5390B0/STATUS4 = {"StatusMEM":{"ProgramSize":1984,"Free":895,"Heap":246,"StackLowMark":2,"PsrMax":2048,"PsrFree":1999,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"164020","FlashFrequency":80,"FlashMode":"QIO","Features":["0809","9F9AD7DF","0015A001","B7F7BFCF","05DA9BC4","E0360DC7","480840D2","20200000","D4BC482D","810A80F1","00000814"],"Drivers":"1,2,!3,!4,!5,7,!8,9,10,11,12,!14,!16,!17,!20,!21,!24,26,!27,29,!34,!35,38,50,52,!59,!60,62,!63,!66,!67,!68,73,!75,82,!86,!87,!88,!91,!121","Sensors":"1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,26,31,34,37,39,40,42,43,45,51,52,55,56,58,59,64,66,67,74,85,92,95,98,103,105,109,127","I2CDriver":"7,8,9,10,11,12,13,14,15,17,18,20,24,29,31,36,41,42,44,46,48,58,62,65,69,76,77,82,89"}}
14:50:30.967 MQT: stat/tasmota_5390B0/STATUS5 = {"StatusNET":{"Hostname":"tasmota-5390B0-4272","IPAddress":"10.1.1.217","Gateway":"10.1.1.1","Subnetmask":"255.255.255.0","DNSServer1":"10.1.1.1","DNSServer2":"0.0.0.0","Mac":"34:B7:DA:53:90:B0","IP6Global":"fdfd:f5d8:e1fd:0:36b7:daff:fe53:90b0","IP6Local":"fe80::36b7:daff:fe53:90b0%st2","Ethernet":{"Hostname":"","IPAddress":"0.0.0.0","Gateway":"0.0.0.0","Subnetmask":"0.0.0.0","DNSServer1":"10.1.1.1","DNSServer2":"0.0.0.0","Mac":"00:00:00:00:00:00","IP6Global":"","IP6Local":""},"Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":19.0}}
14:50:30.971 MQT: stat/tasmota_5390B0/STATUS6 = {"StatusMQT":{"MqttHost":"homeassistant.lan","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_5390B0","MqttUser":"ha-mqtt","MqttCount":3,"MqttTLS":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
14:50:30.976 MQT: stat/tasmota_5390B0/STATUS7 = {"StatusTIM":{"UTC":"2025-05-07T06:50:30Z","Local":"2025-05-07T14:50:30","StartDST":"2025-03-30T02:00:00","EndDST":"2025-10-26T03:00:00","Timezone":"+08:00","Sunrise":"12:19","Sunset":"03:13"}}
14:50:30.983 MQT: stat/tasmota_5390B0/STATUS10 = {"StatusSNS":{"Time":"2025-05-07T14:50:30"}}
14:50:30.988 MQT: stat/tasmota_5390B0/STATUS11 = {"StatusSTS":{"Time":"2025-05-07T14:50:30","Uptime":"0T04:18:30","UptimeSec":15510,"Heap":246,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":3,"Berry":{"HeapUsed":8,"Objects":123},"Wifi":{"AP":1,"SSId":"UniFi","BSSId":"DC:9F:DB:1C:E0:60","Channel":11,"Mode":"HT40","RSSI":100,"Signal":-35,"LinkCount":1,"Downtime":"0T00:00:04"}}}

  • Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:

TO REPRODUCE

<Reset Settings>
<Load DIO Template>
<Delete hidden file .drvset000>

01:54:05.715 CMD: lorawan on
01:54:05.718 RSL: RESULT = {"Command":"Unknown","Input":"LORAWAN on"}


01:54:17.093 CMD: loraconfig 42
01:54:17.106 RSL: RESULT = {"LoRaConfig":{"Region":"AU915","Frequency":[919.4,926.3,923.3],"Bandwidth":[125.0,500.0,500.0],"SpreadingFactor":[10,10,12],"CodingRate4":5,"SyncWord":52,"OutputPower":10,"PreambleLength":8,"CurrentLimit":60.0,"ImplicitHeader":0,"CrcBytes":2}}

01:55:03.812 CMD: loraconfig 41
01:55:03.825 RSL: RESULT = {"LoRaConfig":{"Region":"AU915","Frequency":[915.0,923.3,923.3],"Bandwidth":[125.0,500.0,500.0],"SpreadingFactor":[9,9,12],"CodingRate4":7,"SyncWord":18,"OutputPower":10,"PreambleLength":8,"CurrentLimit":60.0,"ImplicitHeader":0,"CrcBytes":2}}

01:55:05.869 CMD: loraconfig 42
01:55:05.882 RSL: RESULT = {"LoRaConfig":{"Region":"AU915","Frequency":[915.2,923.3,923.3],"Bandwidth":[125.0,500.0,500.0],"SpreadingFactor":[10,10,12],"CodingRate4":5,"SyncWord":52,"OutputPower":10,"PreambleLength":8,"CurrentLimit":60.0,"ImplicitHeader":0,"CrcBytes":2}}

BUG: loraconfig 42 giving inconsistent results
"Frequency":[919.4,926.3,923.3]
"Frequency":[915.2,923.3,923.3]
     

EXPECTED BEHAVIOUR

Every time Loraconfig 42 issued, should have same result

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)

@arendst arendst self-assigned this May 7, 2025
@arendst arendst added bug Type - Confirmated Bug fixed Result - The work on the issue has ended labels May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended
Projects
None yet
Development

No branches or pull requests

2 participants