bk99.de entertain the web since 1997

Linux controls and measures Modlet sockets

Summary

The Ruby tool Hacklet switches wireless Modlet sockets and reads their power consumption via a USB dongle. A starter kit cost about 60 US dollars. One Modlet device controls two sockets.

Ideas

  • A USB dongle connects Linux to the radio sockets.
  • Ruby commands switch individual outlets.
  • Readings show the power consumption per outlet.

Insights

  • Local scripting interfaces keep smart home devices automatable in the long term.
  • Measuring and switching together enable rules based on consumption.

Recommendations

  • Store readings locally in an open format.
  • Define safe states for when the computer or radio link is lost.

References

Read the original article

Search the Web Archive