Hey everyone, I wanted to share my experience with integrating the Shelly Plug S into my smart home setup. I’ve been experimenting with scheduling and webhooks to control it based on my solar panel production levels. It’s been a bit of a learning curve, but I managed to get it working smoothly!
Initially, I was trying to figure out how to make the Shelly Plug S activate only once a week when my PV production reaches a certain level. I explored using the built-in schedule feature, but it wasn’t flexible enough for my needs. That’s when I discovered the power of webhooks and custom scripts.
I set up a Raspberry Pi to act as a local server, which monitors my solar production data. When the production hits the desired threshold, it sends a webhook to trigger the Shelly Plug S. This setup allows me to charge my devices efficiently without overloading the system.
One challenge I faced was ensuring the Raspberry Pi could communicate reliably with the Shelly Plug S. After some research, I found that using the Shelly API directly from the Pi worked perfectly. I also had to tweak the timing to make sure everything synced up correctly.
Overall, this project has been a great way to optimize my energy usage. It’s satisfying to see all the components working together seamlessly. If anyone has questions about setting up something similar, feel free to ask! I’d be happy to share more details or troubleshoot any issues you might encounter.
Cheers,
Wolfgang