Blockly upgrade to 13.3.0 - Looking for help in testing!

Moderator: leecollings

Post Reply
hyeronimo
Posts: 76
Joined: Saturday 11 March 2023 8:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Blockly upgrade to 13.3.0 - Looking for help in testing!

Post by hyeronimo »

Hi all, my friendly neighbourhood AI has been working for me to create a blockly upgrade. After over a week of coding and testing we have a result.

All new blockly functions are available now (including math) except:
controls_repeat_ext — repeat N times
controls_whileUntil — repeat while / until
controls_flow_stat — break out of loop
logic_loop — (v13's new loop block)
Image
this is because -according to my AI- Domoticz events are condition → action and compile to flat Lua statements; there's no loop construct in the generated event logic

v13 API renames handled (e.g. math_pow → math_pow10)
Regression-tested: existing events parse to identical Lua as before
How to test:

git clone https://github.com/hyeronimo/domoticz.git
cd domoticz && git checkout blockly-value-blocks
make && sudo make install # or your usual build flow


What to check: create a new Blockly event with a condition using Math/Text/Lists blocks, save it, and verify the generated Lua in the event file; also open an existing event and confirm it still loads and runs.
Screenshot_2026-10-02_18-45-41.png
Screenshot_2026-10-02_18-45-41.png (133.3 KiB) Viewed 134 times
Post Reply