_If_ the device does have a serial by id, you’ll be fine - if not (I.e. it is mapped by /dev/bus/usb/001/002 for example) you’re mostly out of luck. Cases in point recently encountered: USB printers (to be used in container with CUPS), Eaton UPS to be used in container with NUT.
No amount of scripting with systemd path units, pre and post hooks, udev rules could make those work reliably (for me).
Solution, or workaround, after much headdesking: put services into a VM, map USB device by vendor:device ID, done.
If anyone could shed a light into why that is possible with a VM but not a LXC container, I’d be thankful!
At least I was laughing at the Cloudflare oopsie, since all my light switches (et al) are all local. Unlike those people with a fancy smart bed that went into a W shape because it couldn't talk to AWS.
At first I had the unholy abomination that is Frigate LXC container, but since it's not trivially updatable and breaks other subtle things, I ended up going with Docker. Was debating getting it into a VM, but for most part, docker on LXC only gave me solvable problems.
It's neat that Tommysense works on top of esphome... I'm currently using Bermuda BLE trilateration, but it doesn't quite work, especially in a multy-story living space (e.g. a townhouse). So I already have a bunch of esphome Bluetooth proxies all over the building.
But no source and "lifetime license if you join our discord" is kinda not my jam.
Founder of TOMMY here. I'm glad you like the ESPHome support. It was one of the most requested features before implementation.
Regarding the lifetime license for Discord members, that's primarily to ensure that beta testers aren't being "used" for testing and then asked to pay. A lot of my users had stories about that with previous companies, and I wanted to give a promise that wasn't going to be the case here. And building a community where people help each other with device placement, hardware suggestions, etc. is a nice addition.
Anyway, I think this project is really cool, francescopace. Many have asked for TOMMY to be open-sourced, so that's definitely something you're going to have success with. I wish you all the best!
I've been using `mc` for decades... In fact, in my early professional days as a software dev, I've written entire systems with PHP using `mcedit` (the built-in editor), because I didn't know `vim` then, and `mcedit` had syntax highlighting...
Mostly used Notepad++ or SciTE ( https://www.scintilla.org/ ) over the years, as the number of languages/platforms I traverse made it a consistent option for dealing with various document encodings etc.
I thought mc and mcedit was cool, but needed something small and portable within a fairly locked-down environment ( "No [root] for you!" as the admin would say.) =3
Wait, what? I've never seen syntax highlighting in mcedit. I'd be looking predominantly at Prolog files to be honest but those normally have a .pl extension so I should at least be seeing Perl-like highlights?
reply