Post AupSdOYAAwwdTSQbgm by revk@toot.me.uk
 (DIR) More posts by revk@toot.me.uk
 (DIR) Post #AuXoDLTgDAJaZhqmCe by josh@squ.alid.pw
       2025-05-28T06:28:30.921136Z
       
       0 likes, 0 repeats
       
       @revk morning - I'm thinking of buying one of your e-ink display/controller things from Tindie but had a couple of questions before I did. First, how do you actually configure it? I'm sure it's obvious to someone more experienced with this sort of device but I can't really work it out from reading around the GitHub repo etc. Do you write wifi details and widget settings onto a regular file on the SD card? Or do you have to compile them in?Secondly, I (or more accurately my partner) wanted to use it to display data from the Carbon Intensity API. I'm happy to write some sort of connector code, but how would I do the last bit of getting something shown on the display itself?I'm sure it's all possible, just curious how straightforward it would all be
       
 (DIR) Post #AuXqiaFzVpN7IUTFeS by revk@toot.me.uk
       2025-05-28T06:46:20Z
       
       0 likes, 0 repeats
       
       @josh Morning.It is really easy - it starts as a WiFi AP, and even puts SSID on the screen for you. Connect and browser should come up and allow you to set your WiFi details.Then it has an IP, and can even have a name.local name if you set a name, and you can set up on the web page settings.I have coded a weatherapi, but not heard of the carbon intensity API before.That said, it would not be hard to add a generic URL/API request for JSON so you can do that.
       
 (DIR) Post #AuXqibMPPS6EigTtIG by josh@squ.alid.pw
       2025-05-28T06:56:34.237141Z
       
       0 likes, 0 repeats
       
       @revk Ah, that makes sense to configure it over a web interface!A generic JSON fetcher thing sounds like a pretty useful thing to have. If you squint a bit maybe the bin collection widget almost fills that role as it is. One way I had thought of doing it was to use the image support and build a little thing that renders the current intensity as an icon to show on the screen. I'd also have to put together a bin collection thing for our area, but it sounds like a fun little project.
       
 (DIR) Post #AuXtJ48w4bqOJxh73o by revk@toot.me.uk
       2025-05-28T07:19:16Z
       
       1 likes, 0 repeats
       
       @josh the bin one is specific expected json to drive how it shows.But we do have generic MQTT json topics and so on, which work well. Adding one or more generic json fetch would not be hard.You can then extract fields and do some formatting on them to display.You can also configure via MQTTOh, and if you are in UK with an A&A account we can do direct instead of tindie.
       
 (DIR) Post #AuXtLc32zD0y3S9dom by josh@squ.alid.pw
       2025-05-28T07:26:04.545121Z
       
       0 likes, 0 repeats
       
       @revk I am in the UK but not an A&A customer. But that all sounds good, we are using MQTT at work and it'd be good to have something at home to play around with too
       
 (DIR) Post #AuXzhaPGN0Hr3iPHcm by revk@toot.me.uk
       2025-05-28T07:29:28Z
       
       0 likes, 0 repeats
       
       @josh we also have the 2” colour LCD boards (see Faikin Remote on Tindie) which have various sensors but can use the same EPD display software (with colour options and fast updates). Obviously a lot smaller.I have a few customers who say they are now addicted to my various widgets :-)
       
 (DIR) Post #AuXzhbXo8iiSaVPca8 by revk@toot.me.uk
       2025-05-28T08:33:55Z
       
       1 likes, 0 repeats
       
       @josh OK code updated, can now do a generic JSON API poll, so you can display, for example${API.data[0].intensity.actual}
       
 (DIR) Post #AuobTJHzaLekgwAd7Y by josh@squ.alid.pw
       2025-06-05T08:55:48.451237Z
       
       0 likes, 0 repeats
       
       @revk got it mostly up and running now, thanks for the $API thing. I am having issues getting the bins widget to work with the thing I've written to scrape my council's website and turn it into the expected JSON. What's the best place to go through some debugging? Github issues on the ESP32-EPD repo?
       
 (DIR) Post #AupSdOYAAwwdTSQbgm by revk@toot.me.uk
       2025-06-05T09:49:46Z
       
       0 likes, 0 repeats
       
       @josh Yeh, may as well do an issue or discussion on the GitHub page.
       
 (DIR) Post #AupSdQ6EPln4HPNKQi by josh@squ.alid.pw
       2025-06-05T18:51:30.459684Z
       
       0 likes, 0 repeats
       
       @revk just opened https://github.com/revk/ESP32-EPD/issues/3