Can anybody share the telegram commands they use for multiple rigs?
Sorry to drag up an old topic but it's relevant for whoever else may be having this same issue...
Today I've setup a second Raspberry Pi using this script - absolutely love this script!!
I've got 6 rigs connected to it on an 8CH 5V Relay Board and noticed the same... no matter the command, the Telegram Bot would only trigger Rig 0:
/ping m0, m1, m2 etc
/restart m0, m1, m2 etc
/turnon m0, m1, m2 etc
After some digging... I found the cause... remove the 'm'
/restart 0
/restart 1
/restart 2
Without the 'm' it works perfectly... because in the code it looks for machine NUMBER not anything else.
I hope this helps.