Updated on October 29, 2017
I created an api for sending Push notifications to mobile phones, I use the API in an opencart extension, to send new order information, and give clients the ability to receive order updates, but I figured it might be usefull for other developers to have a quick way to add push notification functionality in their application.
I’m currently writing the API documentation, you can find the basic documentation here:
Swagger API Documentation
The basic workflow:
- Create a user & receive an API key
- Create a channel
- Have mobile devices subscribe to channels
- Send a message to channels
In the opencart extensions case I create one channel for the admin, and a unique private channel for each customer (after an order is placed) which they can use to receive order status updates (pending, complete, shipped, cancelled etc..)
Posted on August 6, 2017
Updated on December 4, 2017
As mentioned in my post about using openhab & WLC-1000 I have a few sitecom WLC-1000 cameras, and would like to tell you the things I like, and don’t like, plus give you some usefull urls I found during my research on how to use them with openhab.
Updated on July 5, 2017
I have openhab running as my home automation system, which allows me to control my lights and in-house ventilation system. And I have setup some nice rules to automate as much as possible, now I want to update my WLC-1000 cameras settings through openhab.
Updated on September 14, 2017
I’m using my hue sensor in openhab and really like them, I was looking for some nice teardown pictures of the hue motion sensor, but could only find the Hue dimmer switcch dissection & Hue tap Dissection
Since I’m pretty curious what’s inside, and how they get this good batterylife I will dissassemble one of my hue motion sensors in the name of science to see what’s in there, I hope I can help someone else out with these.
I’ll try to compile a list of the items I find on the board, if you have any additions please let me know 🙂
– Atmega M2564RFR2-ZU
– 4mb serial flash 25fu406c
– Some type of Pir motionsensor
Updated on September 7, 2017
Since I have some esp8266 chips laying around, this would be great to setup as a wifi mqtt sensor with the dht22, which will periodically (every 10 minutes) send new sensor data to my mqtt broker.
A quick video how to get a basic breadboard setup:
I will need it to be pretty energy efficient, so whenever the esp is done sending data, it will go into deepsleep for 10 minutes, and then wakeup and send again…
Updated on May 11, 2017
I have a ventilation system in the house, which came with a RF remote:
Updated on May 22, 2017
If you use the Shopify API Carrier Service to populate your shipping by realtime to add pickup-points and other custom shipping options, you might want to re-order your shipping options in a certain way.