Still, there seems to be 'someting rotten in the state of Network' where my LAN is concerned. Although the Arduino serial monitor says:
13:03:55.821 -> connected with XXX, channel 6
13:03:55.868 -> ip:192.168.178.4,mask:255.255.255.0,gw:192.168.178.1
13:03:55.915 -> ip:192.168.178.4,mask:255.255.255.0,gw:192.168.178.1
13:04:04.826 -> pm open,type:2 0
when I ping the IP-address I get:
Pinging 192.168.178.4 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.178.4:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
When I use the tool 'Wireless Network Watcher' I do see that a device is connected at 192.168.178.4 with the correct MAC address.
However, when I look at the management page of my FritzBox 7490 modem/router no device is mentioned at 192.168.178.4.
I remain at a loss here.
I have added a device editor to the server. It uses the sensor types as a group and the sensor variable as the control.
Group (sensor):
Control (sensor variable):
This will be my last post here because my controller has got it's own controller page
What I didn't quite figure out was how it operates independently as a regular light switch.
What I find most interesting is that this is 8 years old. There have been some incredible advances in the IoT world in that time. I was about to do a similar thing which morphed into an ESP-12F then added a touch screen. I call it the Universal Light Switch
Imagine this: All the switches are identical. Any switch can easily be configured to control up to five devices ... and then changed, on-the-fly, to control a different set of devices.
My design is part of a system that would require a controller (eg. Home Assistant), an MQTT broker, and receiving modules in the devices being switched. It's WiFI which assumes an access point.
The DIY ULS is under $20 and the off-the-shelf receiving modules are under $10. (About the cost of a non-networked dimmer switch) If one doesn't have the controller and MQTT broker, they can run on an old (5 years?) computer (which is cheaper than an old RasberryPi).
This project is a good one!
OSD
Hi @blackchart,
Unfortunately, all devices are sold out. Further production is possible only when ordering more than 10 devices (in this case, I also can modify the device to suit your needs).