TheZlodziej / mqtt-simulator

Python app that lets you simulate data flow over mqtt. It allows you to publish complex, random objects as well as simple value on given mqtt topic. Easy to setup and use from both GUI and CLI mode.
7 stars 1 forks source link

Generate intiger numbers 0 to10 #2

Closed AnonymousWebHacker closed 5 months ago

AnonymousWebHacker commented 5 months ago

<%randi min=0 max=10%> no is the command?

TheZlodziej commented 5 months ago

I'm not sure what you mean. Yes it is the syntax. 'randi' comes from rand(om)+i(nteger). Although I've had some issues with the arguemnts for certain functions and I recall fixing them. Might have not released them yet - they are on the main branch.

AnonymousWebHacker commented 5 months ago

Captura desde 2024-04-29 22-38-23

TheZlodziej commented 5 months ago

Thanks for this issue. I replicated and fixed it locally. Gonna upload it later today once I finish writing tests for the generator to make sure this doesn't happen again

TheZlodziej commented 5 months ago

I've published the fix for this

AnonymousWebHacker commented 5 months ago

Great :) thnks