I have a home network with a dd-wrt router and multiple dd-wrt access points. There are existing binding that work with other routers like Asuswrt, tplinkrouter and UniFi but they don’t work for dd-wrt. I also looked into SNMP but that was very complicated and the internal structure was based on lots of polling. I also considered making a MQTT bridges that monitored the logs for DHCP transactions and monitored all the AP wifi clients. Has anyone else looked into this?
If you go down the MQTT Route this may help
The one thing I have is the opposite, a script on my dd-wrt router that keeps track on who’s at home and calls OH API to update items based on this. But a binding might be useful as well, so if you need testers, I’m in ![]()
Thanks for sharing that. Looks interest but for dd-wrt this would require optware and possibly storage beyond jffs. Looks like the monitoring that dd-wrt supports out of box is zabbix but that feel like overkill also not sure zabbix give the client presence notifications I want. I wanted to get to something event driven. When a client jons the network and possibly when it switches AP there should be DHCP logs. Started with rlog but but journald on the pi does not support remote logs over UDP. I think I will end up making long running SSH connections to all the APs and tailing the logs on the gateway.
created issue [ddwrt] New OH4/5 dd-wrt binding · Issue #18282 · openhab/openhab-addons · GitHub
completed phase 1 of my implementation plan on this branch https://github.com/ballle98/openhab-addons/tree/18282-ddwrt
plan is tracked here
https://github.com/ballle98/openhab-addons/milestone/4
This is really cool!
I myself use the unifi binding and have an OPNSense box with no easy way to connect to opera unfortunately but things like these are really helpful ![]()
getting close to a Beta quality. Now have support for wireless clients. Partial Phase 4 of my implementation plan https://github.com/ballle98/openhab-addons/milestone/4 on this branch https://github.com/ballle98/openhab-addons/tree/18282-ddwrt
put beta in marketplace DD-WRT Binding [5.1.0.0,6.0.0.0)
does this support openwrt or only dd-wrt?
edit: dd-wrt looks like an abandoned project to me. which ever router i look up, download offered is from 2020. like 6 years old firmware??? on openwrt, latest version is from like yesterday.
It’s still upgraded very often. They just haven’t done any releases for quite some years, everybody is using the (very stable) beta releases ![]()
Yes it supports openwrt it supports pretty much anything that runs linux and supports ssh you don’t have to have a gateway or APs you could point this at a stand alone raspberry pi and you would get remote syslog and telemetry data. I have ddwrt, openwrt, and tomato gateways, access points, print servers, and NAS. I am trying to have one binding that manages all that stuff.
P.S. I started to write a post on the different open router firmwares and why you would choose one or the other. It basically comes down to this. Openwrt is definately the more modern and has broader support for Wifi 6 and Wifi 7 routers. DD-WRT/tomato include proprietary chipset components that are not included in Openwrt so they can have better performance on some Wifi 4 and Wifi 5 devices.