esp8266-vindriktning-particle-sensor icon indicating copy to clipboard operation
esp8266-vindriktning-particle-sensor copied to clipboard

How to See the Data in an App ? & Simple Wiring to ESP8266

Open Codebysolder opened this issue 2 years ago • 4 comments

I have the Code running OK on The ESP8266 D1 Mini in the VINDRIKTNING. The Serial Port is streaming measurements to my IDE Serial Monitor.

What do I have to use to see the data on an App ? (or a browser) The Config.h is untouched, I dont know what to enter ! It has somehow managed to connect to my WiFi despite not giving it an SSID or Password.

I installed Home Assistant on my Android Tablet, it asks for a URL, I dont have one The Blog does say this code works with auto discovery, but no joy.

This must be a pretty basic issue, but I cant find any tutorial related to it.

Codebysolder avatar Mar 06 '23 16:03 Codebysolder

Hmm, no takers. Its a shame that for the sake of a basic tutorial on setting this up that such a complex program is likely to be abandoned. Looking at the other Issues, I am not the only person at a loss to getting this finished.

I have done numerous other ESP projects using Blynk and Thingspeak, so I will have a go at using the data in the serial feed to feed Thingspeak - has anyone else done this ?

I want to use a simple manual configuration of ssid/password for the wifi, so first task is to clear out all the code around this.

I added a Piezo buzzer between port D6 and +3.3V, very useful to indicate the WiFi has connected or whatever you want. I attach a few pics of a simple way of wiring this up using normal 1/10th inch pitch headers, tweaked so they surface mount and then supported with epoxy resin (not hot melt). I used double sided tape to fix the board (with a 3mm spacer) with the socket available for external connection, easy to reflash with it all screwed together.

20230305_132321 fold

20230305_133118 pins 20230305_133853 araldite

20230306_105859 20230306_124050 20230306_130050 20230306_130408 20230306_130519

Codebysolder avatar Mar 07 '23 13:03 Codebysolder

After remming out about half the code and adding in Thingspeak, its working. Thingspeak 23-03-07 at 21 01 55

Codebysolder avatar Mar 07 '23 21:03 Codebysolder

Probably worth doing some reading on MQTT.... Homeassistant, nodered....

Nismonx avatar Mar 07 '23 21:03 Nismonx

I accept that, I did look at the mqtt site and the "quick start" seemed anything but ! I have used Thingspeak for a few projects and it works very well, I prefer it to Blynk. The code in this project is well beyond my capability, I am not a natural programmer.

Codebysolder avatar Mar 07 '23 22:03 Codebysolder