The code may be a little ghetto because I'm a rookie, but I didn't see really any other guides about DD-WRT on the RainMeter forums so I figured I'd share this.
It's one of the only plaintext pages you can see in DD-WRT panel. I'm unsure exactly how the web parser works so far as, does it download the entire page or stop downloading once it finds the data? Either way, it seems to update quickly without any issue. Note that setting the UpdateRate any faster than 5 will increase CPU usage of RainMeter. But even with it set to "1," with all the other stuff I have going on in this script (mainly HWiNFO network monitoring), the CPU usage is only like .13%.
Code: Select all
[MeasureNetworkConnections] Measure=WebParser URL=http://username:password@ROUTERIP/Status_Conntrack.asp RegExp=(?siU)</script></div>(.*)</div><br /> Header=Cache-Control: no-cache UpdateRate=5 [MeasureNetworkConnectionsCurrent] Measure=WebParser URL=[MeasureNetworkConnections] StringIndex=1 MinValue=0 MaxValue=INSERT MAX CONNECTIONS YOU HAVE SET HERE (if you want to make a line graph, etc, otherwise this code is unneeded). [MeterNetworkConnectionsText] Meter=String FontFace=Segoe UI Text=[MeasureNetworkConnectionsCurrent] FontSize=16 FontColor=#White# AntiAlias=1 DynamicVariables=1 X=540 Y=460