+1 on looking for the Omega2 compiled version of this. Dropbox link didn't work for me either.
Posts made by James Harding
RE: The Onion Thermostat
@Costas Costas I am aware that these things already exist for micro controllers that have been out in the wild for longer than the omega. I was referring to a thermostat project that was built specifically for the omega, sorry if i was vague.
I got my Omega2's last week and took a crack at putting my pre-existing thermostat code on to them. Unfortunately, my code base sits at about 21mb, and apparently I didn't buy the omega2 +. So until I get my omega running off of a usb drive I wont be able to do further testing.
RE: The Onion Thermostat
Out of curiosity, does code for all of this exist? or is this simply an idea?
Either way, I have some working code that meets at least some of the requirements above. Also, it could potentially eliminate the need for a screen connected directly to the Omega.
When I get my Omega 2 in the mail, it should be any day, I will try and get the code running on it.
I'm not even sure the project will fit on the Omega.
Other parts that I needed to get my current device working:
- At least 3 relays
- Transistors (NPN) - # of relays you have.
- Rectifier and AC/DC converter (need 5 wires coming from your wall to utilize this setup)
- If you dont have 5 wires, a wall wort to power the Omega.
No guarantees any of this will actually work.
RE: Can't see wireless access point of Omega
A few obvious things to try:
"Hard reset" the omega by holding down the reset button for 10 seconds. Then see if the access point pops up in ur wifi settings.
Ensure that the wifi on your computer is compatible with the wireless network that the omega operates on.
@Brad-Buskey I used magnetic contact sensors to determine if the garage was open or closed. Essentially when one of these sensors comes close to a magnet, its state changes. So my garage doors have a couple of magnets glued to them, and the sensor itself is mounted to the frame of the house where the garage door sits. You see these sensors a lot in a house that has an ADT (or similar) alarm system installed. Here is a link to a sensor that is similar to the one I used: https://www.adafruit.com/products/375
RE: Ruby Crashing?
@Lazar-Demin - It is definitely running out of memory, but if I remember correctly I boiled my code down to just a loop checking the state of the gpio, after of course initializing it the way I wanted to use it.
Hey @Kit-Bishop, Firstly thanks for the code! Yes the code that I tried after running into issues with my own, was yours. My tests might be out of date because im using a version of code that is still using file writing (/sys/class/gpio/gpioX) to export, read value, and change direction. Where as there is a different gpio class that you have that actually writes directly to the register, like fast-gpio. But i think that class is written in C/C++ and does not have a nodejs addon. Please correct me if I am wrong there. I am new to the Omega and microcontrollers in general, and well I can only tell you what I see and know because I don't know anyone else using this platform.