Is it the one with the keyboard? Is it TuyaMCU-based?
Will do my best to get it working.
Simple TCP server notes added to readme:
https://github.com/openshwprojects/OpenBK7231T_App/blob/main/README.md
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:I have never tested a Tuya smart door lock before. Can you make some photos and provide a short description how is it supposed to work?
Is it the one with the keyboard? Is it TuyaMCU-based?
Relay 1: GPIO8
Relay 2: GPIO26
Relay 3: GPIO24
Button 1: GPIO14
Button 2: GPIO9
Button 3: GPIO10
WifiLED_n: GPIO1
daniel114 wrote:There's not much non-Tuya equipment readily available in Australia, and of that, I think everything is based on the new modules nowadays.
p.kaczmarek2 wrote:Can you elaborate, what are your experiences with Tuya device internals and which modules are "new" and which are "old"?
Error: {"success":200,"msg":"OK"}BL0937 Voltage=205.951813, Current=0.011858, Power=0.000000 (changes sent 17, skipped 508)startDriver BL0937; VoltageSet 220marioalmeida wrote:
marioalmeida wrote:
What is the command to set the correct voltage? This is what shown for meBL0937 Voltage=205.951813, Current=0.011858, Power=0.000000 (changes sent 17, skipped 508)
I tried with the below startup command and restarted but its not workingstartDriver BL0937; VoltageSet 220
p.kaczmarek2 wrote:
I have a question to community... do anyone here have this camera??
Tych0 wrote:p.kaczmarek2 wrote:
I have a question to community... do anyone here have this camera??
Not yet... ordered two, ETA end of august.
W:\GIT\hid_download_py>python uartprogram camera1.bin -d com9 -r
W:\GIT\hid_download_py>python uartprogram camera2.bin -d com9 -r -l 0x200000
W:\GIT\hid_download_py>python uartprogram camera3.bin -d com9 -r -l 0x200000 -s 0x0
p.kaczmarek2 wrote:I'd rather say it's a simple PWM-based driver. Have you tried controlling it by PWMs?
xostia wrote:
xostia wrote:
http://ipaddress/cm?cmnd=Status%208 (power consumption)
{"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota","Tasmota2","Tasmota3","Tasmota4"],"Topic":"tasmota_EC3F8F","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],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0},"StatusFWR":{"Version":"0.1(pic18f)","BuildDateTime":"2020-11-07T11:57:45","Boot":6,"Core":"0","SDK":"0","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"367/699"},"StatusNET":{"Hostname":"tasmota_EC3F8F-8079","IPAddress":"192.168.0.50","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.0.1","Mac":"5C:CF:7F:EC:3F:8F","Webserver":2,"WifiConfig":4,"WifiPower":17.0},"StatusSNS":{"Time":"2021-01-10T19:27:53","DS18B20":{ "Temperature":16},"TempUnit":"C"},"StatusSTS":{"Time":"2021-01-10T19:27:54","Uptime":"0T00:41:19","UptimeSec":2479,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":37,"MqttCount":0,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"5G_FULL_POWER","BSSId":"30:B5:C2:5D:70:72","Channel":9,"RSSI":98,"Signal":-51,"LinkCount":1,"Downtime":"0T00:00:03"}}}
{"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"tasmota_48E7F3","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,"InfoRetain":0,"StateRetain":0}}
GoofySpeed wrote:OpenBeken back onto the device, it just kept loading the old config file and autoexec.bat file. The autoexec.bat file is no longer listed under the “Filesystem” tab, but it’s still loading the file.
GoofySpeed wrote:I had flashed a Feit Smart Dimmer using serial, everything was going well, but the “Generate Home Assistant cfg” never worked for me, it was always a blank box,
GoofySpeed wrote:How can I perform an actual factory reset that will erase the old config files and take me back to the initial OpenBK7231T SSID to start over?
Debug:CMD:cmd [exec autoexec.bat]
Debug:CMD:exec autoexec.bat
Debug:CMD:openned file autoexec.bat
Debug:CMD:line is startDriver TuyaMCU
Debug:CMD:cmd [startDriver TuyaMCU]
Debug:CMD:Adding command tuyaMcu_testSendTime
Debug:CMD:Adding command tuyaMcu_sendCurTime
Debug:CMD:Adding command uartSendHex
Debug:CMD:Adding command linkTuyaMCUOutputToChannel
Debug:CMD:Adding command tuyaMcu_setDimmerRange
Debug:CMD:Adding command tuyaMcu_sendHeartbeat
Debug:CMD:Adding command tuyaMcu_sendQueryState
Debug:CMD:Adding command tuyaMcu_sendProductInformation
Debug:CMD:Adding command tuyaMcu_sendState
Debug:CMD:Adding command tuyaMcu_sendMCUConf
Debug:CMD:Adding command fakeTuyaPacket
Debug:CMD:Adding command tuyaMcu_setBaudRate
Info:NTP:Started TuyaMCU.
Debug:CMD:line is
Debug:CMD:line is setChannelType 1 toggle
Debug:CMD:cmd [setChannelType 1 toggle]
Info:GEN:Channel 1 type changed to toggle
Debug:CMD:line is
Debug:CMD:line is setChannelType 2 dimmer
Debug:CMD:cmd [setChannelType 2 dimmer]
Info:GEN:Channel 2 type changed to dimmer
Debug:CMD:line is
Debug:CMD:line is tuyaMcu_setDimmerRange 10 1000
Debug:CMD:cmd [tuyaMcu_setDimmerRange 10 1000]
Debug:CMD:line is
Debug:CMD:line is linkTuyaMCUOutputToChannel 1 1 1
Debug:CMD:cmd [linkTuyaMCUOutputToChannel 1 1 1]
Debug:CMD:line is
Debug:CMD:line is linkTuyaMCUOutputToChannel 2 2 2
Debug:CMD:cmd [linkTuyaMCUOutputToChannel 2 2 2]
Debug:CMD:line is
Debug:CMD:line is
Debug:CMD:closed file autoexec.batGoofySpeed wrote:I flashed back to the factory Feit firmware, flashed 1.12.7, then I ran the command “clearConfig,” then rebooted the device, and it finally cleared everything back to a factory fresh install.
setChannelType 2 Toggle
setPinRole 8 TglChanOnTgl
setChannelType 2 TextField
addChangeHandler Channel2 == -1 setChannel 1 -1
addChangeHandler Channel2 == 1 setChannel 1 1
addChangeHandler Channel2 == 0 setChannel 1 0
TL;DR: 100 % flash-success reported on BK7231 T/N modules [Elektroda, p.kaczmarek2, post #19906676]; “OpenBK7231T now boots on three chip families” [Elektroda, p.kaczmarek2, post #19883071] Use QIO image for BK7231N, UA for BK7231T; erase only 0×11000-0×1EF000. Why it matters: a single workflow now replaces vendor firmware on 60 + low-cost IoT boards.
• Supported MCUs: BK7231T, BK7231N, XR809 (Wi-Fi + BLE) [Elektroda, 19883071] • Recommended UART speed: 921 600 bps for write, 115 200 bps for read [Elektroda, 19857664] • Flash sizes: Typical 2 MB on-chip; config area starts @ 0×1EF000 [Elektroda, post #19893493] • OTA format: .rbl (gzip + AES, served by HTTP) [Elektroda, btsimonh, post #19880525] • Typical power: 5 V @ 500 mA to AMS1117 input for safe programming [Elektroda, ExploWare, post #19853546]
python bk7231tools.py read_flash -d COMx --no-verify-checksum -s 0 -c 512 dump.bin for T/N chips (2 MB, 512 × 4 KB) [GitHub bk7231tools].http-here --host 0.0.0.0 8000). In WebApp → OTA tab → enter http://<IP>:8000/firmware.rbl; device backs up filesystem, flashes, restores settings [Elektroda, btsimonh, post #19880525]OpenBK7231T, then OpenBK7231T_App into /apps. Build: ./build_app.sh apps/OpenBK7231T_App OpenBK7231T_App git (Linux) or Cygwin on Windows; ensure build-essential and gcc-arm-none-eabi installed [Elektroda, boozeman, post #19885620]