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
Don't wait for the handler completion. Rather run it as a task.
README.md
gets outdated too fast, automatically generated docs from sources is really needed.
Need to look what is the best solution.
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:
They're all probably set to 5 minutes, which is too much.
The channel should at least scan for devices and send RSSI's.
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.
The field should rather contain unit, not a kind of value. E.g. "meters per second" instead of "speed". Review and refactor existing kinds.
Could be maybe activated based on sunrise and sunset times? Possible implementations:
Make latest
table contain everything needed to render the dashboard.
For events like:
The database takes too much space:
latest
table into channels
channels
tablehistory
table refer by channel ID instead of the keyTemplate: 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.
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.
Yield IFTTTie version itself at startup.
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
.
Can potentially be used to passively scan for devices in local network.
The primary key for Update
will be (key, id_)
.
Avoid checking username and password for each request. Use session IDs instead.
If #35 is resolved by using a separate session, then this will be to use a separate ClientSession
instance for each channel.
The database should be periodically vacuumed.
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").
Perhaps, requires --net host
and network_mode: 'host'
.
https://github.com/giampaolo/psutil
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.
Makes sense for example for the Nest image URLs or Bluetooth received signal strength.
Like a file viewer maybe?
See also #55
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
See also #51
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.