MastoBot 0.1.0-2

I’ve published another prerelease of to ; this prerelease expands coverage of the MastoBotAPI class and significantly improves method documentation coverage.

Continue reading “MastoBot 0.1.0-2”

MastoBot Documentation!

I’m bad at documentation, so in I’m making a concerted effort to be mindful of it.

Enter tooling! I’m using with Pages and CI.

Continue reading “MastoBot Documentation!”

Mastobot Beta 0.1.0-0

I’ve released an initial beta of to .

MastoBot is a client library for . It offers 3 levels of helpers to communicate with a Mastodon instance.

Continue reading “Mastobot Beta 0.1.0-0”

OpenWRT-Bedtime

I’ve put together a script to schedule the kids’ wifi network on our OpenWRT router.

We have a D-Link DIR-835 (with two radios), running OpenWRT Barrier Breaker 14.07. The 2.4GHz network is set up for the kids on radio0, and only the grownups have access to the 5GHz network. I wanted a way to shut off the wifi at Finn’s bedtime (which is later than I usually want to stay up) and have it running again in the morning.

Initially I set up cron jobs to stop & start the wifi at appointed times, but that means editing the crontab when Finn has a day off school.

Next I wrote a simple script to check the time and bring the wifi up/down based on that, unless the current date is listed in a config file.

I finally updated the script with configurable up & down times, weekends, and config files.

The script and sample code are up on BitBucket, at https://bitbucket.org/eroosenmaallen/openwrt-bedtime. Feedback and improvements are welcome.