Monday, 1 August 2016

Robotic Hand Playing Tetris

Hello everyone,
Our office does this creativity show every year where everyone shows their cool projects. Me, Gil Ron, and another guy from the office teamed up, and started to think about ideas. The first set of ideas was about drones. I mean drones are cool, but probably everyone will do something with drones. We wanted to do something cooler.  Searching for ideas this link comes up which refer to this project.


Sunday, 24 July 2016

My ISP's Router Does Not Comply with UPNP

Hello everyone.
As you may or may not know I am working on my smart light project.
One of the goals was to control the light from the internet. In order to that I need to make port forward from the router to my openhab server. One way to do that is using the port forward feature of my router. Another way is by requesting forward using UPNP protocol. My ISP got CGNAT, and regular port forward does not work. I am not sure about it but it seems that UPNP still works despite the CGNAT. After I decided I am using UPNP, I searched for some CLI UPNP utility, and found Miniupnp, Very simple tool. Tried it, didnt work :(

Friday, 22 July 2016

OpneHab, esp8266 And MQTT - Smart Lighting Project

Hello everyone,
Today I wanted to talk about a old project of mine. I am talking about it just now because like every hardware project of mine, it gets delayed because many design issues.. but the important thing is that I don't give up!
I mean smart lighting is not really new, and not really creative.. you can probably find this title in other blog, but it's really cool in my opinion.
Let's get started:
Why smart lighting? basically.. because I am lazy..
Why not using already retail product? because it's expensive and not challenging.

Actually the real reason for me was my eyes sensitivity to light. In the last years I started walking more and more with sunglasses. In time, my eyes became really sensitive to light (yeah I know, I sound like a basement nerd), which requires changing my light brightness in the room (it was too bright). I got a regular fluorescent lamp, which cannot be dimmed.

Regular incandescent bulb can be dimmed but are really inefficient and the light is yellowish and not nice and natural white. At this point I said let's build some LED based one. At this time the LED strips are really popular, I can use them to light my room.
I used 8 RGB strips of 2.5M

Sunday, 12 June 2016

The Crazy Ideas Section - Remote Syscalls

Hi to you all. Sorry for not posting in a very long time, quite busy at work :(
I think I will start a new section in the blog, a section about crazy ideas. A crazy idea is usually a concept that can radically change how stuff works basically. I didnt do it yet because I want to bring the ideas to some level of POC, but most of the times it's too difficult to achieve this goal in my spare time/budget or the POC looks horrible. The concept I will talk about today is the latter case :(

Remote Syscall - actually I think it's quite self explanatory.  You have "Computer A" and "Computer B". You have a software on "Computer A" and you want to run it on "Computer B" by capturing the syscalls on "Computer A", encapsulating them, sending them over (tcp?) to "Computer B", Running the syscall and returning the answer.

This procedure letting me run apps on a remote computer, doing all the user mode operation in my "Computer A" and all the kernel stuff (storage/network) to the "Computer B" - all of this without the application knowing anything.


Saturday, 2 January 2016

Smart Lock Part 2

This part of the project took me too much time.. what is changed from the previous part? probably everything!
As I said in the previous part, the wireless controller or basically the software do not worry me much as the mechanical mechanism. It turns out that rotating my door key is actually a difficult operation, but because I got leverage (large key), I didn't think so.  My mechanical requirements are not simple as I thought also.
What are my requires?
1) The mechanism should not stick up too much from the door and should have sleek design. If its stick up more than the handle for example, it probably too much.
2) The actual key and cylinder should still be operational in case my controller fail to response.
3) The key should rotate in decent time (no more than few seconds)


Sunday, 4 October 2015

Virtualization Guest Debugging - Windows Boot, Kernel And User-Mode

How did I end up in this mess? good question!
Friend of mine got a new laptop from the company he works for. The laptop is really good: SSD, quad core i5.. much better than any computer he own and its with him all them time. The logical thing to do is use it as a personal computer as well, but he can't as he doesn't have any permissions on the Windows 7 installed and he does not want to accidently crash to death the company Windows 7 with his personal computer uses. The solution?  Installing windows on portable USB disk. Actually not that easy because windows requires driver to the disk controller, a problematic thing with usb storage. There is a Microsoft solution to the problem called Windows To Go and with it I installed windows 8.1 portable on USB disk, which in the laptop can be boot using the bios boot menu and choosing the windows usb drive.

First problem solved, not that difficult because of Microsoft solution. Second problem came as my friend is working with his portable windows, but someone called from work and want something checked, that can only be checked using the company windows 7. The only way he can switch to the company windows 7 is by resetting the entire computer, not a convenient thing to do. My solution to the problem was to boot the company windows 7 using Vmware, telling Vmware to boot from physical disk. Shortly after boot, blue screen


Saturday, 6 June 2015

Mobile Cloud And FUSE

Its all started when I wanted to migrate to another mobile company. The market is very competitive and the prices are all about the same. One of the company offered a cloud backup service. Further investigation shows that in order to compete with other backup services the connection to this backup cloud does not comes out from your data plan.  Now they got my attention *ultimate mobile traffic anyone?*. I said to myself I will take this plan only to "play" with their cloud.