tomato platform requires an extra config variable called
value can be obtained by logging in to the Tomato admin interface and search for
http_id in the page source code.
Because of a limitation in Tomato’s API, this platform will only track wireless devices. If tracking wired devices like a Philips Hue Hub is necessary, it is possible to use another platform like Nmap.
To use this device tracker in your installation,
add the following to your
# Example configuration.yaml entry device_tracker: - platform: tomato host: YOUR_ROUTER_IP_ADDRESS username: YOUR_ADMIN_USERNAME password: YOUR_ADMIN_PASSWORD http_id: YOUR_HTTP_ID
The IP address or hostname of your router, e.g.,
The port number of your router, e.g.,
80/443 (automatically detected)
Whether to connect via
(string | boolean)(Optional)
If SSL verification for https resources needs to be turned off (for self-signed certs, etc.) this can take on boolean values
trueor you can pass a location on the device where a certificate can be used for verification e.g.,
The username of an user with administrative privileges, usually admin.
The password for your given admin account.
The value can be obtained by logging in to the Tomato admin interface and search for
http_idin the page source code.
See the device tracker integration page for instructions how to configure the people to be tracked.
A description of the API s available in this Tomato API blog post.
Gathering the SSL Certificate of your router can be accomplished with this (or a similar) command:
openssl s_client -showcerts -connect 188.8.131.52:443 </dev/null 2>/dev/null | openssl x509 -outform PEM > router_cert.pem