20 ms·
What's that touchscreen in my room?
- MenhirMike 3y agoOkay, but: Did the author find the configuration for the energy cost (money and CO2) and update it, so that the touchscreen shows the proper info now?
- laplab 3y agoHe did! :) It was located in the `/srv/server/bin/cfg` file.
- MenhirMike 3y agoAwesome! I had some instances of "digging so deep into a fascinating problem that I forgot the initial reason I started digging" :) It actually looks like a reasonable system overall. Maybe a bit bloated on the node.js side (what isn't?), but I wonder if they just had that toolchain already in place/experience with it, even though it's overkill for the system as-is. Or maybe they just googled how to do networking and copy/pasted the top Stack Overflow answer that included Socket.IO.
- qingcharles 3y agoDid you figure out what the green graph on the right of the display represents? :)
- zikohh 3y agoDo a follow up plan with the grafana bit. I'm intrigued
- asylteltine 3y agoSmall bit about that Wi-Fi remark. Yes in your case it’s close to the server but Wi-Fi lets you mount the touchscreen anywhere. Wi-Fi completely makes sense here.
- Retr0id 3y agoThe equivalent energy monitoring device in my flat uses an RF link (no idea what kind, I haven't investigated further) to talk to its base station. Wireless seems fine, but WiFi itself seems like overkill.
- archi42 3y agoAbsolutely. Try retrofitting this into a multi unit home and "just run a digital data cable up there". With some bad luck, this can easily cost as much as the whole unit. I don't like getting everything on WiFi, too. OTOH I have ~30 devices on an VLAN isolated IoT WiFi network. This easily saved us a 4 digit expense and a lot of time(!) as opposed to installing new additional wire (redoing all the old ones was bad enough). Plus, I can do dumb stuff like control my office's window blinds individually, which is nice when only one of them has the sun blinding me while using the PC (temporary desk location due to ongoing renovations).
- crummy 3y agoDid you take notes along the way? Usually when I am "exploring" a problem like that it's hard to reproduce my steps later.
- laplab 3y agoYes! I started taking some notes when I was halfway through, that helped a lot with the thought reconstruction. There is no chance I would find these TCF links organically again
- qingcharles 3y agoAh, it's not just me that does this. I also start taking notes from the beginning now, otherwise when I go back to write it up for others I sometimes can't even replicate the starting conditions.
- incanus77 3y agoFor me, a particular browser window's (many) open tabs are usually a pretty good record.
- josu 3y ago>DATE & TIME ARE ALWAYS CORRECT AND NEVER NEED TO BE ADJUSTED Reads like a quote from a Philip K. Dick book.
- Ayesh 3y agoMy guess was that it probably had a time correction feature from those British radio tower integration, but this device is from 2015 (says in the article), so probably not.
- Aaron2222 3y agoMaybe they originally intended for them to be internet connected? That would also explain the MQTT.
- qsantos 3y agoFrom the Mastodon thread: > Turns out, they found out an even more innovative time sync mechanism. When you open the UI in the browser, they quickly redirect you to "/set-time/" + Date.now(). This sets a global variable in the Node.js app responsible for "now". (https://mastodon.social/@laplab/111789584104871367 https://mastodon.social/@laplab/111789584104871367)
- skrebbel 3y agoMaybe it’s the technical writer’s way of saying “we ping an NTP server so don't worry” https://news.ycombinator.com/item?id=39065780 https://news.ycombinator.com/item?id=39065780 (Clearly that didn't pan out so well)
- hacker_newz 3y agoNice write-up, I wish my apartment had this.
- Symbiote 3y agoIf the live and neutral cables of your electricity supply are seperate and accessible, you can buy a meter that measures power use with a clamp (loop) that fits around the live cable. Perfectly safe, they were often given away by electric companies in Britain in the 2010s to encourage thriftiness. Here's a zigbee one: https://smarthomescene.com/reviews/tuya-zigbee-single-clamp-energy-meter-review/ https://smarthomescene.com/reviews/tuya-zigbee-single-clamp-... Here's one with an app: https://aeotec.com/products/aeotec-home-energy-meter/ https://aeotec.com/products/aeotec-home-energy-meter/ You'll find many more if you search "clamp energy meter".
- IlliOnato 3y agoI am curious, what "jira_version" in that listing means. Surely not Jira?.. :-)
- SonOfLilit 3y agoWhy not? It most likely means "version in the sense of a release version we configured in Jira to attach tickets to"
- aworks 3y ago"urban archeology": The device was using an ARM processor extension that could directly execute Java bytecode. https://en.wikipedia.org/wiki/Jazelle https://en.wikipedia.org/wiki/Jazelle
- Something1234 3y agoI want to know more. History of java is just insanely weird.
- astrange 3y agoSIM cards and secure elements (contactless credit cards) both use this, or did at one point.
- geerlingguy 3y agoFor a time, Java was set to be the 'everything everywhere' language, IIRC in some quarters the hype behind Java on everything was even bigger than Cloud, then Crypto, then AI.
- fortran77 3y agoI remember those days well. I had the misfortune of working for one of Java's biggest advocates at Sun, Patrick Naughton https://en.wikipedia.org/wiki/Patrick_Naughton https://en.wikipedia.org/wiki/Patrick_Naughton To this day, I refuse to use Java or anything on the Java ecosystem, like Clojure, or Groovy, etc.
- lpapez 3y agoI've always thought of Java programming as being kind of perverse with the patterns and verbosity, now I see where the perversion is coming from.
- AVincentInSpace 3y agoJust you watch, WASI is gonna be next
- lawgimenez 3y agoVery nostalgic, I have developed several apps before with Lollipop and was surprised with their choice of using WebView. I believe they set the NetThings app as a “launcher” app?
- laplab 3y agoI also assumed that they would, but weirdly no. When the tablet booted up, I was greeted with stock launcher. Also, WebView is only part of the app, they used something else (which did not look like Android native UI) for the WiFi network picker.
- mananaysiempre 3y agoThe launcher with its Holo tabs and the icon style look more like Android 4.something (I to K) to me, by the way. Android 5 (L) was the first Material Design release (the one[1] that had actual coherent principles behind it). [1] https://m1.material.io/ https://m1.material.io/
- exikyut 3y agoYeah, I'd be curious to see what the About activity shows.
- lawgimenez 3y agoYeah you are right, I believe it is on Jelly Bean. This was Holo running on ICS. https://law.gmnz.xyz/uploads/2023/169e32e731.png https://law.gmnz.xyz/uploads/2023/169e32e731.png
- krackers 3y agoYeah given the holoyolo look it's almost certainly ICS or jelly bean. I think kitkat's launcher looked a bit different, it didn't have the tabs: by then they had moved from tron blue to white.
- exikyut 3y agoOoh, what did it look like?
- LAC-Tech 3y agoI really hope we'll look back at this fad of android powered wifi domestic IoT devices one day and laugh about how silly it all was. Not an IoT hater. I've worked for IoT companies, and there's a lot of very smart embedded engineers doing very cool things in the space. But an old android tablet installed in the wall with a WiFI point? oh dear.
- Ancapistani 3y agoTo be fair, that particular Android device is still installed and at least marginally useful. How many other Android devices from that era can say that?
- lawgimenez 3y agoAlso back then, you can fit an Android OS (pre-lollipop) inside a USB and plug it in a TV. It was really cool.
- ilaksh 3y agoWhat do you recommend as an alternative?
- LAC-Tech 3y agobasic electronics, mostly
- matthewaveryusa 3y agoYou should host your write-up on the device itself in case your domain succumbs to the sands of time
- Brajeshwar 3y agoHey Nikita, that was an excellent read. It felt like a pivotal scene in a movie that would change the course of the succeeding narrative. I envy the ability to write so nicely and clearly, making it enjoyable for most generally technical people and keeping us engaged. I will watch out for more articles.
- rideontime 3y agoHi Brajeshwar, that was a nice comment. It convinced me to read the article, and I'm glad I did.
- mkoryak 3y ago[dead]
- deleted 3y ago[deleted]
- tome 3y agoSame! This is my favourite of all recent HN posts.
- chefandy 3y agoWeird to see some micromuse thing listed as the service listed for 1534. I worked for them back in like 2006 and we got eaten by IBM/Tivoli and I don't believe they kept the name for anything? I always knew nobody really updated those but man, really nobody updates those.
- Nursie 3y agoHah, weird to see micromuse come up. I started working for them two weeks before the acquisition was announced!
- chefandy 3y agoHa! I did support there for Proviso— the product of a startup that Micromuse had acquired not too long before the IBM acquisition. I started in between the acquisitions.
- Nursie 3y agoYeah they did a few acquisitions before being swallowed by Big Blue - I joined the London folks on OMNIbus at the tail end of '05, then in 2010 moved to Australia to work with what was still effectively a Micromuse team within IBM who had originally been bought in to Micromuse as Riversoft here in Perth. Didn't have a huge amount of interaction with the US side of things though!
- chefandy 3y agoTNZ was one of my regular interactions. I regularly connected with some really competent, lovely folks over there. Especially compared to some (only some!) of the more "claws out" US customers, they were an absolute pleasure to work with.
- alexfoo 3y ago1534 was the port used by the license manager (elmd - Elan license manager). The bane of many a Netcool installation until we joyfully ripped it out post IBM acquisition. -Alex (Micromuse 1997 to 2021).
- BubbleRings 3y agoI like the part where you flip the neighbor’s power off for a couple seconds. That’ll teach ‘em to get a UPS!
- borissk 3y agoNext step - format all their SSDs to teach them to make backups :)
- laplab 3y agoI felt pretty bad about it, but my curiosity took over :) It was only the power for their Energy Manager though, not the power to the entire apartment! In any case, I doubt they were actually using this Energy Manager thing anyway. The number one feature listed on websites selling these things is "Earn two code credits under the code for sustainable homes". I assume you do not need to teach people how to use the thing to earn these credits... https://uk-metering.net/products/netthings-energy-manager https://uk-metering.net/products/netthings-energy-manager
- deleted 3y ago[deleted]
- virexene 3y agothat was only the power to the energy measuring device i believe.
- wkat4242 3y agoCorrect, since its only on a 3A fuse it would have blown as soon as the owner tried to make a coffee, if the house power literally ran through it. Most likely this is just a current clamp style meter. Most of these kinds of meters are.
- deleted 3y ago[deleted]
- borissk 3y agoCurios what was the price the developer paid for these devices.
- k1t 3y agoWhile I doubt they paid the retail price, and the price has probably increased in the 9 years since installation, the current price is £385.00. https://uk-metering.net/products/netthings-energy-manager https://uk-metering.net/products/netthings-energy-manager
- inetknght 3y ago> Turns out, I need a 3A fuse, so I ordered one from Amazon OP might want to watch Louis Rossmann's video about buying things from Amazon. https://www.youtube.com/watch?v=B90_SNNbcoU https://www.youtube.com/watch?v=B90_SNNbcoU
- Symbiote 3y agoI was surprised someone would order this from Amazon, rather than get one from the nearest convenience shop or supermarket. Those places only sell the normal thing for local use. I was further surprised that someone would be worried about installing the fuse. Is he also worried about plugging things in generally?
- xattt 3y agoI see the recommendation every so often to buy a fuse locally, but I don’t live in Akihabara. I HAVE to buy online electronic components, and usually it ends up being Amazon, because other national suppliers insist on charging $15 for courier shipping on a $2 part.
- Symbiote 3y agoThe person lives in an apartment in Britain. Apartments are only built in towns and cities, and are generally within walking distance of convenience shops and supermarkets. Every plug in Britain has a fuse, so they are about as easy to buy as replacement light bulbs. Probably on the same shelf.
- MeImCounting 3y agoThis is fascinating! I did not know this about british plugs. Why is that? Is it a safety measure?
- tjohns 3y agoBritish household electrical systems are normally built as one large ring circuit, originally in order to save copper after WW2. This means you don't have breakers for each branch circuit (there are no branch circuits), just the single mains breaker for the house. This single breaker is too large to trip from a short from occuring in the smaller wires inside an appliance. So each plug (or hardwired device) needs it's own dedicated smaller fuse instead.
- daviddever23box 3y agoSecurity through obscurity, I suppose? Seems to be a common thing with UK-based home or energy automation edge devices....
- user_7832 3y ago> C in IoT stands for “cost-effective” I guess. Thanks, that got a laugh out of me.
- dotancohen 3y agoThe old joke asks what is the S in HTTPS, what is the S in SFTP, what is the S in IoT.
- flyinghamster 3y agoAlso works for the P (privacy).
- mkl 3y agoProtocol.
- dotancohen 3y agoMaybe if you could find an example other than PGP/GPG.
- Ayesh 3y agoI'm gonna steal this to use in my casual conversations!
- anotherevan 3y agoI've heard it phrased more directly as, "The S in IoT stands for security."
- deleted 3y ago[deleted]
- tim333 3y agoSlightly surprisingly there's one still for sale. £385+VAT. "worth two code credits under the Code for Sustainable Homes." Further googling finds "The Government scrapped the Code for Sustainable Homes and the national net zero carbon homes standard in 2015". https://uk-metering.net/products/netthings-energy-manager https://uk-metering.net/products/netthings-energy-manager
- layman51 3y agoI recognize the forum post as being Salesforce Chatter. So it is one of those Experience Cloud sites.
- azalemeth 3y agoA fun read! I feel compelled to say that all British (type G plugs) _have_ to be fused as the ring main has a maximum current of (typically) 30A yet the plug and socket maximum is 13A. So every appliance plug is fused, and the consumer unit has an RCD on most accessible circuits in addition to a circuit breaker. Some plugs don't make the fuse obvious, but the traditional values are 1A, 3A, 5A, 7A, 10A and 13A (iirc -- for some reason!) There are actually many features of the British and European wiring system that I think are really quite good. The device is closely related to a "smart meter", which are being slowly rolled out -- the UI is similar to those rolled out nationally, but it's a bit different. Keep exploring (and don't play with the mains!)
- Symbiote 3y agoFuses in plugs in Britain are either 3A or 13A, by regulation. 5A used to be another value, but is no longer used (though replacement 5A fuses are easily available.) I've never seen 7A or 10A fuses, and I was the kind of boy to rummage through my grandparent's workshops. ..
- leoedin 3y agoI've had 10A fused cables before - IEC leads are pretty common. https://www.cablewarehouse.co.uk/10a-uk-plug-to-iec-c13-mains-lead-blue https://www.cablewarehouse.co.uk/10a-uk-plug-to-iec-c13-main... for example.
- azalemeth 3y agoThey are available in the sizes I mentioned, plus 2A – https://www.farnell.com/datasheets/1683350.pdf https://www.farnell.com/datasheets/1683350.pdf – and your comment made me actually look up the regulation out of curiosity as I know I have seen some of those other sizes in the lab! The wiring regs are enforced in statute by The Plugs and Sockets (Etc) Statutory Instrument 1994 [1] which mandates the compliance of two British standards, BS 1362 and BS 1363 for fuses and plugs respectively. The exact wording of BS 1363 (at least the version of it I can access) is > [...] all rewirable plugs shall be marked on the engagement surface with the rated current. All non-rewirable plugs shall be marked with the rated current of the fuse link fitted, which shall not exceed the value given in Table 2 for the appropriate size of flexible cord Table 2 itself prescribes a maximum fuse rating of 3 A or "(5 A)" [see below] for a conductor cross-sectional area of 0.5 mm^2, and 13 A for all larger conductor areas (0.75, 1, 1.25, and 1.5 mm^2). It is entitled "Rated current and maximum fuse rating in normal use, and load for flexing and cord grip tests related to size of flexible cord" > [...] The figure in brackets indicates the fuse rating when a non rewirable plug is used with certain types of equipment where the use of a 5 A fuse link is necessary because of the high instantaneous inrush current So there we go, I think – we're all sort of right. Thanks for sending me down this rabbit hole! [1] https://www.legislation.gov.uk/uksi/1994/1768/made https://www.legislation.gov.uk/uksi/1994/1768/made
- belinder 3y agoCool article! You have a small typo towards the end, coincedence -> coincidence
- xydac 3y agothis is first time i have read something completely in a long span of time !!
- PNWChris 3y agoI agree, I really enjoyed the author’s curiosity and writing style!
- Francesca12 3y ago[dead]
- kelnos 3y ago> There were two strings printed with labels “SSID” and “Pwd”. I froze in horror. They wouldn’t dare. It is literally 3 meter distance. These are embedded devices, they do not need this complexity… Not surprising at all. I would expect that a lot of these are bought as retrofits, and not as a part of new construction. Running wires through existing walls can be annoying, and they don't want to put that barrier to sale in front of them. And you can get a good-enough WiFi chipset for a few bucks these days. > I need a 3A fuse [...] After installation, I checked the temperature of the fuse multiple times during the day to get at least some indication that things are not going to get worse. It worked fine for a more than a week now, but I still do not recommend experiments like this to anyone. Probably don't need to be so worried here. If it's a 3A fuse, the entirety of your apartment's mains power is not running through it. A 3A fuse would burn out in a fraction of a second if you tried to do that. Also, oh, man, Jazelle. I'd forgotten about that. Hardware support for Java bytecode... that did not pan out well.
- inetknght 3y ago> Probably don't need to be so worried here. If it's a 3A fuse, the entirety of your apartment's mains power is not running through it. If it's a "3A fuse" that doesn't blow at 6A or worse, then it will get very hot (fire hazard) if/when there's a short regardless of the distance to the mains power. If it truly is a 3A fuse, then great. If it's bought from Amazon then I doubt it's truly a 3A fuse.
- naitgacem 3y agoLouis Rossman over at YouTube has been going over this fuses thing from Amazon. All the fuses he tried from top-results didn't blow until he put 4x or 5x the current rating through them.
- stavros 3y agoReally? What the hell? That seems extremely unsafe, why are people doing this? Are 12A fuses cheaper to make than 3A fuses?
- j1elo 3y ago> tcf-agent is [...] probably the second biggest security vulnerability after passwordless root SSH. I thought that passwordless SSH is actually a good idea in general for servers? Assuming, that is, that the public/private key login mechanism is used as the alternative to passwords.
- bombcar 3y agoPasswordless meaning a blank root password allowing login with no credentials- not public/private key.
- ncann 3y ago> TCF seems to be closedly tied to Eclipse ecosystem. The Getting Started guide suggests several plugins for Eclipse as the main way to interact with tcf-agent. I tried installing these plugins on a new version of Eclipse and it is absolutely impossible. There are dependency issues everywhere and when you actually try to install the missing dependencies, Eclipse does not let you because they conflict with some other dependencies. I laughed out loud at this part. Some things never changed I guess.
- mnw21cam 3y agoThis is also what happens whenever I try to install anything that uses the package managers for python or perl. For some reason, these two always fail with messages about conflicting, non-existent, or failed-to-compile dependencies. I work in bioinformatics - everything is in python or perl. My life is pain.
- mixmastamyk 3y agoUninstall everything then use a venv for each project.
- metadat 3y ago> There were two strings printed with labels “SSID” and “Pwd”. I froze in horror. They wouldn’t dare. It is literally 3 meter distance. These are embedded devices, they do not need this complexity... Responding with disbelief seems a little over the top. It isn't typically easy to run wires in pre-built spaces. Sounds like a resilient design to me.
- 65a 3y agoNot resiliant, because in the 10-20 year lifespan of a home electrical panel, at least one critical vulnerability is going to allow complete remote pwnage of that device. It's stupid IOT garbage that belongs in ewaste, especially with a trivial remote code execution mechanism.
- rini17 3y agoLayperson will always prefer wireless. "But what if I need to move the tablet?" Never bet against convenience.
- leoedin 3y agoThere's not really much those devices can do - they're just metering, and don't have an active internet connection. WiFi isn't a bad choice of communications protocol.
- ajmurmann 3y agoI recently got into microcontrollers and one of the most surprising things to me was the low cost and small size of ESP32s with wifi. Having grown up at a time when it wasn't unusual to buy a PCI card for your desktop computer that added wifi capability I had assumed that we'd still be looking at a target large device that goes for ~$20+ to get WiFi. Explicitly thinking about the ubiquity of cheap devices with wifi around me would immediately correct this view, but I had never done that and I'm sure many others haven't either
- efitz 3y agoDid you ever fix the cost per kWh?
- wkat4242 3y ago> Turns out, I need a 3A fuse, so I ordered one from Amazon and installed it the next day. Ummm. 3A is 720W. If that tiny box dissipated that much, the entire closet full of them would be a literal oven. Besides there's not much point in an energy meter using that much power. It defeats the purpose. It's like testing matches :P it'll be 10W at most. Even peak inrush current would be nowhere near that high. 1A fuse would be more than enough. > To be honest, the whole thing was a bit scary, since I was very close to the mains. Nah this is all installed very cleanly.
- hales 3y agoDepends on the fuse time rating and the inrush current for the power supply (which can sometimes be more than 10A). Some 1A fuses might occasionally blow when you turn the unit on.
- wkat4242 3y agoHm yreah but if it's 10A it will be really short like < 100ms. A physical melt fuse should have no issues with that. Most general-purpose fuses are really slow.
- alphabetter 3y agoThe 3A fuse is due to the way the UK wiring system works rather than what is optimal for this device. All appliances in the UK have a fuse where they connect to the building wiring, normally in the plug, but can be in a fixed fuse-holder like this device. Somewhere in the process it was recognized that having lots of different fuse values would be confusing and awkward for users, so these fuses are the same size and always one of three standard values: 13A, 5A, and 3A. As noted elsewhere, you can buy these particular fuses in UK supermarkets and convenience stores. If 3A is too high for the appliance then what the designer has to do is to fit it with a flex rated at 3A so that is protected by the fuse at the plug-end and then add additional, lower current, protection at the device end. The UK system is clever and has subtle details like the standard fuse values which were good at the time it was introduced. But, it is also rather over-engineered, and not optimized for modern homes that have a lot of low-current appliances.
- harry8 3y agoStill for sale? https://uk-metering.net/products/netthings-energy-manager https://uk-metering.net/products/netthings-energy-manager
- r4indeer 3y agoOnly 2 left, probably for a while already. I'd guess that's old stock.
- neilv 3y agoEven if this device (presumably with known vulnerabilities) isn't directly reachable via the Internet, could the device be bumped off the WiFi and onto an impersonating AP, where the device can be taken over? The photo on the retail box has a tablet camera hole. Does this particular unit have a camera and mic, placed in a living area?
- ilikehurdles 3y ago“DATE & TIME ARE ALWAYS CORRECT AND NEVER NEED TO BE ADJUSTED” sounds like it’s straight out of a fever dream
- justinator 3y agoTHEY'RE MADE OUT OF MEAT.
- mlk 3y agoIt would if it had an NTP client running
- xyst 3y agoYet another reminder: I really need to get off my ass and isolate all of the IoT junk connected to my network away from home/work/lab devices.
- anotherevan 3y agoHonestly, this is the main reason¹ I just haven't got into IoT much as I love the idea in theory. I don't want an adversarial relationship with the electronics I'm putting in the house, so I just don't. I want my IoT to work off-line with no talking to the Internet unless I explicitly let it for some reason. I want it to interoperate with other things and not just some shitty app on my phone - I don't carry my phone with me around the house all the time and it's a PITA anyway. I could go the DIY route and bust out the soldering iron and some ESPHome compatible chips, but that's not my passion and life is too bloody short. And even if I did I'd still have strong reservations doing DIY around the 240V AC mains power. ¹ That, and the first thing I'd automate is light switches², but the regulations around mains power wiring in Australia are pretty stringent and the only AES certified IoT light switches I've seen look like I would have and adversarial relationship with and can only be controlled by a shitty app. ² Automating light bulbs themselves is a sub-optimal solution in most circumstances, in my opinion. Perhaps if I wanted to control the colour, but not for on, off and brightness. If I did that it would just make me feel sad.
- BHSPitMonkey 3y agoYou can go far using only Zigbee or Z-Wave devices with a Home Assistant server, and then nothing (but the server) has to be networked. As for switches vs. bulbs, at this point I can't go back to the life I led before picking up a bunch of Hue White Ambiance bulbs and having HA automatically adjust the color temperature throughout the day.
- anotherevan 3y agoYeah colour temperature would be my rationale for smarter bulbs as well.
- geocrasher 3y agoWiFi is not only reasonable but preferable. Because if a cat5 cable is going to be ran, it'll be done by an electrician. And when they get to the end of a spool, they will break out the wire nuts and splice away. I've seen it first hand. Not even electricians can screw up WiFi :D
- neither_color 3y agoIt's a little more expensive but it's always worth it to get a low voltage specialist to run your ethernet. To an electrician a conductor is just a conductor no matter how you splice it.
- deleted 3y ago[deleted]
- rPlayer6554 3y agoThis was an extremely well written article. It had me gripped in the story. Thanks for posting!
- neither_color 3y ago>More out of desperation than anything else, I decided to look at sshd config of the host and finally found the offending line. sshd_config had PermitRootLogin no line included, which is a very sensible security measure as long as you are not providing a full disk access to anyone on the network. Enjoyed this article because I've wasted countless hours of my own getting into devices I bought or poking around networks I've airBnB'd at. I'm not as smart as the author but I found his whole approach relatable.
- girvo 3y ago> C in IoT stands for “cost-effective” I guess I know this sounds pithy (and it is!) but you'd be surprised exactly how cheap and cost effective Wi-fi enabled SoCs are. A lot of the time we're getting Wi-Fi for free, and most of those SoC's don't have the Ethernet controller by default, so it's more cost-effective to use Wi-fi if it can fit your use-case. Other physical protocols/connection types can be supported of course (I wonder what the longest I2C run ever is), but when you're talking about a retro-fitted client like this is, Wifi or wireless protocols in general are best.
- PeterisP 3y agoPurely from a materials perspective, 2x cheap WiFi-capable microcontrollers (e.g. esp8266) will cost the manufacturer something like $4-$5 total for both devices - which is comparable to 3m cable+connectors+cheap chips to handle the cable connection (even ignoring the cost of some person to install the cable which is far more expensive than that) so indeed I don't get why the author considers that doing the connection over WiFi is somehow wasteful.
- dijit 3y ago> so indeed I don't get why the author considers that doing the connection over WiFi is somehow wasteful. Power consumption. Up front vs ongoing cost; the creators chose to minimise the up-front cost in favour of a marginally higher ongoing cost.
- urbandw311er 3y agoI’d be interested in crunching the numbers if I had time because there can’t be too much in the cost delta.
- gabrielhidasy 3y agoIs it really a problem? An ESP8266 (which is not the most efficient thing, but is very cheap) uses about 0.5W while transmitting, much less most of the time. For reference, I have some smart outlets that I measured using a while ago, pulling about 0.05W on average from the wall, or 36Wh a month. That's about as much energy as making 500ml of coffee or charging a phone 2-3x.
- userbinator 3y agoInteresting article but one thing stood out: The landlord had no idea what this is. There are no buttons or labels on the thing, just a tiny yellow light to let you know it has the power. You move in and find a mysterious device on the wall that, at least to me, appears somewhat ominous and it's not obvious whether it may have a camera and possibly a microphone (the picture of it on the manual appears to show that it does have at least a camera)... Roughly a year ago I moved into my new apartment. ...and you were perfectly fine with living in its presence for a year? When I saw the picture, my first thought was closer to "that's a telescreen", and I'd certainly try to find out more about it ASAP. From what I can tell, this is an Android 5, but I am not exactly sure. I believe those icons are from 4.1-4.3 - Lines up with the Linux kernel version being mid-2013. Android 5 was released in 2014.
- UberFly 3y agoThat was my first though as I read it. It would be disabled or removed the first day.
- NautilusWave 3y agoHe hadn't read 1984
- deleted 3y ago[deleted]
- anigbrowl 3y agoThe landlord had no idea what this is. Golgafrincham B Ark candidate detected.
- madaxe_again 3y agoHey, he might be an exceedingly skilled telephone sanitiser.
- CPLX 3y agoWhich, if you recall, turned out to be a bit of a linchpin role.
- fortran77 3y agoFrom the article: > I am not an embedded Linux expert, but this does seem like a lot after tinkering with Raspberry Pi Pico and such. ...but of course the Pi Pico doesn't run Linux and doesn't need a lot of memory
- lynguist 3y agoYes, the Pico cannot run an operating system as it has a -M (microcontroller) processor and not an -A (application) processor. It has no MMU etc etc. It is built to just run one process in essence with minuscule amounts of RAM.
- Narishma 3y agoIt can run operating systems, just not Linux.
- famicom0 3y agoProbably a long shot, but would anyone happen to know the color scheme used by the author in the snippet of Python code showing an example of tcf-agent? I really like the mix of bold, italics, underline and shading to achieve a distinct syntax highlighting with such a limited color palette.
- nurettin 3y agoI loved the final touch where they leave a note in a text file. Feels much like the talos principle.
- deleted 3y ago[deleted]
- jonathanlydall 3y agoA few years ago I came to the realisation that if you want people to be more environmentally conscious or economical in terms of utility consumption, (electricity, water, gas, etc), they need far better data than a single figure per month. You want to be able to see usage to a resolution of at most 5 minutes. That way people can spot things like “having my electric heater on for those couple of hours used more electricity than all my lights use for a month”. I have an inverter and solar panels in my place (very common now in South Africa middle class homes due to unreliable electricity producer) and I can see a full history of electricity usage. It’s easy for me to see where I can improve my efficiency or why my consumption was so high. It’s still only an overall figure though, so you have to do an informed assumption as to what caused the consumption. For example it’s obvious that the 3kw draw for about an hour or so after I shower is the geyser heating itself back up. I can see from the usage stats that my battery was depleted from the night, that the solar production is still low due to my showering in the early morning and that the energy was thus coming from the grid (the inverter records all these figures). It is then obvious that I can very simply save money on electricity by putting a timer on my geyser so that it only heats after 10am or so, once the sun is high enough for solar production to cover the energy usage. Now I just wish I had something as convenient for monitoring water consumption.
- isoprophlex 3y agoAbout water consumption: depending on your make of water meter, there's often a small reflective wheel that turns eg. once for every liter. Sometimes these are made out of metal or even slightly magnetic. An arduino with an optical or Hall effect sensor might get you real far in real time, high resolution data collection! Alternatively I've had success in wiring up a temperature probe directly to the incoming water line, and comparing that temperature to the ambient temperature. Where I live that works because the water arrives from underground & is always much cooler than ambient air. The time-integrated difference between the two is a proxy for how much water you use... this is much more involved to get meaningful data from, tho. --- Edit: a proximity sensor that detects metal might be the most straightforward thing, if you have a water meter with a rotating metal gauge https://www.alldatasheet.com/view.jsp?Searchword=LJ12A3-4-Z/BX https://www.alldatasheet.com/view.jsp?Searchword=LJ12A3-4-Z/...
- Affric 3y agoGreat article. Not so sure about the usefulness of these devices without having a battery though.
- miellaby 3y agoI like how the author is surprised by the technological aberration that form Linux powered home appliances. A node server to power and publish over wifi a web site, an API, a web socket, while the site is being displayed by a outdated webview engine within an heavily constrained terminal which cant be reused for anything else. That's... the norm. All this is very common. And yet displaying a couple of digits and a bar graph could be done with a pair of microcontrollers communicating onto some wired bus. With the power supplies of this era, this pair of devices probably pumps 16w idle. Running 24/24 7/7, they probably consume as much as a small fridge as a whole. The LCA of the solution must be consterning as well, especially compared with few one dollard microcontrollers. The worst of all is that this whole mess turned into bricks probably 3 years after it was installed, maybe less.
- thrwwycbr 3y agoThe reason why the Mirai botnet is still at large is: Android. From a business perspective nobody wants to pay the costly people that can do microcontroller programming. Frontend devs are dirt cheap, especially for something as simple as that interface displaying the bar charts.
- justinclift 3y ago> nobody wants to pay the costly people that can do microcontroller programming The embedded world isn't known for paying well.
- MichaelZuo 3y agoActually competent microcontroller programmers definitely earn way more then bargain barrel front end devs.
- deleted 3y ago[deleted]
- patates 3y agoYou can easily say the same for the actually competent front-end devs.
- cm2187 3y agoA bit of a dick move to remove the root password on an IOT device of a flat you only rent.
- caslon 3y agoIt was completely non-functional before, so there's really no loss.
- denysvitali 3y agoConsidering that: - the Wi-Fi is password protected - root privileges can already be granted via the "backdoor" - exactly as the author did I don't think it's a dick move, the device security wasn't decreased (or increased) since RCE was already possible via the tcf port
- n_plus_1_acc 3y agoThe landlord didn't know what it was and apparently doesn't care at all.
- acdha 3y agoIf it was powered off before, it’s clearly not a selling point of the apartment.
- yashg 3y agoI thought it would a Telescreen. (1984 reference)
- petepete 3y agoOn a related note, I had a new boiler installed last year with Vaillant's smart controls. There's a little puck shaped 'control unit' with WiFi/radio which allows the app to talk to it, and it to talk to the thermostat. Like most people in the UK, the boiler's in the garage. A brick rectangle separate from the house. Did Vaillant include an ethernet port? You bet they didn't. The support team suggested I installed WiFi in my garage, which definitely wasn't going to happen. I had to get the installer back and he ran the cable through the wall so it's now inside and working fine - but how did this ever make it to market? No wonder the reviews are all terrible.
- knolan 3y agoMost people in the UK don’t have a garage. Almost every home I’ve lived in has had a gas boiler somewhere inside.
- petepete 3y agoFair. But I strongly suspect nearly every house with a garage has the boiler in it. Edit. So having done a little research this probably isn't the case. Maybe it's a regional thing, all the (mostly suburban) houses I've lived in and visited, in the north west of England, are set up that way.
- Symbiote 3y agoIn the midlands the boiler would preferably be in the utility room (laundry room). The slight waste heat is appreciated there. In London it's wherever the landlord's plumber can fit it, as he illegally subdivides the house into several flats. At least going by my experience as a student. Kitchen, bathroom, garage, outside wall...
- sdflhasjd 3y agoThere's enough boilers in garages, lofts, the other side of the house, etc, once you overlap it with UK houses being brick, you get enough situations where getting WiFi from one place to another becomes a pain. A lot of the time, the WiFi AP is 30 cm from where the phone line came into the house when it was built (before the internet even existed), which is not optimally placed for coverage.
- M6WIQ 3y agoThe name of the company (Netthings) seemed familiar with me, turns out I had read an blog article regarding the hardcoded NTP servers that they used in their devices being firewalled off and therefore losing time sync. Article: https://strugglers.net/~andy/blog/2018/12/24/the-internet-of-unprofitable-things/ https://strugglers.net/~andy/blog/2018/12/24/the-internet-of... It also appears that they went into liquidation in 2018, so good luck getting any support with that device from them!
- laplab 3y agoThis is absolutely amazing, thank you for sharing that! I have added the link in the end of the article.
- justusthane 3y agoThat makes the “ DATE & TIME ARE ALWAYS CORRECT AND NEVER NEED TO BE ADJUSTED” from the manual even better!
- oynqr 3y agoIf you actually want to crack a password, use hashcat. Although even md5crypt is comparatively hard to crack.
- DougBTX 3y agoInteresting point about not having internet access: these smart meters typically report usage to the energy supplier for billing. I’d go look for a mobile network connection, maybe still up?
- cr3ative 3y agoThese aren't meters (in that sense) - generally they're reading from CT clamps placed on the tails from your meter.
- smingo 3y agoPutting the WiFi SSID and password on the side of the energy monitor sensor box allowed for this: > The whole thing was quite dissapointing. However, I do have a few Raspberry Pico microcontrollers lying around at home. If I could connect to the WiFi network of the energy manager directly and get the data from the server, I could just extract kW consumption from the API, multiply it by a correct rate and then display it on some Grafana instance. Love it!
- P5210 3y agolaplab, awesome job and great writeup! I had a similar experience when moving into my "smart apartment" 9 years ago and finding a wall-mounted Galaxy Tab 3. I went on to develop a one-click root to allow my neighbors to "free" their systems, too: https://hackaday.io/project/181646-hacking-tabs/logs?sort=oldest https://hackaday.io/project/181646-hacking-tabs/logs?sort=ol...
- methou 3y agoI remember when I rented a palace in Singapore, my landlord asked me to download an app called MyKNX to control the lights and blinds in the room. I dumped some packets, and found system is using tcp/ip and the KNX is standardized protocol. The box is more like a PLC than “smart things”, so it doesn’t need internet to function. It’s also supported by home-assistant. I want to get one when I’m building my own home. Edit: added something details
- cybrox 3y agoAs someone who works in IoT, I very much enjoyed your disbelief. I'd place this right about in the middle in terms of useless complexity. There's a lot worse and a lot better. A lot better usually only comes from bigger vendors that can afford dev teams with possible rotations. As a small company or startup, good luck finding a successor to your embedded developer if they leave, so they just slap everyday tech on way overpowered hardware which makes it easier to find devs.
- INTPenis 3y agoThat was so interesting because around 2015 they built some new apartment buildings in Malmö Sweden and they also included touch screens in every apartment. Not the same system, but I wonder if that system is as abandoned today as this one was 8 years later.
- jacobr 3y ago"The concrete description of what is going on here is spread atom-thin across several websites, all of which expect you to know the terminology. Each of these websites provides you with a tiny piece of the puzzle and you are expected to combine it together on your own." Oh how I unironically love these types of quests.
- promiseofbeans 3y agoI relate to this a lot. As part of my job, I'm regularly given IoT devices that do similar tasks, but from different manufacturers and with varying age ranges (new last year with a raspberry pi 4 inside, to something over a decade old with custom firmware on an ancient microcontroller). I have to figure out how they work, and somehow coerce their data into a standard format before sending it to our server. Often, they'll have a built-in mechanism for retrieving data programmatically, but it's usually too slow and sends data in large batches, so I end up needing to reverse engineer their socket IO + handlebars web UI for closer to real-time data streaming. It's a janky nightmare, but it's so satisfying once you make it work.
- walterbell 3y agoHave you/employer considered sharing some of this reverse engineering work via github, indexed by IoT device model number?
- rwky 3y agoI wonder if the previous tenant removed the fuse to stop the box broadcasting a wifi signal. In an apartment block the 2.4ghz band will already be congested!
- bloqs 3y agoSlid out, not slided :)
- jenadine 3y agoIf you were to develop a device like that "properly", how would you do it? What kind of hardware and what software stack would one use?
- konschubert 3y agoProbably an esp32 on both ends. And an eink screen. The tricky part is passing the networking and auth credentials from the server to the client. But you can marry them during manufacturing.
- conradfr 3y agoThat was fun. Are the csv files rotated or can they hypothetically make the device run out of space in n^n years? :)
- layer8 3y agoThe space was probably calculated to be sufficient until 2038, after which the clock won’t be correct anymore anyway. ;)
- living_room_pc 3y agoNow that you have root access. Check for a microphone device or other things that could be utilized for surveillance. Im always skeptical of IoT devices.
- atribecalledqst 3y agoI was thinking about how the future software engineer to move into the house is probably more likely to curse him rather than thank him for making the server MORE vulnerable than it was before, by removing the SSH password.
- seba_dos1 3y ago> I now have access to one of the weirdest Edge Computing platforms imaginable. If you think that's "weird", I have a bad news for you... Not that your intuition is bad. It's sensible and fully justified. It's just weird to call common things weird ;)
- joemaller1 3y ago“hello_stranger.txt” feels like something I would’ve written as a 11 year old pretending to be a mad scientist. I’m going to start leaving those files on every system I touch. Thank you Nikita.
- kilroy123 3y agoI do something like that but it's actually a Canary token. So I can know if someone is snooping.
- denysvitali 3y agoTry "Human Injection" next: https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt#L712 https://github.com/minimaxir/big-list-of-naughty-strings/blo...
- bouk 3y agoFor those wondering _why_ this device is there, it seems it gave points under the Code for Sustainable Homes https://en.wikipedia.org/wiki/Code_for_Sustainable_Homes https://en.wikipedia.org/wiki/Code_for_Sustainable_Homes so the apartment could have a better environmental rating, as mentioned at https://uk-metering.net/products/netthings-energy-manager https://uk-metering.net/products/netthings-energy-manager Seems that making sure the device actually works and is accurate was not a requirement however...
- orenlindsey 3y ago> There were two strings printed with labels “SSID” and “Pwd”. I froze in horror. They wouldn’t dare. It is literally 3 meter distance. These are embedded devices, they do not need this complexity… > Socket.IO! Wow, I honestly did not expect that. Client literally needs to receive 5 numbers from the server, Socket.IO seems to be a complete overkill for this usecase. > The client code also looks very complicated for what it does. There are at least 6 RequireJS modules, all loading dynamically through different requests of course. There is Handlebars, Backbone.js, Underscore.js I just kept getting more incredulous throughout this article. No way someone would put in that much effort for a device like this. The laziest option is usually the most common in software development. I guess in this case, it's not.
- worldsayshi 3y agoLaziest option would probably be the option that developer is most familiar with.
- guptaneil 3y agoIf anyone is interested in having this type of real-time usage data for their own own home, I highly recommend IoTaWatt: https://iotawatt.com https://iotawatt.com It's a completely local energy monitor that you can install into your home's circuit breaker panel, and then view dashboards or read data via an API from a local web server running on-device. You choose how many sensors you want, but you can monitor your whole home as well as individual circuits. For example, I track and trigger automations when my various appliances (laundry, dishwasher, microwave, etc) start/stop. It's very cool. Just be warned that it does require some research, basic understanding of electricity, and comfort working with high voltage mains connections if you plan to DIY it but I found it approachable and easy to setup. What it looks like: https://i.ibb.co/qBVmBD1/IMG-1595.jpg https://i.ibb.co/qBVmBD1/IMG-1595.jpg
- tartrate 3y agoI'm curious, how do people record the history of their adventures like this? I assume this doesn't all come from memory. And writing some kind of diary for everything you mess around with must be hard. Or is it common?
- CliffStoll 3y agoKeeping a logbook is a part of experimental physics. In grad school, I learned "If you don't write it down, it didn't happen." And a diary is easy and fun - just a sentence or two every day (even on a wall calendar) reminds you of experiences, travels, travails, and the daily whatnot of life. Useful? Sure! My lab notebook and home diary were prime ingredients in writing m'book, The Cuckoo's Egg.
- haswell 3y agoPersonally, I tend to create a master note for each project like this I dig into, and dump as much information into it as I can. This helps me keep track of what I’ve looked at and avoid retracing my steps too much, and in the end would be a good basis for a blog post. I used to be able to write about things like this from memory, but as I’ve gotten older, I’ve come to rely quite a bit more on journaling and using “2nd brain” tools like Obsidian. One of the most useful habits I ever started is using Obsidian’s daily journal feature to jot things down every day: - Things I’m working on that day - How I’m feeling - Ideas that pop up about projects - References to useful sites / code snippets / various explorations It’s one of the few tools I’ve found that lets me dump truly just about everything into it, and by the end of a project, I either have a nice collection of draft paragraphs to clean up in a blog post, or a nice future reference for myself when I want to do something similar in the future. And because of the automatic note-to-note connections that Obsidian builds, the daily journal always links back to the more concrete topic notes I’ve touched that day. > writing some kind of diary for everything you mess around with must be hard It was only hard until I had established the habit. Now I can’t imagine not doing it because of the productivity gains that come with it. I get further on things because everything I do leaves behind a tangible bit of progress (in the form of a note) that I can pick back up later.
- deleted 3y ago
- puhitaku 3y agoThe Freescale (NXP) i.MX28 series is the only possible SoC that has ARM9. It doesn't have any Android BSP IIRC. The screenshot looks like a modified AOSP of Android 4.x. How on earth can Android 4.x run on only 128MB-ish DRAM? So many questions are left here.
- scotty79 3y agoThe bit about how this device gets it's "Always accurate time" is the best part: The device itself does not seem to be connected to the internet at all. Actually, the time on the device itself is entirely incorrect, somewhere in 2015. But when I open the web UI, it now shows the correct time, even without an initial 15 minute delay. Turns out, they found out an even more innovative time sync mechanism. When you open the UI in the browser, they quickly redirect you to "/set-time/" + Date.now(). This sets a global variable in the Node.js app responsible for "now". https://mastodon.social/@laplab/111789584104871367 https://mastodon.social/@laplab/111789584104871367
- yieldcrv 3y agoChatGPT4V is pretty good at this by the way
- fiznool 3y agoAfter reading this (very entertaining) article, I think I can guess why the fuse on his machine was missing. This is exactly what I would do, if I was met with this monstrosity!
- rezonant 3y agoThis was an incredible read! I'm diving into my own hobbyist IoT project and it was super interesting to see how this spelunk turned out. The extra bits about NetThings exploits are the icing on the cake!
- hsuduebc2 3y agoVery interesting read. Thank you.
- ainiriand 3y agoThat's why when companies like this dissappear they should release the source code to help the users.
- fnord77 3y ago> The construction was finished in 2015, which ensured pretty good thermal isolation for winters I made this mistake
- camtarn 3y agoHeh, small world. They were briefly a client of ours back when I joined my current company in 2015. We were hired to develop a prototype PLC-based energy monitoring system for a cafe, based on the idea of profiling various devices' energy usage (and maybe mains harmonics?) so you could tell which devices were switching on and off. The project was already underway when I joined, so my involvement was limited to drilling some holes in enclosures. I never really heard anything more from them after the project was complete. Interesting to see what else they did.
- masterrr 3y agoWhen I first moved to London NW3 in 2016 I also had this thing in my apt but it always seemed to crash right after you boot it using the pin. This article finally gave me closure.
- mrb 3y agoFWIW I asked the OP to send me the /etc/shadow file which he tried to bruteforce with John The Ripper (unsuccessfully). And because it contains old school UNIX crypt() hashes I was able to crack the root pw in ~7 hours with hashcat on 12 x RTX 4090: the root password is Newt@rd$ Not that it's particularly useful as this device let's you gain root access via TCF anyway without authentication. But maybe this password is reused in other areas...
- roydivision 3y ago> I live in the UK and if anything, this is a country of electrical fuses. > The more fuses the better, everything is fused, even some plugs. All plugs are fused in the UK aren't they?
- hbossy 3y agoI am not even sure how that would work, since the device does not have an internet access. If it can act as Wi-Fi host it can most likely connect to other clients as well. It's pretty common to run small configuration page hosted on device that let's you enter your main Wi-Fi credentials. All you need to do is change wpa_supplicant setting in /etc/.
- whywhywhywhy 3y ago>Now the distance between them is actually very short - just a few meters and maybe 2-3 walls, totally reasonable setup for a cable connection ..... There were two strings printed with labels “SSID” and “Pwd”. I froze in horror. They wouldn’t dare. It is literally 3 meter distance. These are embedded devices, they do not need this complexity Dunno how someone can be so completely shocked that people would rather just do it over wireless instead of drill a cable through "2-3 walls" and have the ugly cable running up a wall and across a doorframe or whatever. Could have been done over a non-wifi type radio, but then the tablet would need custom hardware too. I understand the security concerns but like people will choose those over having a house with ugly wires all over the walls or having to deal with wires that get chewed through in the floors and roof.
- jdc0589 3y agoI'm a big fan of having energy monitors like this. I installed one (different brand) on a subpanel recently to monitor usage in my garage/shop, but honestly now I'm thinking about doing everything with them (can't just do one at only at the main panel, no one makes a reasonable 400amp mains setup i've found). I went with an Emporia Vue. each one can do 16 circuit monitors, you can nest multiple together in their app/platform, and if you want to abandon hosted stuff there's an open source community out there that supports their hardware for now. The price is also better than most of the others I cross-shopped.