The repo is archived in favour of my-iot-rs.
Yet another home automation. Documentation: https://eigenein.github.io/my-iot
Yet another home automation
Home Page: https://eigenein.github.io/my-iot
License: MIT License
The repo is archived in favour of my-iot-rs.
Yet another home automation. Documentation: https://eigenein.github.io/my-iot
It would be nice to monitor IFTTTie database through IFTTTie itself.
iftttie.sqlite3> SELECT page_count * page_size as size FROM pragma_page_count(), pragma_page_size();
+-----------+
| size |
+-----------+
| 218079232 |
+-----------+
1 row in set
Time: 0.613s
Yield IFTTTie version itself at startup.
Docker startup takes too much time on boards like Pi Zero. Look at other options to deploy without Docker.
As a side effect we'll get ability to restart host from the UI.
Template: channel.html
Handler: iftttie.web.channel
It was done one day, but since the database and all the structures have been refactored, this functionality was removed and now needs to be re-written.
Make latest
table contain everything needed to render the dashboard.
See also #51
Makes sense for example for the Nest image URLs or Bluetooth received signal strength.
For events like:
They're all probably set to 5 minutes, which is too much.
Could be maybe activated based on sunrise and sunset times? Possible implementations:
Perhaps, requires --net host
and network_mode: 'host'
.
Come up with a generic numerical unit system instead of existing enumeration with all the possibilities.
Look at these two packages or come up with an own one:
The database should be periodically vacuumed.
If #35 is resolved by using a separate session, then this will be to use a separate ClientSession
instance for each channel.
This will be needed once I start installing custom apt
packages, for instance for the Bluetooth channel.
Remember to pull all the parent images beforehand.
README.md
gets outdated too fast, automatically generated docs from sources is really needed.
Need to look what is the best solution.
The database takes too much space:
latest
table into channels
channels
tablehistory
table refer by channel ID instead of the keyLike a file viewer maybe?
See also #55
Can potentially be used to passively scan for devices in local network.
Avoid checking username and password for each request. Use session IDs instead.
Don't wait for the handler completion. Rather run it as a task.
https://github.com/giampaolo/psutil
After some time I've got an idea that "service" and "update" are not really good names. Perhaps, "channel" and "event" are more descriptive.
Also, rename on_update
to on_event
.
The field should rather contain unit, not a kind of value. E.g. "meters per second" instead of "speed". Review and refactor existing kinds.
The channel should at least scan for devices and send RSSI's.
Bot is supposed to listen to a chat and yield corresponding events with the message texts. Thus,My IoT could be controlled via e.g. Voicy bot in the same group chat.
The primary key for Update
will be (key, id_)
.
Jan 25 23:14:01 (iftttie.channels.nest:36) [E] Connection error:
Jan 25 23:14:01 (iftttie.core:28) [I] Stopped channel Nest(token="c.Am…xoGd").
Key: weatherdescription
Unit: perhaps a new unit for plain text
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.