Chat > Guides & Projects

temp sensors display to webpage

(1/7) > >>

knighty:
I want to be able to monitor freezer temperatures at work and check them remotely

there's a million options when I google it... but no real plug n play options....

I'm working crazy hours and haven't done any programing etc. in donkeys years, I'll be going through idiots guides etc. to set stuff up

I've got a server running already for cctv and gps tracking, so can run something on there

would rather avoid the cloud and subscription services etc.

anyone have any ideas?


I honestly thought I'd be able to buy a bunch of POE temp sensors download a bit of software and but up and running straight away :-o


my little brother does PLC stuff.... had him price up a basic PLC system to do it.... £1400 :-o

Clock'd 0Ne:
I would imagine the simplest setup for this would be something like a Raspberry Pi or Arduino with some thermometers working off the headers. A quick Google turned up this guide:

https://medium.com/initial-state/how-to-build-a-raspberry-pi-temperature-monitor-8c2f70acaea9

Which is using something called Initial State (though its not free) as the web dashboard where the data is streamed to, but it wouldn't be too difficult to modify this to work with something home baked that runs off your own server. Might be a good starting point!

knighty:
I've ordered an Arduino and a bunch of temp sensors, saw another guide I'll try to follow

I think half the problem is there's loads of different guides all doing it different ways

I'll report back when it all arrives :-o

neXus:
You do not really need to do all the work and have arduino.
If there are any wifi assisted devices using a number of the specs you just need to have https://www.home-assistant.io/ Home assistant setup on a machine, docker, VM etc. Runs in a lot of environments.
You have your devices, detected and then they will most likely do stuff and have options out the box and feed into a heap of extensions/plugins available etc for that.
If you need to do more home assistant has full API so you can feed it to a web page.
BUT home assistant interface is web based and you can set it to access your home assistant across the internet so it can be very likely on the dashboard you setup etc you wont need to do anything more. You can do sending emails or text messages etc all through it if needed, send to devices so google can announce something is overheating and so on.

knighty:
I'm following this guide
https://randomnerdtutorials.com/esp8266-ds18b20-temperature-sensor-web-server-with-arduino-ide/

had it working with 1 temp sensor + code

had it working with 2 temp sensor + code

trying for the web page and I'm getting this error...


--- Code: ---Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

sketch_jul11a:15:12: fatal error: C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument

Multiple libraries were found for "ESPAsyncTCP.h"

   15 |   #include <ESPAsyncWebServer.h>S

 Used: C:\Program Files (x86)\Arduino\libraries\ESPAsyncTCP

      |            ^~~~~~~~~~~~~~~~~~~~~~

 Not used: C:\Users\USER\Documents\Arduino\libraries\ESPAsyncTCP-master

compilation terminated.

exit status 1

C:\Users\USER\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/sdk/include/ESPAsyncWebServer.h>: Invalid argument



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

--- End code ---


any ideas anyone?

google isn't helping me, adding removing libraries isn't helping me, fresh download isn't helping me

I'm stuck

it's 1am and I've been at work since 8am, guess it might be more clear in the morning, I'm going home

Navigation

[0] Message Index

[#] Next page

Go to full version