Temperature Monitor via Espruino

Posted on
  • Long time lurker, always wanted an excuse to get one to tinker with and now I think is maybe the time?

    So where I work, we have a network rack in an "out building" (it has power, ethernet and WIFI) BUT we have no way to know the temperature inside the rack - so was thinking to get one of these Espruino boards and a couple temp sensors to report to a our monitor server (Zabbix for those interested).

    However this raises a few questions, the boards themselves don't have WIFI or Ethernet capabilities and finding what's needed to give this boards the capabilities seems a bit of a mixed bag.

    So, what does one need to purchase (obviously the board and temp sensors) to get this project going?

    I'm in the UK if that helps too :)

  • I'm guessing you can use the Pixl.js with this shield: https://www.espruino.com/arduino-w5100

    I personally use a DS18b20 for monitoring the temperature of a water heater.

    Maybe https://www.espruino.com/WiFi+Enabled+Th­ermometer might give you an idea? (You'll need to mix an match peripherals though; I think the CC3000 module mentioned there is depcrecated in favor of an esp8266 with AT firmware if using wifi, or no need for wifi if you're using the ethernet shield)

    There's a shield for the esp8266 as well https://www.espruino.com/arduino-esp8266­

  • Thanks for this,
    We dont really need to see the tempratures we just want to send them to our server.

    Is it possible to use the "Espruino Original" board (https://shop.espruino.com/espruino-board­s/original) with the wifi adapater or an ethernet board?

    All articles point at using a pico board rather than the "full-fat" one

  • Is it possible to use the "Espruino Original" board (https://shop.espruino.com/espruino-board­s/original) with the wifi adapater or an ethernet board?

    Yes, that should all be fine, you just need to install the relevant Espruino firmware (for AT command WiFi or WIZnet ethernet) - the code is basically the same.

    However, at the risk of doing myself out of a sale, if you can't use Bluetooth, you could consider just running the Espruino interpreter directly on an ESP8266 or ESP32 board.

    My understanding is that at least on ESP8266 OneWire works ok, so it should be ok with DS18B20: https://forum.espruino.com/conversations­/277060/

    Maybe someone can chime in here who has done it, but I'd think that ESP32 would work too.

    Another option is to consider using Bluetooth, and to then run ESPHome on an ESP32, which can be set up to scan for Bluetooth sensors and forward them to Home Assistant (maybe something similar exists for Zabbix?).

  • Certainly some food for thought...

    After having a further look, it looks easier to to WIFI with the pico boards and wiring up a temp sensor to that.

    Basically just need to be able to do a GET or a POST to an endpoint that will contain the temperatures (Going to be 3 probes attached to the board)

    Thank you very much for your help on this - excited to get started on it :D

  • For what it's worth, I just flashed the AT firmware to a Wemos D1 Mini (esp 8266) and used the example program at https://www.espruino.com/arduino-esp8266­ to a Pixl.js

    The example GET request works. I like the Pixl.js because it's quite fast to prototype and experiment with, so if I need a quick test that's usually what I first reach out to.

    I've attached a quick pic of my Pixl.js with a diy breadboard + li-ion battery/charger with the Wemos D1 Mini in the breadboard and some jumper wires.

    Do you know which temp sensor you're planning to wire up?

    1 Attachment

    • IMG_20230725_233547 - Copy.jpg
  • Looks pretty cool!

    Yes, I'll be using the DS18B20 sensor (I've had success with this on an Arduino project before, so would use them again)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Temperature Monitor via Espruino

Posted by Avatar for Gaza1994 @Gaza1994