💬 In-wall scene controller OLED keypad
openhardware.io last edited by openhardware.io
I just ordered a batch of 5 of these to test them. I will post back the results.
So I received the boards today and they are looking good. I am still waiting on the OLED displays. I ordered one SPI version and one I2C version of the displays to test them out. It would be possible to use all switches as a 9 button scene controller. In the mean time, here is a pic of a couple possible switch configurations that can be done. To set up what display you are using, install jumpers in J3 through J6. The yellow shows the SPI configuration and the red shows the I2C config.
I just noticed that I have the VCC and GND pins labeled wrong for the SSD1306 SPI display. The pin order is GND, VCC, CLK, MOSI, DC and CS. The traces on the board should be correct for this configuration. I will make the change in the gerbers and re-upload them.
So I am to the point of writing the first MySensors sketch for this that will work with my VeraPlus controller. My dilemma is this. I plan to have data working in both directions for the scene controller. For the 3 switches, I am just sending boolean data back to the controller. But I also wan t to pull data from the controller. I want 4 things from the controller, the current time, the temperature from the temp sensor in the room that it will be in, the temp from the outside sensor and the current weather condition from my weather plugin. The switching I have figured out. The time also won't be that hard. The part I am looking for help on is the temps and weather data. I realize that I may have to use some lua code to do some of this, but cant figure out the best way to do this.