Openwrt/DD-wrt and freshTomato Link and signal sensors

Netgear integration NETGEAR - Home Assistant does expose the

  • Traffic meter
  • Signal strength
  • Link rate
  • Link type sensors.

Asus integration added

  • Load average
  • temperature sensors.

While OpenWrt integration OpenWRT (luci) - Home Assistant DD-WRT DD-WRT - Home Assistant and Tomato Tomato - Home Assistant doesn’t expose such sensors.

It is humbly requested to include these in relevant intergations i.e OpenWrt, DD-WRT and tomato integration for homeassistant.

current state of affairs on tomato

while the http_id page reveals a lot more than what is currently possible in tomato integration, including the list of ethernet clients (which wiki mentions has not possible).
signal strength etc

Recently I’ve forked a project that aimed to visualize data without Home Assistant but within Grafana. I modified it to use MQTT and to work with Home Assistant including discovery. Currently it just pushes various diagnostic information onto the MQTT server and allows to enable/disable access restrictions from within Home Assistant.

This thread is quite old, but maybe the script could be useful for someone else. You can find it on github: GitHub - pikim/tomato-mqtt

I think this should be easily adoptable to any WRT.

1 Like

I have both it could be great if you wrote instructions for openwrt as well.

I have no openWRT and therefore no opportunity to test it. You can easily try it on your own. I would suppose the following steps:

  • download and deploy the scripts onto a USB drive on the FreshTomato router
  • cd into the folder
  • adjust config.sh and eventually the first lines of variables.sh
  • open the check…sh scripts and add some echo commands to output all variables
  • execute the scripts manually one after the other and observe the variable contents

This way you can find out what the content should be. Then you move to the openWRT router and do the same and adjust the first lines of the check…sh scripts until the variables hold the desired content.

If you have further questions I can assist you, but I can’t do it myself.