Giter Site home page Giter Site logo

sharandac / vindriktning Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 6 MB

Let's make the Ikea Vindriktning air quality sensor a little smarter. Here is the matching completely over-engineered firmware.

License: GNU General Public License v3.0

JavaScript 2.62% CSS 4.41% C++ 78.70% Makefile 0.07% Shell 0.55% Python 0.39% C 13.25%
esp32 mqtt vindriktning wifi pm1006 sensor websocket ikea ikeahack

vindriktning's Introduction

   


Vindriktning

Let's make the Ikea Vindriktning air quality sensor a little smarter. Here is the matching completely over-engineered firmware.

prerequisite

ESP32 - Mini D1
Ikea Vindriktning

Install

Clone this repository and open it with platformIO. Remember, the SPIFF must also be flashed. On a terminal in vscode you can do it with

pio run -t uploadfs
pio run -t upload

After that, take a look at your monitorport ...

[I][vindriktning.cpp:65] vindriktning_Task(): Start Vindriktning Task on Core: 1
[I][wificlient.cpp:91] wificlient_Task(): Start Wifi-Client on Core: 1
[I][wificlient.cpp:108] wificlient_Task(): WiFi connection lost, restart ... 
[I][wificlient.cpp:398] wificlient_start_softAP(): starting Wifi-AP with SSID "vindriktning_d1fd28" / "vindriktning"
[I][wificlient.cpp:399] wificlient_start_softAP(): AP IP address: 192.168.4.1
[I][webserver.cpp:56] asyncwebserver_Task(): Start Webserver on Core: 1
[I][ntp.cpp:65] ntp_Task(): Start NTP Task on Core: 1
[I][mqttclient.cpp:320] mqtt_client_Task(): Start MQTT-Client on Core: 1
[I][callback.cpp:31] callback_print():  |
[I][callback.cpp:32] callback_print():  +--'mqtt client' ( 0x3ffb97a8 / 1 )
[I][callback.cpp:34] callback_print():  |  +--id:'vindriktning', event mask:0001, prio: 2, active: true
[I][callback.cpp:31] callback_print():  |
[I][callback.cpp:32] callback_print():  +--'webserver' ( 0x3ffb97fc / 7 )
[I][callback.cpp:34] callback_print():  |  +--id:'/vindriktning.htm', event mask:001f, prio: 2, active: true
[I][callback.cpp:34] callback_print():  |  +--id:'/index.htm', event mask:0007, prio: 1, active: true
[I][callback.cpp:34] callback_print():  |  +--id:'/wlan.htm', event mask:001f, prio: 3, active: true
[I][callback.cpp:34] callback_print():  |  +--id:'/update.htm', event mask:0007, prio: 3, active: true
[I][callback.cpp:34] callback_print():  |  +--id:'/info.htm', event mask:0007, prio: 3, active: true
[I][callback.cpp:34] callback_print():  |  +--id:'/mqttclient.htm', event mask:001f, prio: 2, active: true
[I][callback.cpp:34] callback_print():  |  +--id:'/ntp.htm', event mask:001f, prio: 2, active: true

When the output look like this, congratulation!

After the first start an access point will be opened with an unique name like

vindriktning_XXXXX

and an not so unique password

vindriktning

After that you can configure the vindriktning under the following IP-address with your favorite webbrowser

http://192.168.4.1

hardware modification in 4 steps

esp32 -> Vindriktning:

VCC -> +5V
GND -> GND
GPIO16 -> reset

step 1 step 3 step 4 step 2

Contributors

Every Contribution to this repository is highly welcome! Don't fear to create pull requests which enhance or fix the project, you are going to help everybody.

If you want to donate to the author then you can buy me a coffee.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.