inkplate10-weather-cal
Leaflet
inkplate10-weather-cal | Leaflet | |
---|---|---|
1 | 219 | |
108 | 40,116 | |
- | 0.9% | |
7.1 | 8.9 | |
10 months ago | 9 days ago | |
C | JavaScript | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inkplate10-weather-cal
-
I built an e-ink dashboard for displaying the map and weather for your city using Inkplate and a Raspberry Pi.
I guess it's yet another weather dashboard post? This is my take on a weather display using a Raspberry Pi to generate an image from HTML and an [Inkplate 10](https://soldered.com/product/inkplate-10-9-7-e-paper-board-copy/) to display it. A while back I was inspired by /u/speedyg0nz and his [MagInkCal](https://www.reddit.com/r/raspberry\_pi/comments/pugv7d/maginkcal\_magic\_calendar\_project\_completed\_full/) project so I decided to do my own take on it. I ended up splitting my project into a server-client setup where the server (Raspberry Pi) is responsible for generating the image at a certain time each day and the client (ESP32) would render the image onto an e-ink display. On a 2000mAh battery I get approximately 4-5 months of charge, though I think 6 months is possible with 3000mAh. I'm currently tracking and updating battery life for this project on my GitHub repo. Features: - Accuweather/OpenWeatherMap API for weather data - [Google Static Maps API](https://developers.google.com/maps/documentation/maps-static/overview) for generating the map image of the configured location. - MQTT publish/subscribe features for the client to send logs to the server. - Automatic daylight saving handling. - Deep sleep ultra-low power usage (~21µA) Client and server code here: https://github.com/chrisjtwomey/inkplate10-weather-cal Let me know what you guys think! I'm quite happy with the system I put together, I don't normally publish projects as I never really feel they're ever in a state to share (also I'm terrible at READMEs). Fun fact: e-ink displays are incredibly expensive and... delicate.
Leaflet
-
JavaScript Libraries That You Should Know
9. Leaflet
-
Animated traveling map with Leaflet
Leaflet is the most famous open-source map library, with lots of plugins. 2 of them are used to animate a marker on the map:
-
5 JavaScript mapping APIs compared
Leaflet stands out as one of the top open source JavaScript libraries for crafting interactive maps. Optimized for both mobile and web devices, it is relatively small (around 42KB) and offers a ton of features, plugins, and a straightforward API. It works across all browsers and platforms.
- 2024: The year of the OpenStreetMap vector maps
-
Shots: Create Mockups
Finding maplibre 'better' was more valid at the time than today, and is also subjective. The creators and maintainers of both libraries have done some great work (and are still doing so).
Back in January 2022, the stable version of leaflet, v1.7.1, was from September 2020, and was affected by some small bugs degrading the user experience. Although the release of following version seemed close, there was no clear schedule for it, and I had concerns about how maintained the library would remain.
As of today, the bug from 2015 where there is some white space between map tiles on fractional zoom levels [0] is still open.
Also, leaflet was a pain to integrate in Svelte Kit framework, because it depended on `window` and-or `document`, not available at server side.
Maplibre, on the other hands, with a feature set roughly equivalent to Leaflet, benefited from much more frequent releases, and seemed more stable across browsers and devices. It was also easier to make it work in Svelte kit.
[0]: https://github.com/Leaflet/Leaflet/issues/3575
-
🌲Svelte + 🍃Leaflet + 📍 Clusters
For a personal project, I had to use Leaflet with Svelte, and I faced some problems during development.
-
Embed leaflet JS maps in notion?
Do anyone have any workaround on how to get leaflet js to work inside notion, either as an embed or as code, or widget? https://leafletjs.com/
-
Ask HN: When building with complex maps do you go with GMaps, Mapbox, OSM?
None of those things are what most in the GIS space would consider "complex", so you could go with any of the options you selected. For lightweight maps, I like Leaflet
https://leafletjs.com
-
What’s the most beautifully documented project you’ve seen?
I have a special place in my heart for Leaflet and it’s documentation: https://leafletjs.com
-
Who wants to collab for a Grab-clone or Angkas-clone web app?
Its suppose to be free: like with map data providers there's Leaflet, OpenStreet Maps and many more which are all for free.
What are some alternatives?
Lilygo-T5-4.7-meteo-and-domoticz- - an E-paper domoticz console with Lilygo-T5
Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
EPub-InkPlate - An EPub Reader for the ESP32 based InkPlate e-Ink devices.
maplibre-gl-js - MapLibre GL JS - Interactive vector tile maps in WebGL2
inkplate6 - Inkplate6 project with time, date, weather and upcoming Google calendar events
OpenLayers3 - OpenLayers
remind - Mirror of http://git.roaringpenguin.com/Remind.git/
folium - Python Data. Leaflet.js Maps.
Inkycal - Create awesome e-paper dashboards within minutes! Modularity? Check! Python3? Check? Works on Raspberry Pi Zero W? Check! Support for own modules? Check!
mapbox.js - Mapbox JavaScript API, a Leaflet Plugin
polymaps - Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
leaflet-geoman - 🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers