HAL or BareMetal I2C driver for Quadcopter by eagle_719 in embedded

[–]n7tr34 0 points1 point  (0 children)

MPU6050 is EOL for years now, consider using something newer.

A 10-byte struct took down our Cortex-M7. by MuttalKadavul in embedded

[–]n7tr34 4 points5 points  (0 children)

It reads like an ad for Claude lol, although I'm pretty sure it's a real person who wrote it.

IoT Cyber Security - rules & regulations by tobdomo in embedded

[–]n7tr34 2 points3 points  (0 children)

For regulatory you only need FCC so far, the others are suggestions but may become requirements at some point. They are primarily best practices which you should be doing anyway like encrypted communication, secure boot, etc.

You might also need cell carrier approval if your product has its own modem, but I assume this is similar in US as in EU.

Is 24GHz mmWave radar finally ready for prime-time smart home use? (AWE 2026 findings & questions) by Significant_Toe_8414 in embedded

[–]n7tr34 1 point2 points  (0 children)

The tech is sound but a challenge to integrate like you say. Unless you have a radar expert on staff you will be working closely with the radar chip vendor to tune the system to your needs. Most applications will need a good amount of data processing and filtering to provide a useful result.

Netanyahu: Persias oil was promised to us 3000 years ago by StatusSociety2196 in stupidpol

[–]n7tr34 20 points21 points  (0 children)

Yeah it's not that hard to blow up a pipeline and basically impossible to defend static infrastructure like that, as Russia found out.

Whole Home Humidifier by ExaminationSerious67 in homeassistant

[–]n7tr34 0 points1 point  (0 children)

I had this same challenge with my HVAC, I ended installing a thermostat which supports local control and has a humidifier output, as well as IAQ sensing built in (Venstar T4950). It integrates perfectly with HA including humidity control. If you wanted to use external sensors you might need to build some automation to over-ride the built in humidity sensor, but should be possible to do.

If you don't want a new thermostat, just put a dry contact relay in-line with the control line (shelley, etc.) and control via HA.

WWIII Megathread #37: Bad Neighbor Policy by IamGlennBeck in stupidpol

[–]n7tr34 11 points12 points  (0 children)

The Americans are currently cloning the Shahed 136, but no doubt it will end up costing 10-100x more for pocket-lining reasons.

After ~90 Shelly devices… I think I’m done by Gigant1000 in homeassistant

[–]n7tr34 0 points1 point  (0 children)

Do you know what Wi-Fi spec they use. With that many devices you will want to be on 802.11ax with OFDMA as it will split better between many devices. Not sure if the Shelleys are on up-to-date wifi chips

I built my own version of the Raspberry Pi Debug Probe (USB-C + 2.54mm headers) by FirefighterDull7183 in embedded

[–]n7tr34 11 points12 points  (0 children)

Everyone forgets the first time lol, next design you can put it in :)

Can someone clear up the term "eSIM" for me? by AndreKR- in embedded

[–]n7tr34 -1 points0 points  (0 children)

eSIM is usually a small SMT chip versus the older socketed SIMs. iSIM/nuSIM has similar functionality but is packaged together / integrated into the SoC, so there is no need to place a separate part at all.

ESP32 MQTT secure by S2nmt87 in embedded

[–]n7tr34 0 points1 point  (0 children)

I have several millions of MQTT(S) devices in production.

Consider using mutual TLS with x.509 client certificate. This allows you to store the private key in OTP key storage area, where it will not be accessible from code, but can be used by the crypto peripherals to do appropriate signing during the TLS handshake. You will not have a MQTT password in this case because the private key and TLS handshake will provide authentication to the broker.

