I put together a project called openHAB Particle Monitor and wanted to share it here.
Designed to run on the Internet Button, the openHAB Particle Monitor provides a link between you and your openHAB-connected house, even when you’re away from home. The OHPM exposes three openHAB switches (Alarm, Trouble, and Light) which you can add to groups or automate through rules. As long as the Internet Button is powered, connected to a WiFi network, and configured properly, you’ll receive an alert if there’s an issue at home. Unlike solutions like MQTT, the OHPM intentionally uses the Particle Cloud to pass updates to your device whenever it has an internet connection.
Seems like a cool project. I have something similarish running on my desk at work (it’s not integrated into openHab tho). How do you like OpenHab? What else have you integrated it into? What device do you have it running on?
I started tinkering with openHAB in October and switched to it completely (from SmartThings) in November. I wouldn’t call it easy to set up, but the community is great and the documentation is making great strides which certainly makes it easier. It’s very stable and seems to be getting better and better. I also like how it’s very customizable. Overall, I’m very pleased and wish I had tried it sooner.
I am running it on a Raspberry Pi 3 with a ready-made install image called openHABian . This is probably the best way to start for anyone who isn’t very confident with Linux as it takes care of setting up some of the more tedious setup steps.
Besides the Internet Button, I have it connected to:
Several Arduinos (via MQTT and Ethernet shields)
SmartThings (via MQTT, to continue using Zigbee devices)
Network binding (for presence detection)
Sonos (haven’t done much with it yet)
Z-wave (using Aeotec’s Gen 5 Z-stick; connected to 17 sensors including motion, contact, and smoke)
Homekit (for easy iOS control of lights)
Currently, I’m using the Garadget OH binding to connect to my Photon, but a member of the OH community has plans to make an advanced Particle binding that can be configured in OH’s graphical UI. That should make the Particle platform even more accessible to OH users. Otherwise, for use cases where the Photon will be on the same network as the OH server, I know people have used MQTT with good results.
Hey @dome, well done!
Good documentation and video also…
Currently I am still trying to set-up Homebridge to check it’s possibilities but I’m stuck.
Meanwhile, I tried out your experiment (without internet button…) and IT WORKS!
OpenHAB is actually VERY easy to use, once you understand it’s logic!
No, I wouldn’t say that at all. I passed a number from openHAB which is based on several switches (parsed by an openHAB rule), but you should be able to pass other kinds of information as well.
Not that I could find, though someone on the openHAB forum reported success using NodeRed as an intermediary.
Personally, I use MQTT almost exclusively to connect Particle products to openHAB. This project is the only exception since I want it to work when I’m not home. For everything else that is on my local network, MQTT is perfect. It’s fast and reliable and well supported on openHAB. I suggest checking it out here and on the openHAB forum if that interests you.
It should be possible, but I haven’t explored it. If everything you want to connect resides on your local network then MQTT is probably a better option. That’s what I used. You should read up on it on the openHAB docs page and forum.