7 ms·
Wait, this is about an actual bed -- you know, the kind that you sleep on -- that runs an SSH server on Linux? W. T. F. !?
by cs702 2y ago
Wait, this is about an actual bed -- you know, the kind that you sleep on -- that runs an SSH server on Linux?
W. T. F. !?
- itake 2y agohow else would you record and transmit measurements to a server? lower-level hardware and software is expensive to develop on and potentially be difficult to update.
- hpen 2y ago[flagged]
- jojobas 2y agoEmbedded linux is everywhere. Making the initial connection (connect to BED23234 wifi and do xyz on a web page) requires more than a microcontroller. There's no point trying to save a few bucks on such a ridiculously expensive item.
- hpen 2y agoEmbedded linux is everywhere. But arguing that's a reason to use it, or not a reason to use a microcontroller / SOC is wild. Each has tradeoffs.
- jojobas 2y agoSoCs run linux everywhere. Good luck serving a configuration page over wifi from an atmega.
- hpen 2y agoYou're so stuck in your line of thinking. How about you run an API and host the client in a native app? Problem solved. How about you don't run sshserver. Problem solved.
- jojobas 2y agoI'll take linux in an appliance over having to install an app any day, but that's just me.
- hpen 2y agoFor me it's more about security. If I have a an appliance tied to the internet my entire network is susceptible. With an app, and bluetooth, I could just send data between the appliance and the iPhone, and then use the iPhone connection to the network to send data to the server (if needed / wanted but probably not for this application).
- dmd 2y agoI’m embedded every night for 6 to 8 hours.
- itake 2y agoI actually have an undergrad electrical engineering degree and a 3month internship creating embedded hardware for the military. Even back then (2008-201?), it was common for companies to use Windows CE on IOT devices
- yellowapple 2y agoThat's uncalled for.
- hpen 2y agoIs it? I really do though
- hpen 2y agoHow about just don't run SSH?
- AnimalMuppet 2y agoI don't need my bed to transmit measurements to a server. I need my bed to be comfortable to sleep on. I need exactly zero interactions with a server for that. So, yeah, back to the question. Why does my bed have an SSH server? Because it needs to be able to talk to some machine on the internet. And why does my bed need that? It's a bed. [Edit: Wait a minute. Even if I do want to transmit measurements, why is my bed running a server? My bed should be running a client.]
- deleted 2y ago[deleted]
- Aurornis 2y ago> I don't need my bed to transmit measurements to a server. I need my bed to be comfortable to sleep on. I need exactly zero interactions with a server for that. Then don’t buy this specific bed? These features are part of why people buy this product. Nobody is accidentally purchasing this as “just a bed” and then discovering that it has an app and smart controls as a surprise later. > And why does my bed need that? It's a bed. This is a very dishonest take. If you don’t understand or don’t want the product, then don’t buy it. But the smart controls exist because people (other than you) want them.
- dylan604 2y ago> Why does my bed have an SSH server? because you bought it. sitting across the show room floor or one of the other pics on the sales website were other beds that did not have these features. instead, you let the sales person push you into a sale of a product you weren't happy with or you did not pay attention to the product listing. or your spouse bought it. none of these says anything positive about your situation though, so some inner reflecting on why you're such a bad consumer is warranted
- AnimalMuppet 2y agoDespite the way I worded my previous post, I didn't buy one of these. Your venom is misdirected.
- Aurornis 2y agoIs this your first exposure to Linux-based embedded devices? It’s very common to run Linux on embedded devices. There are even variants of Linux designed for microcontrollers.
- dekhn 2y agoThere never was a Year of Linux on the Desktop, but there's been a year of linux on the phone, linux on the car, linux on the submarine, linux on the fridge, and so it's no surprise there's a year of linux in the bed. Anything sufficiently complex (this bed: https://en.wikipedia.org/wiki/Sleep_Number#Sleep_Number_Bed https://en.wikipedia.org/wiki/Sleep_Number#Sleep_Number_Bed) is going to have a microprocessor, and it makes sense to have an OS that lets you interact with it via a serial console, with Linux being the cheapest and most commonly supported OS in that context.
- userbinator 2y agoIt's an inflatable mattress with an adjustable pressure regulator. That's pre-computer-age technology. The only thing that requires a computer is to make the adjustment remote. Why would you want to adjust your bed remotely?
- defrost 2y agoThe only 'why' that springs to mind is messing with friends, relatives, AirBnB guests remotely while filming it on the webcam .. all very problematic. Still, imagine an uninflated mattress half under the actual mattress, inflated at midnight to tip someone out of bed. Juvenile college humour, yes. Market size low but likely non zero.
- metadat 2y agoThat is one crazy stock graph (zoom out to max): https://www.nasdaq.com/market-activity/stocks/snbr https://www.nasdaq.com/market-activity/stocks/snbr Bedco went up 10x during the pando.
- Youden 2y agoYou think that's bad, you should see Eight Sleep. Not only do they run an SSH server on their embedded Linux device but the entire Linux component is unnecessary. All it really does as far as I can tell is act as a bridge between an STM32 and a process long-polling AWS for commands. They could have achieved the same thing with less cost and complexity with an ESP32. Also bad: they engineered it maliciously, making it completely and unnecessarily dependent on the cloud. All the sensor data is streaming in real time to the cloud and the only way to send it commands is through AWS. If a Chinese company did this, the company would be cancelled. In fact I'll be shocked if their product isn't blown out of the water in a couple of years by a Chinese copy that can function entirely offline and despite that massive disadvantage, can implement advanced features that Eight Sleep charges $200/yr for, like an alarm clock. Thankfully their nonsense resulted in it being pretty easy to hack. There's a GitHub project to replace parts of the firmware.
- bitmasher9 2y ago> Also bad: they engineered it maliciously, making it completely and unnecessarily dependent on the cloud. All the sensor data is streaming in real time to the cloud and the only way to send it commands is through AWS. Why would they unnecessarily add local processing capabilities to their data collection tool? The entire point was collecting the data.
- kedean 2y ago> If a Chinese company did this, the company would be cancelled. It's worth noting that this is the first time I've ever heard of this company in my life. Something can't be "cancelled" if it has no mind share.
- deleted 2y ago[deleted]