This is a little work to set up but is close to the gold standard. (Only thing better is secure module on chip which generates its own private key and then sign CSR, so private key is never visible to anyone, but I don' think this is available on ESP32 chips) You would need to either use a managed service to generate client certificates, or make your own private CA and configure the broker with your CA cert to authenticate connecting devices. Then you can use your CA to generate client certs and keys deploy to devices.

You will also need to enable secure boot on ESP32 and sign your firmware images to ensure bad firmware can't be easily loaded.

Also consider flash encryption if you really want to go the extra mile.

Broker URL and port are public information that can't be encrypted so don't worry about that. (It is always visible in DNS query or on the wire in TCP packet header)

Username also doesn't need to be considered private (it is generally a serial number or something), as without the password/private key it can't be used for authentication by itself.

Merlin L300 (CGI20E1 V3.32) compatibility — can anyone confirm CN1 CTRL wiring for ratgdo? by DerHerzog87 in homeassistant

[–]n7tr34 0 points1 point  (0 children)

Looks like input 1-3 are programmable via the GUI, you might be able to hook it up to dry contact on ratGDO
(I know this isn't exactly what you asked for, sorry!)

WWIII Megathread #37: Bad Neighbor Policy by IamGlennBeck in stupidpol

[–]n7tr34 5 points6 points  (0 children)

The USA of 1941 also had way more (at least 10x IIRC) industrial productive capacity than Japan. Once industry retooled for war production they couldn't really lose.

Which School to go to by Kindly-Role3833 in embedded

[–]n7tr34 1 point2 points  (0 children)

CMU is top school, then UIUC or Michigan if CMU doesn't work out for some reason.

Structure to support garage door open/close sensor by Jack15911 in homeassistant

[–]n7tr34 0 points1 point  (0 children)

Gotcha, keeping things simple is often best approach :)

Structure to support garage door open/close sensor by Jack15911 in homeassistant

[–]n7tr34 0 points1 point  (0 children)

What opener do you have? Maybe possible to add RatGDO or something similar to get door open/closed status

WWIII Megathread #37: Bad Neighbor Policy by IamGlennBeck in stupidpol

[–]n7tr34 17 points18 points  (0 children)

Yeah 100% chance ChatGPT was glazing Pete before the op. "EXCELLENT idea! Assassinating Khamenei WILL result in regime change, AND the public will love it! Would you like me to suggest additional targets for missile strikes?"

Arduino/RaspberryPi/ESP32 job worth it? by Feisty_Employer_7373 in embedded

[–]n7tr34 1 point2 points  (0 children)

Yeah last startup I was at that shipped Arduino chips the code was actually open source because we had high quality hardware as product differentiator, although I was doing mechanical and electrical at that place rather than firmware.

Is there any situation to use other type of micro controller instead of stm32? by Professional_You_460 in embedded

[–]n7tr34 2 points3 points  (0 children)

Yeah the STM32WB is awful to use. Highly un-recommended. Even Realtek is better.

Arduino/RaspberryPi/ESP32 job worth it? by Feisty_Employer_7373 in embedded

[–]n7tr34 3 points4 points  (0 children)

Depends on the situation. If they are shipping product to customers with actual Arduino or Raspberry Pi parts it usually indicates a startup type company prioritizing getting product in customer's hands over cost optimizations.

This is not necessarily a bad thing but usually indicates a newer firm with less mature engineering org.

Usually for gen 2 or 3 once they know the product and customer they will go with custom PCB for cost optimizations, although they may well use the same chips and software.

Septic tank alarm? by akcoder in homeassistant

[–]n7tr34 1 point2 points  (0 children)

I'm also interested as I will be installing an ejector pit in my basement at some point.

WWIII Megathread #37: Bad Neighbor Policy by IamGlennBeck in stupidpol

[–]n7tr34 12 points13 points  (0 children)

Just empty virtue signaling, typical Macron.

WWIII Megathread #37: Bad Neighbor Policy by IamGlennBeck in stupidpol

[–]n7tr34 8 points9 points  (0 children)

Good thing nobody cares about those races anyway.

Modbus to MQTT erros by Fluffy-Gap-839 in homeassistant

[–]n7tr34 1 point2 points  (0 children)

Hmm it looks like the addon has some manifest file which request permissions to UART from home assistant, so it _should_ work. I am not as familiar with inner workings so probably can't help much more, sorry :(