iot_devices
factor
iot_devices | factor | |
---|---|---|
5 | 59 | |
3 | 1,583 | |
- | 0.7% | |
6.7 | 9.8 | |
13 days ago | 7 days ago | |
Python | Factor | |
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.
iot_devices
-
Ask HN: Tell us about your project that's not done yet but you want feedback on
Wow, what a great idea for a thread!
I'm trying to pare down my personal projects to just the really exciting ones, so I don't have much, butni think the most appropriate to the thread is https://github.com/EternityForest/iot_devices
It's mean to be a cross-framework library for creating device integrations, so you can, say, write a handler for RTL SDR weather stations, and use it in a simple script up to a mega framework.
I kind of dislike the way HASS and others handle automations where they have special purpose primitives for everything that needs lots of hand written code.
I just have config entries, they must be strings, and data points, they can be strings, numbers, bytes, or objects. You can put metadata on them. There's also a few other utilities like the ability to make subdevices, and the ability to request things from the host.
There are no special subclasses, a light bulb is just a device with a brightness point.
It currently runs my security system with object detection recording, QR decoding if desired, multiple regions, motion detection without decoding every frame, and subsecond latency streaming to the browser, a nice recordings browser that can view a recording while it's being made, etc.
-
How I wrote my own Smart Home software
My HA platform project started in 2013. Every few months or so I check back to see if HA has progressed far enough that I can ditch one of the last custom apps in my life.
It's getting there. But it's not quite there yet. Last I checked the logging still saves every change, it's not easy to set up so that it will only save average/min/max over time to save SD wear.
Creating new integrations is easy but still not quite a five minute job like it is with my extension API(https://github.com/EternityForest/iot_devices)
But yet, having custom software in one's life is generally IMHO far more of a liability than an asset.
So what I actually do is just use YoLink and Google assistant for everything I possibly can, and use custom software for video recording and unusual stuff YoLink doesn't do.
I'd love to have a one size fits all "If it need automating, use this" platform, and HA seems like it's got the potential.... but just using the YoLink proprietary platform is the lazy, trouble free, super cheap way.
-
Ask HN: Who Wants to Collaborate?
I'm working on a standard for easy drop-in home IoT drivers: https://github.com/EternityForest/iot_devices
Maybe you could go one level of meta up and instead of working on reusable components, work on reusable definitions for component interfaces.
Reuse is hard because you need a bunch of glue code. But if you had, like a standard for a toolbar, that knew how to find all the ToolbarAble objects, and the shopping cart icon just showed up, etc, things would get easier.
The shopping cart could know to look for all the payment requesting components declared in your Big Project File or whatever, and everything could stay modular ish?
GitHub is already the standard place to share generic projects.
-
Home automation dashboard generator in the terminal
Source code can be found here: https://github.com/EternityForest/iot_devices
- Minimalistic framework for creating IoT reusable Python IoT device drivers
factor
- An Exploration of SBCL Internals (2020)
-
My history with Forth, and stack machines
My impression so far is (in general), Forth are practically limited to doing embedded/microcontroller development.
For us, web/mobile/desktop app devs, beside:
- 8th (https://8th-dev.com)
- Factor (https://factorcode.org)
Any suggestion which implementation we should look for?
- Forth: The programming language that writes itself: The Web Page
- Retro: A Modern, Pragmatic Forth
-
Pharo 11, the pure object-oriented language and environment is released!
Factor is also very much worth a look. Forth-style syntax, but with many of the ideas from CL and Smalltalk as well. In fact as a CL fan, I was very impressed by it. It's also quite "batteries included" a la Python.
-
The toki pona of programming.
Otherwise, and more seriously, I'm not completely sure variables are needed. Factor is quite usable (it's my favorite go-to language if I quickly need to script something), and mostly doesn't have them.
- Forth as an intermediate language
-
A Dynamic Forth Compiler for WebAssembly
There's a note on the page from 2022-08-19, that a lot has been added to it. It also links to the github page[1] for the up-to-date changes.
I am a Lisp, April, APL/J/BQE, and Forth[2] aficionado. I did some file munging programs in Factor back in 2012 at my job to sort through theater attendance logs in Word to compile statistics.
[1] https://github.com/remko/waforth
[2] https://factorcode.org/
-
What the hell is Forth? (2019)
Is there any "battery-included" ANS Forth (more or less like Python/Go) which provides access to concurrency, networking, database, GUI, etc?
Not an embedded device programmer, but mostly deals with frontend apps, and occasionally backend, so those are very relevant to me.
Or perhaps use "non-traditional" Forths like 8th (https://8th-dev.com) or Factor (https://factorcode.org)?
-
-🎄- 2022 Day 2 Solutions -🎄-
Here's my day two solution using Factor
What are some alternatives?
vanna - 🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using RAG 🔄.
jonesforth - Mirror of JONESFORTH
r0b0 - r0b0 is a communication system for connecting human interface device (HID) hardware and system software; an `aconnect` for anything.
durexforth - Modern C64 Forth
SeleneCMS - CMS built as a Symfony Bundle
bondi - source code for the bondi programming language
openai-kiss - Simple shell scripts to access OpenAI API
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
code_nitro
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
jekyll-sqlite - A Jekyll plugin that lets you use SQLite database instead of data files as a data source.
batteries-included - Batteries Included project