How I Would Implement Detection With the Sense Monitor

A few thoughts.

  • ARPing is easy, manufacturing code gets harder because many IoT devices use networking chips that have MACs connected to the assembler, not the end product. Finally associating device network activities with meaningful realtime power usage is hard. That’s the part you completely ignore. Most smart devices don’t give out their power usage, either on demand or at any regular interval. Given your remarks over here, it’s clear that you don’t really understand where the power information is coming from, fro the devices that do provide power.

  • Your code confuses me - you’re treating current/power as if it is some DC quantity that you can quantify with a single ADC measurement, not at time and phase varying AC value. Don’t waste so much time on code - discuss theory of operation first. Not clear you understand AC measurements.

  • Not sure where you think your “inductive reflections” would come from nor what the amplitude of reflections would be, or whether they could even be detected given all the other noise in the house wiring. It’s not like the house wiring is an ideal transmission line, having tons of different branches and devices turning operating are generating all kinds of random signals.

  • Perhaps you are talking about the effects of one supply branch in the house affecting the other branch - that’s more according to KCL. If you had two Sense units on a interconnected house wiring network at two different points, you would certainly see current / power waveforms that have some relation to one another, but you would also need to know the overall current / power flow from/to the grid and production from the solar feed(s) to completely understand how one is affecting the other. Here’s a couple of simple diagrams that illustrate those relationships:

Simplified to just one Leg and KCL applied.

This is a place where you could use instantaneous samples of current / power, through the two monitors would have to be exactly synchronized and somehow sharing a substantial (maybe 5-6MBps) of data flow and associated computations. Not insurmountable, but tricky given realtime half second updates.

The speed of a current transition through copper wire would be something on the order of 2x10^8 m/sec, so the time difference on current measurements 100m apart (much more than the 50 feet you are talking about) would be about half a microsecond, so not really perceptible from a Sense monitor that samples at the microsecond level.

Try to focus on one of these ideas first instead of trying to tackle all of them at once. Maybe start with the last bullet first and use the diagrams, or your own.

1 Like