Exploring SmartThings and OpenHAB Integration for Home Automation

Hey everyone, I’ve been diving into the world of home automation lately, and I’m absolutely fascinated by how much I can customize my smart home setup. I’ve been using SmartThings for a while now, but I’ve recently started exploring OpenHAB to take things to the next level. Here’s what I’ve been working on and what I’d love to hear more about from the community.

SmartThings Integration with OpenHAB

I’ve been trying to bridge the gap between SmartThings and OpenHAB, and it’s been quite the journey. I’ve set up a few simple routines using SmartApps, but there’s this one evening routine that’s been giving me some trouble. The routine is supposed to turn off the lights, turn on some soft lighting near the bed, and then schedule a job to turn everything off after a few minutes. The scheduling part isn’t working as expected. The logs show that the job was executed, but none of the actions—like turning off the lights or sending a notification—actually happen. It’s pretty frustrating, but I’m determined to figure it out!

OpenHAB and Modbus with Wago Controllers

On the OpenHAB side, I’ve been working with Modbus and Wago controllers. I’ve managed to set up a connection between OpenHAB and my Wago 750-881 via Modbus, and I’m using it to control some roller shutters. The logic for opening and closing the shutters is handled by the Wago SPS, and I’m sending boolean signals to trigger the actions. However, I’m struggling with setting up the rules correctly. I tried adapting a rule I found online, but it’s not working as intended. I’d love to hear if anyone has experience with similar setups or can point me in the right direction.

Lua Development on Mac with VSCode

Another area I’ve been exploring is Lua development for SmartThings drivers. I’m following the setup instructions for Mac, but I’m having trouble getting VSCode to recognize the SmartThings API release. I’ve installed Lua and luarocks, and I’ve set up the necessary environment variables, but the IDE still isn’t picking up the API. I’ve tried tweaking the settings, but nothing seems to work. If anyone has successfully set up Lua development on a Mac, I’d love to hear about your experience!

SmartThings Temperature and Humidity Sensors

I’ve also been experimenting with SmartThings temperature and humidity sensors. I have a sensor in my master bedroom, and I want to automate the Honeywell thermostat based on the sensor readings. The goal is to adjust the temperature between 11 PM and 7 AM when the sensor detects cooler temperatures. I’m not entirely sure where to start, but I’ve heard that Hello Home and Kozy2 might be useful. Any tips or resources would be greatly appreciated!

Zigbee Devices and Pairing Issues

Lastly, I’ve been trying to set up some Zigbee devices using Docker. I followed the tutorial by Athom to the letter, but I’m running into issues with the device driver not initializing correctly. The logs show that the application is initialized, but the device isn’t pairing. I’ve restarted the project multiple times, but the same problem persists. I’m wondering if there’s a bug or if I’m missing something in the setup process.

Looking for Feedback and Suggestions

Overall, I’m really enjoying the journey of learning and customizing my smart home setup. There’s so much potential with these tools, and I’m excited to see what I can achieve next. If anyone has insights, tips, or experiences related to any of the topics I’ve mentioned, I’d love to hear from you! Let’s keep the conversation going and help each other out as we explore the world of home automation.