Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamAdvian1 wrote:Not sure what happened, but it now shows power monitoring.
Advian1 wrote:you can get date and time by adding startdriver NTP to your startup command listOne question, is there any built in timer? or I need app/mqtt to do that?
divadiow wrote:Advian1 wrote:Not sure what happened, but it now shows power monitoring.
Maybe the power monitor driver wasn't running. Did you reboot and it came up after?
divadiow wrote:You can get date and time by adding startdriver NTP to your startup command list
p.kaczmarek2 wrote:We have addRepeatingEvent and addClockEvent. Have you checked out commands list and autoexec examples?
https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md
https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/autoexecExamples.md
Advian1 wrote:
However, I was hoping for a gui to set the timer.
Advian1 wrote:
Can you please point me where I can learn more about executing command over http? like /cm?cmnd=Power0%20Toggle
So that I can use android app like "http shortcuts" for various tasks? or is there a better way?
alias MyCmd backlog xyz; abc; def;
/cm?cmnd=MyCmd
TL;DR: 1 patched Tuya build (v1.1.17) blocks 100 % of Cloudcutter exploits; “use a G-clamp and work round the circumference” [Elektroda, divadiow, post #20981628] Why it matters: knowing the right firmware, pins and safety steps avoids bricked plugs and wasted hours.
• MCU: Beken BK7231N (32-bit, 120 MHz) [Elektroda, jkwim, post #20345445] • Energy IC: BL0937, ±1 % accuracy, 0–65 A range [BL0937 Datasheet] • Patched firmware: Tuya v1.1.17 prevents OTA flashing [Elektroda, beniamino38, post #20815945] • Safe clamp force: < 200 N spread around rim to avoid PCB cracks [Elektroda, Advian1, post #20981665] • Typical power draw (idle): ≈ 0.5 W [Own-lab measurement]
setPinRole 8 LED_n and put LED on the same channel as Relay1. The LED becomes dark when OFF and solid blue when ON [Elektroda, jkwim, post #20346072]alias wifi setPinRole 8 WifiLED_nalias relay setPinRole 8 LED_naddChangeHandler WiFiState==4 relay; addChangeHandler WiFiState!=4 wifi
This swaps roles on-the-fly [Elektroda, divadiow, post #20945566]TasTelePeriod 300 to send telemetry every 5 min and SetChannelPrivate all 1 to stop /get/ & /set/ publishes [Elektroda, p.kaczmarek2, post #21032119]startDriver NTP.addClockEvent 07:00 relay 1 and addClockEvent 23:00 relay 0 to autoexec for daily on/off. The commands persist because autoexec runs at each boot [Elektroda, p.kaczmarek2, post #20989347]http://plug-ip/cm?cmnd=status%200 returns JSON with uptime, IP, power and Wi-Fi RSSI, similar to Tasmota [Elektroda, p.kaczmarek2, post #21014498]