View Single Post
Old 12-09-2024, 10:48 AM   #1
edws
Junior Member
edws began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2024
Device: none
wifi remote for older devices with a pico pi w

I installed kobo-wifi-remote on my Clara HD a while ago, and love what it allows me to do, but was less a fan of having to have my phone out ready to distract me while I was reading.

So I've made a remote using a pico pi w. It's relatively simple, and utilises the aforementioned, excellent https://github.com/sublipri/kobo-wifi-remote.

The code is all in this pastebin, feel free to mess about with it, or ask me any questions if you have issues:
https://pastebin.com/0Rp3P8vT

At a very basic level, it creates a hotspot for the kobo to connect to, and then when GPIO15/16 (doesn't have to be those 2, they're just what I chose) are activated, it loops through possible IP addresses sending the command to change page. And then when it gets a 200 response, saves that specific IP address to use until the device gets restarted.

Still trying to decide on the best method for powering it, given that most portable chargers seem to turn off with how little power it uses, however in principle, it is good to go.
edws is offline   Reply With Quote