I see there are now many home automation parts like light dimmer switches that have wifi built in, which are advertised to be compatible with cloud services like Apple Home or Google Alexa. (I think anyway, I don't use either of those.)
I guess that's good for the average consumer, but I would like to be able to control a light dimmer switch that is somehow on my LAN directly from a Python program (say, on a Pi) without going through some complex cloud infrastructure. Are there devices that offer this? What terms should I look for, "wifi dimmer switch with published API" ?
Here's an example of what I don't want- reading the comments it seems the Legrand products "happened to be" compatible with a home automation system but this was apparently by accident due to using a "ARTIK Cloud" service that was accessible to a Samsung hub (?) but some months ago they shut that down and converted to something else, and turns out Legrand has no interest in supporting home automation systems or customers who invested in their stuff for that purpose.
https://developer.legrand.com/forums/to ... artthings/
Maybe the "Insteon" products could work but they apparently need an "Insteon Hub" for another $75 which seems annoying.
"smart dimmer no hub" does give results, but apparently they all work through the cloud and cannot be directly controlled on a LAN without first going through a cloud service (!?)
"cloudless IoT" is a thing, but apparently not much in the consumer space.
"wifi dimmer raspberry pi" gives me a few dev-board prototyping kits, but no finished products.