| 18 Jun 2021 |
@hexa:lossy.network | awesome | 14:52:52 |
@hexa:lossy.network | yeah, they talk about solar power and battery and zigbee stuff in the beginning | 14:53:05 |
@hexa:lossy.network | that goes just up my alley | 14:53:08 |
Zhaofeng Li | In reply to @robert:funklause.de We were mentioned on:
Self-Hosted: 47: Whose License Is It Anyway? https://selfhosted.show/47
Didn't listen to it though. It has a "frenck" tag which is pretty amusing š | 18:33:55 |
dotlambda | Let's subscribe to frenck: https://selfhosted.show/tags/frenck/rss | 18:36:55 |
@hexa:lossy.network | first time I've seen a jsonfeed btw | 18:37:28 |
Zhaofeng Li | Just listened to it, and one of the hosts said that the drama spread to Reddit as well, but I haven't seen any thread other than in the programmingcirclejerk and HN subs | 19:10:43 |
Zhaofeng Li | ... and neither of them seems to be blowing up. Am I missing something? | 19:11:19 |
@hexa:lossy.network | yup, haven't found the reddit thread either | 19:27:26 |
| 19 Jun 2021 |
instantepiphany | Any thoughts on the name āAutomation Stationā for a new NixOS home automation service? No home in the title š | 01:13:53 |
instantepiphany | Again, if anyone wants this elsewhere Iāll move it, but here is my rough plan (obviously I have decided to make this a side-project and am happy to have contributors).
At first it will probably not benefit from help as Iāll be drawing up the basic architecture. But once I have a decent architecture in place with support for extensibility (like components in HA) then our dev scalability goes up significantly.
Definitions:
Service: A HTTP listener that retrieves and sets state for targets in response to REST calls.
Target: a readable sensor, or controllable device (or combination of).
Action: an instruction sent to one or more targets, that should react by returning state, changing state, or both.
Written in Rust
⢠Great cross ISA support (ARM for RPI etc)
⢠Performant
⢠No memory class errors, (insert usual Rust spiel here)
Service MVP features:
⢠Listens with HTTP and runs a shell action, returning the response.
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a sensor
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a light
⢠Listens with HTTP and runs a Philips HUE action, returning an RTSP stream (probably just a HTML 5 video tag?)
MVP non-features:
⢠Web-ui frontend
⢠App frontend
⢠Authentication/security hardening (this will be a local demo application, not intended for āproductionā use
⢠Config (later of course will be nix based)
⢠Dashboard/overview (not even an API call for this)
Non-features above are to come after MVP gives us more of a direction. | 01:36:38 |
instantepiphany | * Again, if anyone wants this elsewhere Iāll move it, but here is my rough plan (obviously I have decided to make this a side-project and am happy to have contributors).
At first it will probably not benefit from help as Iāll be drawing up the basic architecture. But once I have a decent architecture in place with support for extensibility (like components in HA) then our dev scalability goes up significantly.
Definitions:
Service: A HTTP listener that retrieves and sets state for targets in response to REST calls.
Target: a readable sensor, or controllable device (or combination of).
Action: an instruction sent to one or more targets, that should react by returning state, changing state, or both.
Written in Rust
⢠Great cross ISA support (ARM for RPI etc)
⢠Performant
⢠No memory class errors, (insert usual Rust spiel here)
Service MVP features:
⢠Listens with HTTP and runs a shell action, returning the response.
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a sensor
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a light
⢠Listens with HTTP and runs a Philips HUE action, returning an RTSP stream (probably just a HTML 5 video tag?)
MVP non-features:
⢠Web-ui frontend
⢠App frontend
⢠Authentication/security hardening (this will be a local demo application, not intended for āproductionā use
⢠Config (later of course will be nix based)
⢠Dashboard/overview (not even an API call for this)
Non-features above are to come after MVP gives us more of a direction. | 01:37:06 |
instantepiphany | * Again, if anyone wants this elsewhere Iāll move it, but here is my rough plan (obviously I have decided to make this a side-project and am happy to have contributors).
At first it will probably not benefit from help as Iāll be drawing up the basic architecture. But once I have a decent architecture in place with support for extensibility (like components in HA) then our dev scalability goes up significantly.
Definitions:
Service: A HTTP listener that retrieves and sets state for targets in response to REST calls.
Target: a readable sensor, or controllable device (or combination of).
Action: an instruction sent to one or more targets, that should react by returning state, changing state, or both.
Written in Rust
⢠Great cross ISA support (ARM for RPI etc)
⢠Performant
⢠No memory class errors, (insert usual Rust spiel here)
Service MVP features:
⢠Listens with HTTP and runs a shell action, returning the response.
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a sensor
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a light
⢠Listens with HTTP and returns an RTSP stream (probably just a HTML 5 video tag?)
MVP non-features:
⢠Web-ui frontend
⢠App frontend
⢠Authentication/security hardening (this will be a local demo application, not intended for āproductionā use
⢠Config (later of course will be nix based)
⢠Dashboard/overview (not even an API call for this)
Non-features above are to come after MVP gives us more of a direction. | 01:38:11 |
Linux Hackerman | In reply to @instantepiphany:matrix.org
Again, if anyone wants this elsewhere Iāll move it, but here is my rough plan (obviously I have decided to make this a side-project and am happy to have contributors).
At first it will probably not benefit from help as Iāll be drawing up the basic architecture. But once I have a decent architecture in place with support for extensibility (like components in HA) then our dev scalability goes up significantly.
Definitions:
Service: A HTTP listener that retrieves and sets state for targets in response to REST calls.
Target: a readable sensor, or controllable device (or combination of).
Action: an instruction sent to one or more targets, that should react by returning state, changing state, or both.
Written in Rust
⢠Great cross ISA support (ARM for RPI etc)
⢠Performant
⢠No memory class errors, (insert usual Rust spiel here)
Service MVP features:
⢠Listens with HTTP and runs a shell action, returning the response.
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a sensor
⢠Listens with HTTP and runs a Philips HUE action, returning the state of a light
⢠Listens with HTTP and returns an RTSP stream (probably just a HTML 5 video tag?)
MVP non-features:
⢠Web-ui frontend
⢠App frontend
⢠Authentication/security hardening (this will be a local demo application, not intended for āproductionā use
⢠Config (later of course will be nix based)
⢠Dashboard/overview (not even an API call for this)
Non-features above are to come after MVP gives us more of a direction. What's the use case for RTSP? | 06:15:27 |
instantepiphany | In reply to @linus.heckemann:matrix.mayflower.de What's the use case for RTSP? Security camera streams is what I have in mind. | 07:00:19 |
Linux Hackerman | Aaah | 08:03:31 |
CRTified | instantepiphany: do you want to rely on something hue specific, or on zigbee2mqtt for that? | 10:06:49 |
CRTified | One non-mvp feature that's important would also be logging | 10:09:13 |
CRTified | In reply to @instantepiphany:matrix.org Any thoughts on the name āAutomation Stationā for a new NixOS home automation service? No home in the title š Yeah, something like automation was also in my mind. For a nix-specific one I was thinking about "Automationix" | 10:10:45 |
CRTified | In the end, it's just a working title right now | 10:11:10 |
instantepiphany | In reply to @schnecfk:ruhr-uni-bochum.de One non-mvp feature that's important would also be logging Agreed! | 10:29:48 |
instantepiphany | In reply to @schnecfk:ruhr-uni-bochum.de instantepiphany: do you want to rely on something hue specific, or on zigbee2mqtt for that? In my mind I want to support as many "targets" as possible. I've only got HUE devices listed in MVP because I own some, so I can test them. So if there is a specific way of communicating that is broadly applicable to more targets of other brands, then we should consider that. I'll keep zigbee2mqtt in mind.
From reading HA docs, it seems that HUE only allow group control via "Scenes" which eventually get purged if not used for a while. So will have to look at a good way to handle that. IMO the more information stored in our system, and the less on target onboard memory, the better.
| 10:31:53 |
CRTified | I think that zigbee2mqtt is the best way of handling most of these devices, as it's easy to access (mqtt, which should also be a nice first automation goal), is already well established and nicely maintained and has an insane number of supported devices | 10:34:06 |
CRTified | MQTT is already a protocol/platform that works nicely with many devices (esphome interacts with it, too), it "only" misses nice UIs and automation AFAIK | 10:36:38 |
instantepiphany | Great, I'll look at mqtt as a first protocol to support. | 10:38:37 |
instantepiphany | Thanks for the info :thum | 10:38:45 |
instantepiphany | * Thanks for the info :thumbup: | 10:38:54 |
instantepiphany | * Thanks for the info! | 10:39:05 |
dotlambda | I think the core of a home automation should be some automation engine, not protocol support or anything. Fancy dashboards, even ones that act on button clicks, can be hacked together really fast and don't need such an engine. | 13:27:05 |
CRTified | In reply to @robert:funklause.de I think the core of a home automation should be some automation engine, not protocol support or anything. Fancy dashboards, even ones that act on button clicks, can be hacked together really fast and don't need such an engine. But you need some platform for testing and developing that automation engine | 13:27:45 |