Skip navigation
1 2 Previous Next

Upcycle It

16 Posts authored by: jasonwier92
What It Was Before I started this challenge, the PDU was in working condition. It could be controlled remotely by telnet, http web interface, and SNMP.  My goal was to make it into something that can be used with today's standards and more.  Lets move through some of the objectives, with a why and how.   Telnet: The old interface had Telnet for remote access or serial. Both of which took you to an interface menu system that was hard to use.  Now I have SSH access, in which i ...
In this BLOG entry I want to share some of my automation that I have planned on getting working with my PDU.  This example is showing one Edison reporting temperature to Home Assistant and then Home Assistant turning on and off an outlet that the fan is plugged into.  Hard to read the temperature on the tablet, but as it climbs to over 80 degrees, it turns on the fan and when to goes back down to under 78 it will turn it off. I am simply using my finger to warm up the temperature senso ...
My outlet control is next on the list to fix up.   What it was: (can you say nasty)   What I need is a way to tell which kind of message came in.  Lets see what they look like.   So if I can test for the existence of msg._session and msg.topic, I should be able to know which message came in and where to send out out.  So I took my existing function and added a new section, based off the fact if it is a MQTT or WS message.  Here is my function code now.   ...
What 12-2? Like what am I thinking, I know.  If you read my PDU #12 write up and looked at the great comments, you would have noticed that Andy Workshopshed (DAB backed Andy up on this) suggested I do what I did in many functions in one.  Well, at first I thought it was not going to work because the source does not come through, but then I got thinking, what if I could. But if the community can help me make my project better I should try.    I looked at the output of the RB ...
One of my goals was to integrate this from Home Assistant. Home Assistant (HASS) is open-source home automation package written in Python. Check it out. It can talk to several devices using multiple protocols. I use mine to automate my lights to turn on and off in the kitchen (under counter that are on all night) and to turn on my wife's coffee machine (not working now, because the Belkin WeMo Switch is broke).  Since HASS currently has access to many things in my house, it would be nice th ...
A Time to Dance  This is good.  My project has come together and works.  I like it. Now as many have said it is time to add in the extras I wanted to do.  I have decided to put this device in my NEMA box at my 80' tower. Then when I have a problem, I can power cycle items. Another goal will be watchdogs to reboot radios if the tower cannot see inside my network.   Special thanks to Intel!!   Ecclesiastes 3:4-6 A time to weep, And a time to laugh; A time to mourn ...
Success Is Worth Sharing Today was my test of my system and it was successful.  Here is a video showing it working.     (Video is not the best as it shows extra command that are in the future.)   Here are some pictures of what I tested My Gallery Title Edison interface to protoboard Ribbon header goes to Relay board Top view!! Relay board hooked up and running.       Here is the Node-Red flow that I used to test with.  Note the first ...
Ever get so far in a task/project and wonder if it is worth doing or if you could do it over if you would do it different? I know, all the time. This weeks update is no different. I was making my relay control board that I mentioned in the last BLOG entry and I have had a hundred "why am I doing this" moments when making this circuit.   Here is the circuit I am building, but eight of these, so they will fit on one board right? Oh my, yes, but in hind sight I might have done it different.&# ...
Change Never Changes  I have lots of ideas, but I need to get this project moving along, so I have started down the final path, but started more fresh than before.  I have decided to use the other Edison and the mini-board since I am putting all of this in a 1U enclosure.  Here are my hardware plans going down the stretch.   Outlet Switching  I am going to use an eight port version of the relay module posted right below. I have the module, but it is wired up currently ...
I have been busy with family matter, but when I get a chance and nothing pressing for work to do, I have been working on this monster below. Now there is not too much going on, but there has been much learning. Lets look at what is happening.   Set LCD Function    First lets look at the top flow: If we get a WS mesage to /ws/lcd, it should be a message to update what is shown on the LCD. The second node is the function node and this takes the message and creates an update q ...
Goals: Sending data to the Edison to turn on/off items MongoDB and map to how I will use it.   Sending Data to the Edison  Next on my list was the ability to send data to the Edison when a web event happens. I have added four buttons to the interface to test this. In the future it is much easier to have one button and the button conveys the status of the device.  That will be happening, but small step now to get there and right now I have one other hurdle to jump over before I ...
Goals for my 5th BLOG entry of the Upcycle It Challenge: Due April 27th. LCD - DONE Web interface to turn on/off relay and LED - Move to BLOG #6 (due date 4/30) Inputs to select what is displayed on the LCD with regular updates (once a minute) - Move to #8 Via inputs in node-red Via web page Storage for output states in Node-Red - Moved to #7 Client connect get initial update - Moved to #7 Real status of outputs - Moved to #7 Feed back to WS Update state database Pull external data via ...
The Design Since one of my goals is to force myself to use Node-Red, I have to work inside the parameters of Node-Red. While I am at it, I want to make something practical, so I am going to write this as being more module so that I could isolate the Edison from the real world. Lets start with a block diagram. Now let me tell you what is happening: Node-Red is running on the Edison, I call it Eddy2. This has access to the GPIO Exposes the GPIO to websockets (WS) and MQTT Logic to control GP ...
After I have two OS's installed and running on the Edison, I wanted to test. I am looking to use NodeJS and Python to complete most or all of my Upcycle It challenge, so with either OS, I need to know things are going to work before I go down the wrong path, spin my wheels in the mud and go back to get on the right path. Now I think there is not a right path in this challenge, but I know there is going to be a path that is less rocky and have fewer mud holes.   My Test Setup In thing about ...
First thing I do what I get the kit is stop working, un-box the kit, and take some pictures while exploring.   Ubilinux Two Edison's, great that takes care of one issue, what OS to use.  I started by mounting an Edison on the Arduino board and installing Ubilinux on it. Also I do not want to install from Windows, so I am installing form a laptop running Ubuntu 14.04.  I found that Spartfun has some great resources for this, so why re-invent the wheel. I started by plugging in bo ...