Brace yourself....
Just a little tip for future reference. Along with your problem also mention what equipment you have at your disposal. Helps users here to provide simpler solutions.
Since you asked, I'll give a run down, but it gets too unwieldy and complicated mentioning all the irrelevant stuff when I know exactly what I need a solution to, and not looking for other ways to do it. I have other ways already but they are 'messy ways.
I wanted to see if there was with Heyu or other app to create a macro with a delay in the middle and not at the beginning.
If you have the TIP10RF it can be all done from there. Ethernet connection directly into your router.
Reminds me of the guy who tried on ten rain jackets in the shop then bought an umbrella
I understand what you are saying, and why, but no, it would only complicate matters if I had mentioned the 10 Sonos speakers in 4 different locations, Ubiquiti/Deliberant APC5 point to multi point bridge system, connecting to the 4 different 'sites ' on the farm to the flat (camp/bbq area , stables/ workshop) greatest distance 3/4 of a mile, closest about 300 meters, the 4 Netgear switches switches and WiFi AP's, CTV system, etc None of which have any bearing on the problem in hand.
The TIP10RF, I connect to via my phone app, over the mobile data, via no-ip.com DDNS to my home router, which is directly connected to the TIP10RF. So yes, I can turn off the router via the TIP10RF..but then with the router down cannot send the next command to turn it back on. The Trigger function in conjunction with a macro directly in the CM11, can then be used to handle the router reboot.
The router is on b6, and a delay caused by a string of false devices
(f8) is just a horrid kludge of a way to do it. The macro ends up as
macro cycle_router 0 off b6; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; off f8; on f8; on b6
I had asked the question
on here, this thread, but had no replies and the quest to find an answer spread to this thread, and as with all these things, we all get led down 'diversions' ..like trying to install HA in the misguided hope that HA will allow programming of a 'action/delay' action string. Heyu only seems to allow to upload a macro consisting of 'Name/delay/action; action;action etc'
There are two reboot options going on here,
1) a scheduled one (as Tuicemen mentioned) Timer on the CM11 off, then minimum 1 minute later Timer on
2)the occasional need to reboot the bridge components, and ideally the router too, when doing work at the farm , on the CCTV etc etc , if the Sonos is playing a bit 'choppy'
Can do it via one single command from the iPhone TIP10RF app, send one single command (h1), received via the TIP10RF sent as RF to the RF receiver, converted to a power line signal, received by the CM11, which has h1 set as a TRIGGER to run the horrid macro above with all the fake devices
TRIGGER h1 on cycle_router
heyu can upload
macro | name | delay | action(s)
but it cannot from what I can see upload
macro | name | action(s) | delay | action(s)
I seem to remember he Windows program AHP being able to insert a delay within a macro, so the CM11 is capable of storing them, it just seems that heyu cannot upload them. I was trying to find a *nix command line / style way or basic app to upload the macro as I wanted it.
Was a seemingly simple question that I did not think warranted a full explanation of my complete system and all it components.
Now maybe you see why I did not post everything ..just asked the basic question....
There are lots of other ways < I was looking for a solution to one specific part